SYMBOL INDEX (35533 symbols across 7097 files) FILE: .github/actions/ci-filter/__tests__/ci-filter.test.ts function runWithResults (line 178) | function runWithResults(jobResults: Record):... FILE: .github/actions/ci-filter/ci-filter.mjs function matchGlob (line 12) | function matchGlob(filePath, pattern) { function parseFilters (line 50) | function parseFilters(input) { constant SAFE_REF (line 95) | const SAFE_REF = /^[a-zA-Z0-9_./-]+$/; function getChangedFiles (line 97) | function getChangedFiles(baseRef) { function evaluateFilter (line 116) | function evaluateFilter(changedFiles, patterns) { function setOutput (line 137) | function setOutput(name, value) { function runFilter (line 145) | function runFilter() { function runValidate (line 177) | function runValidate() { FILE: .github/scripts/bump-versions.mjs function generateExperimentalVersion (line 10) | function generateExperimentalVersion(currentVersion) { FILE: .github/scripts/cleanup-ghcr-images.mjs constant ORG (line 18) | const ORG = process.env.GHCR_ORG || 'n8n-io'; constant REPO (line 19) | const REPO = process.env.GHCR_REPO || 'n8n'; constant PACKAGES (line 20) | const PACKAGES = [REPO, 'runners']; function ghApi (line 34) | async function ghApi(path) { function ghDelete (line 41) | async function ghDelete(path) { function fetchPage (line 45) | async function fetchPage(pkg, page) { function getVersionsForTag (line 64) | async function getVersionsForTag(pkg, tag) { function getVersionsForStale (line 70) | async function getVersionsForStale(pkg, days) { FILE: .github/scripts/cleanup-release-branch.mjs function pullRequestCheckFailed (line 26) | function pullRequestCheckFailed(pullRequestCheck) { function pullRequestIsDismissedRelease (line 34) | function pullRequestIsDismissedRelease(pullRequest) { function main (line 75) | async function main() { FILE: .github/scripts/compute-backport-targets.mjs constant BACKPORT_BY_TAG_MAP (line 11) | const BACKPORT_BY_TAG_MAP = { constant BACKPORT_BY_BRANCH_MAP (line 16) | const BACKPORT_BY_BRANCH_MAP = { function labelsToReleaseCandidateBranches (line 25) | function labelsToReleaseCandidateBranches(labels) { function fetchPossiblePullRequestFromEnv (line 66) | async function fetchPossiblePullRequestFromEnv() { function getLabels (line 83) | async function getLabels() { function main (line 88) | async function main() { FILE: .github/scripts/compute-backport-targets.test.mjs function mockResolveRcBranchForTrack (line 27) | function mockResolveRcBranchForTrack(track) { FILE: .github/scripts/create-github-release.mjs function createGitHubRelease (line 27) | async function createGitHubRelease() { FILE: .github/scripts/determine-release-candidate-branch-for-track.mjs function main (line 9) | function main() { function filterActionableCommits (line 45) | function filterActionableCommits(commitList) { FILE: .github/scripts/determine-release-version-changes.mjs function determineReleaseVersionChanges (line 3) | function determineReleaseVersionChanges() { function hasNodeEnhancements (line 30) | function hasNodeEnhancements(log) { function hasCoreChanges (line 39) | function hasCoreChanges(log) { FILE: .github/scripts/determine-version-info.mjs function determineTrack (line 13) | function determineTrack(packageVersion) { function matchesTrack (line 93) | function matchesTrack(tagVersionInfo, currentVersion) { function assertNewBetaRelease (line 107) | function assertNewBetaRelease(currentBetaVersion, currentVersion) { function determineReleaseType (line 120) | function determineReleaseType(currentVersion) { function determineBump (line 127) | function determineBump(currentVersion) { FILE: .github/scripts/docker/docker-config.mjs class BuildContext (line 5) | class BuildContext { method constructor (line 6) | constructor() { method determine (line 10) | determine({ event, pr, branch, version, releaseType, pushEnabled }) { method sanitizeBranch (line 78) | sanitizeBranch(branch) { method buildMatrix (line 88) | buildMatrix(platforms) { method output (line 112) | output(context, matrix = null) { FILE: .github/scripts/docker/docker-tags.mjs class TagGenerator (line 5) | class TagGenerator { method constructor (line 6) | constructor() { method generate (line 12) | generate({ image, version, platform, includeDockerHub = false }) { method output (line 33) | output(tags, prefix = '') { method generateAll (line 49) | generateAll({ version, platform, includeDockerHub = false }) { FILE: .github/scripts/docker/get-manifest-digests.mjs function getDigest (line 20) | function getDigest(imageRef) { function getImageName (line 29) | function getImageName(imageRef) { function setOutput (line 34) | function setOutput(name, value) { FILE: .github/scripts/ensure-release-candidate-branches.mjs function determineBranchChanges (line 26) | function determineBranchChanges() { function ensureBranch (line 58) | function ensureBranch(tagInfo) { function removeBranch (line 84) | function removeBranch(branch) { function main (line 103) | function main() { FILE: .github/scripts/get-release-versions.mjs function highestSemverTag (line 17) | function highestSemverTag(tags) { function getSemverTagForTrack (line 35) | function getSemverTagForTrack(track) { function main (line 43) | function main() { FILE: .github/scripts/github-helpers.mjs constant CURRENT_MAJOR_VERSION (line 7) | const CURRENT_MAJOR_VERSION = 2; constant RELEASE_CANDIDATE_BRANCH_PREFIX (line 8) | const RELEASE_CANDIDATE_BRANCH_PREFIX = 'release-candidate/'; constant RELEASE_TRACKS (line 10) | const RELEASE_TRACKS = /** @type { const } */ ([ constant RELEASE_PREFIX (line 37) | const RELEASE_PREFIX = 'n8n@'; function pickHighestReleaseTag (line 47) | function pickHighestReleaseTag(tags) { function isReleaseTrack (line 62) | function isReleaseTrack(track) { function ensureReleaseTrack (line 71) | function ensureReleaseTrack(track) { function resolveReleaseTagForTrack (line 89) | function resolveReleaseTagForTrack(track) { function resolveRcBranchForTrack (line 112) | function resolveRcBranchForTrack(track) { function tagVersionInfoToReleaseCandidateBranchName (line 140) | function tagVersionInfoToReleaseCandidateBranchName(tagVersionInfo) { function stripReleasePrefixes (line 155) | function stripReleasePrefixes(tag) { function getEventFromGithubEventPath (line 161) | function getEventFromGithubEventPath() { function readPrLabels (line 174) | function readPrLabels(pullRequest) { function ensureTagExists (line 191) | function ensureTagExists(tag) { function isReleaseType (line 200) | function isReleaseType(bump) { function ensureEnvVar (line 207) | function ensureEnvVar(variableName) { function sh (line 222) | function sh(cmd, args, opts = {}) { function trySh (line 233) | function trySh(cmd, args, opts = {}) { function writeGithubOutput (line 246) | function writeGithubOutput(obj) { function getCommitForRef (line 264) | function getCommitForRef(ref) { function listTagsPointingAt (line 274) | function listTagsPointingAt(commit) { function listCommitsBetweenRefs (line 288) | function listCommitsBetweenRefs(from, to) { function countCommitsBetweenRefs (line 296) | function countCommitsBetweenRefs(from, to) { function remoteBranchExists (line 306) | function remoteBranchExists(branch) { function localRefExists (line 314) | function localRefExists(ref) { function initGithub (line 324) | function initGithub() { function getPullRequestById (line 342) | async function getPullRequestById(pullRequestId) { function getExistingRelease (line 357) | async function getExistingRelease(tag) { function deleteRelease (line 379) | async function deleteRelease(releaseId) { FILE: .github/scripts/move-track-tag.mjs function main (line 3) | function main() { FILE: .github/scripts/populate-cloud-databases.mjs function populateCloudDatabases (line 3) | async function populateCloudDatabases() { FILE: .github/scripts/promote-github-release.mjs function promoteGitHubRelease (line 19) | async function promoteGitHubRelease() { FILE: .github/scripts/retry.mjs function getFlag (line 18) | function getFlag(name, defaultValue) { FILE: .github/scripts/send-metrics.mjs function metric (line 16) | function metric(name, value, unit, dimensions = {}) { function buildContext (line 21) | function buildContext(benchmarkName = null) { function sendMetrics (line 58) | async function sendMetrics(metrics, benchmarkName = null) { FILE: .github/scripts/send-version-release-notification.mjs function sendVersionReleaseNotification (line 3) | async function sendVersionReleaseNotification() { FILE: .github/scripts/update-changelog.mjs method transformCommit (line 28) | transformCommit(commit) { FILE: packages/@n8n/agents/examples/basic-agent.ts function main (line 108) | async function main() { FILE: packages/@n8n/agents/src/__tests__/agent-runtime.test.ts type AiImport (line 31) | type AiImport = typeof import('ai'); function makeGenerateSuccess (line 58) | function makeGenerateSuccess(text = 'OK') { function silentReject (line 88) | function silentReject(error: Error): Promise { function makeErrorStream (line 94) | function makeErrorStream(error: Error) { function collectChunks (line 103) | async function collectChunks(stream: ReadableStream): Promise Promise... function makeSuspendingTool (line 547) | function makeSuspendingTool( function createRuntimeWithTools (line 562) | function createRuntimeWithTools(tools: BuiltTool[], concurrency: number,... function makeGenerateWithToolCalls (line 577) | function makeGenerateWithToolCalls( type ToolOutputContent (line 904) | type ToolOutputContent = { type ToolMessage (line 908) | type ToolMessage = { role: string; content: ToolOutputContent[] }; FILE: packages/@n8n/agents/src/__tests__/fixtures/mcp-stdio-server.mjs constant TINY_PNG (line 11) | const TINY_PNG = FILE: packages/@n8n/agents/src/__tests__/integration/evaluate.test.ts function createFruitBowlAgent (line 11) | function createFruitBowlAgent(provider: 'anthropic' | 'openai'): Agent { FILE: packages/@n8n/agents/src/__tests__/integration/events-and-abort.test.ts function createSimpleAgent (line 13) | function createSimpleAgent(provider: 'openai' | 'anthropic' = 'anthropic... function createAgentWithTool (line 19) | function createAgentWithTool(provider: 'openai' | 'anthropic' = 'anthrop... FILE: packages/@n8n/agents/src/__tests__/integration/helpers.ts function describeIf (line 23) | function describeIf(provider: 'anthropic' | 'openai') { function collectStreamChunks (line 31) | async function collectStreamChunks(stream: ReadableStream): Pro... function chunksOfType (line 45) | function chunksOfType( function getModel (line 55) | function getModel(provider: 'anthropic' | 'openai'): string { function createAgentWithAddTool (line 62) | function createAgentWithAddTool(provider: 'anthropic' | 'openai'): Agent { function createAgentWithInterruptibleTool (line 89) | function createAgentWithInterruptibleTool(provider: 'anthropic' | 'opena... function createAgentWithMixedTools (line 116) | function createAgentWithMixedTools(provider: 'anthropic' | 'openai'): Ag... function createAgentWithToContentTool (line 154) | function createAgentWithToContentTool(provider: 'anthropic' | 'openai'):... function createAgentWithParallelInterruptibleCalls (line 186) | function createAgentWithParallelInterruptibleCalls(provider: 'anthropic'... function createAgentWithConcurrentInterruptibleCalls (line 215) | function createAgentWithConcurrentInterruptibleCalls( function createAgentWithConcurrentMixedTools (line 246) | function createAgentWithConcurrentMixedTools(provider: 'anthropic' | 'op... function createAgentWithBatchedInterruptibleCalls (line 284) | function createAgentWithBatchedInterruptibleCalls( function createAgentWithBatchedNormalCalls (line 315) | function createAgentWithBatchedNormalCalls( function createAgentWithAlwaysErrorTool (line 339) | function createAgentWithAlwaysErrorTool(provider: 'anthropic' | 'openai'... function createAgentWithFlakyTool (line 360) | function createAgentWithFlakyTool(provider: 'anthropic' | 'openai'): { function createSqliteMemory (line 419) | function createSqliteMemory(): { FILE: packages/@n8n/agents/src/__tests__/integration/json-schema-validation.test.ts function makeJsonSchemaTool (line 27) | function makeJsonSchemaTool(overrides: Partial = {}): BuiltTo... FILE: packages/@n8n/agents/src/__tests__/integration/mcp-connection.test.ts function isApprovalWrapped (line 21) | function isApprovalWrapped(tool: { suspendSchema?: unknown }): boolean { type McpConnectionInternals (line 213) | type McpConnectionInternals = { client: { close(): Promise } }; FILE: packages/@n8n/agents/src/__tests__/integration/mcp-server-helpers.ts constant TINY_PNG (line 14) | const TINY_PNG = type TestServer (line 17) | interface TestServer { function createTestMcpServer (line 23) | function createTestMcpServer(): McpServer { function startSseServer (line 97) | async function startSseServer(): Promise { function startStreamableHttpServer (line 139) | async function startStreamableHttpServer(): Promise { FILE: packages/@n8n/agents/src/__tests__/integration/mcp-stdio-transport.test.ts constant FIXTURE_PATH (line 13) | const FIXTURE_PATH = path.resolve(__dirname, '../fixtures/mcp-stdio-serv... function stdioConfig (line 16) | function stdioConfig(name = 'test') { FILE: packages/@n8n/agents/src/__tests__/integration/memory/memory-custom-backend.test.ts class CustomMapMemory (line 19) | class CustomMapMemory implements BuiltMemory { method getThread (line 26) | async getThread(threadId: string): Promise { method saveThread (line 30) | async saveThread(thread: Omit): Pro... method deleteThread (line 37) | async deleteThread(threadId: string): Promise { method getMessages (line 44) | async getMessages( method saveMessages (line 61) | async saveMessages(args: { method deleteMessages (line 70) | async deleteMessages(messageIds: string[]): Promise { method getWorkingMemory (line 82) | async getWorkingMemory(params: { method saveWorkingMemory (line 93) | async saveWorkingMemory( FILE: packages/@n8n/agents/src/__tests__/integration/memory/memory-postgres.test.ts function isDockerAvailable (line 21) | function isDockerAvailable(): boolean { function describeWithDocker (line 64) | function describeWithDocker(name: string, fn: () => void) { function describeWithDockerAndApi (line 487) | function describeWithDockerAndApi(name: string, fn: () => void) { FILE: packages/@n8n/agents/src/__tests__/integration/multimodal.test.ts function base64ToUint8Array (line 16) | function base64ToUint8Array(base64: string): Uint8Array { constant RED_PIXEL_BASE64 (line 21) | const RED_PIXEL_BASE64 = constant BLUE_PIXEL_BASE64 (line 24) | const BLUE_PIXEL_BASE64 = FILE: packages/@n8n/agents/src/__tests__/integration/orphaned-tool-messages.test.ts function buildLookupTool (line 22) | function buildLookupTool() { function buildSeedMessages (line 44) | function buildSeedMessages(): AgentMessage[] { FILE: packages/@n8n/agents/src/__tests__/integration/provider-options.test.ts constant LONG_SYSTEM_PROMPT (line 18) | const LONG_SYSTEM_PROMPT = FILE: packages/@n8n/agents/src/__tests__/integration/provider-tools.test.ts constant WEB_SEARCH_INSTRUCTIONS (line 20) | const WEB_SEARCH_INSTRUCTIONS = FILE: packages/@n8n/agents/src/__tests__/integration/state-restore-after-suspension.test.ts class InMemoryCheckpointStore (line 15) | class InMemoryCheckpointStore implements CheckpointStore { method save (line 18) | async save(key: string, state: SerializableAgentState): Promise { method load (line 22) | async load(key: string): Promise { method delete (line 27) | async delete(key: string): Promise { method size (line 31) | get size(): number { function buildDeleteAgent (line 40) | function buildDeleteAgent(checkpointStore: CheckpointStore): Agent { FILE: packages/@n8n/agents/src/__tests__/integration/structured-output.test.ts function createStructuredAgent (line 14) | function createStructuredAgent(provider: 'anthropic' | 'openai'): Agent { function createStructuredAgentWithTool (line 23) | function createStructuredAgentWithTool(provider: 'anthropic' | 'openai')... function createStructuredAgentWithInterruptibleTool (line 46) | function createStructuredAgentWithInterruptibleTool(provider: 'anthropic... FILE: packages/@n8n/agents/src/__tests__/integration/telemetry-langsmith.test.ts type CapturedRequest (line 22) | interface CapturedRequest { function createTestAgent (line 77) | function createTestAgent(telemetry: Telemetry | BuiltTelemetry) { FILE: packages/@n8n/agents/src/__tests__/sqlite-memory.test.ts function makeTempDb (line 12) | function makeTempDb(): string { function makeMsg (line 16) | function makeMsg(role: 'user' | 'assistant', text: string): Message { function textOf (line 20) | function textOf(msg: AgentMessage): string { function makeMemory (line 25) | function makeMemory(dbPath: string, namespace?: string): SqliteMemory { FILE: packages/@n8n/agents/src/__tests__/strip-orphaned-tool-messages.test.ts function seed (line 5) | function seed(messages: AgentMessage[]): AgentDbMessage[] { FILE: packages/@n8n/agents/src/__tests__/tool-adapter.test.ts type AiImport (line 12) | type AiImport = typeof import('ai'); function makeJsonSchemaTool (line 29) | function makeJsonSchemaTool( function makeZodSchemaTool (line 41) | function makeZodSchemaTool(overrides: Partial = {}): BuiltTool { FILE: packages/@n8n/agents/src/__tests__/tool.test.ts function makeBuiltTool (line 10) | function makeBuiltTool(overrides: Partial = {}): BuiltTool { function makeCtx (line 22) | function makeCtx(resumeData?: unknown): { ctx: InterruptibleToolContext;... FILE: packages/@n8n/agents/src/__tests__/working-memory.test.ts function runStreamFilter (line 87) | async function runStreamFilter( FILE: packages/@n8n/agents/src/__tests__/workspace/base-filesystem.test.ts class TestFilesystem (line 15) | class TestFilesystem extends BaseFilesystem { method constructor (line 24) | constructor(id: string, options?: BaseFilesystemOptions) { method init (line 29) | override async init(): Promise { method destroy (line 33) | override async destroy(): Promise { method readFile (line 37) | async readFile(_path: string, _options?: ReadOptions): Promise { method deleteFile (line 50) | async deleteFile(_path: string, _options?: RemoveOptions): Promise { method readdir (line 70) | async readdir(_path: string, _options?: ListOptions): Promise { method stat (line 80) | async stat(_path: string): Promise { FILE: packages/@n8n/agents/src/__tests__/workspace/base-sandbox.test.ts class StubProcessHandle (line 9) | class StubProcessHandle extends ProcessHandle { method constructor (line 13) | constructor(pid: number) { method exitCode (line 18) | get exitCode(): number | undefined { method kill (line 22) | async kill(): Promise { method sendStdin (line 27) | async sendStdin(_data: string): Promise {} method _wait (line 29) | protected async _wait(): Promise { function makeStubProcessManager (line 42) | function makeStubProcessManager(): SandboxProcessManager & { class TestSandbox (line 56) | class TestSandbox extends BaseSandbox { method constructor (line 65) | constructor(id: string, options?: BaseSandboxOptions) { method start (line 71) | async start(): Promise { method stop (line 75) | async stop(): Promise { method destroy (line 79) | async destroy(): Promise { FILE: packages/@n8n/agents/src/__tests__/workspace/test-utils.ts class InMemoryFilesystem (line 23) | class InMemoryFilesystem extends BaseFilesystem { method constructor (line 33) | constructor(id = 'mem-fs') { method init (line 39) | override async init(): Promise { method normalizePath (line 43) | private normalizePath(p: string): string { method parentDir (line 47) | private parentDir(p: string): string { method readFile (line 53) | async readFile(filePath: string, options?: ReadOptions): Promise { method deleteFile (line 82) | async deleteFile(filePath: string): Promise { method copyFile (line 89) | async copyFile(src: string, dest: string): Promise { method moveFile (line 95) | async moveFile(src: string, dest: string): Promise { method mkdir (line 101) | async mkdir(dirPath: string, options?: { recursive?: boolean }): Promi... method rmdir (line 111) | async rmdir(dirPath: string, options?: RemoveOptions): Promise { method readdir (line 126) | async readdir(dirPath: string, options?: ListOptions): Promise { method stat (line 176) | async stat(filePath: string): Promise { method getMountConfig (line 202) | getMountConfig(): MountConfig { method getInstructions (line 206) | getInstructions(): string { method getFileContent (line 210) | getFileContent(filePath: string): string | undefined { method mkdirRecursive (line 215) | private mkdirRecursive(p: string): void { class FakeProcessHandle (line 226) | class FakeProcessHandle extends ProcessHandle { method constructor (line 236) | constructor( method exitCode (line 248) | get exitCode(): number | undefined { method kill (line 252) | async kill(): Promise { method sendStdin (line 257) | async sendStdin(_data: string): Promise {} method _wait (line 259) | protected async _wait(): Promise { class FakeProcessManager (line 280) | class FakeProcessManager extends SandboxProcessManager { method constructor (line 285) | constructor() { method spawn (line 290) | async spawn(command: string, _options?: SpawnProcessOptions): Promise<... method list (line 297) | async list(): Promise { method get (line 307) | async get(pid: number): Promise { method kill (line 311) | async kill(pid: number): Promise { class FakeSandbox (line 320) | class FakeSandbox extends BaseSandbox { method constructor (line 325) | constructor(id: string, pm: FakeProcessManager) { method start (line 331) | async start(): Promise {} method stop (line 332) | async stop(): Promise {} method destroy (line 333) | async destroy(): Promise {} method getInstructions (line 335) | override getInstructions(): string { FILE: packages/@n8n/agents/src/__tests__/workspace/workspace-tools.test.ts function makeFakeFilesystem (line 4) | function makeFakeFilesystem(overrides: Partial = {}... function makeFakeSandbox (line 35) | function makeFakeSandbox(overrides: Partial = {}): Wor... FILE: packages/@n8n/agents/src/__tests__/workspace/workspace.test.ts function makeFakeFilesystem (line 4) | function makeFakeFilesystem(overrides: Partial = {}... function makeFakeSandbox (line 25) | function makeFakeSandbox(overrides: Partial = {}): Wor... FILE: packages/@n8n/agents/src/evals/categorization.ts function categorization (line 4) | function categorization(): Eval { FILE: packages/@n8n/agents/src/evals/contains-keywords.ts function containsKeywords (line 8) | function containsKeywords(): Eval { FILE: packages/@n8n/agents/src/evals/correctness.ts function correctness (line 8) | function correctness(): Eval { FILE: packages/@n8n/agents/src/evals/helpfulness.ts function helpfulness (line 8) | function helpfulness(): Eval { FILE: packages/@n8n/agents/src/evals/json-validity.ts function jsonValidity (line 4) | function jsonValidity(): Eval { FILE: packages/@n8n/agents/src/evals/parse-judge-response.ts function parseJudgeResponse (line 7) | function parseJudgeResponse(text: string): EvalScore { FILE: packages/@n8n/agents/src/evals/string-similarity.ts function diceSimilarity (line 7) | function diceSimilarity(a: string, b: string): number { function stringSimilarity (line 33) | function stringSimilarity(): Eval { FILE: packages/@n8n/agents/src/evals/tool-call-accuracy.ts function toolCallAccuracy (line 8) | function toolCallAccuracy(): Eval { FILE: packages/@n8n/agents/src/integrations/langsmith.ts type LangSmithTelemetryConfig (line 4) | interface LangSmithTelemetryConfig { function createLangSmithTracer (line 23) | async function createLangSmithTracer( class LangSmithTelemetry (line 96) | class LangSmithTelemetry extends Telemetry { method constructor (line 99) | constructor(config?: LangSmithTelemetryConfig) { method build (line 105) | override async build(): Promise { FILE: packages/@n8n/agents/src/runtime/agent-runtime.ts function isTextPart (line 81) | function isTextPart(part: unknown): part is { type: 'text'; text: string... type AgentRuntimeConfig (line 91) | interface AgentRuntimeConfig { constant MAX_LOOP_ITERATIONS (line 117) | const MAX_LOOP_ITERATIONS = 20; constant EMPTY_MESSAGE_LIST (line 121) | const EMPTY_MESSAGE_LIST: SerializedMessageList = { type PendingResume (line 129) | interface PendingResume { type ToolCallOutcome (line 138) | type ToolCallOutcome = type ToolCallSuccess (line 151) | interface ToolCallSuccess { type ToolCallSuspension (line 162) | interface ToolCallSuspension { type ToolCallError (line 172) | interface ToolCallError { type ToolCallBatchResult (line 181) | interface ToolCallBatchResult { class AgentRuntime (line 202) | class AgentRuntime { method constructor (line 215) | constructor(config: AgentRuntimeConfig) { method getState (line 228) | getState(): SerializableAgentState { method abort (line 233) | abort(): void { method generate (line 238) | async generate( method stream (line 260) | async stream( method resume (line 298) | async resume( method buildMessageList (line 397) | private async buildMessageList( method performSemanticRecall (line 433) | private async performSemanticRecall( method expandMessageRange (line 517) | private expandMessageRange( method initRun (line 546) | private async initRun( method finalizeGenerate (line 565) | private finalizeGenerate( method resolveTelemetry (line 580) | private resolveTelemetry(options?: ExecutionOptions): BuiltTelemetry |... method flushTelemetry (line 588) | private async flushTelemetry(options?: ExecutionOptions): Promise { method buildTelemetryOptions (line 600) | private buildTelemetryOptions(options?: ExecutionOptions): Record { method emitTurnEnd (line 1753) | private emitTurnEnd(newMessages: AgentDbMessage[], toolResults: Conten... method updateState (line 1761) | private updateState(patch: Partial): void { method modelIdString (line 1766) | private get modelIdString(): string { method concurrency (line 1778) | private get concurrency(): number { method ensureModelCost (line 1783) | private async ensureModelCost(): Promise { method applyCost (line 1794) | private applyCost(usage: TokenUsage | undefined): TokenUsage | undefin... method setListWorkingMemoryConfig (line 1799) | private async setListWorkingMemoryConfig( method resolveWorkingMemoryParams (line 1814) | private resolveWorkingMemoryParams(options: AgentPersistenceOptions | ... FILE: packages/@n8n/agents/src/runtime/event-bus.ts class AgentEventBus (line 19) | class AgentEventBus { method on (line 26) | on(event: AgentEvent, handler: AgentEventHandler): void { method emit (line 35) | emit(data: AgentEventData): void { method abort (line 43) | abort(): void { method resetAbort (line 56) | resetAbort(externalSignal?: AbortSignal): void { method signal (line 73) | get signal(): AbortSignal { method isAborted (line 77) | get isAborted(): boolean { FILE: packages/@n8n/agents/src/runtime/logger.ts constant SUPPRESSED_PATTERNS (line 6) | const SUPPRESSED_PATTERNS = [ function isSuppressed (line 10) | function isSuppressed(message: string): boolean { function createFilteredLogger (line 18) | function createFilteredLogger() { FILE: packages/@n8n/agents/src/runtime/mcp-connection.ts type McpCallToolResult (line 14) | type McpCallToolResult = CallToolResult; class McpConnection (line 17) | class McpConnection { method constructor (line 28) | constructor(config: McpServerConfig, requireToolApproval = false) { method connect (line 34) | async connect(): Promise { method connectWithTransport (line 47) | private async connectWithTransport( method listTools (line 83) | async listTools(): Promise { method needsApproval (line 102) | private needsApproval(tool: BuiltTool): boolean { method callTool (line 119) | async callTool(name: string, args: Record): Promise { method doDisconnect (line 133) | private async doDisconnect(): Promise { method name (line 140) | get name(): string { method declaresApproval (line 148) | declaresApproval(): boolean { method createTransport (line 155) | private createTransport( FILE: packages/@n8n/agents/src/runtime/mcp-tool-resolver.ts type McpContentBlock (line 8) | type McpContentBlock = McpCallToolResult['content'][number]; class McpToolResolver (line 15) | class McpToolResolver { method resolve (line 16) | resolve(connection: McpConnection, tools: Tool[]): BuiltTool[] { method resolveTool (line 20) | private resolveTool(connection: McpConnection, tool: Tool): BuiltTool { function buildRichMessage (line 55) | function buildRichMessage(result: McpCallToolResult): AgentMessage | und... function blockToContentPart (line 73) | function blockToContentPart(block: McpContentBlock): ContentText | Conte... FILE: packages/@n8n/agents/src/runtime/memory-store.ts type StoredMessage (line 5) | interface StoredMessage { class InMemoryMemory (line 17) | class InMemoryMemory implements BuiltMemory { method getWorkingMemory (line 25) | async getWorkingMemory(params: { threadId: string; resourceId?: string... method saveWorkingMemory (line 32) | async saveWorkingMemory( method getThread (line 40) | async getThread(threadId: string): Promise { method saveThread (line 45) | async saveThread(thread: Omit): Pro... method deleteThread (line 60) | async deleteThread(threadId: string): Promise { method getMessages (line 66) | async getMessages( method saveMessages (line 84) | async saveMessages(args: { method deleteMessages (line 98) | async deleteMessages(messageIds: string[]): Promise { function saveMessagesToThread (line 114) | async function saveMessagesToThread( FILE: packages/@n8n/agents/src/runtime/message-list.ts type WorkingMemoryContext (line 13) | interface WorkingMemoryContext { class AgentMessageList (line 32) | class AgentMessageList { method addHistory (line 44) | addHistory(messages: AgentDbMessage[]): void { method addInput (line 51) | addInput(messages: AgentDbMessage[]): void { method addResponse (line 58) | addResponse(messages: AgentDbMessage[]): void { method forLlm (line 70) | forLlm(baseInstructions: string, instructionProviderOptions?: Provider... method turnDelta (line 93) | turnDelta(): AgentDbMessage[] { method responseDelta (line 101) | responseDelta(): AgentDbMessage[] { method serialize (line 105) | serialize(): SerializedMessageList { method deserialize (line 115) | static deserialize(data: SerializedMessageList): AgentMessageList { FILE: packages/@n8n/agents/src/runtime/messages.ts type ReasoningPart (line 29) | type ReasoningPart = { type: 'reasoning'; text: string }; type AiContentPart (line 31) | type AiContentPart = function isText (line 43) | function isText(block: MessageContent): block is ContentText { function isReasoning (line 47) | function isReasoning(block: MessageContent): block is ContentReasoning { function isFile (line 51) | function isFile(block: MessageContent): block is ContentFile { function isToolCall (line 55) | function isToolCall(block: MessageContent): block is ContentToolCall { function isToolResult (line 59) | function isToolResult(block: MessageContent): block is ContentToolResult { function parseJsonValue (line 67) | function parseJsonValue(value: JSONValue): unknown { function toAiContent (line 79) | function toAiContent(block: MessageContent): AiContentPart | undefined { function fromAiContent (line 134) | function fromAiContent(part: AiContentPart): MessageContent | undefined { function toAiMessage (line 207) | function toAiMessage(msg: Message): ModelMessage { function toAiMessages (line 261) | function toAiMessages(messages: Message[]): ModelMessage[] { function fromAiMessage (line 266) | function fromAiMessage(msg: ModelMessage): AgentDbMessage { function fromAiMessages (line 280) | function fromAiMessages(messages: ModelMessage[]): AgentDbMessage[] { function fromAiFinishReason (line 284) | function fromAiFinishReason(reason: AiFinishReason): FinishReason { FILE: packages/@n8n/agents/src/runtime/model-factory.ts type CreateProviderFn (line 6) | type CreateProviderFn = (opts?: { type CreateEmbeddingProviderFn (line 10) | type CreateEmbeddingProviderFn = (opts?: { apiKey?: string }) => { function isLanguageModel (line 14) | function isLanguageModel(config: unknown): config is LanguageModel { function createModel (line 22) | function createModel(config: ModelConfig): LanguageModel { constant EMBEDDING_PROVIDERS (line 83) | const EMBEDDING_PROVIDERS = { type EmbeddingProvider (line 92) | type EmbeddingProvider = keyof typeof EMBEDDING_PROVIDERS; type EmbeddingModelId (line 93) | type EmbeddingModelId = `${EmbeddingProvider}/${string}`; function createEmbeddingModel (line 100) | function createEmbeddingModel( FILE: packages/@n8n/agents/src/runtime/run-state.ts class MemoryCheckpointStore (line 11) | class MemoryCheckpointStore implements CheckpointStore { method save (line 14) | async save(key: string, state: SerializableAgentState): Promise { method load (line 18) | async load(key: string): Promise { method delete (line 22) | async delete(key: string): Promise { class RunStateManager (line 32) | class RunStateManager { method constructor (line 35) | constructor(storage?: 'memory' | CheckpointStore) { method suspend (line 40) | async suspend(runId: string, state: SerializableAgentState): Promise { function generateRunId (line 66) | function generateRunId(): string { FILE: packages/@n8n/agents/src/runtime/runtime-helpers.ts function normalizeInput (line 12) | function normalizeInput(input: AgentMessage[] | string): AgentDbMessage[] { function makeToolResultMessage (line 20) | function makeToolResultMessage( function makeErrorToolResultMessage (line 43) | function makeErrorToolResultMessage( function extractToolResults (line 64) | function extractToolResults(messages: AgentDbMessage[]): ContentToolResu... function makeErrorStream (line 75) | function makeErrorStream(error: unknown): ReadableStream { function mergeUsage (line 85) | function mergeUsage( function accumulateUsage (line 121) | function accumulateUsage( function applySubAgentUsage (line 138) | function applySubAgentUsage(result: GenerateResult): GenerateResult { FILE: packages/@n8n/agents/src/runtime/stream.ts function toTokenUsage (line 7) | function toTokenUsage( function convertChunk (line 43) | function convertChunk(c: TextStreamPart): StreamChunk | undefin... FILE: packages/@n8n/agents/src/runtime/strip-orphaned-tool-messages.ts function stripOrphanedToolMessages (line 20) | function stripOrphanedToolMessages(messages: AgentDbMessage[]): AgentDbM... FILE: packages/@n8n/agents/src/runtime/title-generation.ts constant DEFAULT_TITLE_INSTRUCTIONS (line 11) | const DEFAULT_TITLE_INSTRUCTIONS = [ function generateThreadTitle (line 26) | async function generateThreadTitle(opts: { FILE: packages/@n8n/agents/src/runtime/tool-adapter.ts type AiSdkProviderTool (line 15) | type AiSdkProviderTool = AiSdkTool & { constant SUSPEND_BRAND (line 23) | const SUSPEND_BRAND = Symbol('SuspendBrand'); constant AGENT_TOOL_BRAND (line 30) | const AGENT_TOOL_BRAND = Symbol('AgentToolBrand'); type SuspendedToolResult (line 32) | interface SuspendedToolResult { function isSuspendedToolResult (line 38) | function isSuspendedToolResult(value: unknown): value is SuspendedToolRe... type AgentToolResult (line 42) | interface AgentToolResult { function isAgentToolResult (line 51) | function isAgentToolResult(value: unknown): value is AgentToolResult { function createAgentToolResult (line 63) | function createAgentToolResult(output: unknown, subAgentUsage: SubAgentU... function toAiSdkProviderTools (line 77) | function toAiSdkProviderTools(tools?: BuiltProviderTool[]): Record { function executeTool (line 140) | async function executeTool( function isInterruptible (line 168) | function isInterruptible(toolName: string, toolMap: Map { FILE: packages/@n8n/agents/src/runtime/working-memory.ts type ZodObjectSchema (line 8) | type ZodObjectSchema = z.ZodObject; constant OPEN_TAG (line 10) | const OPEN_TAG = ''; constant CLOSE_TAG (line 11) | const CLOSE_TAG = ''; function parseWorkingMemory (line 17) | function parseWorkingMemory(text: string): { function buildWorkingMemoryInstruction (line 41) | function buildWorkingMemoryInstruction(template: string, structured: boo... function templateFromSchema (line 67) | function templateFromSchema(schema: ZodObjectSchema): string { type PersistFn (line 76) | type PersistFn = (content: string) => Promise; class WorkingMemoryStreamFilter (line 83) | class WorkingMemoryStreamFilter { method constructor (line 94) | constructor(writer: WritableStreamDefaultWriter, persist:... method write (line 99) | async write(chunk: StreamChunk): Promise { method flush (line 174) | async flush(): Promise { FILE: packages/@n8n/agents/src/sdk/agent.ts constant DEFAULT_LAST_MESSAGES (line 40) | const DEFAULT_LAST_MESSAGES = 10; type ToolParameter (line 42) | type ToolParameter = BuiltTool | { build(): BuiltTool }; class Agent (line 59) | class Agent implements BuiltAgent { method constructor (line 114) | constructor(name: string) { method model (line 130) | model(providerOrIdOrConfig: string | ModelConfig, modelName?: string):... method instructions (line 142) | instructions(text: string, options?: { providerOptions?: ProviderOptio... method tool (line 149) | tool(t: ToolParameter | ToolParameter[]): this { method providerTool (line 162) | providerTool(builtProviderTool: BuiltProviderTool): this { method memory (line 168) | memory(m: MemoryConfig | Memory | BuiltMemory): this { method middleware (line 183) | middleware(m: AgentMiddleware): this { method inputGuardrail (line 190) | inputGuardrail(g: BuiltGuardrail | { build(): BuiltGuardrail }): this { method outputGuardrail (line 196) | outputGuardrail(g: BuiltGuardrail | { build(): BuiltGuardrail }): this { method eval (line 202) | eval(e: Eval | BuiltEval | { ensureBuilt(): BuiltEval }): this { method checkpoint (line 224) | checkpoint(storage: 'memory' | CheckpointStore): this { method credential (line 242) | credential(name: string): this { method declaredCredential (line 248) | protected get declaredCredential(): string | undefined { method resolvedApiKey (line 253) | protected set resolvedApiKey(key: string) { method structuredOutput (line 275) | structuredOutput(schema: z.ZodType): this { method thinking (line 297) | thinking

(_provider: P, config?: ThinkingConfigFor<... method telemetry (line 303) | telemetry(t: Telemetry | BuiltTelemetry): this { method declaredTelemetry (line 315) | protected get declaredTelemetry(): Telemetry | undefined { method toolCallConcurrency (line 326) | toolCallConcurrency(n: number): this { method requireToolApproval (line 339) | requireToolApproval(): this { method workspace (line 348) | workspace(ws: Workspace): this { method mcp (line 371) | mcp(client: McpClient): this { method evaluations (line 377) | get evaluations(): BuiltEval[] { method on (line 385) | on(event: AgentEvent, handler: AgentEventHandler): void { method asTool (line 401) | asTool(description: string): BuiltTool { method getState (line 451) | getState(): SerializableAgentState { method abort (line 467) | abort(): void { method generate (line 472) | async generate( method stream (line 481) | async stream( method resume (line 500) | async resume( method approve (line 514) | async approve( method deny (line 526) | async deny( method ensureBuilt (line 541) | private async ensureBuilt(): Promise { method toMessages (line 552) | private toMessages(input: string | AgentMessage[]): AgentMessage[] { method build (line 558) | protected async build(): Promise { FILE: packages/@n8n/agents/src/sdk/catalog.ts constant MODELS_DEV_URL (line 1) | const MODELS_DEV_URL = 'https://models.dev/api.json'; type ModelCost (line 4) | interface ModelCost { type ModelLimits (line 16) | interface ModelLimits { type ModelInfo (line 24) | interface ModelInfo { type ProviderInfo (line 40) | interface ProviderInfo { type ProviderCatalog (line 50) | type ProviderCatalog = Record; type ModelsDevModel (line 52) | interface ModelsDevModel { type ModelsDevProvider (line 61) | interface ModelsDevProvider { function fetchProviderCatalog (line 82) | async function fetchProviderCatalog(): Promise { function getCachedCatalog (line 140) | async function getCachedCatalog(): Promise { function getModelCost (line 166) | async function getModelCost(modelId: string): Promise { FILE: packages/@n8n/agents/src/sdk/evaluate.ts function extractText (line 8) | function extractText(messages: AgentMessage[]): string { type DatasetRow (line 16) | interface DatasetRow { type EvaluateConfig (line 32) | interface EvaluateConfig { function evaluate (line 58) | async function evaluate(agent: Agent, config: EvaluateConfig): Promise { method listTools (line 83) | async listTools(): Promise { method close (line 98) | async close(): Promise { method verify (line 120) | async verify(): Promise { method declaresApproval (line 164) | declaresApproval(): boolean { method doListTools (line 168) | private async doListTools(): Promise { method doClose (line 220) | private async doClose(): Promise { FILE: packages/@n8n/agents/src/sdk/memory.ts type ZodObjectSchema (line 12) | type ZodObjectSchema = z.ZodObject; constant DEFAULT_LAST_MESSAGES (line 14) | const DEFAULT_LAST_MESSAGES = 10; class Memory (line 29) | class Memory { method lastMessageCount (line 45) | get lastMessageCount(): number { method storage (line 55) | storage(backend: 'memory' | BuiltMemory): this { method lastMessages (line 65) | lastMessages(count: number): this { method semanticRecall (line 71) | semanticRecall(config: SemanticRecallConfig): this { method structured (line 80) | structured(schema: ZodObjectSchema): this { method freeform (line 89) | freeform(template: string): this { method scope (line 100) | scope(s: 'resource' | 'thread'): this { method titleGeneration (line 114) | titleGeneration(config: boolean | TitleGenerationConfig): this { method build (line 132) | build(): MemoryConfig { FILE: packages/@n8n/agents/src/sdk/message.ts function toDbMessage (line 7) | function toDbMessage(message: AgentMessage): AgentDbMessage { function isLlmMessage (line 14) | function isLlmMessage(message: AgentMessage): message is Message { function filterLlmMessages (line 18) | function filterLlmMessages(messages: AgentMessage[]): Message[] { FILE: packages/@n8n/agents/src/sdk/network.ts type BuiltNetwork (line 5) | interface BuiltNetwork { class Network (line 23) | class Network { method constructor (line 32) | constructor(name: string) { method coordinator (line 37) | coordinator(a: Agent): this { method agent (line 43) | agent(a: Agent): this { method ensureBuilt (line 49) | private ensureBuilt(): BuiltNetwork { method name (line 55) | get name(): string { method run (line 60) | async run(prompt: string, options?: RunOptions): Promise) => Record; function redactValue (line 16) | function redactValue(value: unknown, redact: RedactFn): unknown { function redactEvent (line 41) | function redactEvent(event: T, redact: RedactFn): T { function wrapIntegrationWithRedaction (line 57) | function wrapIntegrationWithRedaction( function createOtlpTracer (line 96) | async function createOtlpTracer(endpoint: string): Promise<{ class Telemetry (line 145) | class Telemetry { method credential (line 178) | credential(name: string): this { method declaredCredential (line 184) | get declaredCredential(): string | undefined { method resolvedApiKey (line 192) | set resolvedApiKey(key: string) { method enabled (line 197) | enabled(value: boolean): this { method functionId (line 203) | functionId(value: string): this { method metadata (line 209) | metadata(value: Record): this { method recordInputs (line 215) | recordInputs(value: boolean): this { method recordOutputs (line 221) | recordOutputs(value: boolean): this { method redact (line 231) | redact(fn: RedactFn): this { method integration (line 237) | integration(value: TelemetryIntegration): this { method tracer (line 248) | tracer(value: OpaqueTracer): this { method otlpEndpoint (line 260) | otlpEndpoint(value: string): this { method build (line 266) | async build(): Promise { method shutdown (line 298) | static async shutdown(telemetry: BuiltTelemetry): Promise { FILE: packages/@n8n/agents/src/sdk/tool.ts constant APPROVAL_SUSPEND_SCHEMA (line 7) | const APPROVAL_SUSPEND_SCHEMA = z.object({ constant APPROVAL_RESUME_SCHEMA (line 13) | const APPROVAL_RESUME_SCHEMA = z.object({ type ApprovalConfig (line 17) | interface ApprovalConfig { function wrapToolForApproval (line 31) | function wrapToolForApproval(tool: BuiltTool, config: ApprovalConfig): B... type HandlerContext (line 66) | type HandlerContext = S extends z.ZodTypeAny class Tool (line 90) | class Tool< method constructor (line 123) | constructor(name: string) { method description (line 128) | description(desc: string): this { method input (line 134) | input(schema: S): Tool(schema: S): Tool(schema: S): Tool(schema: R): Tool) => AgentMessage): this { method toModelOutput (line 187) | toModelOutput(fn: (output: z.infer) => unknown): this { method requireApproval (line 193) | requireApproval(): this { method needsApprovalFn (line 199) | needsApprovalFn(fn: (args: z.infer) => Promise | bool... method providerOptions (line 210) | providerOptions(options: Record): this { method build (line 221) | build(): BuiltTool { FILE: packages/@n8n/agents/src/sdk/verify.ts type VerifyResult (line 1) | interface VerifyResult { function verify (line 24) | function verify(source: string): VerifyResult { FILE: packages/@n8n/agents/src/storage/postgres-memory.ts type ThreadRow (line 8) | interface ThreadRow { type MessageRow (line 17) | interface MessageRow { type EmbeddingDimRow (line 26) | interface EmbeddingDimRow { type EmbeddingResultRow (line 30) | interface EmbeddingResultRow { function parseJsonSafe (line 36) | function parseJsonSafe(text: string): unknown { type PostgresConnectionConfig (line 44) | interface PostgresConnectionConfig { type PostgresMemoryConfig (line 57) | interface PostgresMemoryConfig { class PostgresMemory (line 86) | class PostgresMemory implements BuiltMemory { method constructor (line 95) | constructor(config: PostgresMemoryConfig) { method ensureInitialized (line 109) | private async ensureInitialized(): Promise { method _initialize (line 117) | private async _initialize(): Promise { method getThread (line 186) | async getThread(threadId: string): Promise { method saveThread (line 207) | async saveThread(thread: Omit): Pro... method deleteThread (line 237) | async deleteThread(threadId: string): Promise { method getMessages (line 267) | async getMessages( method saveMessages (line 324) | async saveMessages(args: { method deleteMessages (line 364) | async deleteMessages(messageIds: string[]): Promise { method getWorkingMemory (line 387) | async getWorkingMemory(params: { method saveWorkingMemory (line 403) | async saveWorkingMemory( method ensureEmbeddingsTable (line 430) | private async ensureEmbeddingsTable(pool: Pool, dimension: number): Pr... method _initializeEmbeddingsTable (line 446) | private async _initializeEmbeddingsTable(pool: Pool, dimension: number... method saveEmbeddings (line 490) | async saveEmbeddings(opts: { method queryEmbeddings (line 540) | async queryEmbeddings(opts: { method close (line 592) | async close(): Promise { FILE: packages/@n8n/agents/src/storage/sqlite-memory.ts function parseJsonSafe (line 8) | function parseJsonSafe(text: string): unknown { function float32ToBuffer (line 17) | function float32ToBuffer(arr: number[]): Buffer { type SqliteMemoryConfig (line 22) | interface SqliteMemoryConfig { class SqliteMemory (line 27) | class SqliteMemory implements BuiltMemory { method constructor (line 36) | constructor(config: SqliteMemoryConfig) { method ensureInitialized (line 50) | private async ensureInitialized(): Promise { method _initialize (line 58) | private async _initialize(): Promise { method getThread (line 96) | async getThread(threadId: string): Promise { method saveThread (line 118) | async saveThread(thread: Omit): Pro... method deleteThread (line 140) | async deleteThread(threadId: string): Promise { method getMessages (line 163) | async getMessages( method saveMessages (line 216) | async saveMessages(args: { method deleteMessages (line 239) | async deleteMessages(messageIds: string[]): Promise { method getWorkingMemory (line 265) | async getWorkingMemory(params: { threadId: string; resourceId?: string... method saveWorkingMemory (line 280) | async saveWorkingMemory( method ensureEmbeddingsTable (line 305) | private async ensureEmbeddingsTable(db: Client, dimension: number): Pr... method _initializeEmbeddingsTable (line 319) | private async _initializeEmbeddingsTable(db: Client, dimension: number... method saveEmbeddings (line 358) | async saveEmbeddings(opts: { method queryEmbeddings (line 395) | async queryEmbeddings(opts: { FILE: packages/@n8n/agents/src/types/runtime/event.ts type AgentEvent (line 3) | const enum AgentEvent { type AgentEventData (line 13) | type AgentEventData = type AgentEventHandler (line 28) | type AgentEventHandler = (data: AgentEventData) => void; type AgentMiddleware (line 31) | interface AgentMiddleware { FILE: packages/@n8n/agents/src/types/runtime/message-list.ts type SerializedMessageList (line 3) | interface SerializedMessageList { FILE: packages/@n8n/agents/src/types/sdk/agent.ts type FinishReason (line 12) | type FinishReason = 'stop' | 'length' | 'content-filter' | 'tool-calls' ... type TokenUsage (line 14) | type TokenUsage = Record Promise<{ text: string }>; type JudgeInput (line 25) | interface JudgeInput extends EvalInput { type CheckFn (line 31) | type CheckFn = (input: EvalInput) => EvalScore | Promise; type JudgeHandlerFn (line 34) | type JudgeHandlerFn = (input: JudgeInput) => EvalScore | Promise = P extends 'anthropic' type ThinkingConfig (line 62) | type ThinkingConfig = FILE: packages/@n8n/agents/src/types/sdk/tool.ts type ToolContext (line 8) | interface ToolContext { type InterruptibleToolContext (line 13) | interface InterruptibleToolContext { type BuiltTool (line 26) | interface BuiltTool { type BuiltProviderTool (line 68) | interface BuiltProviderTool { FILE: packages/@n8n/agents/src/types/telemetry.ts type AttributeValue (line 4) | type AttributeValue = string | number | boolean | string[] | number[] | ... type OpaqueTracer (line 12) | type OpaqueTracer = unknown; type OpaqueTracerProvider (line 18) | interface OpaqueTracerProvider { type BuiltTelemetry (line 23) | interface BuiltTelemetry { FILE: packages/@n8n/agents/src/types/utils/json.ts type JSONValue (line 5) | type JSONValue = null | string | number | boolean | JSONObject | JSONArray; type JSONObject (line 7) | type JSONObject = { type JSONArray (line 11) | type JSONArray = JSONValue[]; FILE: packages/@n8n/agents/src/utils/zod.ts function isZodSchema (line 5) | function isZodSchema(schema: ZodType | JSONSchema7): schema is ZodType { FILE: packages/@n8n/agents/src/workspace/filesystem/base-filesystem.ts type FilesystemLifecycleHook (line 14) | type FilesystemLifecycleHook = (args: { type BaseFilesystemOptions (line 18) | interface BaseFilesystemOptions { method constructor (line 36) | constructor(options?: BaseFilesystemOptions) { method _init (line 41) | async _init(): Promise { method executeInit (line 61) | private async executeInit(): Promise { method init (line 80) | async init(): Promise { method ensureReady (line 84) | protected async ensureReady(): Promise { method _destroy (line 93) | async _destroy(): Promise { method executeDestroy (line 111) | private async executeDestroy(): Promise { method destroy (line 136) | async destroy(): Promise { FILE: packages/@n8n/agents/src/workspace/lifecycle.ts type LifecycleMethod (line 1) | type LifecycleMethod = 'init' | 'start' | 'stop' | 'destroy'; type LifecycleTarget (line 3) | interface LifecycleTarget { function callLifecycle (line 14) | async function callLifecycle( FILE: packages/@n8n/agents/src/workspace/process.ts method constructor (line 65) | constructor(options?: Pick) { method wait (line 80) | async wait(options?: { method stdout (line 98) | get stdout(): string { method stderr (line 103) | get stderr(): string { method emitStdout (line 111) | protected emitStdout(data: string): void { method emitStderr (line 121) | protected emitStderr(data: string): void { method addStdoutListener (line 127) | addStdoutListener(listener: (data: string) => void): void { method addStderrListener (line 132) | addStderrListener(listener: (data: string) => void): void { method reader (line 137) | get reader(): Readable { method writer (line 151) | get writer(): Writable { FILE: packages/@n8n/agents/src/workspace/sandbox/base-sandbox.ts function shellQuote (line 15) | function shellQuote(arg: string): string { method constructor (line 35) | constructor(options?: BaseSandboxOptions) { method _start (line 48) | async _start(): Promise { method _stop (line 68) | async _stop(): Promise { method _destroy (line 84) | async _destroy(): Promise { method ensureRunning (line 105) | async ensureRunning(): Promise { method executeCommand (line 124) | async executeCommand( method getInstructions (line 141) | getInstructions(): string { method executeStart (line 145) | private async executeStart(): Promise { method executeStop (line 161) | private async executeStop(): Promise { method executeDestroy (line 177) | private async executeDestroy(): Promise { FILE: packages/@n8n/agents/src/workspace/tools/append-file.ts function createAppendFileTool (line 7) | function createAppendFileTool(filesystem: WorkspaceFilesystem): BuiltTool { FILE: packages/@n8n/agents/src/workspace/tools/copy-file.ts function createCopyFileTool (line 7) | function createCopyFileTool(filesystem: WorkspaceFilesystem): BuiltTool { FILE: packages/@n8n/agents/src/workspace/tools/delete-file.ts function createDeleteFileTool (line 7) | function createDeleteFileTool(filesystem: WorkspaceFilesystem): BuiltTool { FILE: packages/@n8n/agents/src/workspace/tools/execute-command.ts function createExecuteCommandTool (line 7) | function createExecuteCommandTool(sandbox: WorkspaceSandbox): BuiltTool { FILE: packages/@n8n/agents/src/workspace/tools/file-stat.ts function createFileStatTool (line 7) | function createFileStatTool(filesystem: WorkspaceFilesystem): BuiltTool { FILE: packages/@n8n/agents/src/workspace/tools/list-files.ts function createListFilesTool (line 7) | function createListFilesTool(filesystem: WorkspaceFilesystem): BuiltTool { FILE: packages/@n8n/agents/src/workspace/tools/mkdir.ts function createMkdirTool (line 7) | function createMkdirTool(filesystem: WorkspaceFilesystem): BuiltTool { FILE: packages/@n8n/agents/src/workspace/tools/move-file.ts function createMoveFileTool (line 7) | function createMoveFileTool(filesystem: WorkspaceFilesystem): BuiltTool { FILE: packages/@n8n/agents/src/workspace/tools/process-tools.ts function createListProcessesTool (line 7) | function createListProcessesTool(processes: SandboxProcessManager): Buil... function createKillProcessTool (line 29) | function createKillProcessTool(processes: SandboxProcessManager): BuiltT... FILE: packages/@n8n/agents/src/workspace/tools/read-file.ts function createReadFileTool (line 7) | function createReadFileTool(filesystem: WorkspaceFilesystem): BuiltTool { FILE: packages/@n8n/agents/src/workspace/tools/rmdir.ts function createRmdirTool (line 7) | function createRmdirTool(filesystem: WorkspaceFilesystem): BuiltTool { FILE: packages/@n8n/agents/src/workspace/tools/workspace-tools.ts type WorkspaceLike (line 16) | interface WorkspaceLike { function createWorkspaceTools (line 21) | function createWorkspaceTools(workspace: WorkspaceLike): BuiltTool[] { FILE: packages/@n8n/agents/src/workspace/tools/write-file.ts function createWriteFileTool (line 7) | function createWriteFileTool(filesystem: WorkspaceFilesystem): BuiltTool { FILE: packages/@n8n/agents/src/workspace/types.ts type ProviderStatus (line 3) | type ProviderStatus = type FileContent (line 15) | type FileContent = string | Buffer | Uint8Array; type FileEntry (line 17) | interface FileEntry { type FileStat (line 23) | interface FileStat { type ReadOptions (line 32) | interface ReadOptions { type WriteOptions (line 36) | interface WriteOptions { type ListOptions (line 41) | interface ListOptions { type RemoveOptions (line 46) | interface RemoveOptions { type CopyOptions (line 51) | interface CopyOptions { type MountConfig (line 56) | interface MountConfig { type WorkspaceFilesystem (line 61) | interface WorkspaceFilesystem { type CommandResult (line 89) | interface CommandResult { type CommandOptions (line 101) | interface CommandOptions { type ExecuteCommandOptions (line 110) | type ExecuteCommandOptions = CommandOptions; type SandboxInfo (line 112) | interface SandboxInfo { type WorkspaceSandbox (line 125) | interface WorkspaceSandbox { type SpawnProcessOptions (line 145) | type SpawnProcessOptions = CommandOptions; type ProcessInfo (line 147) | interface ProcessInfo { type BaseSandboxOptions (line 155) | interface BaseSandboxOptions { type LocalFilesystemOptions (line 162) | interface LocalFilesystemOptions { type LocalSandboxOptions (line 170) | interface LocalSandboxOptions { type DaytonaSandboxOptions (line 178) | interface DaytonaSandboxOptions { type WorkspaceConfig (line 196) | interface WorkspaceConfig { type MountResult (line 203) | interface MountResult { FILE: packages/@n8n/agents/src/workspace/workspace.ts class Workspace (line 13) | class Workspace { method constructor (line 24) | constructor(config: WorkspaceConfig) { method status (line 31) | get status(): ProviderStatus { method filesystem (line 35) | get filesystem(): WorkspaceFilesystem | undefined { method sandbox (line 39) | get sandbox(): WorkspaceSandbox | undefined { method init (line 43) | async init(): Promise { method destroy (line 59) | async destroy(): Promise { method getInstructions (line 80) | getInstructions(): string { method getTools (line 93) | getTools(): BuiltTool[] { method performInit (line 97) | private async performInit(): Promise { method performDestroy (line 126) | private async performDestroy(): Promise { FILE: packages/@n8n/ai-utilities/integration-tests/openai.fixtures.ts function createSSEStream (line 542) | function createSSEStream(events: Array<{ type: string; data: unknown }>) { function createMockHttpRequests (line 569) | function createMockHttpRequests() { FILE: packages/@n8n/ai-utilities/integration-tests/openai.ts type OpenAITool (line 20) | type OpenAITool = type OpenAIToolChoice (line 32) | type OpenAIToolChoice = 'auto' | 'required' | 'none' | { type: 'function... type ResponsesInputItem (line 34) | type ResponsesInputItem = type OpenAIResponsesRequest (line 50) | interface OpenAIResponsesRequest { type OpenAIResponsesResponse (line 65) | interface OpenAIResponsesResponse { type ResponsesOutputItem (line 89) | type ResponsesOutputItem = type OpenAIStreamEvent (line 115) | interface OpenAIStreamEvent { function genericMessagesToResponsesInput (line 143) | function genericMessagesToResponsesInput(messages: Message[]): { function genericToolToResponsesTool (line 241) | function genericToolToResponsesTool(tool: Tool): OpenAITool { function parseResponsesOutput (line 261) | function parseResponsesOutput(output: ResponsesOutputItem[]): { function parseTokenUsage (line 293) | function parseTokenUsage( type OpenAIChatModelConfig (line 315) | interface OpenAIChatModelConfig extends ChatModelConfig { type RequestConfig (line 322) | interface RequestConfig { class OpenAIChatModel (line 337) | class OpenAIChatModel extends BaseChatModel { method constructor (line 340) | constructor( method getTools (line 349) | private getTools(config?: OpenAIChatModelConfig) { method generate (line 355) | async generate(messages: Message[], config?: OpenAIChatModelConfig): P... method stream (line 434) | async *stream(messages: Message[], config?: OpenAIChatModelConfig): As... FILE: packages/@n8n/ai-utilities/scripts/copy-tokenizer-json.js function copyTokenizerJsonFiles (line 5) | function copyTokenizerJsonFiles(baseDir) { FILE: packages/@n8n/ai-utilities/src/__tests__/adapters/langchain-chat-model.test.ts function createMockChatModel (line 34) | function createMockChatModel( FILE: packages/@n8n/ai-utilities/src/__tests__/converters/message-roundtrip.test.ts function roundTrip (line 19) | function roundTrip(original: Message): Message { function roundTrip (line 388) | function roundTrip(original: BaseMessage): BaseMessage { function normalizeContent (line 400) | function normalizeContent( function expectLcEqual (line 409) | function expectLcEqual(actual: BaseMessage, expected: BaseMessage) { FILE: packages/@n8n/ai-utilities/src/__tests__/utils/failed-attempt-handler/n8nDefaultFailedAttemptHandler.test.ts class MockHttpError (line 3) | class MockHttpError extends Error { method constructor (line 6) | constructor(message: string, code: number) { class MockAbortError (line 24) | class MockAbortError extends Error { method constructor (line 25) | constructor() { method constructor (line 40) | constructor() { class MockAbortError (line 37) | class MockAbortError extends Error { method constructor (line 25) | constructor() { method constructor (line 40) | constructor() { FILE: packages/@n8n/ai-utilities/src/__tests__/utils/sse.test.ts function createStreamFromChunks (line 5) | function createStreamFromChunks(chunks: string[]): AsyncIterableIterator... function collectEvents (line 15) | async function collectEvents( FILE: packages/@n8n/ai-utilities/src/adapters/langchain-chat-model.ts class LangchainChatModelAdapter (line 18) | class LangchainChatModelAdapter< method constructor (line 21) | constructor( method _llmType (line 52) | _llmType(): string { method _generate (line 56) | async _generate( method _streamResponseChunks (line 108) | async *_streamResponseChunks( method bindTools (line 221) | bindTools( FILE: packages/@n8n/ai-utilities/src/adapters/langchain-history.ts class LangchainHistoryAdapter (line 7) | class LangchainHistoryAdapter extends BaseListChatMessageHistory { method constructor (line 10) | constructor(private readonly history: ChatHistory) { method getMessages (line 14) | async getMessages(): Promise { method addMessage (line 19) | async addMessage(message: BaseMessage): Promise { method addMessages (line 23) | async addMessages(messages: BaseMessage[]): Promise { method clear (line 27) | async clear(): Promise { FILE: packages/@n8n/ai-utilities/src/adapters/langchain-memory.ts class LangchainMemoryAdapter (line 8) | class LangchainMemoryAdapter extends LangchainBaseChatMemory { method constructor (line 9) | constructor(private readonly memory: ChatMemory) { method memoryKeys (line 18) | get memoryKeys(): string[] { method loadMemoryVariables (line 22) | async loadMemoryVariables(_values: InputValues): Promise { FILE: packages/@n8n/ai-utilities/src/ai-node-sdk-version.ts constant AI_NODE_SDK_VERSION (line 3) | const AI_NODE_SDK_VERSION: number = 1; FILE: packages/@n8n/ai-utilities/src/chat-model/base.ts method constructor (line 9) | constructor( method withTools (line 24) | withTools(tools: Tool[]): ChatModel { method mergeConfig (line 35) | protected mergeConfig(config?: TConfig): ChatModelConfig { FILE: packages/@n8n/ai-utilities/src/converters/message.ts function isN8nTextBlock (line 7) | function isN8nTextBlock(block: N8nMessages.MessageContent): block is N8n... function isN8nReasoningBlock (line 10) | function isN8nReasoningBlock( function isN8nFileBlock (line 15) | function isN8nFileBlock(block: N8nMessages.MessageContent): block is N8n... function isN8nToolCallBlock (line 18) | function isN8nToolCallBlock( function isN8nInvalidToolCallBlock (line 23) | function isN8nInvalidToolCallBlock( function isN8nToolResultBlock (line 28) | function isN8nToolResultBlock( function isN8nCitationBlock (line 33) | function isN8nCitationBlock( function isN8nProviderBlock (line 38) | function isN8nProviderBlock( function fromLcRole (line 44) | function fromLcRole(role: LangchainMessages.MessageType): N8nMessages.Me... function isTextBlock (line 58) | function isTextBlock( function isReasoningBlock (line 63) | function isReasoningBlock( function isFileBlock (line 68) | function isFileBlock( function isToolCallBlock (line 79) | function isToolCallBlock( function isInvalidToolCallBlock (line 84) | function isInvalidToolCallBlock( function isToolResultBlock (line 89) | function isToolResultBlock( function isCitationBlock (line 94) | function isCitationBlock(block: unknown): block is LangchainMessages.Con... function isNonStandardBlock (line 99) | function isNonStandardBlock( function fromLcContent (line 105) | function fromLcContent( function fromLcMessage (line 191) | function fromLcMessage(msg: LangchainMessages.BaseMessage): N8nMessages.... function toLcContent (line 256) | function toLcContent(block: N8nMessages.MessageContent): LangchainMessag... function toLcMessage (line 320) | function toLcMessage(message: Message): LangchainMessages.BaseMessage { FILE: packages/@n8n/ai-utilities/src/converters/tool.ts function fromLcTool (line 13) | function fromLcTool(tool: LangchainChatModels.BindToolsInput): N8nTools.... function getParametersJsonSchema (line 54) | function getParametersJsonSchema(tool: N8nTools.FunctionTool): JSONSchem... FILE: packages/@n8n/ai-utilities/src/guards.ts function hasMethods (line 7) | function hasMethods(obj: unknown, ...methodNames: Array { FILE: packages/@n8n/ai-utilities/src/memory/windowed-chat-memory.ts type WindowedChatMemoryConfig (line 5) | interface WindowedChatMemoryConfig { class WindowedChatMemory (line 10) | class WindowedChatMemory extends BaseChatMemory { method constructor (line 14) | constructor(chatHistory: ChatHistory, config?: WindowedChatMemoryConfi... method loadMessages (line 20) | async loadMessages(): Promise { method saveTurn (line 36) | async saveTurn(input: string, output: string): Promise { method clear (line 50) | async clear(): Promise { FILE: packages/@n8n/ai-utilities/src/suppliers/supplyMemory.ts type SupplyMemoryOptions (line 7) | interface SupplyMemoryOptions { function supplyMemory (line 11) | function supplyMemory( FILE: packages/@n8n/ai-utilities/src/suppliers/supplyModel.ts type OpenAiModel (line 13) | type OpenAiModel = OpenAIModelOptions & { type SupplyModelOptions (line 16) | type SupplyModelOptions = ChatModel | OpenAiModel; function isOpenAiModel (line 18) | function isOpenAiModel(model: SupplyModelOptions): model is OpenAiModel { function getOpenAiModel (line 22) | function getOpenAiModel(ctx: ISupplyDataFunctions, model: OpenAiModel) { function supplyModel (line 85) | function supplyModel(ctx: ISupplyDataFunctions, model: SupplyModelOption... FILE: packages/@n8n/ai-utilities/src/types/chat-model.ts type ChatModelConfig (line 5) | interface ChatModelConfig { type ChatModel (line 67) | interface ChatModel { FILE: packages/@n8n/ai-utilities/src/types/json.ts type JSONValue (line 5) | type JSONValue = null | string | number | boolean | JSONObject | JSONArray; type JSONObject (line 7) | type JSONObject = { type JSONArray (line 11) | type JSONArray = JSONValue[]; FILE: packages/@n8n/ai-utilities/src/types/memory.ts type ChatHistory (line 3) | interface ChatHistory { type ChatMemory (line 10) | interface ChatMemory { FILE: packages/@n8n/ai-utilities/src/types/message.ts type MessageRole (line 1) | type MessageRole = 'system' | 'user' | 'assistant' | 'tool'; type MessageContent (line 3) | type MessageContent = type ContentMetadata (line 13) | interface ContentMetadata { type ContentCitation (line 17) | type ContentCitation = ContentMetadata & { type ContentText (line 48) | type ContentText = ContentMetadata & { type ContentReasoning (line 56) | type ContentReasoning = ContentMetadata & { type ContentFile (line 61) | type ContentFile = ContentMetadata & { type ContentToolCall (line 82) | type ContentToolCall = ContentMetadata & { type ContentToolResult (line 102) | type ContentToolResult = ContentMetadata & { type ContentInvalidToolCall (line 121) | type ContentInvalidToolCall = ContentMetadata & { type ContentProvider (line 145) | type ContentProvider = ContentMetadata & { type Message (line 150) | interface Message { FILE: packages/@n8n/ai-utilities/src/types/openai.ts type ReasoningEffort (line 3) | type ReasoningEffort = 'none' | 'minimal' | 'low' | 'medium' | 'high' | ... type VerbosityParam (line 4) | type VerbosityParam = 'low' | 'medium' | 'high' | null; type OpenAIModelOptions (line 6) | interface OpenAIModelOptions { FILE: packages/@n8n/ai-utilities/src/types/output.ts type FinishReason (line 3) | type FinishReason = 'stop' | 'length' | 'content-filter' | 'tool-calls' ... type TokenUsage (line 5) | type TokenUsage = Record = Record( function callMethodSync (line 80) | function callMethodSync( function logWrapper (line 109) | function logWrapper< FILE: packages/@n8n/ai-utilities/src/utils/n8n-binary-loader.ts constant SUPPORTED_MIME_TYPES (line 22) | const SUPPORTED_MIME_TYPES = { class N8nBinaryLoader (line 32) | class N8nBinaryLoader { method constructor (line 33) | constructor( method processAll (line 40) | async processAll(items?: INodeExecutionData[]): Promise { method validateMimeType (line 54) | private async validateMimeType( method getFilePathOrBlob (line 86) | private async getFilePathOrBlob( method getLoader (line 104) | private async getLoader( method loadDocuments (line 158) | private async loadDocuments( method cleanupTmpFileIfNeeded (line 166) | private async cleanupTmpFileIfNeeded( method processItem (line 174) | async processItem(item: INodeExecutionData, itemIndex: number): Promis... method processItemByKey (line 198) | async processItemByKey( FILE: packages/@n8n/ai-utilities/src/utils/n8n-json-loader.ts class N8nJsonLoader (line 14) | class N8nJsonLoader { method constructor (line 15) | constructor( method processAll (line 21) | async processAll(items?: INodeExecutionData[]): Promise { method processItem (line 35) | async processItem(item: INodeExecutionData, itemIndex: number): Promis... FILE: packages/@n8n/ai-utilities/src/utils/n8n-llm-tracing.ts type TokensUsageParser (line 18) | type TokensUsageParser = (result: LLMResult) => { type RunDetail (line 24) | type RunDetail = { constant TIKTOKEN_ESTIMATE_MODEL (line 30) | const TIKTOKEN_ESTIMATE_MODEL = 'gpt-4o'; class N8nLlmTracing (line 31) | class N8nLlmTracing extends BaseCallbackHandler { method constructor (line 69) | constructor( method estimateTokensFromGeneration (line 80) | async estimateTokensFromGeneration(generations: LLMResult['generations... method estimateTokensFromStringList (line 85) | async estimateTokensFromStringList(list: string[]) { method handleLLMEnd (line 90) | async handleLLMEnd(output: LLMResult, runId: string) { method handleLLMStart (line 158) | async handleLLMStart(llm: Serialized, prompts: string[], runId: string) { method handleLLMError (line 191) | async handleLLMError(error: IDataObject | Error, runId: string, parent... method setParentRunIndex (line 232) | setParentRunIndex(runIndex: number) { FILE: packages/@n8n/ai-utilities/src/utils/shared-fields.ts function getTemplateNoticeField (line 37) | function getTemplateNoticeField(templateId: number): INodeProperties { function getBatchingOptionFields (line 46) | function getBatchingOptionFields( type AllowedConnectionTypes (line 103) | type AllowedConnectionTypes = function determineArticle (line 110) | function determineArticle(nextWord: string): string { function getConnectionHintNoticeField (line 125) | function getConnectionHintNoticeField( FILE: packages/@n8n/ai-utilities/src/utils/sse.ts type ServerSentEventMessage (line 1) | interface ServerSentEventMessage { function processLine (line 74) | function processLine(line: string): ServerSentEventMessage | null { function processField (line 112) | function processField(name: string, value: string): void { function hasEventContent (line 147) | function hasEventContent(): boolean { function finalizeEvent (line 152) | function finalizeEvent(): ServerSentEventMessage { FILE: packages/@n8n/ai-utilities/src/utils/tokenizer/tiktoken.ts function getEncoding (line 15) | async function getEncoding(encoding: TiktokenEncoding): Promise { function encodingForModel (line 43) | async function encodingForModel(model: TiktokenModel): Promise { FILE: packages/@n8n/ai-utilities/src/utils/tokenizer/token-estimator.ts constant MODEL_CHAR_PER_TOKEN_RATIOS (line 15) | const MODEL_CHAR_PER_TOKEN_RATIOS: Record = { function estimateTokensByCharCount (line 33) | function estimateTokensByCharCount(text: string, model: string = 'cl100k... function estimateTextSplitsByTokens (line 70) | function estimateTextSplitsByTokens( function estimateTokensFromStringList (line 129) | async function estimateTokensFromStringList( FILE: packages/@n8n/ai-utilities/src/utils/vector-store/MemoryManager/MemoryCalculator.ts constant FLOAT_SIZE_BYTES (line 7) | const FLOAT_SIZE_BYTES = 8; constant CHAR_SIZE_BYTES (line 8) | const CHAR_SIZE_BYTES = 2; constant VECTOR_OVERHEAD_BYTES (line 9) | const VECTOR_OVERHEAD_BYTES = 200; constant EMBEDDING_DIMENSIONS (line 10) | const EMBEDDING_DIMENSIONS = 1536; constant EMBEDDING_SIZE_BYTES (line 11) | const EMBEDDING_SIZE_BYTES = EMBEDDING_DIMENSIONS * FLOAT_SIZE_BYTES; constant AVG_METADATA_SIZE_BYTES (line 12) | const AVG_METADATA_SIZE_BYTES = 100; class MemoryCalculator (line 17) | class MemoryCalculator implements IMemoryCalculator { method estimateBatchSize (line 21) | estimateBatchSize(documents: Document[]): number { method calculateVectorStoreSize (line 61) | calculateVectorStoreSize(vectorStore: MemoryVectorStore): number { FILE: packages/@n8n/ai-utilities/src/utils/vector-store/MemoryManager/MemoryVectorStoreManager.ts class MemoryVectorStoreManager (line 15) | class MemoryVectorStoreManager { method constructor (line 40) | protected constructor( method getInstance (line 69) | static getInstance( method setupTtlCleanup (line 91) | private setupTtlCleanup(): void { method handleCleanup (line 114) | private handleCleanup(removedKeys: string[], freedBytes: number, reaso... method getMemoryKeysList (line 131) | getMemoryKeysList(): string[] { method getVectorStore (line 138) | async getVectorStore(memoryKey: string): Promise { method clearStoreMetadata (line 163) | protected clearStoreMetadata(memoryKey: string): void { method getMemoryUsage (line 175) | getMemoryUsage(): number { method getMemoryUsageFormatted (line 182) | getMemoryUsageFormatted(): string { method recalculateMemoryUsage (line 190) | recalculateMemoryUsage(): void { method addDocuments (line 211) | async addDocuments( method getStats (line 268) | getStats(): VectorStoreStats { FILE: packages/@n8n/ai-utilities/src/utils/vector-store/MemoryManager/StoreCleanupService.ts class StoreCleanupService (line 8) | class StoreCleanupService implements IStoreCleanupService { method constructor (line 16) | constructor( method isStoreInactive (line 31) | isStoreInactive(metadata: VectorStoreMetadata): boolean { method cleanupInactiveStores (line 45) | cleanupInactiveStores(): void { method cleanupOldestStores (line 79) | cleanupOldestStores(requiredBytes: number): void { FILE: packages/@n8n/ai-utilities/src/utils/vector-store/MemoryManager/config.ts constant DEFAULT_MAX_MEMORY_MB (line 4) | const DEFAULT_MAX_MEMORY_MB = -1; constant DEFAULT_INACTIVE_TTL_HOURS (line 5) | const DEFAULT_INACTIVE_TTL_HOURS = -1; function getConfig (line 10) | function getConfig(): MemoryVectorStoreConfig { function mbToBytes (line 38) | function mbToBytes(mb: number): number { function hoursToMs (line 47) | function hoursToMs(hours: number): number { FILE: packages/@n8n/ai-utilities/src/utils/vector-store/MemoryManager/test/MemoryCalculator.test.ts function createTestEmbedding (line 7) | function createTestEmbedding(dimensions = 1536, initialValue = 0.1, mult... FILE: packages/@n8n/ai-utilities/src/utils/vector-store/MemoryManager/test/MemoryVectorStoreManager.test.ts function createTestEmbedding (line 10) | function createTestEmbedding(dimensions = 1536, initialValue = 0.1, mult... FILE: packages/@n8n/ai-utilities/src/utils/vector-store/MemoryManager/types.ts type MemoryVectorStoreConfig (line 7) | interface MemoryVectorStoreConfig { type VectorStoreMetadata (line 22) | interface VectorStoreMetadata { type StoreStats (line 31) | interface StoreStats { type VectorStoreStats (line 45) | interface VectorStoreStats { type IMemoryCalculator (line 59) | interface IMemoryCalculator { type IStoreCleanupService (line 67) | interface IStoreCleanupService { FILE: packages/@n8n/ai-utilities/src/utils/vector-store/createVectorStoreNode/constants.ts constant DEFAULT_OPERATION_MODES (line 6) | const DEFAULT_OPERATION_MODES: NodeOperationMode[] = [ constant OPERATION_MODE_DESCRIPTIONS (line 13) | const OPERATION_MODE_DESCRIPTIONS: INodePropertyOptions[] = [ FILE: packages/@n8n/ai-utilities/src/utils/vector-store/createVectorStoreNode/createVectorStoreNode.test.ts constant DEFAULT_PARAMETERS (line 30) | const DEFAULT_PARAMETERS = { constant MOCK_DOCUMENTS (line 36) | const MOCK_DOCUMENTS: Array<[DocumentInterface, number]> = [ constant MOCK_SEARCH_VALUE (line 57) | const MOCK_SEARCH_VALUE = 'search value'; constant MOCK_EMBEDDED_SEARCH_VALUE (line 58) | const MOCK_EMBEDDED_SEARCH_VALUE = [1, 2, 3]; FILE: packages/@n8n/ai-utilities/src/utils/vector-store/createVectorStoreNode/createVectorStoreNode.ts method execute (line 280) | async execute(this: IExecuteFunctions): Promise { method supplyData (line 338) | async supplyData(this: ISupplyDataFunctions, itemIndex: number): Promise... FILE: packages/@n8n/ai-utilities/src/utils/vector-store/createVectorStoreNode/operations/__tests__/insertOperation.test.ts function createMockAbortSignal (line 57) | function createMockAbortSignal(aborted = false): AbortSignal { function createNodeParameterMock (line 70) | function createNodeParameterMock(batchSize?: number) { FILE: packages/@n8n/ai-utilities/src/utils/vector-store/createVectorStoreNode/operations/insertOperation.ts function handleInsertOperation (line 17) | async function handleInsertOperation( FILE: packages/@n8n/ai-utilities/src/utils/vector-store/createVectorStoreNode/operations/loadOperation.ts function handleLoadOperation (line 15) | async function handleLoadOperation( FILE: packages/@n8n/ai-utilities/src/utils/vector-store/createVectorStoreNode/operations/retrieveAsToolExecuteOperation.ts function handleRetrieveAsToolExecuteOperation (line 16) | async function handleRetrieveAsToolExecuteOperation( FILE: packages/@n8n/ai-utilities/src/utils/vector-store/createVectorStoreNode/types.ts type NodeOperationMode (line 19) | type NodeOperationMode = 'insert' | 'load' | 'retrieve' | 'update' | 're... type NodeMeta (line 21) | interface NodeMeta { type VectorStoreNodeConstructorArgs (line 36) | interface VectorStoreNodeConstructorArgs( function getOperationModeOptions (line 35) | function getOperationModeOptions( FILE: packages/@n8n/ai-utilities/src/utils/vector-store/processDocuments.ts function processDocuments (line 7) | async function processDocuments( function processDocument (line 28) | async function processDocument( FILE: packages/@n8n/ai-workflow-builder.ee/evaluations/__tests__/cli.test.ts function createMockWorkflow (line 100) | function createMockWorkflow(name = 'Test Workflow'): SimpleWorkflow { function createMockArgs (line 105) | function createMockArgs(overrides: Record = {}) { function createMockEnvironment (line 128) | function createMockEnvironment() { function createMockAgentInstance (line 146) | function createMockAgentInstance(workflowJSON: SimpleWorkflow = createMo... function createMockSummary (line 159) | function createMockSummary(overrides: Record = {}) { FILE: packages/@n8n/ai-workflow-builder.ee/evaluations/__tests__/csv-prompt-loader.test.ts function writeTempCsv (line 14) | function writeTempCsv(filename: string, content: string): string { FILE: packages/@n8n/ai-workflow-builder.ee/evaluations/__tests__/evaluators/llm-judge.test.ts function createMockWorkflow (line 23) | function createMockWorkflow(name = 'Test Workflow'): SimpleWorkflow { function createMockEvalResult (line 28) | function createMockEvalResult(overrides: Record = {}) { FILE: packages/@n8n/ai-workflow-builder.ee/evaluations/__tests__/evaluators/pairwise.test.ts function createMockWorkflow (line 24) | function createMockWorkflow(name = 'Test Workflow'): SimpleWorkflow { function createMockPanelResult (line 29) | function createMockPanelResult( type PairwiseFeedback (line 72) | type PairwiseFeedback = { evaluator: string; metric: string; score: numb... FILE: packages/@n8n/ai-workflow-builder.ee/evaluations/__tests__/evaluators/programmatic.test.ts function createMockWorkflow (line 21) | function createMockWorkflow(name = 'Test Workflow'): SimpleWorkflow { function createMockEvaluationResult (line 26) | function createMockEvaluationResult( type ProgrammaticFeedback (line 59) | type ProgrammaticFeedback = { FILE: packages/@n8n/ai-workflow-builder.ee/evaluations/__tests__/evaluators/similarity.test.ts function createMockWorkflow (line 23) | function createMockWorkflow(name = 'Test Workflow'): SimpleWorkflow { function createMockSimilarityResult (line 28) | function createMockSimilarityResult( type SimilarityFeedback (line 45) | type SimilarityFeedback = { evaluator: string; metric: string; score: nu... FILE: packages/@n8n/ai-workflow-builder.ee/evaluations/__tests__/lifecycle.test.ts function createMockWorkflow (line 45) | function createMockWorkflow(name = 'Test Workflow'): SimpleWorkflow { FILE: packages/@n8n/ai-workflow-builder.ee/evaluations/__tests__/output.test.ts function findExampleDir (line 18) | function findExampleDir(baseDir: string, paddedIndex: string): string { type ParsedWorkflow (line 27) | interface ParsedWorkflow { type ParsedFeedback (line 34) | interface ParsedFeedback { type ParsedSummary (line 52) | interface ParsedSummary { function createMockWorkflow (line 69) | function createMockWorkflow(name = 'Test Workflow'): SimpleWorkflow { function createMockResult (line 87) | function createMockResult(overrides: Partial = {}): Examp... function createMockSummary (line 105) | function createMockSummary(): RunSummary { FILE: packages/@n8n/ai-workflow-builder.ee/evaluations/__tests__/report-generator.test.ts function createFeedback (line 16) | function createFeedback( function createExampleResult (line 27) | function createExampleResult(overrides: Partial = {}): Ex... function createRunSummary (line 40) | function createRunSummary(overrides: Partial = {}): RunSumma... FILE: packages/@n8n/ai-workflow-builder.ee/evaluations/__tests__/runner-langsmith.test.ts function createMockWorkflow (line 36) | function createMockWorkflow(name = 'Test Workflow'): SimpleWorkflow { function createMockEvaluator (line 40) | function createMockEvaluator( function isRecord (line 50) | function isRecord(value: unknown): value is Record { function isCallable (line 54) | function isCallable(value: unknown): value is (...args: unknown[]) => un... type LangsmithTargetOutput (line 58) | type LangsmithTargetOutput = { function isSimpleWorkflow (line 64) | function isSimpleWorkflow(value: unknown): value is SimpleWorkflow { function isFeedback (line 68) | function isFeedback(value: unknown): value is Feedback { function isLangsmithTargetOutput (line 78) | function isLangsmithTargetOutput(value: unknown): value is LangsmithTarg... function callLangsmithTarget (line 88) | async function callLangsmithTarget(target: unknown, inputs: unknown): Pr... function createMockLangsmithClient (line 94) | function createMockLangsmithClient() { FILE: packages/@n8n/ai-workflow-builder.ee/evaluations/__tests__/runner.test.ts function createMockWorkflow (line 16) | function createMockWorkflow(name = 'Test Workflow'): SimpleWorkflow { function createMockEvaluator (line 21) | function createMockEvaluator( function createFailingEvaluator (line 32) | function createFailingEvaluator(name: string, error: Error): Evaluator { FILE: packages/@n8n/ai-workflow-builder.ee/evaluations/__tests__/score-calculator.test.ts function createFeedback (line 19) | function createFeedback( FILE: packages/@n8n/ai-workflow-builder.ee/evaluations/__tests__/test-case-generator.test.ts function isMessageWithContent (line 15) | function isMessageWithContent(msg: unknown): msg is { content: unknown } { function hasGetTypeMethod (line 20) | function hasGetTypeMethod(msg: unknown): msg is { _getType: () => string... function getMessagesFromMockCall (line 28) | function getMessagesFromMockCall(mockInvoke: jest.Mock): { system: strin... FILE: packages/@n8n/ai-workflow-builder.ee/evaluations/__tests__/webhook.test.ts function createMockLogger (line 27) | function createMockLogger() { function createMockSummary (line 41) | function createMockSummary(overrides: Partial = {}): RunSumm... FILE: packages/@n8n/ai-workflow-builder.ee/evaluations/cli/argument-parser.ts type EvaluationSuite (line 11) | type EvaluationSuite = type EvaluationBackend (line 18) | type EvaluationBackend = 'local' | 'langsmith'; type AgentType (line 19) | type AgentType = 'multi-agent' | 'code-builder'; type SubgraphName (line 21) | type SubgraphName = 'responder' | 'discovery' | 'builder' | 'configurator'; type EvaluationArgs (line 23) | interface EvaluationArgs { type CliValueKind (line 89) | type CliValueKind = 'boolean' | 'string'; type FlagGroup (line 90) | type FlagGroup = type CliKey (line 162) | type CliKey = keyof z.infer; type FlagDef (line 164) | type FlagDef = { key: CliKey; kind: CliValueKind; desc: string; group: F... constant FLAG_DEFS (line 166) | const FLAG_DEFS: Record = { constant FLAG_ALIASES (line 383) | const FLAG_ALIASES: Record = { constant FLAG_TO_KEY (line 389) | const FLAG_TO_KEY: Record = { function formatValidFlags (line 396) | function formatValidFlags(): string { constant GROUP_TITLES (line 403) | const GROUP_TITLES: Record = { function formatHelp (line 414) | function formatHelp(): string { function printHelp (line 458) | function printHelp(): void { function ensureValue (line 462) | function ensureValue(argv: string[], i: number, flag: string): string { function splitFlagToken (line 468) | function splitFlagToken(token: string): { flag: string; inlineValue?: st... function isStringArray (line 475) | function isStringArray(value: unknown): value is string[] { function parseCli (line 479) | function parseCli(argv: string[]): { function parseFeatureFlags (line 519) | function parseFeatureFlags(args: { function parseFilters (line 537) | function parseFilters(args: { function validateSubgraphArgs (line 580) | function validateSubgraphArgs(parsed: { function parseEvaluationArgs (line 611) | function parseEvaluationArgs(argv: string[] = process.argv.slice(2)): Ev... function argsToStageModels (line 695) | function argsToStageModels(args: EvaluationArgs): StageModels { function getDefaultExperimentName (line 707) | function getDefaultExperimentName(suite: EvaluationSuite): string { function getDefaultDatasetName (line 711) | function getDefaultDatasetName(suite: EvaluationSuite): string { FILE: packages/@n8n/ai-workflow-builder.ee/evaluations/cli/ci-metadata.ts type CIMetadata (line 11) | interface CIMetadata { function buildCIMetadata (line 26) | function buildCIMetadata(): CIMetadata { FILE: packages/@n8n/ai-workflow-builder.ee/evaluations/cli/csv-prompt-loader.ts constant DEFAULT_PROMPTS_PATH (line 8) | const DEFAULT_PROMPTS_PATH = join(__dirname, '..', 'fixtures', 'default-... type ParsedCsvRow (line 10) | type ParsedCsvRow = string[]; function isHeaderRow (line 12) | function isHeaderRow(row: ParsedCsvRow) { function detectColumnIndex (line 16) | function detectColumnIndex(header: ParsedCsvRow, name: string) { function sanitizeValue (line 22) | function sanitizeValue(value: string | undefined) { function parseCsv (line 26) | function parseCsv(content: string): ParsedCsvRow[] { function loadTestCasesFromCsv (line 42) | function loadTestCasesFromCsv(csvPath: string): TestCase[] { function loadDefaultTestCases (line 143) | function loadDefaultTestCases(): TestCase[] { function getDefaultTestCaseIds (line 151) | function getDefaultTestCaseIds(): string[] { FILE: packages/@n8n/ai-workflow-builder.ee/evaluations/cli/dataset-file-loader.ts type DatasetExample (line 10) | interface DatasetExample { function isRecord (line 18) | function isRecord(value: unknown): value is Record { function validateExample (line 22) | function validateExample(raw: unknown, index: number): DatasetExample { function loadSubgraphDatasetFile (line 50) | function loadSubgraphDatasetFile( type DatasetWriteBackEntry (line 87) | interface DatasetWriteBackEntry { function writeBackToDatasetFile (line 98) | function writeBackToDatasetFile(filePath: string, updates: DatasetWriteB... FILE: packages/@n8n/ai-workflow-builder.ee/evaluations/cli/index.ts function isSimpleWorkflow (line 20) | function isSimpleWorkflow(value: unknown): value is SimpleWorkflow { function isWorkflowUpdateChunk (line 91) | function isWorkflowUpdateChunk(chunk: StreamChunk): chunk is WorkflowUpd... function hasCoordinationLog (line 98) | function hasCoordinationLog( function reportSubgraphMetrics (line 109) | function reportSubgraphMetrics( function createWorkflowGenerator (line 134) | function createWorkflowGenerator( function createEvaluators (line 208) | function createEvaluators(params: { function buildHistoryContextFromMessages (line 251) | function buildHistoryContextFromMessages(messages: unknown[]): HistoryCo... function isUnknownRecord (line 295) | function isUnknownRecord(value: unknown): value is Record): Te... function handleSubgraphMode (line 482) | async function handleSubgraphMode( function runV2Evaluation (line 577) | async function runV2Evaluation(): Promise { FILE: packages/@n8n/ai-workflow-builder.ee/evaluations/cli/webhook.ts function maskWebhookUrl (line 14) | function maskWebhookUrl(webhookUrl: string): string { function generateWebhookSignature (line 23) | function generateWebhookSignature(payload: string, secret: string): stri... function verifyWebhookSignature (line 32) | function verifyWebhookSignature( type WebhookPayload (line 50) | interface WebhookPayload { function isPrivateIp (line 74) | function isPrivateIp(ip: string): boolean { function validateWebhookUrl (line 111) | function validateWebhookUrl(webhookUrl: string): void { function validateWebhookUrlWithDns (line 145) | async function validateWebhookUrlWithDns(webhookUrl: string): Promise): BinaryCheckCo... function makeWorkflow (line 64) | function makeWorkflow(partial: Record) { FILE: packages/@n8n/ai-workflow-builder.ee/evaluations/evaluators/binary-checks/checks/all-nodes-connected.ts constant STICKY_NOTE_TYPE (line 5) | const STICKY_NOTE_TYPE = 'n8n-nodes-base.stickyNote'; method run (line 10) | async run(workflow: SimpleWorkflow) { FILE: packages/@n8n/ai-workflow-builder.ee/evaluations/evaluators/binary-checks/checks/create-validation-check.ts type ValidateFn (line 7) | type ValidateFn = ( type ValidationCheckConfig (line 12) | interface ValidationCheckConfig { function createValidationCheck (line 28) | function createValidationCheck(config: ValidationCheckConfig): BinaryChe... FILE: packages/@n8n/ai-workflow-builder.ee/evaluations/evaluators/binary-checks/checks/expressions-reference-existing-nodes.ts constant QUOTED_NODE_REFS (line 9) | const QUOTED_NODE_REFS: RegExp[] = [ constant DOT_NODE_REF (line 16) | const DOT_NODE_REF = /\$node\.(\w+)\./g; function unescapeNodeName (line 19) | function unescapeNodeName(raw: string): string { function collectMatches (line 24) | function collectMatches(pattern: RegExp, text: string, groupIndex: numbe... function extractNodeNamesFromExpression (line 29) | function extractNodeNamesFromExpression(expression: string): string[] { function extractExpressionsFromParams (line 47) | function extractExpressionsFromParams(value: unknown, key?: string): str... method run (line 70) | async run(workflow: SimpleWorkflow) { FILE: packages/@n8n/ai-workflow-builder.ee/evaluations/evaluators/binary-checks/checks/has-start-node.ts method run (line 10) | async run(workflow: SimpleWorkflow, ctx: BinaryCheckContext) { FILE: packages/@n8n/ai-workflow-builder.ee/evaluations/evaluators/binary-checks/checks/index.ts constant DETERMINISTIC_CHECKS (line 22) | const DETERMINISTIC_CHECKS: BinaryCheck[] = [ FILE: packages/@n8n/ai-workflow-builder.ee/evaluations/evaluators/binary-checks/checks/no-empty-set-nodes.ts function isRecord (line 3) | function isRecord(value: unknown): value is Record { function hasSetNodeValues (line 12) | function hasSetNodeValues(parameters: unknown): boolean { method run (line 33) | async run(workflow: SimpleWorkflow) { FILE: packages/@n8n/ai-workflow-builder.ee/evaluations/evaluators/binary-checks/checks/no-unnecessary-code-nodes.ts method run (line 6) | async run(workflow: SimpleWorkflow, ctx: BinaryCheckContext) { FILE: packages/@n8n/ai-workflow-builder.ee/evaluations/evaluators/binary-checks/checks/no-unreachable-nodes.ts constant STICKY_NOTE_TYPE (line 8) | const STICKY_NOTE_TYPE = 'n8n-nodes-base.stickyNote'; function findTriggerNames (line 10) | function findTriggerNames(workflow: SimpleWorkflow, nodeTypes: INodeType... function connectsToReachableViaAi (line 23) | function connectsToReachableViaAi( function expandReachableWithSubNodes (line 41) | function expandReachableWithSubNodes( method run (line 68) | async run(workflow: SimpleWorkflow, ctx: BinaryCheckContext) { FILE: packages/@n8n/ai-workflow-builder.ee/evaluations/evaluators/binary-checks/index.ts type BinaryChecksEvaluatorOptions (line 11) | interface BinaryChecksEvaluatorOptions { constant EVALUATOR_NAME (line 17) | const EVALUATOR_NAME = 'binary-checks'; function createBinaryChecksEvaluator (line 24) | function createBinaryChecksEvaluator( FILE: packages/@n8n/ai-workflow-builder.ee/evaluations/evaluators/binary-checks/llm-checks/create-llm-check.ts constant REASONING_FIRST_SUFFIX (line 6) | const REASONING_FIRST_SUFFIX = ` type LlmCheckOptions (line 10) | interface LlmCheckOptions { function createLlmCheck (line 21) | function createLlmCheck(options: LlmCheckOptions): BinaryCheck { FILE: packages/@n8n/ai-workflow-builder.ee/evaluations/evaluators/binary-checks/llm-checks/index.ts constant LLM_CHECKS (line 9) | const LLM_CHECKS: BinaryCheck[] = [ FILE: packages/@n8n/ai-workflow-builder.ee/evaluations/evaluators/binary-checks/llm-checks/schemas.ts type BinaryJudgeResult (line 14) | type BinaryJudgeResult = z.infer; FILE: packages/@n8n/ai-workflow-builder.ee/evaluations/evaluators/binary-checks/types.ts type BinaryCheckResult (line 8) | interface BinaryCheckResult { type BinaryCheckContext (line 13) | interface BinaryCheckContext { type BinaryCheck (line 25) | interface BinaryCheck { FILE: packages/@n8n/ai-workflow-builder.ee/evaluations/evaluators/execution/index.ts function createExecutionEvaluator (line 20) | function createExecutionEvaluator(): Evaluator { FILE: packages/@n8n/ai-workflow-builder.ee/evaluations/evaluators/llm-judge/evaluation.ts type Violation (line 72) | type Violation = z.infer; type CategoryScore (line 73) | type CategoryScore = z.infer; type EfficiencyScore (line 74) | type EfficiencyScore = z.infer; type MaintainabilityScore (line 75) | type MaintainabilityScore = z.infer; type BestPracticesScore (line 76) | type BestPracticesScore = z.infer; type EvaluationResult (line 77) | type EvaluationResult = z.infer; type TestCase (line 87) | type TestCase = z.infer; type EvaluationInput (line 99) | type EvaluationInput = z.infer; FILE: packages/@n8n/ai-workflow-builder.ee/evaluations/evaluators/llm-judge/evaluators/base.ts type EvaluatorChainInput (line 11) | type EvaluatorChainInput = { function createEvaluatorChain (line 19) | function createEvaluatorChain>( function invokeEvaluatorChain (line 39) | async function invokeEvaluatorChain( FILE: packages/@n8n/ai-workflow-builder.ee/evaluations/evaluators/llm-judge/evaluators/best-practices-evaluator.ts type BestPracticesResult (line 27) | type BestPracticesResult = z.infer; function createBestPracticesEvaluatorChain (line 191) | function createBestPracticesEvaluatorChain(llm: BaseChatModel) { function loadRelevantBestPractices (line 199) | async function loadRelevantBestPractices( type BestPracticesChainInput (line 241) | type BestPracticesChainInput = { function evaluateBestPractices (line 248) | async function evaluateBestPractices( FILE: packages/@n8n/ai-workflow-builder.ee/evaluations/evaluators/llm-judge/evaluators/connections-evaluator.ts type ConnectionsResult (line 20) | type ConnectionsResult = z.infer; function createConnectionsEvaluatorChain (line 213) | function createConnectionsEvaluatorChain(llm: BaseChatModel) { function evaluateConnections (line 217) | async function evaluateConnections( FILE: packages/@n8n/ai-workflow-builder.ee/evaluations/evaluators/llm-judge/evaluators/data-flow-evaluator.ts type DataFlowResult (line 20) | type DataFlowResult = z.infer; function createDataFlowEvaluatorChain (line 163) | function createDataFlowEvaluatorChain(llm: BaseChatModel) { function evaluateDataFlow (line 167) | async function evaluateDataFlow( FILE: packages/@n8n/ai-workflow-builder.ee/evaluations/evaluators/llm-judge/evaluators/efficiency-evaluator.ts type EfficiencyResult (line 23) | type EfficiencyResult = z.infer; function createEfficiencyEvaluatorChain (line 112) | function createEfficiencyEvaluatorChain(llm: BaseChatModel) { function evaluateEfficiency (line 116) | async function evaluateEfficiency( FILE: packages/@n8n/ai-workflow-builder.ee/evaluations/evaluators/llm-judge/evaluators/expressions-evaluator.ts type ExpressionsResult (line 20) | type ExpressionsResult = z.infer; function createExpressionsEvaluatorChain (line 121) | function createExpressionsEvaluatorChain(llm: BaseChatModel) { function evaluateExpressions (line 125) | async function evaluateExpressions( FILE: packages/@n8n/ai-workflow-builder.ee/evaluations/evaluators/llm-judge/evaluators/functionality-evaluator.ts type FunctionalityResult (line 20) | type FunctionalityResult = z.infer; function createFunctionalityEvaluatorChain (line 174) | function createFunctionalityEvaluatorChain(llm: BaseChatModel) { function evaluateFunctionality (line 178) | async function evaluateFunctionality( FILE: packages/@n8n/ai-workflow-builder.ee/evaluations/evaluators/llm-judge/evaluators/maintainability-evaluator.ts type MaintainabilityResult (line 23) | type MaintainabilityResult = z.infer; function createMaintainabilityEvaluatorChain (line 215) | function createMaintainabilityEvaluatorChain(llm: BaseChatModel) { function evaluateMaintainability (line 219) | async function evaluateMaintainability( FILE: packages/@n8n/ai-workflow-builder.ee/evaluations/evaluators/llm-judge/evaluators/node-configuration-evaluator.ts type NodeConfigurationResult (line 20) | type NodeConfigurationResult = z.infer { function consumeGenerator (line 22) | async function consumeGenerator(gen: AsyncGenerator) { function collectAgentTextResponse (line 32) | async function collectAgentTextResponse< function runWithOptionalLimiter (line 48) | async function runWithOptionalLimiter( function withTimeout (line 55) | async function withTimeout(args: { type GetChatPayloadOptions (line 85) | interface GetChatPayloadOptions { function getChatPayload (line 96) | function getChatPayload(options: GetChatPayloadOptions): ChatPayload { type CoordinationLogEntry (line 126) | interface CoordinationLogEntry { type ExtractedSubgraphMetrics (line 135) | interface ExtractedSubgraphMetrics { function calculatePhaseDuration (line 146) | function calculatePhaseDuration( function extractSubgraphMetrics (line 173) | function extractSubgraphMetrics( function runEvaluatorsOnExample (line 208) | async function runEvaluatorsOnExample( FILE: packages/@n8n/ai-workflow-builder.ee/evaluations/harness/feedback.ts type LangsmithEvaluationResultLike (line 3) | interface LangsmithEvaluationResultLike { function feedbackKey (line 9) | function feedbackKey(feedback: Feedback): string { function isPairwiseV1Metric (line 13) | function isPairwiseV1Metric(metric: string): boolean { function langsmithMetricKey (line 26) | function langsmithMetricKey(feedback: Feedback): string { constant LANGSMITH_SCORE_MIN (line 55) | const LANGSMITH_SCORE_MIN = -99999.9999; constant LANGSMITH_SCORE_MAX (line 56) | const LANGSMITH_SCORE_MAX = 99999.9999; function clampScoreForLangsmith (line 62) | function clampScoreForLangsmith(score: number): number { function toLangsmithEvaluationResult (line 66) | function toLangsmithEvaluationResult(feedback: Feedback): LangsmithEvalu... FILE: packages/@n8n/ai-workflow-builder.ee/evaluations/harness/harness-types.ts type LlmCallLimiter (line 12) | type LlmCallLimiter = ReturnType; type DatasetInputContext (line 18) | interface DatasetInputContext { type EvaluationContext (line 37) | interface EvaluationContext { type TestCaseContext (line 72) | type TestCaseContext = Omit, 'prompt'>; type GlobalRunContext (line 75) | type GlobalRunContext = Omit, 'prompt'>; type DisplayLine (line 81) | interface DisplayLine { type Feedback (line 89) | interface Feedback { type Evaluator (line 116) | interface Evaluator { type TestCase (line 124) | interface TestCase { type EvaluationSuite (line 134) | type EvaluationSuite = type RunConfigBase (line 145) | interface RunConfigBase { type LocalRunConfig (line 174) | interface LocalRunConfig extends RunConfigBase { type LangsmithRunConfig (line 183) | interface LangsmithRunConfig extends RunConfigBase { type RunConfig (line 192) | type RunConfig = LocalRunConfig | LangsmithRunConfig; type LangsmithOptions (line 197) | interface LangsmithOptions { type LangsmithExampleFilters (line 211) | interface LangsmithExampleFilters { type SubgraphMetrics (line 225) | interface SubgraphMetrics { type ExampleResult (line 239) | interface ExampleResult { type SubgraphExampleOutput (line 272) | interface SubgraphExampleOutput { type GenerationResult (line 283) | interface GenerationResult { function isGenerationResult (line 294) | function isGenerationResult( type RunSummary (line 308) | interface RunSummary { type EvaluationLifecycle (line 328) | interface EvaluationLifecycle { FILE: packages/@n8n/ai-workflow-builder.ee/evaluations/harness/langsmith-dataset-writer.ts type LangSmithWriteBackEntry (line 17) | interface LangSmithWriteBackEntry { function writeBackToLangSmithDataset (line 28) | async function writeBackToLangSmithDataset( FILE: packages/@n8n/ai-workflow-builder.ee/evaluations/harness/lifecycle.ts function truncate (line 18) | function truncate(str: string, maxLen = 50): string { function truncateForSingleLine (line 23) | function truncateForSingleLine(str: string, maxLen: number): string { function exampleLabel (line 27) | function exampleLabel(mode: RunConfig['mode'] | undefined): 'call' | 'ex' { function formatScore (line 34) | function formatScore(score: number): string { function formatDuration (line 42) | function formatDuration(ms: number): string { constant CRITICAL_METRICS (line 49) | const CRITICAL_METRICS = [ constant DISPLAY_METRICS_BY_EVALUATOR (line 59) | const DISPLAY_METRICS_BY_EVALUATOR: Record = { constant PAIRWISE_COUNT_METRICS (line 80) | const PAIRWISE_COUNT_METRICS = new Set([ constant PAIRWISE_DISPLAY_NAMES (line 86) | const PAIRWISE_DISPLAY_NAMES: Record = { function getDisplayMetricName (line 94) | function getDisplayMetricName(evaluator: string, metric: string): string { function isDisplayLine (line 101) | function isDisplayLine(item: unknown): item is DisplayLine { function getDisplayLines (line 107) | function getDisplayLines(details?: Feedback['details']): DisplayLine[] |... function formatMetricValue (line 114) | function formatMetricValue(evaluator: string, metric: string, score: num... function hasSeverityMarker (line 122) | function hasSeverityMarker(comment: string): boolean { function extractIssuesForLogs (line 127) | function extractIssuesForLogs(evaluator: string, feedback: Feedback[]): ... function formatExampleHeaderLines (line 164) | function formatExampleHeaderLines(args: { function splitEvaluatorFeedback (line 203) | function splitEvaluatorFeedback(feedback: Feedback[]): { function formatEvaluatorLines (line 213) | function formatEvaluatorLines(args: { function scoreColor (line 293) | function scoreColor(score: number): (s: string) => string { function formatExampleStatus (line 299) | function formatExampleStatus(status: ExampleResult['status']): string { type ConsoleLifecycleOptions (line 313) | interface ConsoleLifecycleOptions { function createConsoleLifecycle (line 322) | function createConsoleLifecycle(options: ConsoleLifecycleOptions): Evalu... function createQuietLifecycle (line 438) | function createQuietLifecycle(): EvaluationLifecycle { function isDefined (line 451) | function isDefined(value: T | undefined): value is T { function mergeLifecycles (line 459) | function mergeLifecycles( FILE: packages/@n8n/ai-workflow-builder.ee/evaluations/harness/logger.ts type EvalLogger (line 12) | interface EvalLogger { function createLogger (line 29) | function createLogger(verbose: boolean = false): EvalLogger { FILE: packages/@n8n/ai-workflow-builder.ee/evaluations/harness/output.ts type ArtifactSaver (line 20) | interface ArtifactSaver { type ArtifactSaverOptions (line 30) | interface ArtifactSaverOptions { function createArtifactSaver (line 55) | function createArtifactSaver(options: ArtifactSaverOptions): ArtifactSav... function getExampleDirName (line 118) | function getExampleDirName(result: ExampleResult): string { function shortId (line 124) | function shortId(input: string): string { function formatWorkflowForExport (line 133) | function formatWorkflowForExport(workflow: SimpleWorkflow): object { function formatFeedbackForExport (line 144) | function formatFeedbackForExport(result: ExampleResult): object { function formatSummaryForExport (line 191) | function formatSummaryForExport(summary: RunSummary, results: ExampleRes... FILE: packages/@n8n/ai-workflow-builder.ee/evaluations/harness/runner.ts constant DEFAULT_PASS_THRESHOLD (line 41) | const DEFAULT_PASS_THRESHOLD = 0.7; type TokenUsageCollector (line 47) | type TokenUsageCollector = (usage: { inputTokens: number; outputTokens: ... type SubgraphMetricsCollector (line 53) | type SubgraphMetricsCollector = (metrics: { type IntrospectionEventsCollector (line 64) | type IntrospectionEventsCollector = (events: IntrospectionEvent[]) => void; type GenerationCollectors (line 69) | interface GenerationCollectors { function evaluateWithPlugins (line 79) | async function evaluateWithPlugins( function calculateExampleScore (line 117) | function calculateExampleScore(feedback: Feedback[]): number { function determineStatus (line 124) | function determineStatus(args: { score: number; passThreshold: number })... function hasErrorFeedback (line 129) | function hasErrorFeedback(feedback: Feedback[]): boolean { function msToSeconds (line 138) | function msToSeconds(ms: number): number { function createMetricsFeedback (line 149) | function createMetricsFeedback(args: { function buildContext (line 199) | function buildContext(args: { function isUnknownRecord (line 232) | function isUnknownRecord(value: unknown): value is Record { function isNumberArray2 (line 244) | function isNumberArray2(value: unknown): value is [number, number] { function isNodeLike (line 255) | function isNodeLike(value: unknown): boolean { function isConnectionsLike (line 272) | function isConnectionsLike(value: unknown): boolean { function isSimpleWorkflow (line 289) | function isSimpleWorkflow(value: unknown): value is SimpleWorkflow { function getNotionIdFromMetadata (line 296) | function getNotionIdFromMetadata(metadata: unknown): string | undefined { function getCategoriesFromMetadata (line 301) | function getCategoriesFromMetadata(metadata: unknown): string[] | undefi... function getEvalsFromExampleInputs (line 309) | function getEvalsFromExampleInputs(exampleInputs: unknown): { dos?: stri... function isFeedback (line 318) | function isFeedback(value: unknown): value is Feedback { function exampleMatchesFilters (line 330) | function exampleMatchesFilters(example: Example, filters: LangsmithExamp... function loadExamplesFromDataset (line 355) | async function loadExamplesFromDataset(params: { function resolveLangsmithData (line 402) | async function resolveLangsmithData(params: { function extractContextFromLangsmithInputs (line 447) | function extractContextFromLangsmithInputs(inputs: unknown): TestCaseCon... type CollectedMetrics (line 480) | interface CollectedMetrics { function createMetricsCollectors (line 494) | function createMetricsCollectors(): { function buildSubgraphMetrics (line 522) | function buildSubgraphMetrics(metrics: CollectedMetrics): ExampleResult[... function createErrorFeedback (line 538) | function createErrorFeedback(errorMessage: string): Feedback[] { function runLocalExampleSuccess (line 554) | async function runLocalExampleSuccess(args: { function runLocalExample (line 657) | async function runLocalExample(args: { function createArtifactSaverIfRequested (line 730) | function createArtifactSaverIfRequested(args: { function runLocalDataset (line 739) | async function runLocalDataset(params: { function buildRunSummary (line 794) | function buildRunSummary(results: ExampleResult[]): RunSummary { function computeEvaluatorAverages (line 816) | function computeEvaluatorAverages( type LangsmithSummaryParams (line 855) | interface LangsmithSummaryParams { function buildLangsmithSummary (line 872) | function buildLangsmithSummary(params: LangsmithSummaryParams): RunSumma... function runLocal (line 894) | async function runLocal(config: LocalRunConfig): Promise { type LangsmithTargetOutput (line 964) | interface LangsmithTargetOutput { type LangsmithDatasetInput (line 974) | interface LangsmithDatasetInput { function extractPrompt (line 991) | function extractPrompt(inputs: LangsmithDatasetInput): string { function enrichExamplesWithHistory (line 1015) | function enrichExamplesWithHistory(examples: Example[]): Example[] { function deserializeLcMessages (line 1063) | function deserializeLcMessages(rawMessages: unknown[]): BaseMessage[] { function extractDatasetInputContext (line 1087) | function extractDatasetInputContext( function createLangsmithFeedbackExtractor (line 1115) | function createLangsmithFeedbackExtractor(): ( function applyRepetitions (line 1142) | function applyRepetitions(data: string | Example[], repetitions: number)... function computeFilterMetadata (line 1147) | function computeFilterMetadata(filters?: LangsmithExampleFilters): { function logLangsmithInputsSummary (line 1181) | function logLangsmithInputsSummary(logger: EvalLogger, effectiveData: st... function runLangsmithEvaluateAndFlush (line 1196) | async function runLangsmithEvaluateAndFlush(params: { type LangsmithStats (line 1284) | interface LangsmithStats { function updateStats (line 1296) | function updateStats( function resolveAndEnrichLangsmithData (line 1315) | async function resolveAndEnrichLangsmithData(params: { function runLangsmith (line 1343) | async function runLangsmith(config: LangsmithRunConfig): Promise { FILE: packages/@n8n/ai-workflow-builder.ee/evaluations/harness/score-calculator.ts type ScoreWeights (line 13) | interface ScoreWeights { type AggregatedScore (line 20) | interface AggregatedScore { type FeedbackKeyParts (line 32) | interface FeedbackKeyParts { constant DEFAULT_EVALUATOR_WEIGHTS (line 46) | const DEFAULT_EVALUATOR_WEIGHTS: ScoreWeights = { constant DEFAULT_WEIGHTS (line 57) | const DEFAULT_WEIGHTS: ScoreWeights = DEFAULT_EVALUATOR_WEIGHTS; constant UNKNOWN_EVALUATOR_WEIGHT (line 60) | const UNKNOWN_EVALUATOR_WEIGHT = 0.1; function parseFeedbackKey (line 72) | function parseFeedbackKey(key: string): FeedbackKeyParts { function extractCategory (line 88) | function extractCategory(key: string): string { function groupByEvaluator (line 102) | function groupByEvaluator(feedback: Feedback[]): Record { function extractPromptFromInputs (line 65) | function extractPromptFromInputs(inputs: Record): string { function extractResponderEvals (line 74) | function extractResponderEvals( function runLocalSubgraphEvaluation (line 98) | async function runLocalSubgraphEvaluation( FILE: packages/@n8n/ai-workflow-builder.ee/evaluations/harness/subgraph-evaluation.ts constant DEFAULT_PASS_THRESHOLD (line 46) | const DEFAULT_PASS_THRESHOLD = 0.7; type SubgraphEvaluationConfig (line 48) | interface SubgraphEvaluationConfig { function isRecord (line 70) | function isRecord(value: unknown): value is Record { function isFeedback (line 74) | function isFeedback(value: unknown): value is Feedback { function isUnknownArray (line 86) | function isUnknownArray(value: unknown): value is unknown[] { function extractPromptFromInputs (line 90) | function extractPromptFromInputs(inputs: Record): string { function extractResponderEvals (line 99) | function extractResponderEvals( type SubgraphTargetOutput (line 120) | interface SubgraphTargetOutput { type ResolveStateResult (line 129) | interface ResolveStateResult { function resolveState (line 138) | async function resolveState(args: { function preloadExampleIds (line 189) | async function preloadExampleIds( function extractExperimentIds (line 208) | async function extractExperimentIds( function runSubgraphEvaluation (line 231) | async function runSubgraphEvaluation(config: SubgraphEvaluationConfig): ... FILE: packages/@n8n/ai-workflow-builder.ee/evaluations/harness/subgraph-runner.ts type SubgraphName (line 12) | type SubgraphName = 'responder' | 'discovery' | 'builder' | 'configurator'; type PreComputedState (line 18) | interface PreComputedState { type SubgraphResult (line 26) | interface SubgraphResult { type SubgraphRunFn (line 33) | type SubgraphRunFn = (state: PreComputedState) => Promise; type SubgraphRunnerConfig (line 35) | interface SubgraphRunnerConfig { function isRecord (line 40) | function isRecord(value: unknown): value is Record { function deserializeMessages (line 48) | function deserializeMessages(raw: unknown[]): BaseMessage[] { function extractPreComputedState (line 67) | function extractPreComputedState(inputs: Record): PreCo... function createSubgraphRunner (line 103) | function createSubgraphRunner(config: SubgraphRunnerConfig): SubgraphRun... FILE: packages/@n8n/ai-workflow-builder.ee/evaluations/harness/workflow-regenerator.ts type SerializedMessage (line 22) | interface SerializedMessage { type RegeneratedState (line 28) | interface RegeneratedState { type RegenerateOptions (line 36) | interface RegenerateOptions { function serializeMessage (line 45) | function serializeMessage(msg: BaseMessage): SerializedMessage { function regenerateWorkflowState (line 57) | async function regenerateWorkflowState( FILE: packages/@n8n/ai-workflow-builder.ee/evaluations/langsmith/trace-filters.ts function isRecord (line 13) | function isRecord(value: unknown): value is Record { constant LARGE_STATE_FIELDS (line 25) | const LARGE_STATE_FIELDS = ['cachedTemplates', 'parsedNodeTypes'] as const; constant LANGCHAIN_SERIALIZABLE_KEYS (line 31) | const LANGCHAIN_SERIALIZABLE_KEYS = ['lc_serializable', 'lc_kwargs', 'lc... constant LARGE_CONTEXT_FIELDS (line 36) | const LARGE_CONTEXT_FIELDS = ['executionData', 'executionSchema', 'expre... constant WORKFLOW_SUMMARY_THRESHOLD (line 41) | const WORKFLOW_SUMMARY_THRESHOLD = 20; function isLangChainSerializable (line 47) | function isLangChainSerializable(obj: KVMap): boolean { function hasFilterableFields (line 54) | function hasFilterableFields(obj: KVMap): boolean { function summarizeWorkflow (line 68) | function summarizeWorkflow(workflow: unknown): Record { function summarizeCachedTemplates (line 84) | function summarizeCachedTemplates(templates: unknown[]): Array): Record Dict[str, Any]: function format_output_json (line 94) | def format_output_json( function _format_parameter_diff (line 119) | def _format_parameter_diff( function format_output_summary (line 176) | def format_output_summary( function main (line 258) | def main(): FILE: packages/@n8n/ai-workflow-builder.ee/evaluations/programmatic/python/src/config_loader.py function _get_param_path_matching_pattern (line 14) | def _get_param_path_matching_pattern(pattern: str) -> str: class NodeIgnoreRule (line 31) | class NodeIgnoreRule: method matches (line 39) | def matches(self, node: Dict) -> bool: class ParameterComparisonRule (line 51) | class ParameterComparisonRule: method matches_parameter (line 62) | def matches_parameter(self, param_path: str) -> bool: class ExemptionRule (line 69) | class ExemptionRule: method matches (line 78) | def matches(self, node: Dict) -> bool: class WorkflowComparisonConfig (line 96) | class WorkflowComparisonConfig: method should_ignore_node (line 145) | def should_ignore_node(self, node: Dict) -> bool: method should_ignore_parameter (line 158) | def should_ignore_parameter(self, node_type: str, param_path: str) -> ... method get_parameter_rule (line 181) | def get_parameter_rule(self, param_path: str) -> Optional[ParameterCom... method get_exemption_penalty (line 188) | def get_exemption_penalty( method _matches_path_pattern (line 207) | def _matches_path_pattern(path: str, pattern: str) -> bool: method are_node_types_similar (line 212) | def are_node_types_similar(self, type1: str, type2: str) -> bool: method to_dict (line 219) | def to_dict(self) -> Dict: method from_yaml (line 251) | def from_yaml(cls, path: Path) -> "WorkflowComparisonConfig": method from_json (line 258) | def from_json(cls, path: Path) -> "WorkflowComparisonConfig": method _from_dict (line 265) | def _from_dict(cls, data: Dict) -> "WorkflowComparisonConfig": method load_preset (line 348) | def load_preset(cls, preset_name: str) -> "WorkflowComparisonConfig": function load_config (line 359) | def load_config(config_source: Optional[str] = None) -> WorkflowComparis... FILE: packages/@n8n/ai-workflow-builder.ee/evaluations/programmatic/python/src/cost_functions.py function normalize_expression (line 11) | def normalize_expression(value: Any) -> Any: function node_substitution_cost (line 56) | def node_substitution_cost( function node_deletion_cost (line 134) | def node_deletion_cost( function node_insertion_cost (line 160) | def node_insertion_cost( function edge_substitution_cost (line 185) | def edge_substitution_cost( function edge_deletion_cost (line 231) | def edge_deletion_cost( function edge_insertion_cost (line 238) | def edge_insertion_cost( function compare_parameters (line 245) | def compare_parameters( function compare_lists (line 311) | def compare_lists(list1: list, list2: list, config: WorkflowComparisonCo... function apply_comparison_rule (line 340) | def apply_comparison_rule(val1: Any, val2: Any, rule: ParameterCompariso... function calculate_semantic_similarity (line 382) | def calculate_semantic_similarity(text1: str, text2: str) -> float: function normalize_value (line 412) | def normalize_value(value: Any, options: Dict[str, Any]) -> Any: function get_parameter_diff (line 439) | def get_parameter_diff( FILE: packages/@n8n/ai-workflow-builder.ee/evaluations/programmatic/python/src/graph_builder.py function build_workflow_graph (line 10) | def build_workflow_graph( function _filter_parameters (line 93) | def _filter_parameters( function _is_trigger_node (line 131) | def _is_trigger_node(node: Dict[str, Any]) -> bool: function get_node_data (line 165) | def get_node_data(graph: nx.DiGraph, node_name: str) -> Dict[str, Any]: function get_edge_data (line 182) | def get_edge_data(graph: nx.DiGraph, source: str, target: str) -> Dict[s... function graph_stats (line 200) | def graph_stats(graph: nx.DiGraph) -> Dict[str, Any]: FILE: packages/@n8n/ai-workflow-builder.ee/evaluations/programmatic/python/src/similarity.py function calculate_graph_edit_distance (line 19) | def calculate_graph_edit_distance( function _calculate_basic_edit_cost (line 147) | def _calculate_basic_edit_cost( function _calculate_max_cost (line 195) | def _calculate_max_cost( function _extract_operations_from_path (line 223) | def _extract_operations_from_path( function _determine_priority (line 389) | def _determine_priority( function _relabel_graph_by_structure (line 421) | def _relabel_graph_by_structure(graph: nx.DiGraph) -> tuple[nx.DiGraph, ... FILE: packages/@n8n/ai-workflow-builder.ee/evaluations/programmatic/python/tests/test_graph_builder.py function test_build_simple_workflow_graph (line 9) | def test_build_simple_workflow_graph(): function test_build_graph_with_filtering (line 41) | def test_build_graph_with_filtering(): function test_parameter_filtering (line 73) | def test_parameter_filtering(): function test_is_trigger_node (line 106) | def test_is_trigger_node(): function test_graph_stats (line 115) | def test_graph_stats(): function test_empty_workflow (line 154) | def test_empty_workflow(): FILE: packages/@n8n/ai-workflow-builder.ee/evaluations/programmatic/python/tests/test_similarity.py function test_identical_workflows (line 10) | def test_identical_workflows(): function test_empty_workflows (line 36) | def test_empty_workflows(): function test_missing_node (line 50) | def test_missing_node(): function test_trigger_mismatch (line 81) | def test_trigger_mismatch(): function test_parameter_differences (line 129) | def test_parameter_differences(): function test_connection_difference (line 169) | def test_connection_difference(): function test_trigger_parameter_update_priority (line 203) | def test_trigger_parameter_update_priority(): function test_trigger_deletion_is_critical (line 251) | def test_trigger_deletion_is_critical(): function test_trigger_insertion_is_critical (line 291) | def test_trigger_insertion_is_critical(): FILE: packages/@n8n/ai-workflow-builder.ee/evaluations/programmatic/score.ts constant IMPORTANCE_TIER (line 7) | const IMPORTANCE_TIER = { type ImportanceTier (line 13) | type ImportanceTier = keyof typeof IMPORTANCE_TIER; constant CATEGORY_IMPORTANCE (line 21) | const CATEGORY_IMPORTANCE: Record = { function calculateWeightsFromTiers (line 37) | function calculateWeightsFromTiers(categories: string[]): Record { function filterNodeTypes (line 36) | function filterNodeTypes( function loadNodesFromFile (line 60) | function loadNodesFromFile(): INodeTypeDescription[] { FILE: packages/@n8n/ai-workflow-builder.ee/evaluations/support/pin-data-generator.test.ts function makeNode (line 15) | function makeNode(overrides: Partial & { name: string; type: stri... function makeNodeType (line 27) | function makeNodeType( function createMockLLM (line 353) | function createMockLLM(responseContent: string) { FILE: packages/@n8n/ai-workflow-builder.ee/evaluations/support/pin-data-generator.ts type PinDataGeneratorOptions (line 28) | interface PinDataGeneratorOptions { type NodeSchemaContext (line 39) | interface NodeSchemaContext { constant NON_SERVICE_NODES_WITH_CREDENTIALS (line 57) | const NON_SERVICE_NODES_WITH_CREDENTIALS = new Set([ function findAiRootNodeNames (line 72) | function findAiRootNodeNames(workflow: SimpleWorkflow): Set { function identifyPinDataNodes (line 93) | function identifyPinDataNodes( function buildSchemaMap (line 144) | function buildSchemaMap(nodesBasePath: string): Map { function normalizeVersion (line 193) | function normalizeVersion(version: number): string { function resolveSchemaForNode (line 203) | function resolveSchemaForNode( function buildSchemaContexts (line 257) | function buildSchemaContexts(nodes: INode[], nodesBasePath?: string): No... function workflowToMermaid (line 293) | function workflowToMermaid(workflow: SimpleWorkflow): string { constant SYSTEM_PROMPT (line 348) | const SYSTEM_PROMPT = `You are a test data generator for n8n workflow au... function buildUserPrompt (line 358) | function buildUserPrompt(workflow: SimpleWorkflow, contexts: NodeSchemaC... function parsePinDataResponse (line 426) | function parsePinDataResponse(responseText: string, expectedNodes: strin... function generateEvalPinData (line 462) | async function generateEvalPinData( FILE: packages/@n8n/ai-workflow-builder.ee/evaluations/support/report-generator.ts type ViolationSeverity (line 18) | type ViolationSeverity = 'critical' | 'major' | 'minor'; type ReportOptions (line 23) | interface ReportOptions { type ReportMetrics (line 33) | interface ReportMetrics { constant MAX_PROMPT_LENGTH (line 41) | const MAX_PROMPT_LENGTH = 80; function extractViolationSeverity (line 51) | function extractViolationSeverity(comment?: string): ViolationSeverity |... function formatPercentage (line 66) | function formatPercentage(value: number, decimals = 1): string { function truncate (line 74) | function truncate(str: string, maxLength: number): string { function calculateReportMetrics (line 85) | function calculateReportMetrics(results: ExampleResult[]): ReportMetrics { function generateMarkdownReport (line 128) | function generateMarkdownReport( FILE: packages/@n8n/ai-workflow-builder.ee/evaluations/support/test-case-generator.ts type TestCaseGeneratorOptions (line 15) | interface TestCaseGeneratorOptions { type GeneratedTestCase (line 27) | interface GeneratedTestCase { type TestCaseGenerator (line 37) | interface TestCaseGenerator { type GeneratedTestCasesOutput (line 57) | type GeneratedTestCasesOutput = z.infer; function parseTestCasesOutput (line 60) | function parseTestCasesOutput(value: unknown): GeneratedTestCasesOutput { function getFocus (line 111) | function getFocus(options?: TestCaseGeneratorOptions): string { function buildHumanMessage (line 132) | function buildHumanMessage(count: number, focus: string): string { function createTestCaseGenerator (line 154) | function createTestCaseGenerator( FILE: packages/@n8n/ai-workflow-builder.ee/evaluations/support/workflow-executor.test.ts function makeSimpleWorkflow (line 26) | function makeSimpleWorkflow(nodes?: INode[]): SimpleWorkflow { function makeNodeTypes (line 106) | function makeNodeTypes(types: Record): INod... FILE: packages/@n8n/ai-workflow-builder.ee/evaluations/support/workflow-executor.ts type ExecutionResult (line 39) | interface ExecutionResult { type KnownNodeEntry (line 65) | interface KnownNodeEntry { class DistNodeTypes (line 71) | class DistNodeTypes implements INodeTypes { method constructor (line 76) | constructor( method getByName (line 93) | getByName(type: string): INodeType | IVersionedNodeType { method getByNameAndVersion (line 97) | getByNameAndVersion(type: string, version?: number): INodeType { method getKnownTypes (line 105) | getKnownTypes() { method loadNode (line 109) | private loadNode(type: string): INodeType | IVersionedNodeType { type ResolvedImports (line 147) | interface ResolvedImports { function getPaths (line 163) | function getPaths(): { corePath: string; nodesBasePath: string; langchai... function resolveImports (line 175) | async function resolveImports(): Promise { function makeAdditionalDataStub (line 233) | function makeAdditionalDataStub( function findTriggerByGroup (line 253) | function findTriggerByGroup(nodes: INode[], nodeTypes: INodeTypes): INod... function executeWorkflowWithPinData (line 275) | async function executeWorkflowWithPinData( function findErrorNode (line 367) | function findErrorNode(run: IRun): string | undefined { FILE: packages/@n8n/ai-workflow-builder.ee/scripts/categorize-prompts.ts type CategorizationResult (line 19) | interface CategorizationResult { function categorizeAllPrompts (line 28) | async function categorizeAllPrompts() { FILE: packages/@n8n/ai-workflow-builder.ee/scripts/workflow-to-mermaid.ts function isDirectWorkflowFormat (line 18) | function isDirectWorkflowFormat(value: unknown): value is SimpleWorkflow... function isWorkflowMetadataFormat (line 31) | function isWorkflowMetadataFormat( type CliOptions (line 41) | interface CliOptions { function printUsage (line 49) | function printUsage(): void { type ParseResult (line 71) | interface ParseResult { function parseArgs (line 76) | function parseArgs(args: string[]): ParseResult { function loadWorkflow (line 131) | function loadWorkflow(filePath: string): WorkflowMetadata { function main (line 169) | function main(): void { FILE: packages/@n8n/ai-workflow-builder.ee/src/agents/planner.agent.ts type PlannerOutput (line 51) | type PlannerOutput = z.infer; type PlannerAgentConfig (line 57) | interface PlannerAgentConfig { function createPlannerAgent (line 62) | function createPlannerAgent(config: PlannerAgentConfig) { type PlannerAgentType (line 85) | type PlannerAgentType = ReturnType; type PlannerNodeInput (line 91) | interface PlannerNodeInput { type PlannerNodeResult (line 100) | interface PlannerNodeResult { function parsePlanDecision (line 109) | function parsePlanDecision(value: unknown): { action: PlanDecision; feed... constant MAX_PLANNER_RETRIES (line 134) | const MAX_PLANNER_RETRIES = 1; function invokePlannerNode (line 136) | async function invokePlannerNode( FILE: packages/@n8n/ai-workflow-builder.ee/src/agents/responder.agent.ts type ResponderContext (line 40) | interface ResponderContext { type ResponderResult (line 58) | interface ResponderResult { function buildErrorContext (line 78) | function buildErrorContext(coordinationLog: CoordinationLogEntry[], node... function buildFetchedUrlContentBlock (line 104) | function buildFetchedUrlContentBlock(discoveryContext?: DiscoveryContext... function buildContextContent (line 112) | function buildContextContent(context: ResponderContext): string | null { type ResponderAgentConfig (line 218) | interface ResponderAgentConfig { function createResponderAgent (line 231) | function createResponderAgent(config: ResponderAgentConfig) { type ResponderAgentType (line 261) | type ResponderAgentType = ReturnType; function invokeResponderAgent (line 269) | async function invokeResponderAgent( FILE: packages/@n8n/ai-workflow-builder.ee/src/agents/supervisor.agent.ts constant ROUTING_OPTIONS_WITH_ASSISTANT (line 20) | const ROUTING_OPTIONS_WITH_ASSISTANT = ['responder', 'discovery', 'build... constant ROUTING_OPTIONS_WITHOUT_ASSISTANT (line 21) | const ROUTING_OPTIONS_WITHOUT_ASSISTANT = ['responder', 'discovery', 'bu... function createSupervisorRoutingSchema (line 23) | function createSupervisorRoutingSchema(mergeAskBuild: boolean) { type SupervisorRouting (line 32) | type SupervisorRouting = z.infer { method extractHitlFromStreamOutput (line 539) | private extractHitlFromStreamOutput(output: unknown): HITLInterruptVal... FILE: packages/@n8n/ai-workflow-builder.ee/src/assistant/assistant-handler.ts constant SUMMARY_MAX_LENGTH (line 28) | const SUMMARY_MAX_LENGTH = 200; class AssistantHandler (line 35) | class AssistantHandler { method constructor (line 36) | constructor( method execute (line 46) | async execute( method buildSdkPayload (line 82) | buildSdkPayload(context: AssistantContext): { payload: object; session... method callSdk (line 143) | private async callSdk( method consumeSdkStream (line 160) | private async consumeSdkStream( method processChunkMessages (line 249) | private async processChunkMessages( method mapSdkMessage (line 292) | private mapSdkMessage( method isSdkText (line 371) | private isSdkText(msg: SdkMessageResponse): msg is SdkTextMessage { method isSdkCodeDiff (line 375) | private isSdkCodeDiff(msg: SdkMessageResponse): msg is SdkCodeDiffMess... method isSdkSummary (line 379) | private isSdkSummary(msg: SdkMessageResponse): msg is SdkSummaryMessage { method isSdkAgentSuggestion (line 383) | private isSdkAgentSuggestion(msg: SdkMessageResponse): msg is SdkAgent... method isSdkIntermediateStep (line 387) | private isSdkIntermediateStep(msg: SdkMessageResponse): msg is SdkInte... method isSdkEvent (line 391) | private isSdkEvent(msg: SdkMessageResponse): msg is SdkEndSessionEvent { method isSdkError (line 395) | private isSdkError(msg: SdkMessageResponse): msg is SdkErrorMessage { FILE: packages/@n8n/ai-workflow-builder.ee/src/assistant/test/assistant-handler.test.ts function createMockSdkResponse (line 17) | function createMockSdkResponse(chunks: SdkStreamChunk[], ok = true, stat... function createSplitResponse (line 41) | function createSplitResponse(chunks: SdkStreamChunk[], splitAt: number):... function createMockClient (line 57) | function createMockClient(response: Response): AssistantSdkClient { method start (line 547) | start(controller) { method pull (line 581) | pull(controller) { FILE: packages/@n8n/ai-workflow-builder.ee/src/assistant/types.ts type AssistantSdkClient (line 10) | interface AssistantSdkClient { type StreamWriter (line 18) | type StreamWriter = (chunk: StreamChunk) => void | Promise; type AssistantContext (line 24) | interface AssistantContext { type AssistantResult (line 44) | interface AssistantResult { type SdkTextMessage (line 62) | interface SdkTextMessage { type SdkCodeDiffMessage (line 71) | interface SdkCodeDiffMessage { type SdkSummaryMessage (line 80) | interface SdkSummaryMessage { type SdkAgentSuggestionMessage (line 87) | interface SdkAgentSuggestionMessage { type SdkIntermediateStep (line 95) | interface SdkIntermediateStep { type SdkEndSessionEvent (line 102) | interface SdkEndSessionEvent { type SdkErrorMessage (line 107) | interface SdkErrorMessage { type SdkMessageResponse (line 114) | type SdkMessageResponse = type SdkStreamChunk (line 124) | interface SdkStreamChunk { FILE: packages/@n8n/ai-workflow-builder.ee/src/chains/conversation-compact.ts function conversationCompactChain (line 9) | async function conversationCompactChain( FILE: packages/@n8n/ai-workflow-builder.ee/src/chains/prompt-categorization.ts function promptCategorizationChain (line 10) | async function promptCategorizationChain( FILE: packages/@n8n/ai-workflow-builder.ee/src/chains/test/conversation-compact.test.ts class MockStructuredLLM (line 9) | class MockStructuredLLM extends FakeListChatModel { method constructor (line 12) | constructor(response: Record) { method withStructuredOutput (line 18) | withStructuredOutput(): any { class ErrorLLM (line 207) | class ErrorLLM extends FakeListChatModel { method withStructuredOutput (line 209) | withStructuredOutput(): any { FILE: packages/@n8n/ai-workflow-builder.ee/src/chains/test/integration/prompt-categorization.integration.test.ts function hasExpectedTechniques (line 92) | function hasExpectedTechniques( function calculateTechniqueFrequency (line 104) | function calculateTechniqueFrequency( FILE: packages/@n8n/ai-workflow-builder.ee/src/chains/test/integration/test-helpers.ts function setupIntegrationLLM (line 12) | async function setupIntegrationLLM(): Promise { function shouldRunIntegrationTests (line 26) | function shouldRunIntegrationTests(): boolean { FILE: packages/@n8n/ai-workflow-builder.ee/src/chains/workflow-name.ts function workflowNameChain (line 7) | async function workflowNameChain( FILE: packages/@n8n/ai-workflow-builder.ee/src/code-builder/code-builder-agent.ts class CodeBuilderAgent (line 65) | class CodeBuilderAgent { method constructor (line 89) | constructor(config: CodeBuilderAgentConfig) { method resetAccumulatedTokens (line 179) | private resetAccumulatedTokens(): void { method emitTelemetryEvent (line 186) | private emitTelemetryEvent(params: { method chat (line 249) | async *chat( method runAgenticLoop (line 401) | private async *runAgenticLoop( method checkConsecutiveParseErrors (line 537) | private checkConsecutiveParseErrors(count: number): void { method processIteration (line 546) | private async *processIteration(params: { method handleToolCalls (line 602) | private async *handleToolCalls(params: { method handleTextEditorAutoFinalize (line 668) | private async *handleTextEditorAutoFinalize(params: { method handleFinalResponse (line 733) | private async handleFinalResponse(params: { type AgenticLoopParams (line 770) | interface AgenticLoopParams { type AgenticLoopResult (line 785) | interface AgenticLoopResult { type TraceEntry (line 796) | type TraceEntry = { type: 'text'; text: string } | { type: 'tool-call'; ... type AgenticLoopState (line 801) | interface AgenticLoopState { FILE: packages/@n8n/ai-workflow-builder.ee/src/code-builder/code-workflow-builder.ts type CodeWorkflowBuilderConfig (line 33) | interface CodeWorkflowBuilderConfig { class CodeWorkflowBuilder (line 86) | class CodeWorkflowBuilder { method constructor (line 92) | constructor(config: CodeWorkflowBuilderConfig) { method chat (line 129) | async *chat( function createCodeWorkflowBuilder (line 183) | function createCodeWorkflowBuilder( FILE: packages/@n8n/ai-workflow-builder.ee/src/code-builder/constants.ts constant MAX_AGENT_ITERATIONS (line 10) | const MAX_AGENT_ITERATIONS = 50; constant MAX_VALIDATE_ATTEMPTS (line 13) | const MAX_VALIDATE_ATTEMPTS = 10; constant FIX_VALIDATION_ERRORS_INSTRUCTION (line 16) | const FIX_VALIDATION_ERRORS_INSTRUCTION = ` constant TEXT_EDITOR_TOOL (line 25) | const TEXT_EDITOR_TOOL = { constant BATCH_STR_REPLACE_TOOL (line 31) | const BATCH_STR_REPLACE_TOOL = { constant VALIDATE_TOOL (line 59) | const VALIDATE_TOOL = { constant CODE_BUILDER_TEXT_EDITOR_TOOL (line 81) | const CODE_BUILDER_TEXT_EDITOR_TOOL: BuilderToolBase = { constant CODE_BUILDER_BATCH_STR_REPLACE_TOOL (line 86) | const CODE_BUILDER_BATCH_STR_REPLACE_TOOL: BuilderToolBase = { constant CODE_BUILDER_VALIDATE_TOOL (line 91) | const CODE_BUILDER_VALIDATE_TOOL: BuilderToolBase = { constant CODE_BUILDER_SEARCH_NODES_TOOL (line 96) | const CODE_BUILDER_SEARCH_NODES_TOOL: BuilderToolBase = { constant CODE_BUILDER_GET_NODE_TYPES_TOOL (line 101) | const CODE_BUILDER_GET_NODE_TYPES_TOOL: BuilderToolBase = { constant CODE_BUILDER_GET_SUGGESTED_NODES_TOOL (line 106) | const CODE_BUILDER_GET_SUGGESTED_NODES_TOOL: BuilderToolBase = { constant MCP_GET_SDK_REFERENCE_TOOL (line 112) | const MCP_GET_SDK_REFERENCE_TOOL: BuilderToolBase = { constant MCP_CREATE_WORKFLOW_FROM_CODE_TOOL (line 117) | const MCP_CREATE_WORKFLOW_FROM_CODE_TOOL: BuilderToolBase = { constant MCP_ARCHIVE_WORKFLOW_TOOL (line 122) | const MCP_ARCHIVE_WORKFLOW_TOOL: BuilderToolBase = { constant MCP_UPDATE_WORKFLOW_TOOL (line 127) | const MCP_UPDATE_WORKFLOW_TOOL: BuilderToolBase = { FILE: packages/@n8n/ai-workflow-builder.ee/src/code-builder/engines/code-builder-node-search-engine.ts function isNodeConnectionType (line 19) | function isNodeConnectionType(value: string): value is NodeConnectionType { constant DEFAULT_SUBNODES (line 27) | const DEFAULT_SUBNODES: Record = { constant NODE_SEARCH_KEYS (line 39) | const NODE_SEARCH_KEYS = [ function getTypeName (line 50) | function getTypeName(nodeName: string): string { constant SCORE_WEIGHTS (line 59) | const SCORE_WEIGHTS = { function getLatestVersion (line 64) | function getLatestVersion(version: number | number[]): number { function extractSubnodeRequirements (line 71) | function extractSubnodeRequirements(inputs?: BuilderHintInputs): Subnode... function dedupeNodes (line 81) | function dedupeNodes(nodes: INodeTypeDescription[]): INodeTypeDescriptio... class CodeBuilderNodeSearchEngine (line 105) | class CodeBuilderNodeSearchEngine { method constructor (line 107) | constructor(nodeTypes: INodeTypeDescription[]) { method searchByName (line 118) | searchByName(query: string, limit: number = 20): CodeBuilderNodeSearch... method searchByConnectionType (line 179) | searchByConnectionType( method formatResult (line 250) | formatResult(result: CodeBuilderNodeSearchResult): string { method getSubnodesForConnectionType (line 298) | getSubnodesForConnectionType(connectionType: string): string[] { method getRelatedSubnodeIds (line 311) | getRelatedSubnodeIds(nodeIds: string[], excludeNodeIds: Set): ... method getNodeType (line 352) | getNodeType(nodeId: string): INodeTypeDescription | undefined { method getConnectionScore (line 362) | private getConnectionScore( method isAiConnectionType (line 388) | static isAiConnectionType(connectionType: string): boolean { method getAiConnectionTypes (line 396) | static getAiConnectionTypes(): NodeConnectionType[] { FILE: packages/@n8n/ai-workflow-builder.ee/src/code-builder/handlers/agent-iteration-handler.ts type ResponseMetadataWithUsage (line 19) | interface ResponseMetadataWithUsage { function hasUsageMetadata (line 23) | function hasUsageMetadata(metadata: unknown): metadata is ResponseMetada... type AgentIterationHandlerConfig (line 35) | interface AgentIterationHandlerConfig { type IterationParams (line 46) | interface IterationParams { type LlmInvocationResult (line 62) | interface LlmInvocationResult { class AgentIterationHandler (line 92) | class AgentIterationHandler { method constructor (line 97) | constructor(config: AgentIterationHandlerConfig = {}) { method getCallbacks (line 104) | getCallbacks(): Callbacks | undefined { method getRunMetadata (line 109) | getRunMetadata(): Record | undefined { method invokeLlm (line 127) | async *invokeLlm( FILE: packages/@n8n/ai-workflow-builder.ee/src/code-builder/handlers/auto-finalize-handler.ts type ParseAndValidateFn (line 21) | type ParseAndValidateFn = ( type GetErrorContextFn (line 29) | type GetErrorContextFn = (code: string, errorMessage: string) => string; type AutoFinalizeHandlerConfig (line 34) | interface AutoFinalizeHandlerConfig { type AutoFinalizeParams (line 42) | interface AutoFinalizeParams { type AutoFinalizeResult (line 56) | interface AutoFinalizeResult { class AutoFinalizeHandler (line 72) | class AutoFinalizeHandler { method constructor (line 76) | constructor(config: AutoFinalizeHandlerConfig) { method execute (line 89) | async *execute( FILE: packages/@n8n/ai-workflow-builder.ee/src/code-builder/handlers/chat-setup-handler.ts type ParseAndValidateFn (line 34) | type ParseAndValidateFn = ( type GetErrorContextFn (line 42) | type GetErrorContextFn = (code: string, errorMessage: string) => string; type ChatSetupHandlerConfig (line 47) | interface ChatSetupHandlerConfig { type ChatSetupParams (line 60) | interface ChatSetupParams { type LlmWithTools (line 68) | type LlmWithTools = Runnable { method shouldEnableTextEditor (line 179) | private shouldEnableTextEditor(): boolean { method preGenerateWorkflowCode (line 195) | private preGenerateWorkflowCode( method bindToolsToLlm (line 218) | private bindToolsToLlm(textEditorEnabled: boolean, hasPlanOutput: bool... method formatInitialMessages (line 242) | private async formatInitialMessages( method initializeTextEditorHandlers (line 253) | private initializeTextEditorHandlers( method prefetchSearchResults (line 288) | private prefetchSearchResults(plan: PlanOutput): string | undefined { function extractNodeNamesFromPlan (line 313) | function extractNodeNamesFromPlan(plan: PlanOutput): string[] { FILE: packages/@n8n/ai-workflow-builder.ee/src/code-builder/handlers/final-response-handler.ts type ParseAndValidateFn (line 20) | type ParseAndValidateFn = ( type FinalResponseHandlerConfig (line 28) | interface FinalResponseHandlerConfig { type FinalResponseParams (line 35) | interface FinalResponseParams { type FinalResponseResult (line 49) | interface FinalResponseResult { class FinalResponseHandler (line 73) | class FinalResponseHandler { method constructor (line 76) | constructor(config: FinalResponseHandlerConfig) { method process (line 86) | async process(params: FinalResponseParams): Promise(gen: AsyncGenerator): Promis... FILE: packages/@n8n/ai-workflow-builder.ee/src/code-builder/handlers/test/chat-setup-handler.test.ts function createMockTool (line 10) | function createMockTool(name: string): StructuredToolInterface { function createMockLlm (line 14) | function createMockLlm() { FILE: packages/@n8n/ai-workflow-builder.ee/src/code-builder/handlers/test/text-editor-tool-handler.test.ts function isToolProgressChunk (line 18) | function isToolProgressChunk(chunk: unknown): chunk is ToolProgressChunk { function isWorkflowUpdateChunk (line 28) | function isWorkflowUpdateChunk(chunk: unknown): chunk is WorkflowUpdateC... FILE: packages/@n8n/ai-workflow-builder.ee/src/code-builder/handlers/test/tool-dispatch-handler.test.ts function isToolProgressChunk (line 21) | function isToolProgressChunk(chunk: unknown): chunk is ToolProgressChunk { function isWorkflowUpdateChunk (line 31) | function isWorkflowUpdateChunk(chunk: unknown): chunk is WorkflowUpdateC... function createHandler (line 43) | function createHandler( function drainGenerator (line 55) | async function drainGenerator( function createMockTextEditorToolHandler (line 277) | function createMockTextEditorToolHandler(): TextEditorToolHandler { function createMockTextEditorHandler (line 287) | function createMockTextEditorHandler(): TextEditorHandler { function createMockValidateToolHandler (line 294) | function createMockValidateToolHandler(workflowReady = false): ValidateT... function collectChunks (line 553) | async function collectChunks( FILE: packages/@n8n/ai-workflow-builder.ee/src/code-builder/handlers/test/validate-tool-handler.test.ts function isToolProgressChunk (line 13) | function isToolProgressChunk(chunk: unknown): chunk is ToolProgressChunk { FILE: packages/@n8n/ai-workflow-builder.ee/src/code-builder/handlers/text-editor-handler.ts constant WORKFLOW_FILE_PATH (line 28) | const WORKFLOW_FILE_PATH = '/workflow.js'; constant PREVIEW_MAX_LENGTH (line 31) | const PREVIEW_MAX_LENGTH = 80; function truncatePreview (line 33) | function truncatePreview(str: string): string { function formatCodeWithLineNumbers (line 44) | function formatCodeWithLineNumbers(code: string): string { constant MIN_PREFIX_LENGTH (line 50) | const MIN_PREFIX_LENGTH = 10; constant CONTEXT_LINES (line 53) | const CONTEXT_LINES = 3; constant OLD_STR_CONTEXT_LENGTH (line 56) | const OLD_STR_CONTEXT_LENGTH = 40; function escapeWhitespace (line 58) | function escapeWhitespace(str: string): string { function findDivergenceContext (line 67) | function findDivergenceContext(code: string, searchStr: string): string ... class TextEditorHandler (line 118) | class TextEditorHandler { method constructor (line 121) | constructor() {} method execute (line 130) | execute(command: TextEditorCommand): string { method validatePath (line 165) | private validatePath(path: string): void { method handleView (line 174) | private handleView(command: ViewCommand): string { method handleCreate (line 209) | private handleCreate(command: CreateCommand): string { method handleStrReplace (line 217) | private handleStrReplace(command: StrReplaceCommand): string { method handleInsert (line 256) | private handleInsert(command: InsertCommand): string { method countOccurrences (line 279) | private countOccurrences(text: string, search: string): number { method executeBatch (line 303) | executeBatch(replacements: StrReplacement[]): string | BatchReplaceRes... method getWorkflowCode (line 367) | getWorkflowCode(): string | null { method setWorkflowCode (line 374) | setWorkflowCode(code: string): void { method hasWorkflowCode (line 381) | hasWorkflowCode(): boolean { method clearWorkflowCode (line 388) | clearWorkflowCode(): void { FILE: packages/@n8n/ai-workflow-builder.ee/src/code-builder/handlers/text-editor-tool-handler.ts type TextEditorExecuteFn (line 21) | type TextEditorExecuteFn = (args: Record) => string; type TextEditorGetCodeFn (line 26) | type TextEditorGetCodeFn = () => string | null; type ParseAndValidateFn (line 31) | type ParseAndValidateFn = ( type GetErrorContextFn (line 39) | type GetErrorContextFn = (code: string, errorMessage: string) => string; type TextEditorToolHandlerConfig (line 44) | interface TextEditorToolHandlerConfig { type TextEditorToolParams (line 54) | interface TextEditorToolParams { type TextEditorToolResult (line 67) | interface TextEditorToolResult { type PreviewParseResult (line 75) | interface PreviewParseResult { class TextEditorToolHandler (line 91) | class TextEditorToolHandler { method constructor (line 97) | constructor(config: TextEditorToolHandlerConfig) { method execute (line 111) | async *execute( method autoValidateAfterCreate (line 184) | private async autoValidateAfterCreate( method tryParseForPreview (line 262) | async tryParseForPreview(currentWorkflow?: WorkflowJSON): Promise string; type ValidateToolHandlerConfig (line 34) | interface ValidateToolHandlerConfig { type ValidateToolParams (line 42) | interface ValidateToolParams { type ValidateToolResult (line 54) | interface ValidateToolResult { class ValidateToolHandler (line 69) | class ValidateToolHandler { method constructor (line 73) | constructor(config: ValidateToolHandlerConfig) { method execute (line 85) | async *execute( method createToolProgressChunk (line 183) | private createToolProgressChunk( method createWorkflowUpdateChunk (line 203) | private createWorkflowUpdateChunk(workflow: WorkflowJSON): StreamOutput { FILE: packages/@n8n/ai-workflow-builder.ee/src/code-builder/prompts/index.ts function escapeCurlyBrackets (line 28) | function escapeCurlyBrackets(text: string): string { constant ROLE (line 35) | const ROLE = constant RESPONSE_STYLE (line 41) | const RESPONSE_STYLE = `**Be extremely concise in your visible responses... constant WORKFLOW_PATTERNS (line 48) | const WORKFLOW_PATTERNS = ` constant MANDATORY_WORKFLOW_INTRO (line 494) | const MANDATORY_WORKFLOW_INTRO = constant ANALYZE_USER_REQUEST (line 499) | const ANALYZE_USER_REQUEST = ` constant READ_APPROVED_PLAN (line 528) | const READ_APPROVED_PLAN = ` constant GET_SUGGESTED_NODES (line 544) | const GET_SUGGESTED_NODES = ` constant SEARCH_NODES_BUILD (line 554) | const SEARCH_NODES_BUILD = ` constant SEARCH_NODES_PLAN (line 569) | const SEARCH_NODES_PLAN = ` constant SEARCH_NODES_PREFETCHED (line 582) | const SEARCH_NODES_PREFETCHED = ` constant REVIEW_RESULTS_BUILD (line 591) | const REVIEW_RESULTS_BUILD = ` constant REVIEW_RESULTS_PLAN (line 606) | const REVIEW_RESULTS_PLAN = ` constant DESIGN_WORKFLOW_BUILD (line 622) | const DESIGN_WORKFLOW_BUILD = ` constant DESIGN_WORKFLOW_PLAN (line 646) | const DESIGN_WORKFLOW_PLAN = ` constant STEPS_4_THROUGH_7 (line 670) | const STEPS_4_THROUGH_7 = ` function wrapStep (line 736) | function wrapStep(tag: string, content: string): string { function buildBuildModeSteps (line 740) | function buildBuildModeSteps(): string { function buildPlanModeSteps (line 756) | function buildPlanModeSteps(hasPreSearchResults: boolean): string { function buildMandatoryWorkflow (line 772) | function buildMandatoryWorkflow(hasPlanOutput: boolean, hasPreSearchResu... type HistoryContext (line 782) | interface HistoryContext { type BuildCodeBuilderPromptOptions (line 792) | interface BuildCodeBuilderPromptOptions { function buildUserMessageParts (line 816) | function buildUserMessageParts( function buildCodeBuilderPrompt (line 890) | function buildCodeBuilderPrompt( FILE: packages/@n8n/ai-workflow-builder.ee/src/code-builder/state/warning-tracker.ts function getWarningKey (line 21) | function getWarningKey(warning: ValidationWarning): string { class WarningTracker (line 31) | class WarningTracker { method markAsPreExisting (line 42) | markAsPreExisting(warnings: ValidationWarning[]): void { method isPreExisting (line 54) | isPreExisting(warning: ValidationWarning): boolean { method filterNewWarnings (line 64) | filterNewWarnings(warnings: ValidationWarning[]): ValidationWarning[] { method markAsSeen (line 73) | markAsSeen(warnings: ValidationWarning[]): void { FILE: packages/@n8n/ai-workflow-builder.ee/src/code-builder/test/code-builder-agent-pre-validate.test.ts constant MOCK_WORKFLOW (line 38) | const MOCK_WORKFLOW: Partial = { function createMockBuilder (line 54) | function createMockBuilder(warnings: Array<{ code: string; message: stri... function createMockLlm (line 63) | function createMockLlm(): BaseChatModel { FILE: packages/@n8n/ai-workflow-builder.ee/src/code-builder/test/code-builder-agent-tracing.test.ts constant MOCK_WORKFLOW (line 35) | const MOCK_WORKFLOW: WorkflowJSON = { function createMockLlm (line 55) | function createMockLlm(): BaseChatModel { function createMockBuilder (line 69) | function createMockBuilder() { class ChainEndTracker (line 83) | class ChainEndTracker extends BaseCallbackHandler { method handleChainStart (line 89) | async handleChainStart( method handleChainEnd (line 102) | async handleChainEnd(outputs: Record): Promise { FILE: packages/@n8n/ai-workflow-builder.ee/src/code-builder/test/code-builder-agent-validate-loop.test.ts constant MOCK_WORKFLOW (line 39) | const MOCK_WORKFLOW: WorkflowJSON = { function createMockBuilder (line 55) | function createMockBuilder() { function createMockLlm (line 64) | function createMockLlm(respondFn: (callCount: number) => AIMessage): { function noToolCallResponse (line 80) | function noToolCallResponse(): AIMessage { function validateToolCallResponse (line 88) | function validateToolCallResponse(callId: string): AIMessage { function collectChunks (line 103) | async function collectChunks( FILE: packages/@n8n/ai-workflow-builder.ee/src/code-builder/test/triage.agent.test.ts function createMockPayload (line 12) | function createMockPayload(message = 'test message'): ChatPayload { function createMockLlm (line 23) | function createMockLlm(responses: AIMessage | AIMessage[]): BaseChatModel { function createMockAssistantHandler (line 38) | function createMockAssistantHandler( function createMockBuildWorkflow (line 66) | function createMockBuildWorkflow( function collectGenerator (line 83) | async function collectGenerator( method next (line 733) | async next(): Promise> { FILE: packages/@n8n/ai-workflow-builder.ee/src/code-builder/tools/ask-assistant.tool.ts constant ASK_ASSISTANT_TOOL (line 8) | const ASK_ASSISTANT_TOOL = { FILE: packages/@n8n/ai-workflow-builder.ee/src/code-builder/tools/build-workflow.tool.ts constant BUILD_WORKFLOW_TOOL (line 8) | const BUILD_WORKFLOW_TOOL = { FILE: packages/@n8n/ai-workflow-builder.ee/src/code-builder/tools/code-builder-get.tool.ts function isValidPathComponent (line 17) | function isValidPathComponent(component: string): boolean { function validatePathWithinBase (line 44) | function validatePathWithinBase(filePath: string, baseDir: string): bool... function getGeneratedNodesPaths (line 56) | function getGeneratedNodesPaths(nodeDefinitionDirs?: string[]): string[] { function findNodeDir (line 68) | function findNodeDir( function toSnakeCase (line 98) | function toSnakeCase(str: string): string { function isSplitVersionStructure (line 111) | function isSplitVersionStructure(nodeDir: string, versionStr: string): b... function getAvailableDiscriminators (line 121) | function getAvailableDiscriminators( function parseNodeId (line 158) | function parseNodeId(nodeId: string): { packageName: string; nodeName: s... function getNodeVersions (line 187) | function getNodeVersions(nodeId: string, nodeDefinitionDirs?: string[]):... type PathResolutionResult (line 237) | interface PathResolutionResult { function resolveResourceOperationPath (line 247) | function resolveResourceOperationPath( function resolveModePath (line 315) | function resolveModePath( function tryGetNodeFilePath (line 361) | function tryGetNodeFilePath( function getNodeFilePath (line 466) | function getNodeFilePath( function getNodeTypeDefinition (line 490) | function getNodeTypeDefinition( type NodeRequest (line 555) | type NodeRequest = type CodeBuilderGetToolOptions (line 569) | interface CodeBuilderGetToolOptions { function createCodeBuilderGetTool (line 580) | function createCodeBuilderGetTool(options: CodeBuilderGetToolOptions = {... FILE: packages/@n8n/ai-workflow-builder.ee/src/code-builder/tools/code-builder-search.tool.ts constant TRIGGER_NODE_TYPES (line 32) | const TRIGGER_NODE_TYPES = new Set([ function isTriggerNodeType (line 43) | function isTriggerNodeType(type: string): boolean { type DiscriminatorOperationInfo (line 53) | interface DiscriminatorOperationInfo { type DiscriminatorResourceInfo (line 62) | interface DiscriminatorResourceInfo { type DiscriminatorInfo (line 72) | interface DiscriminatorInfo { function formatBuilderHint (line 82) | function formatBuilderHint( function getDirectRelatedNodeIds (line 96) | function getDirectRelatedNodeIds( function getRelatedNodesWithHints (line 111) | function getRelatedNodesWithHints( function formatRelatedNodesWithHints (line 124) | function formatRelatedNodesWithHints(relatedNodes: IRelatedNode[]): stri... function collectAllRelatedNodeIds (line 138) | function collectAllRelatedNodeIds( constant CONNECTION_TYPE_TO_SDK (line 188) | const CONNECTION_TYPE_TO_SDK: Record... function formatModeForDisplay (line 214) | function formatModeForDisplay(mode: ModeInfo, showSdkMapping: boolean): ... function getDiscriminatorInfo (line 258) | function getDiscriminatorInfo( function formatResourceOperationLines (line 319) | function formatResourceOperationLines( function formatOperationLines (line 355) | function formatOperationLines(operations: DiscriminatorOperationInfo[], ... function formatModeLines (line 374) | function formatModeLines(modes: ModeInfo[], nodeId: string): string[] { function formatDiscriminatorInfo (line 393) | function formatDiscriminatorInfo(info: DiscriminatorInfo, nodeId: string... function formatNodeResult (line 417) | function formatNodeResult( function createCodeBuilderSearchTool (line 455) | function createCodeBuilderSearchTool(nodeTypeParser: NodeTypeParser) { FILE: packages/@n8n/ai-workflow-builder.ee/src/code-builder/tools/get-suggested-nodes.tool.ts type GetSuggestedNodesInput (line 17) | type GetSuggestedNodesInput = z.infer; type FormattedCategoryResult (line 19) | interface FormattedCategoryResult { function formatCategoryResult (line 30) | function formatCategoryResult( function formatOutput (line 64) | function formatOutput(results: Array): s... function createGetSuggestedNodesTool (line 93) | function createGetSuggestedNodesTool(nodeTypeParser: NodeTypeParser) { FILE: packages/@n8n/ai-workflow-builder.ee/src/code-builder/tools/suggested-nodes-data.ts type CategorySuggestedNode (line 6) | interface CategorySuggestedNode { type CategoryData (line 11) | interface CategoryData { FILE: packages/@n8n/ai-workflow-builder.ee/src/code-builder/triage.agent.ts type TriageConversationEntry (line 18) | type TriageConversationEntry = type TriageAgentConfig (line 23) | interface TriageAgentConfig { type TriageAgentParams (line 34) | interface TriageAgentParams { type TriageAgentOutcome (line 48) | interface TriageAgentOutcome { type ToolResult (line 55) | interface ToolResult { type TriageAgentState (line 64) | interface TriageAgentState { function conversationEntryToString (line 70) | function conversationEntryToString(entry: TriageConversationEntry): stri... function buildTriagePrompt (line 81) | function buildTriagePrompt( class TriageAgent (line 167) | class TriageAgent { method constructor (line 180) | constructor(config: TriageAgentConfig) { method run (line 192) | async *run(params: TriageAgentParams): AsyncGenerator { method isTriggerNode (line 55) | private isTriggerNode(nodeType: INodeTypeDescription): boolean { method searchNodeTypes (line 71) | searchNodeTypes(query: string, limit: number = 5): ParsedNodeType[] { method getNodeType (line 91) | getNodeType(nodeId: string, version?: number): INodeTypeDescription | ... FILE: packages/@n8n/ai-workflow-builder.ee/src/code-builder/utils/test/code-builder-session.test.ts class MockStructuredLLM (line 18) | class MockStructuredLLM extends FakeListChatModel { method constructor (line 21) | constructor(response: Record) { method withStructuredOutput (line 27) | withStructuredOutput(): any { FILE: packages/@n8n/ai-workflow-builder.ee/src/code-builder/utils/test/content-extractors.test.ts function createMockMessage (line 15) | function createMockMessage( FILE: packages/@n8n/ai-workflow-builder.ee/src/constants.ts constant MAX_AI_BUILDER_PROMPT_LENGTH (line 5) | const MAX_AI_BUILDER_PROMPT_LENGTH = 5000; constant MAX_TOTAL_TOKENS (line 10) | const MAX_TOTAL_TOKENS = 200_000; constant MAX_OUTPUT_TOKENS (line 11) | const MAX_OUTPUT_TOKENS = 16_000; constant MAX_INPUT_TOKENS (line 12) | const MAX_INPUT_TOKENS = MAX_TOTAL_TOKENS - MAX_OUTPUT_TOKENS - 5_000; constant MAX_PARAMETER_VALUE_LENGTH (line 18) | const MAX_PARAMETER_VALUE_LENGTH = 30_000; constant DEFAULT_AUTO_COMPACT_THRESHOLD_TOKENS (line 26) | const DEFAULT_AUTO_COMPACT_THRESHOLD_TOKENS = MAX_TOTAL_TOKENS - 50_000; constant MAX_WORKFLOW_LENGTH_TOKENS (line 32) | const MAX_WORKFLOW_LENGTH_TOKENS = 30_000; constant AVG_CHARS_PER_TOKEN_ANTHROPIC (line 38) | const AVG_CHARS_PER_TOKEN_ANTHROPIC = 3.5; constant MAX_NODE_EXAMPLE_CHARS (line 45) | const MAX_NODE_EXAMPLE_CHARS = 5000 * AVG_CHARS_PER_TOKEN_ANTHROPIC; constant MAX_EXECUTION_DATA_CHARS (line 51) | const MAX_EXECUTION_DATA_CHARS = 10000; constant MAX_AI_RESPONSE_CHARS (line 57) | const MAX_AI_RESPONSE_CHARS = 500; constant MAX_BUILDER_ITERATIONS (line 63) | const MAX_BUILDER_ITERATIONS = 100; constant MAX_DISCOVERY_ITERATIONS (line 64) | const MAX_DISCOVERY_ITERATIONS = 50; constant MAX_TRIAGE_ITERATIONS (line 65) | const MAX_TRIAGE_ITERATIONS = 10; constant MAX_MULTI_AGENT_STREAM_ITERATIONS (line 66) | const MAX_MULTI_AGENT_STREAM_ITERATIONS = MAX_BUILDER_ITERATIONS + MAX_D... constant STREAM_SEPARATOR (line 72) | const STREAM_SEPARATOR = '⧉⇋⇋➽⌑⧉§§\n'; constant ASSISTANT_SDK_TIMEOUT_MS (line 80) | const ASSISTANT_SDK_TIMEOUT_MS = 3 * 60 * 1000; constant WEB_FETCH_TIMEOUT_MS (line 85) | const WEB_FETCH_TIMEOUT_MS = 20_000; constant WEB_FETCH_MAX_BYTES (line 86) | const WEB_FETCH_MAX_BYTES = 2 * 1024 * 1024; constant WEB_FETCH_MAX_CONTENT_CHARS (line 87) | const WEB_FETCH_MAX_CONTENT_CHARS = 30_000; constant WEB_FETCH_MAX_PER_TURN (line 88) | const WEB_FETCH_MAX_PER_TURN = 3; FILE: packages/@n8n/ai-workflow-builder.ee/src/errors/index.ts method constructor (line 8) | constructor(message: string, options?: ErrorOptions) { class NodeNotFoundError (line 17) | class NodeNotFoundError extends OperationalError { method constructor (line 18) | constructor(nodeId: string, nodeType?: string, options?: OperationalEr... class NodeTypeNotFoundError (line 34) | class NodeTypeNotFoundError extends OperationalError { method constructor (line 35) | constructor(nodeType: string, options?: OperationalErrorOptions) { class ConnectionError (line 50) | class ConnectionError extends OperationalError { method constructor (line 51) | constructor( class LLMServiceError (line 75) | class LLMServiceError extends OperationalError { method constructor (line 76) | constructor( class ValidationError (line 95) | class ValidationError extends OperationalError { method constructor (line 96) | constructor( class ParameterUpdateError (line 118) | class ParameterUpdateError extends OperationalError { method constructor (line 119) | constructor( class ParameterTooLargeError (line 139) | class ParameterTooLargeError extends OperationalError { method constructor (line 140) | constructor( class WorkflowStateError (line 160) | class WorkflowStateError extends UnexpectedError { method constructor (line 161) | constructor(message: string, options?: UnexpectedErrorOptions) { class ToolExecutionError (line 172) | class ToolExecutionError extends UnexpectedError { method constructor (line 173) | constructor(message: string, options?: UnexpectedErrorOptions & { tool... FILE: packages/@n8n/ai-workflow-builder.ee/src/llm-config.ts type LLMProviderConfig (line 11) | interface LLMProviderConfig { constant OPENROUTER_BASE_URL (line 129) | const OPENROUTER_BASE_URL = 'https://openrouter.ai/api/v1'; function createOpenRouterModel (line 135) | function createOpenRouterModel(modelName: string) { type ModelId (line 187) | type ModelId = constant MODEL_FACTORIES (line 204) | const MODEL_FACTORIES: Record< constant OPENROUTER_MODELS (line 223) | const OPENROUTER_MODELS: ModelId[] = [ function getApiKeyEnvVar (line 234) | function getApiKeyEnvVar(modelId: ModelId): string { constant AVAILABLE_MODELS (line 248) | const AVAILABLE_MODELS: readonly ModelId[] = [ constant DEFAULT_MODEL (line 265) | const DEFAULT_MODEL: ModelId = 'claude-sonnet-4.5'; FILE: packages/@n8n/ai-workflow-builder.ee/src/multi-agent-workflow-subgraphs.ts function isCoordinationLogEntry (line 64) | function isCoordinationLogEntry( function routeToNode (line 81) | function routeToNode(next: string): string { type MultiAgentSubgraphConfig (line 91) | interface MultiAgentSubgraphConfig { type ParentState (line 109) | type ParentState = typeof ParentGraphState.State; type SubgraphNodeResult (line 115) | interface SubgraphNodeResult { function createSubgraphNodeHandler (line 125) | function createSubgraphNodeHandler( function createCompiledSubgraphExecutor (line 199) | function createCompiledSubgraphExecutor< function createMultiAgentWorkflowWithSubgraphs (line 223) | function createMultiAgentWorkflowWithSubgraphs(config: MultiAgentSubgrap... FILE: packages/@n8n/ai-workflow-builder.ee/src/prompts/agents/builder.prompt.ts type BuilderPromptOptions (line 15) | interface BuilderPromptOptions { constant ROLE (line 22) | const ROLE = constant EXECUTION_SEQUENCE (line 25) | const EXECUTION_SEQUENCE = `Users watch the canvas update in real-time. ... constant EXECUTION_SEQUENCE_WITH_EXAMPLES (line 68) | const EXECUTION_SEQUENCE_WITH_EXAMPLES = `Build incrementally in small b... constant VALIDATION_WITH_INTROSPECTION (line 96) | const VALIDATION_WITH_INTROSPECTION = `Validation: Call validate_structu... function buildExecutionSequence (line 104) | function buildExecutionSequence(includeExamples: boolean, enableIntrospe... constant NODE_CREATION (line 130) | const NODE_CREATION = `Each add_nodes call creates one node: constant USE_DISCOVERED_NODES (line 138) | const USE_DISCOVERED_NODES = ` constant FETCHED_URL_CONTENT (line 152) | const FETCHED_URL_CONTENT = constant AI_CONNECTIONS (line 155) | const AI_CONNECTIONS = `AI capability connections flow from sub-node TO ... constant CONNECTION_TYPES (line 277) | const CONNECTION_TYPES = `Connection types: constant INITIAL_PARAMETERS (line 288) | const INITIAL_PARAMETERS = `Set connection-changing parameters in initia... constant FLOW_CONTROL (line 299) | const FLOW_CONTROL = `Flow control patterns (n8n runs each node once per... constant MULTI_TRIGGER (line 396) | const MULTI_TRIGGER = `If user needs multiple entry points (e.g., "react... constant WORKFLOW_PATTERNS (line 399) | const WORKFLOW_PATTERNS = `Common workflow patterns: constant DATA_REFERENCING (line 419) | const DATA_REFERENCING = `Reference data from previous nodes: constant EXPRESSION_SYNTAX (line 425) | const EXPRESSION_SYNTAX = `n8n field values have two modes: constant TOOL_NODES (line 446) | const TOOL_NODES = `Tool nodes (types ending in "Tool") use $fromAI for ... constant CRITICAL_PARAMETERS (line 458) | const CRITICAL_PARAMETERS = `Parameters to set explicitly (these affect ... constant DATA_TABLE_CONFIGURATION (line 465) | const DATA_TABLE_CONFIGURATION = ` constant COMMON_SETTINGS (line 511) | const COMMON_SETTINGS = `Important node settings: constant CREDENTIAL_SECURITY (line 527) | const CREDENTIAL_SECURITY = `Authentication is handled entirely by n8n's... constant PLACEHOLDER_USAGE (line 537) | const PLACEHOLDER_USAGE = `Use placeholders for user-specific values tha... constant DEICTIC_RESOLUTION (line 557) | const DEICTIC_RESOLUTION = buildDeicticResolutionPrompt({ constant RESOURCE_LOCATOR_DEFAULTS (line 605) | const RESOURCE_LOCATOR_DEFAULTS = `ResourceLocator field configuration f... constant MODEL_CONFIGURATION (line 614) | const MODEL_CONFIGURATION = `Chat model configuration: constant NODE_SETTINGS (line 629) | const NODE_SETTINGS = `Node execution settings (set via nodeSettings in ... constant UNDERSTANDING_CONTEXT (line 666) | const UNDERSTANDING_CONTEXT = `You receive CONVERSATION CONTEXT showing: constant WORKFLOW_CONTEXT_TOOLS (line 684) | const WORKFLOW_CONTEXT_TOOLS = `Tools for understanding and investigatin... constant ANTI_OVERENGINEERING (line 718) | const ANTI_OVERENGINEERING = `Keep implementations minimal and focused o... constant RESPONSE_FORMAT (line 724) | const RESPONSE_FORMAT = `After validation passes, stop and output a brie... constant INSTANCE_URL_PROMPT (line 731) | const INSTANCE_URL_PROMPT = ` constant COMMON_MISTAKES (line 736) | const COMMON_MISTAKES = ` constant EXAMPLE_TOOLS (line 744) | const EXAMPLE_TOOLS = `Use get_node_connection_examples when connecting ... constant DIAGNOSTIC_TOOL (line 756) | const DIAGNOSTIC_TOOL = `REQUIRED: You MUST call the introspect tool at ... function buildRecoveryModeContext (line 773) | function buildRecoveryModeContext(nodeCount: number, nodeNames: string[]... function buildBuilderPrompt (line 787) | function buildBuilderPrompt( FILE: packages/@n8n/ai-workflow-builder.ee/src/prompts/agents/discovery.prompt.ts function formatTechniqueList (line 30) | function formatTechniqueList(): string { function formatExampleCategorizations (line 36) | function formatExampleCategorizations(): string { type DiscoveryPromptOptions (line 42) | interface DiscoveryPromptOptions { constant ROLE (line 47) | const ROLE = `You are a Discovery Agent for n8n AI Workflow Builder. constant N8N_EXECUTION_MODEL (line 51) | const N8N_EXECUTION_MODEL = `n8n executes each node once per input item. constant PROCESS (line 55) | const PROCESS = `1. Search for nodes matching the user's request using s... constant PROCESS_WITH_QUESTIONS (line 59) | const PROCESS_WITH_QUESTIONS = `1. Search for nodes matching the user's ... constant PROCESS_WITH_EXAMPLES (line 64) | const PROCESS_WITH_EXAMPLES = `1. Search for nodes matching the user's r... constant PROCESS_WITH_EXAMPLES_AND_QUESTIONS (line 70) | const PROCESS_WITH_EXAMPLES_AND_QUESTIONS = `1. Search for nodes matchin... constant AI_NODE_SELECTION (line 77) | const AI_NODE_SELECTION = `AI node selection guidance: constant NODE_SELECTION_PATTERNS (line 105) | const NODE_SELECTION_PATTERNS = `Node selection by use case: constant BASELINE_FLOW_CONTROL (line 155) | const BASELINE_FLOW_CONTROL = ` constant FLOW_CONTROL_NODES (line 168) | const FLOW_CONTROL_NODES = `Flow control nodes handle item cardinality, ... constant CONNECTION_PARAMETERS (line 188) | const CONNECTION_PARAMETERS = `A parameter is connection-changing if it ... constant TRIGGER_SELECTION (line 199) | const TRIGGER_SELECTION = `Trigger type selection (choose based on how t... constant CLARIFYING_QUESTIONS (line 219) | const CLARIFYING_QUESTIONS = `You can ask the user clarifying questions ... constant AI_TOOL_PATTERNS (line 269) | const AI_TOOL_PATTERNS = `AI Agent tool connection patterns: constant NATIVE_NODE_PREFERENCE (line 293) | const NATIVE_NODE_PREFERENCE = `Prefer native n8n nodes over Code node b... constant EXPLICIT_SERVICE_MAPPING (line 308) | const EXPLICIT_SERVICE_MAPPING = `When user explicitly requests a servic... constant WEB_FETCH_TOOL (line 319) | const WEB_FETCH_TOOL = `Use web_fetch when: constant KEY_RULES (line 331) | const KEY_RULES = `Output format: nodesFound array with nodeName, versio... function generateToolCallRequirement (line 369) | function generateToolCallRequirement(options: DiscoveryPromptOptions): s... function generateAvailableToolsList (line 382) | function generateAvailableToolsList(options: DiscoveryPromptOptions): st... function selectProcessSection (line 402) | function selectProcessSection(options: DiscoveryPromptOptions): string { function buildDiscoveryPrompt (line 410) | function buildDiscoveryPrompt(options: DiscoveryPromptOptions): string { FILE: packages/@n8n/ai-workflow-builder.ee/src/prompts/agents/planner.prompt.ts constant ROLE (line 15) | const ROLE = `You are a Planner Agent for n8n AI Workflow Builder. constant GOAL (line 18) | const GOAL = `Your audience is often non-technical. They want a quick "y... constant BEST_PRACTICES_TOOL (line 22) | const BEST_PRACTICES_TOOL = `Before writing the plan, use the get_docume... constant WEB_FETCH_TOOL (line 28) | const WEB_FETCH_TOOL = `If the user's request includes a URL, use web_fe... constant RULES (line 37) | const RULES = ` constant OUTPUT_FORMAT (line 67) | const OUTPUT_FORMAT = `Output format: function buildPlannerPrompt (line 73) | function buildPlannerPrompt(options?: { hasDocumentationTool?: boolean }... type PlannerContextOptions (line 84) | interface PlannerContextOptions { function buildPlannerContext (line 98) | function buildPlannerContext(options: PlannerContextOptions): string { FILE: packages/@n8n/ai-workflow-builder.ee/src/prompts/agents/responder.prompt.ts constant RESPONDER_ROLE (line 13) | const RESPONDER_ROLE = `You are a helpful AI assistant for n8n workflow ... constant WORKFLOW_COMPLETION (line 27) | const WORKFLOW_COMPLETION = `When you receive [Internal Context], synthe... constant DEICTIC_RESOLUTION (line 47) | const DEICTIC_RESOLUTION = buildDeicticResolutionPrompt({ constant CONVERSATIONAL_RESPONSES (line 102) | const CONVERSATIONAL_RESPONSES = `- Be friendly and concise constant RESPONSE_STYLE (line 106) | const RESPONSE_STYLE = `- Keep responses focused and not overly long constant DIAGNOSTIC_TOOL (line 116) | const DIAGNOSTIC_TOOL = `REQUIRED: You MUST call the introspect tool onc... type ResponderPromptOptions (line 131) | interface ResponderPromptOptions { constant GUARDRAILS (line 136) | const GUARDRAILS = `Your capabilities are focused on workflow building: constant EXECUTION_ISSUE_HANDLING (line 142) | const EXECUTION_ISSUE_HANDLING = `IMPORTANT: Check the [Internal Context... function buildRecursionErrorWithWorkflowGuidance (line 168) | function buildRecursionErrorWithWorkflowGuidance(nodeCount: number): str... function buildRecursionErrorNoWorkflowGuidance (line 178) | function buildRecursionErrorNoWorkflowGuidance(): string[] { function buildGeneralErrorGuidance (line 188) | function buildGeneralErrorGuidance(): string { function buildDataTableCreationGuidance (line 200) | function buildDataTableCreationGuidance(dataTables: DataTableInfo[]): st... function buildColumnInfo (line 226) | function buildColumnInfo(table: DataTableInfo, isColumnOperation: boolea... function buildResponderPrompt (line 244) | function buildResponderPrompt(options?: ResponderPromptOptions): string { FILE: packages/@n8n/ai-workflow-builder.ee/src/prompts/agents/supervisor.prompt.ts constant SUPERVISOR_ROLE (line 11) | const SUPERVISOR_ROLE = 'You are a Supervisor that routes user requests ... constant AVAILABLE_AGENTS_WITH_ASSISTANT (line 13) | const AVAILABLE_AGENTS_WITH_ASSISTANT = `- discovery: Find n8n nodes for... constant AVAILABLE_AGENTS_WITHOUT_ASSISTANT (line 18) | const AVAILABLE_AGENTS_WITHOUT_ASSISTANT = `- discovery: Find n8n nodes ... constant ROUTING_DECISION_TREE_WITH_ASSISTANT (line 22) | const ROUTING_DECISION_TREE_WITH_ASSISTANT = `1. Is user asking a conver... constant ROUTING_DECISION_TREE_WITHOUT_ASSISTANT (line 67) | const ROUTING_DECISION_TREE_WITHOUT_ASSISTANT = `1. Is user asking a con... constant KEY_DISTINCTION_WITH_ASSISTANT (line 96) | const KEY_DISTINCTION_WITH_ASSISTANT = `RESPONDER vs ASSISTANT: constant KEY_DISTINCTION_WITHOUT_ASSISTANT (line 123) | const KEY_DISTINCTION_WITHOUT_ASSISTANT = `- "What does this workflow do... constant DEICTIC_RESOLUTION (line 130) | const DEICTIC_RESOLUTION = buildDeicticResolutionPrompt({ constant OUTPUT_FORMAT (line 174) | const OUTPUT_FORMAT = `- reasoning: One sentence explaining your routing... constant INSTRUCTION (line 177) | const INSTRUCTION = function buildSupervisorPrompt (line 180) | function buildSupervisorPrompt(options?: { mergeAskBuild?: boolean }): s... FILE: packages/@n8n/ai-workflow-builder.ee/src/prompts/builder/prompt-builder.test.ts type Example (line 278) | interface Example { FILE: packages/@n8n/ai-workflow-builder.ee/src/prompts/builder/prompt-builder.ts function hasContentProperty (line 17) | function hasContentProperty(value: unknown): value is { content: string } { function defaultExampleFormatter (line 30) | function defaultExampleFormatter(example: T): string { function normalizeToTag (line 44) | function normalizeToTag(name: string): string { function formatSection (line 55) | function formatSection( function resolveContent (line 79) | function resolveContent(content: ContentOrFactory): string | null { class PromptBuilder (line 109) | class PromptBuilder { method constructor (line 116) | constructor(options: PromptBuilderOptions = {}) { method section (line 129) | section(name: string, content: ContentOrFactory, options: SectionOptio... method sectionIf (line 149) | sectionIf( method examples (line 175) | examples( method examplesIf (line 197) | examplesIf( method withExamples (line 228) | withExamples(examples: T[], formatter?: (example: T) => string): th... method merge (line 268) | merge(other: PromptBuilder): this { method build (line 282) | build(): string { method buildAsMessageBlocks (line 302) | buildAsMessageBlocks(): MessageBlock[] { method estimateTokens (line 330) | estimateTokens(): number { function prompt (line 357) | function prompt(options?: PromptBuilderOptions): PromptBuilder { FILE: packages/@n8n/ai-workflow-builder.ee/src/prompts/builder/types.ts type SectionFormat (line 7) | type SectionFormat = 'xml' | 'markdown' | 'plain'; type ContentOrFactory (line 14) | type ContentOrFactory = string | (() => string | null | undefined); type SectionOptions (line 19) | interface SectionOptions { type PromptBuilderOptions (line 45) | interface PromptBuilderOptions { type SectionEntry (line 62) | interface SectionEntry { type MessageBlock (line 76) | interface MessageBlock { FILE: packages/@n8n/ai-workflow-builder.ee/src/prompts/chains/categorization.prompt.ts function formatExamplePrompts (line 62) | function formatExamplePrompts(): string { function formatTechniqueList (line 69) | function formatTechniqueList(): string { FILE: packages/@n8n/ai-workflow-builder.ee/src/prompts/chains/parameter-updater/examples/if-node.ts constant IF_NODE_EXAMPLES (line 3) | const IF_NODE_EXAMPLES: NodeTypeExamples = { FILE: packages/@n8n/ai-workflow-builder.ee/src/prompts/chains/parameter-updater/examples/resource-locator.ts constant RESOURCE_LOCATOR_EXAMPLES (line 3) | const RESOURCE_LOCATOR_EXAMPLES: NodeTypeExamples = { FILE: packages/@n8n/ai-workflow-builder.ee/src/prompts/chains/parameter-updater/examples/set-node.ts constant SET_NODE_EXAMPLES (line 3) | const SET_NODE_EXAMPLES: NodeTypeExamples = { FILE: packages/@n8n/ai-workflow-builder.ee/src/prompts/chains/parameter-updater/examples/simple-updates.ts constant SIMPLE_UPDATE_EXAMPLES (line 4) | const SIMPLE_UPDATE_EXAMPLES: NodeTypeExamples = { FILE: packages/@n8n/ai-workflow-builder.ee/src/prompts/chains/parameter-updater/examples/switch-node.ts constant SWITCH_NODE_EXAMPLES (line 3) | const SWITCH_NODE_EXAMPLES: NodeTypeExamples = { FILE: packages/@n8n/ai-workflow-builder.ee/src/prompts/chains/parameter-updater/examples/tool-nodes.ts constant TOOL_NODE_EXAMPLES (line 3) | const TOOL_NODE_EXAMPLES: NodeTypeExamples = { FILE: packages/@n8n/ai-workflow-builder.ee/src/prompts/chains/parameter-updater/guides/embedding-nodes.ts constant EMBEDDING_NODES_GUIDE (line 3) | const EMBEDDING_NODES_GUIDE: NodeTypeGuide = { FILE: packages/@n8n/ai-workflow-builder.ee/src/prompts/chains/parameter-updater/guides/gmail.ts constant GMAIL_GUIDE (line 3) | const GMAIL_GUIDE: NodeTypeGuide = { FILE: packages/@n8n/ai-workflow-builder.ee/src/prompts/chains/parameter-updater/guides/http-request.ts constant HTTP_REQUEST_GUIDE (line 3) | const HTTP_REQUEST_GUIDE: NodeTypeGuide = { FILE: packages/@n8n/ai-workflow-builder.ee/src/prompts/chains/parameter-updater/guides/if-node.ts constant IF_NODE_GUIDE (line 3) | const IF_NODE_GUIDE: NodeTypeGuide = { FILE: packages/@n8n/ai-workflow-builder.ee/src/prompts/chains/parameter-updater/guides/predecessor-output.ts constant PREDECESSOR_OUTPUT_GUIDE (line 10) | const PREDECESSOR_OUTPUT_GUIDE: NodeTypeGuide = { FILE: packages/@n8n/ai-workflow-builder.ee/src/prompts/chains/parameter-updater/guides/resource-locator.ts constant RESOURCE_LOCATOR_GUIDE (line 3) | const RESOURCE_LOCATOR_GUIDE: NodeTypeGuide = { FILE: packages/@n8n/ai-workflow-builder.ee/src/prompts/chains/parameter-updater/guides/set-node.ts constant SET_NODE_GUIDE (line 3) | const SET_NODE_GUIDE: NodeTypeGuide = { FILE: packages/@n8n/ai-workflow-builder.ee/src/prompts/chains/parameter-updater/guides/switch-node.ts constant SWITCH_NODE_GUIDE (line 3) | const SWITCH_NODE_GUIDE: NodeTypeGuide = { FILE: packages/@n8n/ai-workflow-builder.ee/src/prompts/chains/parameter-updater/guides/system-message.ts function hasSystemMessageParameters (line 7) | function hasSystemMessageParameters(nodeDefinition: { constant SYSTEM_MESSAGE_GUIDE (line 36) | const SYSTEM_MESSAGE_GUIDE: NodeTypeGuide = { FILE: packages/@n8n/ai-workflow-builder.ee/src/prompts/chains/parameter-updater/guides/text-fields.ts function hasTextFields (line 6) | function hasTextFields(nodeDefinition: { constant TEXT_FIELDS_GUIDE (line 16) | const TEXT_FIELDS_GUIDE: NodeTypeGuide = { FILE: packages/@n8n/ai-workflow-builder.ee/src/prompts/chains/parameter-updater/guides/tool-nodes.ts constant TOOL_NODES_GUIDE (line 3) | const TOOL_NODES_GUIDE: NodeTypeGuide = { FILE: packages/@n8n/ai-workflow-builder.ee/src/prompts/chains/parameter-updater/parameter-updater.prompt.ts constant CORE_INSTRUCTIONS (line 6) | const CORE_INSTRUCTIONS = `You are an expert n8n workflow architect who ... constant EXPRESSION_RULES (line 32) | const EXPRESSION_RULES = ` constant COMMON_PATTERNS (line 44) | const COMMON_PATTERNS = ` constant OUTPUT_FORMAT (line 54) | const OUTPUT_FORMAT = ` FILE: packages/@n8n/ai-workflow-builder.ee/src/prompts/chains/parameter-updater/registry.ts function matchesPattern (line 82) | function matchesPattern(nodeType: string, pattern: NodeTypePattern): boo... function getMatchingGuides (line 117) | function getMatchingGuides(context: PromptContext): NodeTypeGuide[] { function getMatchingExamples (line 140) | function getMatchingExamples(context: PromptContext): NodeTypeExamples[] { FILE: packages/@n8n/ai-workflow-builder.ee/src/prompts/chains/parameter-updater/types.ts type NodeTypePattern (line 17) | type NodeTypePattern = string; type PromptContext (line 22) | interface PromptContext { type NodeTypeGuide (line 36) | interface NodeTypeGuide { type NodeTypeExamples (line 51) | interface NodeTypeExamples { FILE: packages/@n8n/ai-workflow-builder.ee/src/prompts/chains/parameter-updater/utils.ts function hasResourceLocatorParameters (line 10) | function hasResourceLocatorParameters(nodeDefinition: INodeTypeDescripti... FILE: packages/@n8n/ai-workflow-builder.ee/src/prompts/shared/deictic-resolution.ts type DeicticExamples (line 17) | interface DeicticExamples { function hasItems (line 44) | function hasItems(arr: string[] | undefined): boolean { function formatExamples (line 49) | function formatExamples(examples: string[]): string[] { function formatBulletList (line 54) | function formatBulletList(examples: string[]): string[] { function buildCoreTiers (line 59) | function buildCoreTiers(examples: DeicticExamples): string[] { function buildPositionalReferencesSection (line 80) | function buildPositionalReferencesSection(examples: DeicticExamples): st... function buildExplicitNameMentionsSection (line 96) | function buildExplicitNameMentionsSection(examples: DeicticExamples): st... function buildAttributeBasedReferencesSection (line 111) | function buildAttributeBasedReferencesSection(examples: DeicticExamples)... function buildWorkflowFallbackSection (line 129) | function buildWorkflowFallbackSection(examples: DeicticExamples): string... function buildDualReferencesSection (line 146) | function buildDualReferencesSection(examples: DeicticExamples): string[] { function buildDisambiguationAndNegation (line 160) | function buildDisambiguationAndNegation(): string[] { function buildExampleSections (line 176) | function buildExampleSections(examples: DeicticExamples): string[] { function buildDeicticResolutionPrompt (line 212) | function buildDeicticResolutionPrompt(examples: DeicticExamples): string { FILE: packages/@n8n/ai-workflow-builder.ee/src/prompts/shared/node-recommendations/utils/format-recommendation.ts function formatRecommendation (line 7) | function formatRecommendation(rec: NodeRecommendation): string { FILE: packages/@n8n/ai-workflow-builder.ee/src/session-manager.service.ts class SessionManagerService (line 17) | class SessionManagerService { method constructor (line 36) | constructor( method usesPersistence (line 54) | get usesPersistence(): boolean { method updateNodeTypes (line 62) | updateNodeTypes(nodeTypes: INodeTypeDescription[]) { method generateThreadId (line 72) | static generateThreadId( method getCheckpointer (line 83) | getCheckpointer(): MemorySaver { method setPendingHitl (line 87) | setPendingHitl(threadId: string, value: HITLInterruptValue, triggering... method clearPendingHitl (line 96) | clearPendingHitl(threadId: string) { method getAndClearPendingHitl (line 104) | getAndClearPendingHitl( method getPendingHitl (line 118) | getPendingHitl(threadId: string): HITLInterruptValue | undefined { method formatPendingHitlMessage (line 132) | private formatPendingHitlMessage(hitl: HITLInterruptValue): Record { method clearSession (line 378) | async clearSession(threadId: string): Promise { method clearAllSessions (line 427) | async clearAllSessions(workflowId: string, userId: string): Promise; type DiscoverySubgraphConfig (line 242) | interface DiscoverySubgraphConfig { class DiscoverySubgraph (line 252) | class DiscoverySubgraph extends BaseSubgraph< method create (line 275) | create(config: DiscoverySubgraphConfig) { method callAgent (line 389) | private async callAgent(state: typeof DiscoverySubgraphState.State) { method plannerNode (line 408) | private async plannerNode( method shouldPlan (line 452) | private shouldPlan(state: typeof DiscoverySubgraphState.State): 'plann... method shouldLoopPlanner (line 460) | private shouldLoopPlanner( method formatOutput (line 507) | private formatOutput(state: typeof DiscoverySubgraphState.State) { method shouldContinue (line 672) | private shouldContinue(state: typeof DiscoverySubgraphState.State) { method repromptForToolCall (line 722) | private repromptForToolCall(state: typeof DiscoverySubgraphState.State) { method transformInput (line 734) | transformInput(parentState: typeof ParentGraphState.State) { method transformOutput (line 782) | transformOutput( FILE: packages/@n8n/ai-workflow-builder.ee/src/subgraphs/subgraph-interface.ts type StateRecord (line 1) | type StateRecord = Record; type InvokeConfig (line 3) | interface InvokeConfig { type ISubgraph (line 7) | interface ISubgraph< FILE: packages/@n8n/ai-workflow-builder.ee/src/subgraphs/test/integration/discovery-subgraph.integration.test.ts function hasExpectedNodes (line 90) | function hasExpectedNodes( function calculateNodeFrequency (line 103) | function calculateNodeFrequency( function invokeDiscovery (line 152) | async function invokeDiscovery( FILE: packages/@n8n/ai-workflow-builder.ee/src/subgraphs/test/integration/plan-mode-discovery.integration.test.ts function nextThreadId (line 28) | function nextThreadId() { type InterruptInfo (line 32) | interface InterruptInfo { function invokeAndGetInterrupt (line 44) | async function invokeAndGetInterrupt( function resumeWithValue (line 66) | async function resumeWithValue( function createPlanModeGraph (line 112) | function createPlanModeGraph() { function makePlanInput (line 122) | function makePlanInput(userRequest: string) { FILE: packages/@n8n/ai-workflow-builder.ee/src/subgraphs/test/integration/question-quality.integration.test.ts function nextThreadId (line 31) | function nextThreadId() { type QuestionTestCase (line 39) | interface QuestionTestCase { type QuestionData (line 191) | interface QuestionData { type TestResult (line 198) | interface TestResult { function checkQuestionQuality (line 210) | function checkQuestionQuality( function findKeywordHits (line 312) | function findKeywordHits(questions: QuestionData[], keywords?: string[])... function createGraph (line 354) | function createGraph() { FILE: packages/@n8n/ai-workflow-builder.ee/src/test/ai-workflow-builder-agent.service.test.ts type Messages (line 18) | type Messages = BaseMessage[] | BaseMessage; type StateDefinition (line 19) | type StateDefinition = Record; FILE: packages/@n8n/ai-workflow-builder.ee/src/test/checkpoint-persistence.test.ts function getCheckpointMessages (line 40) | async function getCheckpointMessages( FILE: packages/@n8n/ai-workflow-builder.ee/src/test/session-manager.service.test.ts function mockCheckpointWithMessages (line 1006) | function mockCheckpointWithMessages(msgs: Array>) { FILE: packages/@n8n/ai-workflow-builder.ee/src/test/workflow-state.test.ts type ReducerFn (line 64) | type ReducerFn = ( type ReducerFn (line 117) | type ReducerFn = (x: string[], y: string[] | undefined | null) => string[]; FILE: packages/@n8n/ai-workflow-builder.ee/src/tools/add-node.tool.ts function createNode (line 85) | function createNode( function buildResponseMessage (line 117) | function buildResponseMessage(addedNode: AddedNode, nodeTypes: INodeType... function getCustomNodeTitle (line 123) | function getCustomNodeTitle( function getAddNodeToolBase (line 138) | function getAddNodeToolBase(nodeTypes: INodeTypeDescription[]): BuilderT... function createAddNodeTool (line 149) | function createAddNodeTool(nodeTypes: INodeTypeDescription[]): BuilderTo... FILE: packages/@n8n/ai-workflow-builder.ee/src/tools/best-practices/chatbot.ts class ChatbotBestPractices (line 4) | class ChatbotBestPractices implements BestPracticesDocument { method getDocumentation (line 114) | getDocumentation(): string { FILE: packages/@n8n/ai-workflow-builder.ee/src/tools/best-practices/content-generation.ts class ContentGenerationBestPractices (line 4) | class ContentGenerationBestPractices implements BestPracticesDocument { method getDocumentation (line 111) | getDocumentation(): string { FILE: packages/@n8n/ai-workflow-builder.ee/src/tools/best-practices/data-analysis.ts class DataAnalysisBestPractices (line 4) | class DataAnalysisBestPractices implements BestPracticesDocument { method getDocumentation (line 363) | getDocumentation(): string { FILE: packages/@n8n/ai-workflow-builder.ee/src/tools/best-practices/data-extraction.ts class DataExtractionBestPractices (line 4) | class DataExtractionBestPractices implements BestPracticesDocument { method getDocumentation (line 118) | getDocumentation(): string { FILE: packages/@n8n/ai-workflow-builder.ee/src/tools/best-practices/data-persistence.ts class DataPersistenceBestPractices (line 4) | class DataPersistenceBestPractices implements BestPracticesDocument { method getDocumentation (line 193) | getDocumentation(): string { FILE: packages/@n8n/ai-workflow-builder.ee/src/tools/best-practices/data-transformation.ts class DataTransformationBestPractices (line 4) | class DataTransformationBestPractices implements BestPracticesDocument { method getDocumentation (line 142) | getDocumentation(): string { FILE: packages/@n8n/ai-workflow-builder.ee/src/tools/best-practices/document-processing.ts class DocumentProcessingBestPractices (line 4) | class DocumentProcessingBestPractices implements BestPracticesDocument { method getDocumentation (line 328) | getDocumentation(): string { FILE: packages/@n8n/ai-workflow-builder.ee/src/tools/best-practices/enrichment.ts class EnrichmentBestPractices (line 4) | class EnrichmentBestPractices implements BestPracticesDocument { method getDocumentation (line 267) | getDocumentation(): string { FILE: packages/@n8n/ai-workflow-builder.ee/src/tools/best-practices/form-input.ts class FormInputBestPractices (line 4) | class FormInputBestPractices implements BestPracticesDocument { method getDocumentation (line 169) | getDocumentation(): string { FILE: packages/@n8n/ai-workflow-builder.ee/src/tools/best-practices/human-in-the-loop.ts class HumanInTheLoopBestPractices (line 4) | class HumanInTheLoopBestPractices implements BestPracticesDocument { method getDocumentation (line 264) | getDocumentation(): string { FILE: packages/@n8n/ai-workflow-builder.ee/src/tools/best-practices/knowledge-base.ts class KnowledgeBaseBestPractices (line 4) | class KnowledgeBaseBestPractices implements BestPracticesDocument { method getDocumentation (line 264) | getDocumentation(): string { FILE: packages/@n8n/ai-workflow-builder.ee/src/tools/best-practices/monitoring.ts class MonitoringBestPractices (line 4) | class MonitoringBestPractices implements BestPracticesDocument { method getDocumentation (line 167) | getDocumentation(): string { FILE: packages/@n8n/ai-workflow-builder.ee/src/tools/best-practices/notification.ts class NotificationBestPractices (line 4) | class NotificationBestPractices implements BestPracticesDocument { method getDocumentation (line 131) | getDocumentation(): string { FILE: packages/@n8n/ai-workflow-builder.ee/src/tools/best-practices/scheduling.ts class SchedulingBestPractices (line 4) | class SchedulingBestPractices implements BestPracticesDocument { method getDocumentation (line 148) | getDocumentation(): string { FILE: packages/@n8n/ai-workflow-builder.ee/src/tools/best-practices/scraping-and-research.ts class ScrapingAndResearchBestPractices (line 4) | class ScrapingAndResearchBestPractices implements BestPracticesDocument { method getDocumentation (line 154) | getDocumentation(): string { FILE: packages/@n8n/ai-workflow-builder.ee/src/tools/best-practices/triage.ts class TriageBestPractices (line 4) | class TriageBestPractices implements BestPracticesDocument { method getDocumentation (line 145) | getDocumentation(): string { FILE: packages/@n8n/ai-workflow-builder.ee/src/tools/builder-tools.ts function getBuilderToolsForDisplay (line 37) | function getBuilderToolsForDisplay({ FILE: packages/@n8n/ai-workflow-builder.ee/src/tools/connect-nodes.tool.ts constant CONNECT_NODES_TOOL (line 50) | const CONNECT_NODES_TOOL: BuilderToolBase = { function createConnectNodesTool (line 58) | function createConnectNodesTool( FILE: packages/@n8n/ai-workflow-builder.ee/src/tools/engines/node-search-engine.ts constant NODE_SEARCH_KEYS (line 11) | const NODE_SEARCH_KEYS = [ constant SCORE_WEIGHTS (line 21) | const SCORE_WEIGHTS = { function getLatestVersion (line 26) | function getLatestVersion(version: number | number[]): number { function dedupeNodes (line 30) | function dedupeNodes(nodes: INodeTypeDescription[]): INodeTypeDescriptio... class NodeSearchEngine (line 54) | class NodeSearchEngine { method constructor (line 56) | constructor(nodeTypes: INodeTypeDescription[]) { method searchByName (line 67) | searchByName(query: string, limit: number = 20): NodeSearchResult[] { method searchByConnectionType (line 97) | searchByConnectionType( method formatResult (line 158) | formatResult(result: NodeSearchResult): string { method getConnectionScore (line 175) | private getConnectionScore( method isAiConnectionType (line 201) | static isAiConnectionType(connectionType: string): boolean { method getAiConnectionTypes (line 209) | static getAiConnectionTypes(): NodeConnectionType[] { FILE: packages/@n8n/ai-workflow-builder.ee/src/tools/get-documentation.tool.ts function formatBestPractices (line 60) | function formatBestPractices(techniques: WorkflowTechniqueType[]): string { function formatCategory (line 81) | function formatCategory(category: RecommendationCategoryType, content: s... function formatNodeRecommendations (line 88) | function formatNodeRecommendations(categories: RecommendationCategoryTyp... constant GET_DOCUMENTATION_TOOL (line 105) | const GET_DOCUMENTATION_TOOL: BuilderToolBase = { function createGetDocumentationTool (line 113) | function createGetDocumentationTool() { FILE: packages/@n8n/ai-workflow-builder.ee/src/tools/get-execution-logs.tool.ts constant DISPLAY_TITLE (line 14) | const DISPLAY_TITLE = 'Getting execution logs'; function formatExecutionLogs (line 26) | function formatExecutionLogs( constant GET_EXECUTION_LOGS_TOOL (line 72) | const GET_EXECUTION_LOGS_TOOL: BuilderToolBase = { function createGetExecutionLogsTool (line 80) | function createGetExecutionLogsTool(logger?: Logger): BuilderTool { FILE: packages/@n8n/ai-workflow-builder.ee/src/tools/get-execution-schema.tool.ts constant DISPLAY_TITLE (line 13) | const DISPLAY_TITLE = 'Getting execution schema'; function formatExecutionSchema (line 25) | function formatExecutionSchema( constant GET_EXECUTION_SCHEMA_TOOL (line 44) | const GET_EXECUTION_SCHEMA_TOOL: BuilderToolBase = { function createGetExecutionSchemaTool (line 52) | function createGetExecutionSchemaTool(logger?: Logger): BuilderTool { FILE: packages/@n8n/ai-workflow-builder.ee/src/tools/get-expression-data-mapping.tool.ts constant DISPLAY_TITLE (line 14) | const DISPLAY_TITLE = 'Getting expression data mapping'; function formatExpressionValues (line 26) | function formatExpressionValues( constant GET_EXPRESSION_DATA_MAPPING_TOOL (line 51) | const GET_EXPRESSION_DATA_MAPPING_TOOL: BuilderToolBase = { function createGetExpressionDataMappingTool (line 59) | function createGetExpressionDataMappingTool(logger?: Logger): BuilderTool { FILE: packages/@n8n/ai-workflow-builder.ee/src/tools/get-node-context.tool.ts constant DISPLAY_TITLE (line 16) | const DISPLAY_TITLE = 'Getting node context'; function isRecord (line 21) | function isRecord(value: unknown): value is Record { function getNodeRunData (line 28) | function getNodeRunData( type GetNodeContextOutput (line 53) | interface GetNodeContextOutput { type NodeClassification (line 66) | type NodeClassification = 'trigger' | 'regular' | 'ai_parent' | 'ai_subn... function classifyNode (line 71) | function classifyNode( function getParentConnections (line 97) | function getParentConnections( function getChildConnections (line 123) | function getChildConnections( function buildNodeContext (line 149) | function buildNodeContext( constant GET_NODE_CONTEXT_TOOL (line 245) | const GET_NODE_CONTEXT_TOOL: BuilderToolBase = { function createGetNodeContextTool (line 253) | function createGetNodeContextTool(logger?: Logger): BuilderTool { FILE: packages/@n8n/ai-workflow-builder.ee/src/tools/get-node-examples.tool.ts type NodeExampleType (line 47) | type NodeExampleType = 'configuration' | 'connections'; constant TOOL_CONFIG (line 50) | const TOOL_CONFIG: Record): number { function buildSummaryFormat (line 79) | function buildSummaryFormat( function buildMermaidFormat (line 114) | function buildMermaidFormat( constant GET_WORKFLOW_OVERVIEW_TOOL (line 145) | const GET_WORKFLOW_OVERVIEW_TOOL: BuilderToolBase = { function createGetWorkflowOverviewTool (line 153) | function createGetWorkflowOverviewTool(logger?: Logger): BuilderTool { FILE: packages/@n8n/ai-workflow-builder.ee/src/tools/helpers/progress.ts function createProgressReporter (line 19) | function createProgressReporter( function reportStart (line 144) | function reportStart(reporter: ProgressReporter, input: T): void { function reportProgress (line 151) | function reportProgress( function reportComplete (line 162) | function reportComplete(reporter: ProgressReporter, output: T): void { function reportError (line 169) | function reportError(reporter: ProgressReporter, error: ToolError): void { function createBatchProgressReporter (line 176) | function createBatchProgressReporter( FILE: packages/@n8n/ai-workflow-builder.ee/src/tools/helpers/response.ts function createSuccessResponse (line 12) | function createSuccessResponse( function createErrorResponse (line 39) | function createErrorResponse( FILE: packages/@n8n/ai-workflow-builder.ee/src/tools/helpers/state.ts function getCurrentWorkflow (line 11) | function getCurrentWorkflow(state: typeof WorkflowState.State): SimpleWo... function getWorkflowState (line 15) | function getWorkflowState(): typeof WorkflowState.State { function getCurrentWorkflowFromTaskInput (line 22) | function getCurrentWorkflowFromTaskInput(): SimpleWorkflow { function getEffectiveWorkflow (line 35) | function getEffectiveWorkflow(): SimpleWorkflow { function updateWorkflowConnections (line 51) | function updateWorkflowConnections( function addNodeToWorkflow (line 63) | function addNodeToWorkflow(node: INode): Partial; constant SEARCH_LIMIT (line 41) | const SEARCH_LIMIT = 5; function processQuery (line 46) | function processQuery( function buildResponseMessage (line 91) | function buildResponseMessage( constant NODE_SEARCH_TOOL (line 113) | const NODE_SEARCH_TOOL: BuilderToolBase = { function createNodeSearchTool (line 121) | function createNodeSearchTool(nodeTypes: INodeTypeDescription[]) { FILE: packages/@n8n/ai-workflow-builder.ee/src/tools/remove-connection.tool.ts constant REMOVE_CONNECTION_TOOL (line 43) | const REMOVE_CONNECTION_TOOL: BuilderToolBase = { function buildResponseMessage (line 51) | function buildResponseMessage( function createRemoveConnectionTool (line 72) | function createRemoveConnectionTool(logger?: Logger): BuilderTool { FILE: packages/@n8n/ai-workflow-builder.ee/src/tools/remove-node.tool.ts function countNodeConnections (line 25) | function countNodeConnections(nodeId: string, connections: IConnections)... function buildResponseMessage (line 60) | function buildResponseMessage( constant REMOVE_NODE_TOOL (line 74) | const REMOVE_NODE_TOOL: BuilderToolBase = { function createRemoveNodeTool (line 82) | function createRemoveNodeTool(_logger?: Logger): BuilderTool { FILE: packages/@n8n/ai-workflow-builder.ee/src/tools/rename-node.tool.ts constant RENAME_NODE_TOOL (line 22) | const RENAME_NODE_TOOL: BuilderToolBase = { function buildResponseMessage (line 30) | function buildResponseMessage(oldName: string, newName: string): string { function createRenameNodeTool (line 37) | function createRenameNodeTool(logger?: Logger): BuilderTool { FILE: packages/@n8n/ai-workflow-builder.ee/src/tools/submit-questions.tool.ts type PlannerQuestionInput (line 28) | type PlannerQuestionInput = z.infer; type SubmitQuestionsInput (line 29) | type SubmitQuestionsInput = z.infer; function formatAnswersForDiscovery (line 31) | function formatAnswersForDiscovery( FILE: packages/@n8n/ai-workflow-builder.ee/src/tools/test/get-documentation.tool.test.ts function getMessageContent (line 12) | function getMessageContent(command: Command): string { FILE: packages/@n8n/ai-workflow-builder.ee/src/tools/test/get-node-examples.tool.test.ts type ParsedToolContentWithState (line 347) | interface ParsedToolContentWithState extends ParsedToolContent { FILE: packages/@n8n/ai-workflow-builder.ee/src/tools/test/introspect.tool.test.ts function getResponseContent (line 9) | function getResponseContent(result: unknown): string { FILE: packages/@n8n/ai-workflow-builder.ee/src/tools/test/web-fetch.tool.test.ts function getMessageContent (line 38) | function getMessageContent(command: Command): string { function getStateUpdates (line 43) | function getStateUpdates(command: Command): Record { function createMockSecurityManager (line 49) | function createMockSecurityManager( FILE: packages/@n8n/ai-workflow-builder.ee/src/tools/update-node-parameters.tool.ts function isHiddenByCondition (line 57) | function isHiddenByCondition( function isINodePropertyOptions (line 81) | function isINodePropertyOptions(item: unknown): item is INodePropertyOpt... function isINodePropertyCollection (line 95) | function isINodePropertyCollection(item: unknown): item is INodeProperty... function isINodeProperties (line 106) | function isINodeProperties(item: unknown): item is INodeProperties { function isItemHiddenForContext (line 120) | function isItemHiddenForContext( function filterPropertyRecursively (line 149) | function filterPropertyRecursively( function isPropertyVisibleForContext (line 217) | function isPropertyVisibleForContext( function filterPropertiesForContext (line 267) | function filterPropertiesForContext( function buildSuccessMessage (line 287) | function buildSuccessMessage(node: INode, _changes: string[]): string { function processParameterUpdates (line 294) | async function processParameterUpdates( constant UPDATING_NODE_PARAMETER_TOOL (line 376) | const UPDATING_NODE_PARAMETER_TOOL: BuilderToolBase = { function getCustomNodeTitle (line 381) | function getCustomNodeTitle(input: Record, nodes?: INod... function createUpdateNodeParametersTool (line 395) | function createUpdateNodeParametersTool( FILE: packages/@n8n/ai-workflow-builder.ee/src/tools/utils/allowed-domains.ts constant AI_DOCS (line 5) | const AI_DOCS = [ constant CLOUD_DOCS (line 24) | const CLOUD_DOCS = [ constant COMMUNICATION_DOCS (line 36) | const COMMUNICATION_DOCS = [ constant CRM_DOCS (line 47) | const CRM_DOCS = [ constant DATABASE_DOCS (line 64) | const DATABASE_DOCS = [ constant ECOMMERCE_DOCS (line 78) | const ECOMMERCE_DOCS = [ constant FRAMEWORK_DOCS (line 89) | const FRAMEWORK_DOCS = [ constant SUPPORT_DOCS (line 101) | const SUPPORT_DOCS = [ constant PRODUCTIVITY_DOCS (line 114) | const PRODUCTIVITY_DOCS = [ constant SOCIAL_DOCS (line 129) | const SOCIAL_DOCS = [ constant CMS_DOCS (line 138) | const CMS_DOCS = [ constant DEVTOOLS_DOCS (line 149) | const DEVTOOLS_DOCS = [ constant STORAGE_DOCS (line 157) | const STORAGE_DOCS = [ constant ANALYTICS_DOCS (line 164) | const ANALYTICS_DOCS = [ constant OTHER_DOCS (line 176) | const OTHER_DOCS = [ constant ALLOWED_DOMAINS (line 199) | const ALLOWED_DOMAINS: ReadonlySet = new Set([ function isAllowedDomain (line 222) | function isAllowedDomain(host: string): boolean { FILE: packages/@n8n/ai-workflow-builder.ee/src/tools/utils/connection-parameters.utils.ts constant CONNECTION_AFFECTING_PARAMETERS (line 7) | const CONNECTION_AFFECTING_PARAMETERS = new Set([ function validateConnectionParameters (line 28) | function validateConnectionParameters(parameters: INodeParameters): { function extractConnectionParameters (line 58) | function extractConnectionParameters(parameters: INodeParameters): INode... FILE: packages/@n8n/ai-workflow-builder.ee/src/tools/utils/connection.utils.ts function extractConnectionTypesFromExpression (line 22) | function extractConnectionTypesFromExpression(expression: string): NodeC... function validateConnection (line 68) | function validateConnection( function createConnection (line 132) | function createConnection( function removeConnection (line 189) | function removeConnection( function getNodeConnections (line 246) | function getNodeConnections( function formatConnectionMessage (line 306) | function formatConnectionMessage( function getNodeOutputTypes (line 323) | function getNodeOutputTypes(nodeType: INodeTypeDescription): NodeConnect... function getNodeInputTypes (line 353) | function getNodeInputTypes(nodeType: INodeTypeDescription, node?: INode)... function inferConnectionType (line 401) | function inferConnectionType( FILE: packages/@n8n/ai-workflow-builder.ee/src/tools/utils/mermaid.utils.ts type MermaidWorkflowInput (line 13) | interface MermaidWorkflowInput { type MermaidOptions (line 24) | interface MermaidOptions { type MermaidResult (line 40) | interface MermaidResult { constant DEFAULT_MERMAID_OPTIONS (line 45) | const DEFAULT_MERMAID_OPTIONS: Required = { constant CONDITIONAL_NODE_TYPES (line 54) | const CONDITIONAL_NODE_TYPES = new Set([ constant AGENT_NODE_TYPE (line 61) | const AGENT_NODE_TYPE = '@n8n/n8n-nodes-langchain.agent'; constant STICKY_NOTE_TYPE (line 62) | const STICKY_NOTE_TYPE = 'n8n-nodes-base.stickyNote'; type WorkflowNode (line 64) | type WorkflowNode = WorkflowMetadata['workflow']['nodes'][number]; type WorkflowConnections (line 65) | type WorkflowConnections = WorkflowMetadata['workflow']['connections']; constant DEFAULT_NODE_WIDTH (line 68) | const DEFAULT_NODE_WIDTH = 100; constant DEFAULT_NODE_HEIGHT (line 69) | const DEFAULT_NODE_HEIGHT = 100; constant DEFAULT_STICKY_WIDTH (line 72) | const DEFAULT_STICKY_WIDTH = 150; constant DEFAULT_STICKY_HEIGHT (line 73) | const DEFAULT_STICKY_HEIGHT = 80; type StickyBounds (line 78) | interface StickyBounds { type StickyOverlapResult (line 90) | interface StickyOverlapResult { type AgentSubgraph (line 99) | interface AgentSubgraph { class MermaidBuilder (line 108) | class MermaidBuilder { method constructor (line 124) | constructor( method build (line 163) | build(): { lines: string[]; nodeConfigurations: NodeConfigurationsMap } { method createNodeIdMap (line 189) | private createNodeIdMap(): Map { method categorizeStickyOverlaps (line 197) | private categorizeStickyOverlaps(stickyNotes: WorkflowNode[]): StickyO... method extractStickyBounds (line 227) | private extractStickyBounds(node: WorkflowNode): StickyBounds { method isNodeWithinStickyBounds (line 240) | private isNodeWithinStickyBounds(nodeX: number, nodeY: number, sticky:... method findAgentSubgraphs (line 251) | private findAgentSubgraphs(nodesInStickySubgraphs: Set): Agent... method findNestedStickySubgraphs (line 279) | private findNestedStickySubgraphs( method buildReverseConnectionMap (line 298) | private buildReverseConnectionMap(): Map< method getConnectionTargets (line 318) | private getConnectionTargets( method getMainConnectionTargets (line 333) | private getMainConnectionTargets(nodeConns: WorkflowConnections[string... method findStartNodes (line 340) | private findStartNodes(): WorkflowNode[] { method formatStickyComment (line 357) | private formatStickyComment(content: string): string { method getNextSubgraphId (line 361) | private getNextSubgraphId(): string { method buildNodeDefinition (line 366) | private buildNodeDefinition(node: WorkflowNode, id: string): string { method buildNodeCommentLines (line 375) | private buildNodeCommentLines(node: WorkflowNode): string[] { method buildNodeTypePart (line 405) | private buildNodeTypePart(node: WorkflowNode): string { method buildSingleNodeLines (line 416) | private buildSingleNodeLines(node: WorkflowNode, id: string): string[] { method defineNodeIfNeeded (line 422) | private defineNodeIfNeeded(nodeName: string): string { method defineTargetAndConnect (line 446) | private defineTargetAndConnect(sourceId: string, targetName: string, c... method addConnection (line 468) | private addConnection(sourceId: string, targetDef: string, connType: s... method buildMainFlow (line 475) | private buildMainFlow(): void { method buildStickySubgraphs (line 522) | private buildStickySubgraphs(): void { method getNestedStickyIds (line 532) | private getNestedStickyIds(): Set { method buildSingleStickySubgraph (line 542) | private buildSingleStickySubgraph(sticky: StickyBounds, nodeNames: str... method findSubgraphStartNodes (line 573) | private findSubgraphStartNodes( method buildSubgraphInternalConnections (line 596) | private buildSubgraphInternalConnections( method buildAgentSubgraphs (line 641) | private buildAgentSubgraphs(): void { method buildSingleAgentSubgraph (line 647) | private buildSingleAgentSubgraph(agentSubgraph: AgentSubgraph): void { method defineAgentConnectedNode (line 674) | private defineAgentConnectedNode(nodeName: string): void { method buildNestedStickySubgraph (line 687) | private buildNestedStickySubgraph(sticky: StickyBounds, nodeNames: str... method buildAgentNodeConnections (line 705) | private buildAgentNodeConnections( method markAgentSubgraphNodesDefined (line 746) | private markAgentSubgraphNodesDefined( method buildConnectionsToSubgraphs (line 764) | private buildConnectionsToSubgraphs(): void { method buildConnectionsFromSubgraphs (line 783) | private buildConnectionsFromSubgraphs(): void { method continueTraversalFromNodes (line 806) | private continueTraversalFromNodes(nodesToProcess: string[]): void { method buildInterSubgraphConnections (line 839) | private buildInterSubgraphConnections(): void { method isInNestedSticky (line 873) | private isInNestedSticky(nodeName: string, nestedStickyIds: Set):... function mermaidStringify (line 912) | function mermaidStringify( function processWorkflowExamples (line 929) | function processWorkflowExamples( FILE: packages/@n8n/ai-workflow-builder.ee/src/tools/utils/node-configuration.utils.ts type NodeForConfiguration (line 9) | interface NodeForConfiguration { function collectSingleNodeConfiguration (line 19) | function collectSingleNodeConfiguration( function addNodeConfigurationToMap (line 38) | function addNodeConfigurationToMap( function collectNodeConfigurationsFromWorkflows (line 53) | function collectNodeConfigurationsFromWorkflows( function getNodeConfigurationsFromTemplates (line 82) | function getNodeConfigurationsFromTemplates( function formatNodeConfigurationExamples (line 108) | function formatNodeConfigurationExamples( FILE: packages/@n8n/ai-workflow-builder.ee/src/tools/utils/node-creation.utils.ts type NodeSettings (line 13) | interface NodeSettings { function generateUniqueName (line 24) | function generateUniqueName(baseName: string, existingNodes: INode[]): s... function getLatestVersion (line 41) | function getLatestVersion(nodeType: INodeTypeDescription): number { function generateNodeId (line 54) | function generateNodeId(): string { function createNodeInstance (line 69) | function createNodeInstance( function mergeWithDefaults (line 106) | function mergeWithDefaults( FILE: packages/@n8n/ai-workflow-builder.ee/src/tools/utils/node-positioning.utils.ts constant POSITIONING_CONFIG (line 8) | const POSITIONING_CONFIG = { function calculateNodePosition (line 25) | function calculateNodePosition( function categorizeNodes (line 55) | function categorizeNodes( function calculateXPosition (line 81) | function calculateXPosition(isSubNodeType: boolean, mainNodes: INode[], ... function calculateYPosition (line 111) | function calculateYPosition( function getNodesAtPosition (line 139) | function getNodesAtPosition( function calculateConnectedNodePosition (line 159) | function calculateConnectedNodePosition( FILE: packages/@n8n/ai-workflow-builder.ee/src/tools/utils/parameter-update.utils.ts function extractNodeParameters (line 6) | function extractNodeParameters(node: INode): INodeParameters { function mergeParameters (line 14) | function mergeParameters( function deepMerge (line 25) | function deepMerge(target: INodeParameters, source: INodeParameters): IN... function isObject (line 56) | function isObject(item: unknown): item is Record { function updateNodeWithParameters (line 63) | function updateNodeWithParameters(node: INode, newParameters: INodeParam... function formatChangesForPrompt (line 73) | function formatChangesForPrompt(changes: string[]): string { function fixExpressionPrefixes (line 81) | function fixExpressionPrefixes(value: T): T { FILE: packages/@n8n/ai-workflow-builder.ee/src/tools/utils/test/web-fetch.utils.test.ts type DnsCallback (line 21) | type DnsCallback = (error: Error | null, addresses: string[]) => void; function mockDnsResolve (line 24) | function mockDnsResolve(v4: string[] = [], v6: string[] = []) { function mockDnsResolveError (line 29) | function mockDnsResolveError() { FILE: packages/@n8n/ai-workflow-builder.ee/src/tools/utils/web-fetch-security.ts type WebFetchSecurityManager (line 13) | interface WebFetchSecurityManager { type WebFetchSecurityStateUpdates (line 22) | interface WebFetchSecurityStateUpdates { type MutableWebFetchState (line 28) | interface MutableWebFetchState { function createSecurityManager (line 35) | function createSecurityManager(config: { type WebFetchSecurityManagerState (line 87) | interface WebFetchSecurityManagerState { type SecurityManagerFactoryOptions (line 98) | interface SecurityManagerFactoryOptions { function createFactory (line 111) | function createFactory(options: SecurityManagerFactoryOptions): () => We... function createLangGraphSecurityManagerFactory (line 144) | function createLangGraphSecurityManagerFactory(): () => WebFetchSecurity... function createMutableSecurityManagerFactory (line 163) | function createMutableSecurityManagerFactory( FILE: packages/@n8n/ai-workflow-builder.ee/src/tools/utils/web-fetch.utils.ts function normalizeUrlForComparison (line 21) | function normalizeUrlForComparison(url: string): string { function getMessageText (line 28) | function getMessageText(msg: BaseMessage): string { function isUrlInUserMessages (line 46) | function isUrlInUserMessages(url: string, messages: BaseMessage[]): bool... type FetchResult (line 65) | interface FetchResult { type ExtractedContent (line 74) | interface ExtractedContent { function normalizeHost (line 88) | function normalizeHost(url: string): string { constant PRIVATE_IPV4_RANGES (line 97) | const PRIVATE_IPV4_RANGES = [ function ipToNumber (line 112) | function ipToNumber(parts: number[]): number { function isPrivateIPv4 (line 116) | function isPrivateIPv4(ip: string): boolean { function isPrivateIPv6 (line 131) | function isPrivateIPv6(ip: string): boolean { function isBlockedHostname (line 150) | function isBlockedHostname(hostname: string): boolean { function isBlockedUrl (line 182) | async function isBlockedUrl(url: string): Promise { function fetchUrl (line 228) | async function fetchUrl(url: string, signal?: AbortSignal): Promise WebFetchSecurityManage... FILE: packages/@n8n/ai-workflow-builder.ee/src/tools/web/templates.ts constant N8N_API_BASE_URL (line 14) | const N8N_API_BASE_URL = 'https://api.n8n.io/api'; function isTemplateSearchResponse (line 19) | function isTemplateSearchResponse(data: unknown): data is TemplateSearch... function isTemplateFetchResponse (line 28) | function isTemplateFetchResponse(data: unknown): data is TemplateFetchRe... function buildSearchQueryString (line 42) | function buildSearchQueryString(query: TemplateSearchQuery): string { function fetchTemplateList (line 63) | async function fetchTemplateList(query: { function fetchTemplateByID (line 94) | async function fetchTemplateByID(id: number): Promise ResourceLocato... FILE: packages/@n8n/ai-workflow-builder.ee/src/types/categorization.ts type WorkflowTechniqueType (line 39) | type WorkflowTechniqueType = (typeof WorkflowTechnique)[keyof typeof Wor... type PromptCategorization (line 77) | interface PromptCategorization { FILE: packages/@n8n/ai-workflow-builder.ee/src/types/config.ts type LLMConfig (line 9) | interface LLMConfig { type ParameterUpdaterOptions (line 18) | interface ParameterUpdaterOptions { type NodePromptConfig (line 27) | interface NodePromptConfig { type PromptGenerationOptions (line 54) | interface PromptGenerationOptions { type PromptBuilderContext (line 81) | interface PromptBuilderContext { type ToolExecutorOptions (line 93) | interface ToolExecutorOptions { FILE: packages/@n8n/ai-workflow-builder.ee/src/types/connections.ts type ConnectionResult (line 6) | interface ConnectionResult { type ConnectionValidationResult (line 17) | interface ConnectionValidationResult { type ConnectionOperationResult (line 28) | interface ConnectionOperationResult { type InferConnectionTypeResult (line 41) | interface InferConnectionTypeResult { FILE: packages/@n8n/ai-workflow-builder.ee/src/types/coordination.ts type SubgraphPhase (line 8) | type SubgraphPhase = constant SUBGRAPH_PHASES (line 15) | const SUBGRAPH_PHASES: readonly SubgraphPhase[] = [ function isSubgraphPhase (line 26) | function isSubgraphPhase(value: string): value is SubgraphPhase { type CoordinationLogEntry (line 33) | interface CoordinationLogEntry { type CoordinationMetadata (line 53) | type CoordinationMetadata = type DiscoveryMetadata (line 61) | interface DiscoveryMetadata { type BuilderMetadata (line 71) | interface BuilderMetadata { type ErrorMetadata (line 81) | interface ErrorMetadata { type StateManagementMetadata (line 95) | interface StateManagementMetadata { type AssistantMetadata (line 103) | interface AssistantMetadata { type ResponderMetadata (line 111) | interface ResponderMetadata { function createDiscoveryMetadata (line 121) | function createDiscoveryMetadata(data: Omit)... function createBuilderMetadata (line 125) | function createBuilderMetadata(data: Omit): Bu... function createErrorMetadata (line 129) | function createErrorMetadata(data: Omit): ErrorM... function createStateManagementMetadata (line 133) | function createStateManagementMetadata( function createAssistantMetadata (line 139) | function createAssistantMetadata(data: Omit)... function createResponderMetadata (line 143) | function createResponderMetadata(data: Omit)... FILE: packages/@n8n/ai-workflow-builder.ee/src/types/discovery-types.ts type DiscoveryContext (line 3) | interface DiscoveryContext { FILE: packages/@n8n/ai-workflow-builder.ee/src/types/langchain.ts function isAIMessage (line 3) | function isAIMessage(msg: BaseMessage): msg is AIMessage { function isBaseMessage (line 11) | function isBaseMessage(value: unknown): value is BaseMessage { FILE: packages/@n8n/ai-workflow-builder.ee/src/types/messages.ts type QuickReplyOption (line 4) | interface QuickReplyOption { type AssistantChatMessage (line 13) | interface AssistantChatMessage { type AssistantSummaryMessage (line 24) | interface AssistantSummaryMessage { type EndSessionMessage (line 34) | interface EndSessionMessage { type AgentChatMessage (line 43) | interface AgentChatMessage { type MessageResponse (line 53) | type MessageResponse = FILE: packages/@n8n/ai-workflow-builder.ee/src/types/node-guidance.ts type NodeGuidance (line 5) | interface NodeGuidance { FILE: packages/@n8n/ai-workflow-builder.ee/src/types/node-recommendations.ts type RecommendationCategoryType (line 19) | type RecommendationCategoryType = type ConnectedNodeRecommendation (line 37) | interface ConnectedNodeRecommendation { type NodeRecommendation (line 50) | interface NodeRecommendation { type NodeRecommendationDocument (line 70) | interface NodeRecommendationDocument { FILE: packages/@n8n/ai-workflow-builder.ee/src/types/nodes.ts type NodeDetails (line 6) | interface NodeDetails { type NodeSearchResult (line 19) | interface NodeSearchResult { type AddedNode (line 32) | interface AddedNode { FILE: packages/@n8n/ai-workflow-builder.ee/src/types/planning.ts type PlannerQuestionType (line 1) | type PlannerQuestionType = 'single' | 'multi' | 'text'; type PlannerQuestion (line 3) | interface PlannerQuestion { type QuestionResponse (line 10) | interface QuestionResponse { type PlanStep (line 18) | interface PlanStep { type PlanOutput (line 27) | interface PlanOutput { type QuestionsInterruptValue (line 34) | interface QuestionsInterruptValue { type PlanInterruptValue (line 40) | interface PlanInterruptValue { type WebFetchApprovalInterruptValue (line 45) | interface WebFetchApprovalInterruptValue { type HITLInterruptValue (line 52) | type HITLInterruptValue = type PlanDecision (line 57) | type PlanDecision = 'approve' | 'reject' | 'modify'; type WebFetchDecision (line 64) | type WebFetchDecision = 'allow_once' | 'allow_domain' | 'allow_all' | 'd... type HITLHistoryEntry (line 66) | type HITLHistoryEntry = FILE: packages/@n8n/ai-workflow-builder.ee/src/types/session-storage.ts type StoredSession (line 3) | interface StoredSession { type ISessionStorage (line 13) | interface ISessionStorage { FILE: packages/@n8n/ai-workflow-builder.ee/src/types/sessions.ts type Session (line 3) | interface Session { type LangchainMessage (line 13) | type LangchainMessage = AIMessage | HumanMessage | ToolMessage; function isLangchainMessage (line 18) | function isLangchainMessage(value: unknown): value is LangchainMessage { function isLangchainMessagesArray (line 53) | function isLangchainMessagesArray(value: unknown): value is LangchainMes... FILE: packages/@n8n/ai-workflow-builder.ee/src/types/streaming.ts type AgentMessageChunk (line 6) | interface AgentMessageChunk { type ToolProgressChunk (line 16) | interface ToolProgressChunk { type WorkflowUpdateChunk (line 26) | interface WorkflowUpdateChunk { type ExecutionRequestChunk (line 40) | interface ExecutionRequestChunk { type QuestionsChunk (line 46) | interface QuestionsChunk { type PlanChunk (line 53) | interface PlanChunk { type SessionMessagesChunk (line 63) | interface SessionMessagesChunk { type CodeDiffChunk (line 69) | interface CodeDiffChunk { type MessagesCompactedChunk (line 84) | interface MessagesCompactedChunk { type SummaryChunk (line 91) | interface SummaryChunk { type AgentSuggestionChunk (line 101) | interface AgentSuggestionChunk { type WebFetchApprovalChunk (line 109) | interface WebFetchApprovalChunk { type StreamChunk (line 120) | type StreamChunk = type StreamOutput (line 137) | interface StreamOutput { type StreamProcessorConfig (line 146) | interface StreamProcessorConfig { FILE: packages/@n8n/ai-workflow-builder.ee/src/types/tools.ts type ProgressUpdateType (line 10) | type ProgressUpdateType = 'input' | 'output' | 'progress' | 'error'; type ProgressUpdate (line 15) | interface ProgressUpdate> { type ToolProgressMessage (line 24) | interface ToolProgressMessage { type ToolError (line 37) | interface ToolError { type ProgressReporter (line 46) | interface ProgressReporter { type BatchReporter (line 58) | interface BatchReporter { type UpdateNodeParametersOutput (line 67) | interface UpdateNodeParametersOutput { type AddNodeOutput (line 79) | interface AddNodeOutput { type ConnectNodesOutput (line 87) | interface ConnectNodesOutput { type RemoveNodeOutput (line 102) | interface RemoveNodeOutput { type NodeDetailsOutput (line 113) | interface NodeDetailsOutput { type NodeSearchOutput (line 122) | interface NodeSearchOutput { type GetNodeParameterOutput (line 134) | interface GetNodeParameterOutput { type RemoveConnectionOutput (line 141) | interface RemoveConnectionOutput { type RenameNodeOutput (line 153) | interface RenameNodeOutput { type WorkflowMetadata (line 163) | interface WorkflowMetadata { type NodeConfigurationEntry (line 173) | interface NodeConfigurationEntry { type NodeConfigurationsMap (line 183) | type NodeConfigurationsMap = Record; type GetWorkflowExamplesOutput (line 188) | interface GetWorkflowExamplesOutput { type GetNodeConfigurationExamplesOutput (line 200) | interface GetNodeConfigurationExamplesOutput { type GetExecutionSchemaOutput (line 209) | interface GetExecutionSchemaOutput { type GetExecutionLogsOutput (line 218) | interface GetExecutionLogsOutput { type GetExpressionDataMappingOutput (line 228) | interface GetExpressionDataMappingOutput { FILE: packages/@n8n/ai-workflow-builder.ee/src/types/utils.ts type StateUpdater (line 6) | type StateUpdater = FILE: packages/@n8n/ai-workflow-builder.ee/src/types/web/templates.ts type Category (line 38) | type Category = (typeof categories)[number]; type TemplateSearchQuery (line 43) | interface TemplateSearchQuery { type TemplateWorkflowDescription (line 64) | interface TemplateWorkflowDescription { type TemplateSearchResponse (line 85) | interface TemplateSearchResponse { type TemplateFetchResponse (line 92) | interface TemplateFetchResponse { FILE: packages/@n8n/ai-workflow-builder.ee/src/types/workflow.ts type SimpleWorkflow (line 6) | type SimpleWorkflow = Pick['... function countNodeOutputItems (line 380) | function countNodeOutputItems(runData: RunData, nodeName: string): number { function buildDataFlowString (line 402) | function buildDataFlowString(runData: RunData, executedNodeNames: string... function buildErrorStatus (line 417) | function buildErrorStatus( function buildIssuesStatus (line 448) | function buildIssuesStatus( constant NO_EXECUTION_STATUS (line 473) | const NO_EXECUTION_STATUS = [ constant SUCCESS_STATUS (line 479) | const SUCCESS_STATUS = [ function buildSimplifiedExecutionContext (line 497) | function buildSimplifiedExecutionContext( function buildSelectedNodesContextBlock (line 562) | function buildSelectedNodesContextBlock( function buildSelectedNodesSummary (line 618) | function buildSelectedNodesSummary( function escapeXmlAttr (line 639) | function escapeXmlAttr(str: string): string { function escapeXmlContent (line 650) | function escapeXmlContent(str: string): string { function createContextMessage (line 662) | function createContextMessage(contextParts: string[]): HumanMessage { FILE: packages/@n8n/ai-workflow-builder.ee/src/utils/coordination-log.ts type RoutingDecision (line 20) | type RoutingDecision = 'discovery' | 'builder' | 'assistant' | 'responder'; function getLastCompletedPhase (line 25) | function getLastCompletedPhase(log: CoordinationLogEntry[]): SubgraphPha... function getPhaseEntry (line 40) | function getPhaseEntry( function hasPhaseCompleted (line 50) | function hasPhaseCompleted(log: CoordinationLogEntry[], phase: SubgraphP... function getBuilderOutput (line 57) | function getBuilderOutput(log: CoordinationLogEntry[]): string | null { function getPhaseMetadata (line 81) | function getPhaseMetadata( function hasBuilderPhaseInLog (line 104) | function hasBuilderPhaseInLog(log: CoordinationLogEntry[]): boolean { function hasErrorInLog (line 111) | function hasErrorInLog(log: CoordinationLogEntry[]): boolean { function getErrorEntry (line 118) | function getErrorEntry(log: CoordinationLogEntry[]): CoordinationLogEntr... function hasRecursionErrorsCleared (line 126) | function hasRecursionErrorsCleared(log: CoordinationLogEntry[]): boolean { function getNextPhaseFromLog (line 139) | function getNextPhaseFromLog(log: CoordinationLogEntry[]): RoutingDecisi... function getCurrentTurnEntries (line 194) | function getCurrentTurnEntries(log: CoordinationLogEntry[]): Coordinatio... function summarizeCoordinationLog (line 208) | function summarizeCoordinationLog(log: CoordinationLogEntry[]): string { FILE: packages/@n8n/ai-workflow-builder.ee/src/utils/data-table-helpers.ts constant DATA_TABLE_NODE_TYPE (line 15) | const DATA_TABLE_NODE_TYPE = 'n8n-nodes-base.dataTable'; constant SET_NODE_TYPE (line 16) | const SET_NODE_TYPE = 'n8n-nodes-base.set'; constant DATA_TABLE_ROW_COLUMN_MAPPING_OPERATIONS (line 19) | const DATA_TABLE_ROW_COLUMN_MAPPING_OPERATIONS: readonly DataTableRowOpe... type DataTableRowColumnOperation (line 25) | type DataTableRowColumnOperation = (typeof DATA_TABLE_ROW_COLUMN_MAPPING... function isDataTableRowColumnOperation (line 28) | function isDataTableRowColumnOperation( type ColumnDefinition (line 37) | interface ColumnDefinition { type DataTableInfo (line 45) | interface DataTableInfo { function mapSetNodeTypeToDataTableType (line 61) | function mapSetNodeTypeToDataTableType(setNodeType: string): string { type SetNodeAssignment (line 73) | interface SetNodeAssignment { type SetNodeAssignments (line 78) | interface SetNodeAssignments { function isSetNodeAssignments (line 82) | function isSetNodeAssignments(value: unknown): value is SetNodeAssignmen... function extractSetNodeFields (line 101) | function extractSetNodeFields( function extractDataTableInfo (line 131) | function extractDataTableInfo(workflow: SimpleWorkflow): DataTableInfo[] { FILE: packages/@n8n/ai-workflow-builder.ee/src/utils/error-sanitizer.ts function sanitizeLlmErrorMessage (line 6) | function sanitizeLlmErrorMessage(error: unknown): string { function containsHtml (line 17) | function containsHtml(message: string): boolean { function extractStatusCode (line 21) | function extractStatusCode(error: unknown): number | undefined { function buildUserFriendlyMessage (line 33) | function buildUserFriendlyMessage(statusCode?: number): string { FILE: packages/@n8n/ai-workflow-builder.ee/src/utils/http-proxy-agent.ts function getProxyAgent (line 8) | function getProxyAgent(targetUrl?: string) { FILE: packages/@n8n/ai-workflow-builder.ee/src/utils/node-helpers.ts function isTriggerNodeType (line 9) | function isTriggerNodeType(nodeType: string): boolean { function isSubNode (line 24) | function isSubNode(nodeType: INodeTypeDescription, node?: INode): boolean { FILE: packages/@n8n/ai-workflow-builder.ee/src/utils/operations-processor.ts method getKnownTypes (line 19) | getKnownTypes() { type OperationHandler (line 27) | type OperationHandler = (workflow: SimpleWorkflow, operation: WorkflowOp... function applyClearOperation (line 32) | function applyClearOperation( function applyRemoveNodeOperation (line 42) | function applyRemoveNodeOperation( function applyAddNodesOperation (line 92) | function applyAddNodesOperation( function applyUpdateNodeOperation (line 116) | function applyUpdateNodeOperation( function applySetConnectionsOperation (line 138) | function applySetConnectionsOperation( function applyMergeConnectionsOperation (line 153) | function applyMergeConnectionsOperation( function applyRemoveConnectionOperation (line 216) | function applyRemoveConnectionOperation( function applySetNameOperation (line 290) | function applySetNameOperation( function applyRenameNodeOperation (line 306) | function applyRenameNodeOperation( function applyOperations (line 351) | function applyOperations( function processOperations (line 375) | function processOperations(state: { FILE: packages/@n8n/ai-workflow-builder.ee/src/utils/plan-helpers.ts function formatPlanAsText (line 7) | function formatPlanAsText(plan: PlanOutput): string { FILE: packages/@n8n/ai-workflow-builder.ee/src/utils/resource-operation-extractor.ts type OperationInfo (line 12) | interface OperationInfo { type ResourceInfo (line 22) | interface ResourceInfo { type ResourceOperationInfo (line 33) | interface ResourceOperationInfo { type ExtractOptions (line 40) | interface ExtractOptions { function isPropertyVisibleForVersion (line 56) | function isPropertyVisibleForVersion(property: INodeProperties, nodeVers... function findResourceProperty (line 82) | function findResourceProperty( function isOperationVisibleForResource (line 98) | function isOperationVisibleForResource(prop: INodeProperties, resourceVa... function findOperationProperties (line 122) | function findOperationProperties( function extractOptions (line 152) | function extractOptions( function extractResourceOperations (line 216) | function extractResourceOperations( function createResourceCacheKey (line 288) | function createResourceCacheKey(nodeName: string, version: number): stri... function formatResourceOperationsForPrompt (line 295) | function formatResourceOperationsForPrompt(info: ResourceOperationInfo):... FILE: packages/@n8n/ai-workflow-builder.ee/src/utils/rlc-prefetch.ts type RLCParameterInfo (line 20) | interface RLCParameterInfo { type RLCPrefetchResult (line 32) | interface RLCPrefetchResult { function isRLCValueEmpty (line 43) | function isRLCValueEmpty(value: unknown): boolean { function extractSearchMethod (line 57) | function extractSearchMethod(nodeType: INodeTypeDescription, parameterPa... function nodeTypeRequiresCredentials (line 77) | function nodeTypeRequiresCredentials(nodeType: INodeTypeDescription): bo... function nodeHasCredentials (line 84) | function nodeHasCredentials(node: INode): boolean { function detectRLCParametersForPrefetch (line 93) | function detectRLCParametersForPrefetch( function prefetchRLCOptions (line 156) | async function prefetchRLCOptions( function formatPrefetchedOptionsForLLM (line 225) | function formatPrefetchedOptionsForLLM(results: RLCPrefetchResult[]): st... FILE: packages/@n8n/ai-workflow-builder.ee/src/utils/state-modifier.ts type StateModificationAction (line 15) | type StateModificationAction = type StateModifierInput (line 23) | interface StateModifierInput { function hasUnclearedRecursionError (line 34) | function hasUnclearedRecursionError(coordinationLog: CoordinationLogEntr... function determineStateAction (line 72) | function determineStateAction( function handleCleanupDangling (line 118) | function handleCleanupDangling( function handleCompactMessages (line 144) | async function handleCompactMessages( function handleDeleteMessages (line 192) | function handleDeleteMessages(messages: BaseMessage[]): { function handleClearErrorState (line 227) | function handleClearErrorState( function handleCreateWorkflowName (line 261) | async function handleCreateWorkflowName( FILE: packages/@n8n/ai-workflow-builder.ee/src/utils/state-reducers.ts function appendArrayReducer (line 7) | function appendArrayReducer(current: T[], update: T[] | undefined | n... function cachedTemplatesReducer (line 15) | function cachedTemplatesReducer( FILE: packages/@n8n/ai-workflow-builder.ee/src/utils/stream-processor.ts type BuilderToolBase (line 30) | interface BuilderToolBase { type BuilderTool (line 36) | interface BuilderTool extends BuilderToolBase { type MessageContent (line 41) | type MessageContent = { content: string | Array<{ type: string; text: st... type SubgraphEvent (line 44) | type SubgraphEvent = [string[], string, unknown]; type ParentEvent (line 45) | type ParentEvent = [string, unknown]; type StreamEvent (line 46) | type StreamEvent = SubgraphEvent | ParentEvent; constant DEFAULT_WORKFLOW_UPDATE_TOOLS (line 53) | const DEFAULT_WORKFLOW_UPDATE_TOOLS = [ constant EMITTING_NODES (line 61) | const EMITTING_NODES = ['responder']; constant SKIPPED_NODES (line 64) | const SKIPPED_NODES = [ constant SKIPPED_SUBGRAPH_PREFIXES (line 79) | const SKIPPED_SUBGRAPH_PREFIXES = ['discovery_subgraph', 'builder_subgra... function isFromSkippedSubgraph (line 86) | function isFromSkippedSubgraph(namespace: string[]): boolean { function shouldSkipNode (line 91) | function shouldSkipNode(nodeName: string): boolean { function shouldEmitFromNode (line 96) | function shouldEmitFromNode(nodeName: string): boolean { function hasMessageInUpdate (line 101) | function hasMessageInUpdate(update: unknown): boolean { function shouldFilterSubgraphUpdate (line 107) | function shouldFilterSubgraphUpdate(namespace: string[], data: Record { function isUnknownArray (line 187) | function isUnknownArray(value: unknown): value is unknown[] { function isQuestionsInterruptValue (line 191) | function isQuestionsInterruptValue(value: unknown): value is QuestionsIn... function isPlanInterruptValue (line 196) | function isPlanInterruptValue(value: unknown): value is PlanInterruptVal... function isWebFetchApprovalInterruptValue (line 201) | function isWebFetchApprovalInterruptValue(value: unknown): value is WebF... function extractInterruptPayload (line 211) | function extractInterruptPayload( function processInterrupt (line 237) | function processInterrupt(interruptValue: HITLInterruptValue, id?: strin... function processOperationsUpdate (line 272) | function processOperationsUpdate(update: unknown): StreamOutput | null { function processWorkflowNameUpdate (line 285) | function processWorkflowNameUpdate(update: unknown): StreamOutput | null { function processAgentNodeUpdate (line 298) | function processAgentNodeUpdate(nodeName: string, update: unknown): Stre... function processCustomChunk (line 317) | function processCustomChunk(chunk: unknown): StreamOutput | null { function processUpdatesChunk (line 337) | function processUpdatesChunk(nodeUpdate: Record): Strea... function processStreamChunk (line 378) | function processStreamChunk(streamMode: string, chunk: unknown): StreamO... function processSubgraphEvent (line 391) | function processSubgraphEvent(event: SubgraphEvent): StreamOutput | null { function processParentEvent (line 418) | function processParentEvent(event: ParentEvent): StreamOutput | null { function processEvent (line 426) | function processEvent(event: StreamEvent): StreamOutput | null { function extractHumanMessageText (line 469) | function extractHumanMessageText(content: HumanMessage['content']): stri... function isUserAnswersPayload (line 488) | function isUserAnswersPayload(value: unknown): value is Array<{ function formatHumanMessage (line 506) | function formatHumanMessage(msg: HumanMessage): Record { function processArrayContent (line 549) | function processArrayContent(content: unknown[]): Array |... function createToolCallMessage (line 634) | function createToolCallMessage( function processToolCalls (line 657) | function processToolCalls( function processToolMessage (line 668) | function processToolMessage( function formatMessages (line 690) | function formatMessages( FILE: packages/@n8n/ai-workflow-builder.ee/src/utils/subgraph-helpers.ts type FetchedUrlContentItem (line 11) | interface FetchedUrlContentItem { type CommandUpdate (line 18) | interface CommandUpdate { function hasValidOptionalField (line 33) | function hasValidOptionalField( function isCommandUpdate (line 54) | function isCommandUpdate(value: unknown): value is CommandUpdate { type CollectedToolResults (line 72) | interface CollectedToolResults { function collectToolResults (line 84) | function collectToolResults(toolResults: unknown[]): CollectedToolResults { function mergeCommandUpdate (line 104) | function mergeCommandUpdate(target: CollectedToolResults, update: Comman... type SubgraphToolStateUpdate (line 117) | type SubgraphToolStateUpdate = { function buildStateUpdate (line 129) | function buildStateUpdate(collected: CollectedToolResults): SubgraphTool... function executeSubgraphTools (line 159) | async function executeSubgraphTools( function extractUserRequest (line 213) | function extractUserRequest(messages: BaseMessage[], defaultValue = ''):... function createStandardShouldContinue (line 228) | function createStandardShouldContinue() { function extractToolMessagesForPersistence (line 257) | function extractToolMessagesForPersistence(messages: BaseMessage[]): Bas... function filterOutSubgraphToolMessages (line 296) | function filterOutSubgraphToolMessages(messages: BaseMessage[]): BaseMes... FILE: packages/@n8n/ai-workflow-builder.ee/src/utils/test/error-sanitizer.test.ts constant CLOUDFLARE_HTML (line 3) | const CLOUDFLARE_HTML = `403 FILE: packages/@n8n/ai-workflow-builder.ee/src/utils/test/resource-operation-extractor.test.ts function createMockNodeType (line 9) | function createMockNodeType( function createMockLogger (line 28) | function createMockLogger(): Logger & { FILE: packages/@n8n/ai-workflow-builder.ee/src/utils/test/stream-processor.test.ts function collectResults (line 1721) | async function collectResults(stream: AsyncIterable): Prom... FILE: packages/@n8n/ai-workflow-builder.ee/src/utils/test/subgraph-helpers.test.ts function makeTool (line 452) | function makeTool( function makeAIMessageWithToolCalls (line 462) | function makeAIMessageWithToolCalls( FILE: packages/@n8n/ai-workflow-builder.ee/src/utils/test/tool-executor.test.ts type MockedCommand (line 14) | type MockedCommand = CommandType & { _isCommand: boolean }; class MockCommand (line 19) | class MockCommand { method constructor (line 23) | constructor(params: { update: unknown }) { FILE: packages/@n8n/ai-workflow-builder.ee/src/utils/thread-id.ts function generateThreadId (line 7) | function generateThreadId( FILE: packages/@n8n/ai-workflow-builder.ee/src/utils/token-usage-tracking-handler.ts type AccumulatedTokenUsage (line 4) | interface AccumulatedTokenUsage { function isRecord (line 9) | function isRecord(value: unknown): value is Record { function extractInputTokens (line 13) | function extractInputTokens(usage: Record): number { function extractOutputTokens (line 23) | function extractOutputTokens(usage: Record): number { class TokenUsageTrackingHandler (line 42) | class TokenUsageTrackingHandler extends BaseCallbackHandler { method handleLLMEnd (line 49) | async handleLLMEnd(output: LLMResult): Promise { method getUsage (line 64) | getUsage(): AccumulatedTokenUsage { method reset (line 71) | reset(): void { FILE: packages/@n8n/ai-workflow-builder.ee/src/utils/token-usage.ts type AIMessageWithUsageMetadata (line 6) | type AIMessageWithUsageMetadata = AIMessage & { type TokenUsage (line 17) | interface TokenUsage { function extractLastTokenUsage (line 27) | function extractLastTokenUsage(messages: unknown[]): TokenUsage | undefi... function concatenateMessageContent (line 43) | function concatenateMessageContent(messages: BaseMessage[]): string { function estimateTokenCountFromString (line 67) | function estimateTokenCountFromString(text: string): number { function estimateTokenCountFromMessages (line 71) | function estimateTokenCountFromMessages(messages: BaseMessage[]): number { FILE: packages/@n8n/ai-workflow-builder.ee/src/utils/tool-executor.ts type StateUpdate (line 12) | type StateUpdate = Partial; function isArray (line 17) | function isArray(value: unknown): value is unknown[] { function collectArrayFromUpdates (line 28) | function collectArrayFromUpdates(updates: StateUpdate[], key: keyof S... function createToolErrorMessage (line 45) | function createToolErrorMessage(toolName: string, toolCallId: string, er... function executeToolsInParallel (line 85) | async function executeToolsInParallel( FILE: packages/@n8n/ai-workflow-builder.ee/src/utils/trim-workflow-context.ts constant MAX_PARAMETER_VALUE_LENGTH_THRESHOLDS (line 11) | const MAX_PARAMETER_VALUE_LENGTH_THRESHOLDS = [10000, 5000, 2000, 1000]; function trimParameterValue (line 21) | function trimParameterValue( function trimWorkflowJsonWithThreshold (line 53) | function trimWorkflowJsonWithThreshold( function trimWorkflowJSON (line 85) | function trimWorkflowJSON(workflow: SimpleWorkflow): SimpleWorkflow { FILE: packages/@n8n/ai-workflow-builder.ee/src/utils/truncate-json.ts type TruncateJsonOptions (line 3) | interface TruncateJsonOptions { function truncateJson (line 16) | function truncateJson(value: unknown, options: TruncateJsonOptions = {})... FILE: packages/@n8n/ai-workflow-builder.ee/src/validation/auto-fix/__tests__/auto-fix-connections.test.ts function createNode (line 89) | function createNode(overrides: Partial & { name: string; type: st... function createWorkflow (line 102) | function createWorkflow(nodes: INode[], connections: IConnections = {}):... FILE: packages/@n8n/ai-workflow-builder.ee/src/validation/auto-fix/auto-fix-connections.ts type AutoFixResult (line 11) | interface AutoFixResult { type AutoFixedConnection (line 17) | interface AutoFixedConnection { type UnfixableConnection (line 24) | interface UnfixableConnection { type AutoFixContext (line 31) | interface AutoFixContext { function findExistingOutgoingConnection (line 44) | function findExistingOutgoingConnection( function connectionExistsBetweenNodes (line 61) | function connectionExistsBetweenNodes( function checkNodeHasInputConnection (line 81) | function checkNodeHasInputConnection( function buildSubNodeOutputsMap (line 102) | function buildSubNodeOutputsMap( function findCandidateSubNodes (line 136) | function findCandidateSubNodes( function processMissingInputViolation (line 165) | function processMissingInputViolation(ctx: AutoFixContext, violation: Pr... function findTargetCandidates (line 216) | function findTargetCandidates( function processDisconnectedSubNodeViolation (line 258) | function processDisconnectedSubNodeViolation( function autoFixConnections (line 330) | function autoFixConnections( FILE: packages/@n8n/ai-workflow-builder.ee/src/validation/checks/agent-prompt.ts function isOptionsWithSystemMessage (line 11) | function isOptionsWithSystemMessage( function validateAgentPrompt (line 29) | function validateAgentPrompt(workflow: SimpleWorkflow): ProgrammaticViol... FILE: packages/@n8n/ai-workflow-builder.ee/src/validation/checks/connections.ts function getProvidedInputTypes (line 25) | function getProvidedInputTypes( function checkMissingRequiredInputs (line 46) | function checkMissingRequiredInputs( function checkUnsupportedConnections (line 75) | function checkUnsupportedConnections( function checkMergeNodeConnections (line 98) | function checkMergeNodeConnections( function checkDataTableHasSetNodePredecessor (line 151) | function checkDataTableHasSetNodePredecessor( function checkSubNodeRootConnections (line 193) | function checkSubNodeRootConnections( function validateConnections (line 243) | function validateConnections( FILE: packages/@n8n/ai-workflow-builder.ee/src/validation/checks/credentials.ts constant CREDENTIAL_FIELD_PATTERNS (line 8) | const CREDENTIAL_FIELD_PATTERNS = [ constant SENSITIVE_HEADERS (line 24) | const SENSITIVE_HEADERS = new Set([ function isCredentialFieldName (line 36) | function isCredentialFieldName(name: string): boolean { function isSensitiveHeader (line 43) | function isSensitiveHeader(headerName: string): boolean { type HeaderParameter (line 47) | interface HeaderParameter { type QueryParameter (line 52) | interface QueryParameter { type SetNodeAssignment (line 57) | interface SetNodeAssignment { function isParameterArray (line 66) | function isParameterArray(arr: unknown): arr is Array<{ name?: string; v... function isParametersContainer (line 76) | function isParametersContainer( function isAssignmentsContainer (line 87) | function isAssignmentsContainer(value: unknown): value is { assignments?... function getHeaderParameters (line 96) | function getHeaderParameters(parameters: Record): Heade... function getQueryParameters (line 105) | function getQueryParameters(parameters: Record): QueryP... function getSetNodeAssignments (line 114) | function getSetNodeAssignments(parameters: Record): Set... function hasHardcodedCredentialValue (line 123) | function hasHardcodedCredentialValue(param: { value?: unknown }): boolean { function validateHttpRequestNode (line 130) | function validateHttpRequestNode( function validateSetNode (line 164) | function validateSetNode( function validateCredentials (line 186) | function validateCredentials(workflow: SimpleWorkflow): ProgrammaticViol... FILE: packages/@n8n/ai-workflow-builder.ee/src/validation/checks/from-ai.ts function containsFromAi (line 9) | function containsFromAi(value: unknown): boolean { function parametersContainFromAi (line 17) | function parametersContainFromAi(parameters: INodeParameters): boolean { function validateFromAi (line 47) | function validateFromAi( FILE: packages/@n8n/ai-workflow-builder.ee/src/validation/checks/node-usage/webhook-response.test.ts type WebhookNodeOptions (line 7) | interface WebhookNodeOptions { type RespondToWebhookNodeOptions (line 13) | interface RespondToWebhookNodeOptions { function createWebhookNode (line 18) | function createWebhookNode(options: WebhookNodeOptions = {}): SimpleWork... function createRespondToWebhookNode (line 40) | function createRespondToWebhookNode( function createWorkflow (line 55) | function createWorkflow( function createConnection (line 69) | function createConnection(sourceNode: string, targetNode: string): IConn... function mergeConnections (line 80) | function mergeConnections(...connectionsList: IConnections[]): IConnecti... FILE: packages/@n8n/ai-workflow-builder.ee/src/validation/checks/node-usage/webhook-response.ts constant WEBHOOK_NODE_TYPE (line 7) | const WEBHOOK_NODE_TYPE = 'n8n-nodes-base.webhook'; constant RESPOND_TO_WEBHOOK_NODE_TYPE (line 8) | const RESPOND_TO_WEBHOOK_NODE_TYPE = 'n8n-nodes-base.respondToWebhook'; function getResponseMode (line 13) | function getResponseMode(node: SimpleWorkflow['nodes'][0]): string | und... function hasConnectedRespondToWebhook (line 21) | function hasConnectedRespondToWebhook( function validateWebhookResponse (line 39) | function validateWebhookResponse(workflow: SimpleWorkflow): Programmatic... FILE: packages/@n8n/ai-workflow-builder.ee/src/validation/checks/nodes.ts function validateNodes (line 8) | function validateNodes( FILE: packages/@n8n/ai-workflow-builder.ee/src/validation/checks/parameters.ts type OptionValue (line 16) | type OptionValue = INodePropertyOptions['value']; function isOptionValue (line 22) | function isOptionValue(value: unknown): value is OptionValue { function isHiddenByCondition (line 30) | function isHiddenByCondition( function isPropertyHiddenForContext (line 54) | function isPropertyHiddenForContext( function hasMeaningfulDefault (line 112) | function hasMeaningfulDefault(property: INodeProperties): boolean { function isINodePropertyOptions (line 122) | function isINodePropertyOptions(item: unknown): item is INodePropertyOpt... function getAllowedOptionsValues (line 136) | function getAllowedOptionsValues(property: INodeProperties): Set( function resolveNodeOutputs (line 53) | function resolveNodeOutputs( function resolveNodeInputs (line 79) | function resolveNodeInputs( FILE: packages/@n8n/ai-workflow-builder.ee/src/workflow-builder-agent.ts constant PROMPT_IS_TOO_LARGE_ERROR (line 44) | const PROMPT_IS_TOO_LARGE_ERROR = constant WORKFLOW_TOO_COMPLEX_ERROR (line 47) | const WORKFLOW_TOO_COMPLEX_ERROR = type TypedStateSnapshot (line 55) | type TypedStateSnapshot = Omit & { type StageLLMs (line 66) | interface StageLLMs { type WorkflowBuilderAgentConfig (line 75) | interface WorkflowBuilderAgentConfig { type ExpressionValue (line 101) | interface ExpressionValue { type BuilderFeatureFlags (line 107) | interface BuilderFeatureFlags { type ChatPayload (line 120) | interface ChatPayload { class WorkflowBuilderAgent (line 152) | class WorkflowBuilderAgent { method constructor (line 168) | constructor(config: WorkflowBuilderAgentConfig) { method createWorkflow (line 187) | private createWorkflow(featureFlags?: BuilderFeatureFlags) { method getState (line 201) | async getState(workflowId?: string, userId?: string): Promise; type Chain (line 279) | interface Chain, TOutput = Record; type ChatHubVectorStoreProvider (line 41) | type ChatHubVectorStoreProvider = z.infer; type ChatHubProvider (line 76) | type ChatHubProvider = z.infer; type ChatHubSessionType (line 79) | type ChatHubSessionType = z.infer; constant PROVIDER_CREDENTIAL_TYPE_MAP (line 85) | const PROVIDER_CREDENTIAL_TYPE_MAP: Record = { constant VECTOR_STORE_PROVIDER_CREDENTIAL_TYPE_MAP (line 102) | const VECTOR_STORE_PROVIDER_CREDENTIAL_TYPE_MAP: Record; type ChatHubAnthropicModel (line 212) | type ChatHubAnthropicModel = z.infer; type ChatHubGoogleModel (line 213) | type ChatHubGoogleModel = z.infer; type ChatHubAzureOpenAIModel (line 214) | type ChatHubAzureOpenAIModel = z.infer; type ChatHubAzureEntraIdModel (line 215) | type ChatHubAzureEntraIdModel = z.infer; type ChatHubOllamaModel (line 216) | type ChatHubOllamaModel = z.infer; type ChatHubAwsBedrockModel (line 217) | type ChatHubAwsBedrockModel = z.infer; type ChatHubVercelAiGatewayModel (line 218) | type ChatHubVercelAiGatewayModel = z.infer; type ChatHubXAiGrokModel (line 219) | type ChatHubXAiGrokModel = z.infer; type ChatHubGroqModel (line 220) | type ChatHubGroqModel = z.infer; type ChatHubOpenRouterModel (line 221) | type ChatHubOpenRouterModel = z.infer; type ChatHubDeepSeekModel (line 222) | type ChatHubDeepSeekModel = z.infer; type ChatHubCohereModel (line 223) | type ChatHubCohereModel = z.infer; type ChatHubMistralCloudModel (line 224) | type ChatHubMistralCloudModel = z.infer; type ChatHubBaseLLMModel (line 225) | type ChatHubBaseLLMModel = type ChatHubN8nModel (line 241) | type ChatHubN8nModel = z.infer; type ChatHubCustomAgentModel (line 242) | type ChatHubCustomAgentModel = z.infer; type ChatHubConversationModel (line 243) | type ChatHubConversationModel = z.infer; type ChatModelMetadataDto (line 255) | interface ChatModelMetadataDto { type ChatModelDto (line 266) | interface ChatModelDto { type ChatModelsResponse (line 282) | type ChatModelsResponse = Record< type ChatAttachment (line 321) | type ChatAttachment = z.infer; class ChatHubSendMessageRequest (line 323) | class ChatHubSendMessageRequest extends Z.class({ class ChatHubManualSendMessageRequest (line 346) | class ChatHubManualSendMessageRequest extends Z.class({ class ChatHubRegenerateMessageRequest (line 356) | class ChatHubRegenerateMessageRequest extends Z.class({ class ChatHubManualRegenerateMessageRequest (line 370) | class ChatHubManualRegenerateMessageRequest extends Z.class({ class ChatHubEditMessageRequest (line 374) | class ChatHubEditMessageRequest extends Z.class({ class ChatHubManualEditMessageRequest (line 392) | class ChatHubManualEditMessageRequest extends Z.class({ class ChatHubUpdateConversationRequest (line 400) | class ChatHubUpdateConversationRequest extends Z.class({ type ChatHubMessageType (line 412) | type ChatHubMessageType = 'human' | 'ai' | 'system' | 'tool' | 'generic'; type ChatHubMessageStatus (line 413) | type ChatHubMessageStatus = 'success' | 'error' | 'running' | 'cancelled... type ChatSessionId (line 415) | type ChatSessionId = string; type ChatMessageId (line 416) | type ChatMessageId = string; type ChatHubSessionDto (line 418) | interface ChatHubSessionDto { type ChatMessageContentChunk (line 436) | type ChatMessageContentChunk = type ChatHubMessageDto (line 458) | interface ChatHubMessageDto { class ChatHubConversationsRequest (line 480) | class ChatHubConversationsRequest extends Z.class({ type ChatHubConversationsResponse (line 486) | interface ChatHubConversationsResponse { type ChatHubConversationDto (line 492) | interface ChatHubConversationDto { type ChatHubConversationResponse (line 496) | interface ChatHubConversationResponse { type SuggestedPrompt (line 508) | type SuggestedPrompt = z.infer; type ChatHubAgentDto (line 510) | interface ChatHubAgentDto { class ChatHubCreateAgentRequest (line 527) | class ChatHubCreateAgentRequest extends Z.class({ class ChatHubUpdateAgentRequest (line 539) | class ChatHubUpdateAgentRequest extends Z.class({ type MessageChunk (line 551) | interface MessageChunk { type ChatProviderSettingsDto (line 581) | type ChatProviderSettingsDto = z.infer; class UpdateChatSettingsRequest (line 583) | class UpdateChatSettingsRequest extends Z.class({ class ChatHubSemanticSearchSettings (line 587) | class ChatHubSemanticSearchSettings extends Z.class({ type ChatHubModuleSettings (line 598) | interface ChatHubModuleSettings { type ChatSendMessageResponse (line 609) | interface ChatSendMessageResponse { class ChatReconnectRequest (line 617) | class ChatReconnectRequest extends Z.class({ type ChatReconnectResponse (line 624) | interface ChatReconnectResponse { type ChatArtifact (line 641) | interface ChatArtifact { type ChatArtifactCreateCommand (line 650) | interface ChatArtifactCreateCommand { type ChatArtifactEditCommand (line 656) | interface ChatArtifactEditCommand { type ChatHubMessageButton (line 672) | type ChatHubMessageButton = z.infer; type ChatHubMessageWithButtons (line 685) | type ChatHubMessageWithButtons = z.infer; class RoleAssignmentsResponseDto (line 20) | class RoleAssignmentsResponseDto extends Z.class({ type RoleAssignmentsResponse (line 25) | type RoleAssignmentsResponse = InstanceType; class RoleProjectMembersResponseDto (line 15) | class RoleProjectMembersResponseDto extends Z.class({ type RoleProjectMembersResponse (line 19) | type RoleProjectMembersResponse = InstanceType}`, N8nEn... FILE: packages/@n8n/api-types/src/instance-registry-types.ts type InstanceRegistration (line 24) | type InstanceRegistration = z.infer; type ClusterVersionMismatch (line 43) | type ClusterVersionMismatch = z.infer; type ClusterInfoResponse (line 51) | type ClusterInfoResponse = z.infer; FILE: packages/@n8n/api-types/src/push/builder-credits.ts type BuilderCreditsPushMessage (line 1) | type BuilderCreditsPushMessage = { FILE: packages/@n8n/api-types/src/push/chat-hub.ts type ChatHubStreamMetadata (line 6) | interface ChatHubStreamMetadata { type ChatHubStreamBegin (line 20) | type ChatHubStreamBegin = { type ChatHubStreamChunk (line 35) | type ChatHubStreamChunk = { type ChatHubStreamEnd (line 46) | type ChatHubStreamEnd = { type ChatHubStreamError (line 57) | type ChatHubStreamError = { type ChatHubAttachmentInfo (line 68) | interface ChatHubAttachmentInfo { type ChatHubHumanMessageCreated (line 77) | type ChatHubHumanMessageCreated = { type ChatHubMessageEdited (line 98) | type ChatHubMessageEdited = { type ChatHubExecutionBegin (line 119) | type ChatHubExecutionBegin = { type ChatHubExecutionEnd (line 132) | type ChatHubExecutionEnd = { type ChatHubStreamEvent (line 147) | type ChatHubStreamEvent = type ChatHubExecutionEvent (line 156) | type ChatHubExecutionEvent = ChatHubExecutionBegin | ChatHubExecutionEnd; type ChatHubPushMessage (line 161) | type ChatHubPushMessage = FILE: packages/@n8n/api-types/src/push/collaboration.ts type Collaborator (line 4) | type Collaborator = { type CollaboratorsChanged (line 9) | type CollaboratorsChanged = { type WriteAccessAcquired (line 17) | type WriteAccessAcquired = { type WriteAccessReleased (line 26) | type WriteAccessReleased = { type CollaborationPushMessage (line 33) | type CollaborationPushMessage = FILE: packages/@n8n/api-types/src/push/debug.ts type SendConsoleMessage (line 1) | type SendConsoleMessage = { type DebugPushMessage (line 9) | type DebugPushMessage = SendConsoleMessage; FILE: packages/@n8n/api-types/src/push/execution.ts type ExecutionStarted (line 9) | type ExecutionStarted = { type ExecutionWaiting (line 22) | type ExecutionWaiting = { type ExecutionFinished (line 29) | type ExecutionFinished = { type ExecutionRecovered (line 38) | type ExecutionRecovered = { type NodeExecuteBefore (line 45) | type NodeExecuteBefore = { type NodeExecuteAfter (line 58) | type NodeExecuteAfter = { type NodeExecuteAfterData (line 79) | type NodeExecuteAfterData = { type ExecutionPushMessage (line 94) | type ExecutionPushMessage = FILE: packages/@n8n/api-types/src/push/heartbeat.ts type HeartbeatMessage (line 7) | type HeartbeatMessage = z.infer; FILE: packages/@n8n/api-types/src/push/hot-reload.ts type NodeTypeData (line 1) | type NodeTypeData = { type ReloadNodeType (line 6) | type ReloadNodeType = { type RemoveNodeType (line 11) | type RemoveNodeType = { type NodeDescriptionUpdated (line 16) | type NodeDescriptionUpdated = { type HotReloadPushMessage (line 21) | type HotReloadPushMessage = ReloadNodeType | RemoveNodeType | NodeDescri... FILE: packages/@n8n/api-types/src/push/index.ts type PushMessage (line 12) | type PushMessage = type PushType (line 24) | type PushType = PushMessage['type']; type PushPayload (line 26) | type PushPayload = Extract... FILE: packages/@n8n/api-types/src/push/instance-ai.ts type InstanceAiPushMessage (line 3) | type InstanceAiPushMessage = FILE: packages/@n8n/api-types/src/push/webhook.ts type TestWebhookDeleted (line 1) | type TestWebhookDeleted = { type TestWebhookReceived (line 9) | type TestWebhookReceived = { type WebhookPushMessage (line 17) | type WebhookPushMessage = TestWebhookDeleted | TestWebhookReceived; FILE: packages/@n8n/api-types/src/push/worker.ts type SendWorkerStatusMessage (line 3) | type SendWorkerStatusMessage = { type WorkerPushMessage (line 11) | type WorkerPushMessage = SendWorkerStatusMessage; FILE: packages/@n8n/api-types/src/push/workflow.ts type WorkflowActivated (line 1) | type WorkflowActivated = { type WorkflowFailedToActivate (line 9) | type WorkflowFailedToActivate = { type WorkflowDeactivated (line 17) | type WorkflowDeactivated = { type WorkflowAutoDeactivated (line 24) | type WorkflowAutoDeactivated = { type WorkflowUpdated (line 31) | type WorkflowUpdated = { type WorkflowPushMessage (line 39) | type WorkflowPushMessage = FILE: packages/@n8n/api-types/src/quick-connect.ts type QuickConnectGenericOption (line 1) | type QuickConnectGenericOption = { type QuickConnectPineconeOption (line 11) | type QuickConnectPineconeOption = Omit; FILE: packages/@n8n/api-types/src/schemas/breaking-changes.schema.ts type BreakingChangeRuleSeverity (line 5) | type BreakingChangeRuleSeverity = z.infer; constant MIGRATION_REPORT_TARGET_VERSION (line 22) | const MIGRATION_REPORT_TARGET_VERSION: BreakingChangeVersion | null = null; type BreakingChangeRecommendation (line 29) | type BreakingChangeRecommendation = z.infer; type BreakingChangeInstanceIssue (line 36) | type BreakingChangeInstanceIssue = z.infer; type BreakingChangeWorkflowIssue (line 42) | type BreakingChangeWorkflowIssue = z.infer; type BreakingChangeAffectedWorkflow (line 53) | type BreakingChangeAffectedWorkflow = z.infer; type CredentialResolver (line 31) | type CredentialResolver = z.infer; type CredentialResolverAffectedWorkflow (line 42) | type CredentialResolverAffectedWorkflow = z.infer< FILE: packages/@n8n/api-types/src/schemas/data-table-filter.schema.ts type DataTableFilterConditionType (line 16) | type DataTableFilterConditionType = z.infer; type DataTableFilter (line 31) | type DataTableFilter = z.infer; FILE: packages/@n8n/api-types/src/schemas/data-table.schema.ts constant DATA_TABLE_COLUMN_REGEX (line 11) | const DATA_TABLE_COLUMN_REGEX = /^[a-zA-Z][a-zA-Z0-9_]*$/; constant DATA_TABLE_COLUMN_MAX_LENGTH (line 12) | const DATA_TABLE_COLUMN_MAX_LENGTH = 63; constant DATA_TABLE_COLUMN_ERROR_MESSAGE (line 13) | const DATA_TABLE_COLUMN_ERROR_MESSAGE = type DataTableCreateColumnSchema (line 29) | type DataTableCreateColumnSchema = z.infer; type DataTableColumn (line 43) | type DataTableColumn = z.infer; type DataTableListFilter (line 45) | type DataTableListFilter = { type DataTableListOptions (line 51) | type DataTableListOptions = Partial & { type DataTableListSortBy (line 55) | type DataTableListSortBy = ListDataTableQueryDto['sortBy']; FILE: packages/@n8n/api-types/src/schemas/dependency-counts.schema.ts type DependencyTypeCounts (line 1) | interface DependencyTypeCounts { type DependencyCountsBatchResponse (line 14) | type DependencyCountsBatchResponse = Record; FILE: packages/@n8n/api-types/src/schemas/dependency.schema.ts type DependencyType (line 1) | type DependencyType = type DependencyResourceType (line 9) | type DependencyResourceType = 'workflow' | 'credential' | 'dataTable'; type ResolvedDependency (line 11) | interface ResolvedDependency { type ResolvedDependenciesResult (line 19) | interface ResolvedDependenciesResult { type DependenciesBatchResponse (line 25) | type DependenciesBatchResponse = Record; type ExternalSecretsProviderProperty (line 9) | type ExternalSecretsProviderProperty = INodeProperties; type ExternalSecretsProviderState (line 11) | type ExternalSecretsProviderState = 'connected' | 'tested' | 'initializi... type ExternalSecretsProvider (line 13) | interface ExternalSecretsProvider { FILE: packages/@n8n/api-types/src/schemas/folder.schema.ts constant FOLDER_NAME_MAX_LENGTH (line 5) | const FOLDER_NAME_MAX_LENGTH = 128; FILE: packages/@n8n/api-types/src/schemas/insights.schema.ts type InsightsSummaryType (line 10) | type InsightsSummaryType = z.infer; type InsightsSummaryUnit (line 13) | type InsightsSummaryUnit = z.infer; type InsightsSummary (line 44) | type InsightsSummary = z.infer; type InsightsByWorkflow (line 70) | type InsightsByWorkflow = z.infer; type InsightsByTime (line 88) | type InsightsByTime = z.infer; type RestrictedInsightsByTime (line 101) | type RestrictedInsightsByTime = z.infer; FILE: packages/@n8n/api-types/src/schemas/instance-ai.schema.ts constant UNLIMITED_CREDITS (line 14) | const UNLIMITED_CREDITS = -1; type RunId (line 20) | type RunId = string & { readonly __brand: 'RunId' }; type AgentId (line 21) | type AgentId = string & { readonly __brand: 'AgentId' }; type ThreadId (line 22) | type ThreadId = string & { readonly __brand: 'ThreadId' }; type ToolCallId (line 23) | type ToolCallId = string & { readonly __brand: 'ToolCallId' }; type InstanceAiEventType (line 46) | type InstanceAiEventType = z.infer; type InstanceAiRunStatus (line 53) | type InstanceAiRunStatus = z.infer; type InstanceAiConfirmationSeverity (line 60) | type InstanceAiConfirmationSeverity = z.infer; type InstanceAiAgentKind (line 76) | type InstanceAiAgentKind = z.infer; type DomainAccessAction (line 83) | type DomainAccessAction = z.infer; type DomainAccessMeta (line 89) | type DomainAccessMeta = z.infer; constant UNSAFE_OBJECT_KEYS (line 91) | const UNSAFE_OBJECT_KEYS = new Set(['__proto__', 'constructor', 'prototy... function isSafeObjectKey (line 93) | function isSafeObjectKey(key: string): boolean { type InstanceAiTargetResource (line 121) | type InstanceAiTargetResource = z.infer; type InstanceAiCredentialFlow (line 183) | type InstanceAiCredentialFlow = z.infer; type InstanceAiWorkflowSetupNode (line 241) | type InstanceAiWorkflowSetupNode = z.infer; type TaskItem (line 253) | type TaskItem = z.infer; type TaskList (line 259) | type TaskList = z.infer; type McpToolAnnotations (line 352) | type McpToolAnnotations = z.infer; type McpTool (line 360) | type McpTool = z.infer; type McpToolCallRequest (line 366) | type McpToolCallRequest = z.infer; type McpToolCallResult (line 380) | type McpToolCallResult = z.infer; type ToolCategory (line 388) | type ToolCategory = z.infer; type InstanceAiGatewayCapabilities (line 396) | type InstanceAiGatewayCapabilities = z.infer; type InstanceAiRunStartEvent (line 471) | type InstanceAiRunStartEvent = Extract; type InstanceAiErrorEvent (line 486) | type InstanceAiErrorEvent = Extract; type InstanceAiFilesystemRequestEvent (line 487) | type InstanceAiFilesystemRequestEvent = Extract< type InstanceAiThreadTitleUpdatedEvent (line 491) | type InstanceAiThreadTitleUpdatedEvent = Extract< type InstanceAiFilesystemResponse (line 496) | type InstanceAiFilesystemResponse = z.infer; class InstanceAiSendMessageRequest (line 510) | class InstanceAiSendMessageRequest extends Z.class({ class InstanceAiCorrectTaskRequest (line 518) | class InstanceAiCorrectTaskRequest extends Z.class({ class InstanceAiUpdateMemoryRequest (line 522) | class InstanceAiUpdateMemoryRequest extends Z.class({ class InstanceAiEnsureThreadRequest (line 526) | class InstanceAiEnsureThreadRequest extends Z.class({ class InstanceAiGatewayEventsQuery (line 532) | class InstanceAiGatewayEventsQuery extends Z.class({ class InstanceAiEventsQuery (line 536) | class InstanceAiEventsQuery extends Z.class({ class InstanceAiThreadMessagesQuery (line 540) | class InstanceAiThreadMessagesQuery extends Z.class({ type InstanceAiSendMessageResponse (line 546) | interface InstanceAiSendMessageResponse { type InstanceAiConfirmResponse (line 550) | interface InstanceAiConfirmResponse { type InstanceAiToolCallState (line 575) | interface InstanceAiToolCallState { type InstanceAiTimelineEntry (line 608) | type InstanceAiTimelineEntry = type InstanceAiAgentNode (line 613) | interface InstanceAiAgentNode { type InstanceAiMessage (line 649) | interface InstanceAiMessage { type InstanceAiThreadSummary (line 665) | interface InstanceAiThreadSummary { type InstanceAiSSEConnectionState (line 671) | type InstanceAiSSEConnectionState = type InstanceAiThreadInfo (line 681) | interface InstanceAiThreadInfo { type InstanceAiThreadListResponse (line 690) | interface InstanceAiThreadListResponse { type InstanceAiEnsureThreadResponse (line 697) | interface InstanceAiEnsureThreadResponse { type InstanceAiStoredMessage (line 702) | interface InstanceAiStoredMessage { type InstanceAiThreadMessagesResponse (line 710) | interface InstanceAiThreadMessagesResponse { type InstanceAiThreadContextResponse (line 715) | interface InstanceAiThreadContextResponse { type InstanceAiRichMessagesResponse (line 724) | interface InstanceAiRichMessagesResponse { type InstanceAiThreadStatusResponse (line 735) | interface InstanceAiThreadStatusResponse { type InstanceAiPermissionMode (line 761) | type InstanceAiPermissionMode = z.infer; constant DEFAULT_INSTANCE_AI_PERMISSIONS (line 783) | const DEFAULT_INSTANCE_AI_PERMISSIONS: InstanceAiPermissions = { type InstanceAiAdminSettingsResponse (line 805) | interface InstanceAiAdminSettingsResponse { class InstanceAiAdminSettingsUpdateRequest (line 823) | class InstanceAiAdminSettingsUpdateRequest extends Z.class({ type InstanceAiUserPreferencesResponse (line 845) | interface InstanceAiUserPreferencesResponse { class InstanceAiUserPreferencesUpdateRequest (line 853) | class InstanceAiUserPreferencesUpdateRequest extends Z.class({ type InstanceAiModelCredential (line 859) | interface InstanceAiModelCredential { constant BUILDER_RENDER_HINT_TOOLS (line 866) | const BUILDER_RENDER_HINT_TOOLS = new Set(['build-workflow-with-agent', ... constant DATA_TABLE_RENDER_HINT_TOOLS (line 867) | const DATA_TABLE_RENDER_HINT_TOOLS = new Set([ constant RESEARCH_RENDER_HINT_TOOLS (line 871) | const RESEARCH_RENDER_HINT_TOOLS = new Set(['research-with-agent']); function getRenderHint (line 873) | function getRenderHint(toolName: string): InstanceAiToolCallState['rende... FILE: packages/@n8n/api-types/src/schemas/password.schema.ts constant MIN_LENGTH_FLOOR (line 3) | const MIN_LENGTH_FLOOR = 8; constant MAX_LENGTH (line 4) | const MAX_LENGTH = 64; FILE: packages/@n8n/api-types/src/schemas/project.schema.ts type ProjectType (line 7) | type ProjectType = z.infer; type ProjectIcon (line 13) | type ProjectIcon = z.infer; type ProjectRelation (line 21) | type ProjectRelation = z.infer; FILE: packages/@n8n/api-types/src/schemas/secrets-provider.schema.ts type SecretsProviderType (line 15) | type SecretsProviderType = z.infer; type SecretsProviderState (line 25) | type SecretsProviderState = z.infer; type SecretsProviderConnectionTestState (line 31) | type SecretsProviderConnectionTestState = z.infer< type SecretsProviderAccessRole (line 45) | type SecretsProviderAccessRole = z.infer; function isSourceControlledFileStatus (line 30) | function isSourceControlledFileStatus(value: unknown): value is SourceCo... constant SOURCE_CONTROL_FILE_LOCATION (line 35) | const SOURCE_CONTROL_FILE_LOCATION = FileLocationSchema.Values; type SourceControlledFile (line 61) | type SourceControlledFile = z.infer; FILE: packages/@n8n/api-types/src/schemas/usage.schema.ts type UsageState (line 25) | type UsageState = z.infer; FILE: packages/@n8n/api-types/src/schemas/user-settings.schema.ts type UserSettings (line 27) | type UserSettings = z.infer; FILE: packages/@n8n/api-types/src/schemas/user.schema.ts constant ROLE (line 6) | const ROLE = { type Role (line 14) | type Role = (typeof ROLE)[keyof typeof ROLE]; type User (line 51) | type User = z.infer; type UsersList (line 52) | type UsersList = z.infer; FILE: packages/@n8n/api-types/src/schemas/workflow-execution-status.schema.ts type WorkflowExecutionStatus (line 20) | type WorkflowExecutionStatus = z.infer = new Set([ function isAllowedDomain (line 223) | function isAllowedDomain(host: string): boolean { FILE: packages/@n8n/api-types/src/zod-class.ts type ZodClass (line 3) | interface ZodClass; method constructor (line 39) | constructor(data: Output) { method safeParse (line 44) | static safeParse(data: unknown) { method parse (line 48) | static parse(data: unknown): Output { method extend (line 52) | static extend(additionalShape: U) { FILE: packages/@n8n/backend-common/src/cli-parser.ts type CliInput (line 7) | type CliInput = { type ParsedArgs (line 14) | type ParsedArgs> = { class CliParser (line 20) | class CliParser { method constructor (line 21) | constructor(private readonly logger: Logger) {} method parse (line 23) | parse( FILE: packages/@n8n/backend-common/src/license-state.ts class ProviderNotSetError (line 8) | class ProviderNotSetError extends UnexpectedError { method constructor (line 9) | constructor() { class LicenseState (line 15) | class LicenseState { method setLicenseProvider (line 18) | setLicenseProvider(provider: LicenseProvider) { method assertProvider (line 22) | private assertProvider(): asserts this is { licenseProvider: LicensePr... method isLicensed (line 33) | isLicensed(feature: BooleanLicenseFeature | BooleanLicenseFeature[]) { method getValue (line 47) | getValue(feature: T): FeatureReturn... method isCustomRolesLicensed (line 57) | isCustomRolesLicensed() { method isDynamicCredentialsLicensed (line 61) | isDynamicCredentialsLicensed() { method isPersonalSpacePolicyLicensed (line 65) | isPersonalSpacePolicyLicensed() { method isSharingLicensed (line 69) | isSharingLicensed() { method isLogStreamingLicensed (line 73) | isLogStreamingLicensed() { method isLdapLicensed (line 77) | isLdapLicensed() { method isSamlLicensed (line 81) | isSamlLicensed() { method isOidcLicensed (line 85) | isOidcLicensed() { method isMFAEnforcementLicensed (line 89) | isMFAEnforcementLicensed() { method isApiKeyScopesLicensed (line 93) | isApiKeyScopesLicensed() { method isAiAssistantLicensed (line 97) | isAiAssistantLicensed() { method isAskAiLicensed (line 101) | isAskAiLicensed() { method isAiCreditsLicensed (line 105) | isAiCreditsLicensed() { method isAdvancedExecutionFiltersLicensed (line 109) | isAdvancedExecutionFiltersLicensed() { method isAdvancedPermissionsLicensed (line 113) | isAdvancedPermissionsLicensed() { method isDebugInEditorLicensed (line 117) | isDebugInEditorLicensed() { method isBinaryDataS3Licensed (line 121) | isBinaryDataS3Licensed() { method isMultiMainLicensed (line 125) | isMultiMainLicensed() { method isVariablesLicensed (line 129) | isVariablesLicensed() { method isSourceControlLicensed (line 133) | isSourceControlLicensed() { method isExternalSecretsLicensed (line 137) | isExternalSecretsLicensed() { method isAPIDisabled (line 141) | isAPIDisabled() { method isWorkerViewLicensed (line 145) | isWorkerViewLicensed() { method isProjectRoleAdminLicensed (line 149) | isProjectRoleAdminLicensed() { method isProjectRoleEditorLicensed (line 153) | isProjectRoleEditorLicensed() { method isProjectRoleViewerLicensed (line 157) | isProjectRoleViewerLicensed() { method isCustomNpmRegistryLicensed (line 161) | isCustomNpmRegistryLicensed() { method isFoldersLicensed (line 165) | isFoldersLicensed() { method isInsightsSummaryLicensed (line 169) | isInsightsSummaryLicensed() { method isInsightsDashboardLicensed (line 173) | isInsightsDashboardLicensed() { method isInsightsHourlyDataLicensed (line 177) | isInsightsHourlyDataLicensed() { method isWorkflowDiffsLicensed (line 181) | isWorkflowDiffsLicensed() { method isProvisioningLicensed (line 185) | isProvisioningLicensed() { method getMaxUsers (line 193) | getMaxUsers() { method getMaxActiveWorkflows (line 197) | getMaxActiveWorkflows() { method getMaxVariables (line 201) | getMaxVariables() { method getMaxAiCredits (line 205) | getMaxAiCredits() { method getWorkflowHistoryPruneQuota (line 209) | getWorkflowHistoryPruneQuota() { method getInsightsMaxHistory (line 213) | getInsightsMaxHistory() { method getInsightsRetentionMaxAge (line 217) | getInsightsRetentionMaxAge() { method getInsightsRetentionPruneInterval (line 221) | getInsightsRetentionPruneInterval() { method getMaxTeamProjects (line 225) | getMaxTeamProjects() { method getMaxWorkflowsWithEvaluations (line 229) | getMaxWorkflowsWithEvaluations() { FILE: packages/@n8n/backend-common/src/logging/logger.ts class Logger (line 23) | class Logger implements LoggerType { method isScopingEnabled (line 30) | private get isScopingEnabled() { method constructor (line 41) | constructor( method setInternalLogger (line 71) | private setInternalLogger(internalLogger: winston.Logger) { method scoped (line 76) | scoped(scopes: LogScope | LogScope[]) { method serializeError (line 88) | private serializeError( method log (line 109) | private log(level: LogLevel, message: string, metadata: LogMetadata) { method setLevel (line 130) | private setLevel() { method jsonConsoleFormat (line 142) | private jsonConsoleFormat() { method pickConsoleTransportFormat (line 151) | private pickConsoleTransportFormat() { method setConsoleTransport (line 163) | private setConsoleTransport() { method scopeFilter (line 169) | private scopeFilter() { method color (line 182) | private color(defaultToTrue: boolean = false) { method debugDevConsoleFormat (line 192) | private debugDevConsoleFormat() { method debugProdConsoleFormat (line 208) | private debugProdConsoleFormat() { method devTsFormat (line 221) | private devTsFormat() { method toPrintable (line 231) | private toPrintable(metadata: unknown) { method setFileTransport (line 245) | private setFileTransport() { method error (line 264) | error(message: string, metadata: LogMetadata = {}) { method warn (line 268) | warn(message: string, metadata: LogMetadata = {}) { method info (line 272) | info(message: string, metadata: LogMetadata = {}) { method debug (line 276) | debug(message: string, metadata: LogMetadata = {}) { method getInternalLogger (line 284) | getInternalLogger() { FILE: packages/@n8n/backend-common/src/modules/errors/missing-module.error.ts class MissingModuleError (line 3) | class MissingModuleError extends UserError { method constructor (line 4) | constructor(moduleName: string, errorMsg: string) { FILE: packages/@n8n/backend-common/src/modules/errors/module-confusion.error.ts class ModuleConfusionError (line 3) | class ModuleConfusionError extends UserError { method constructor (line 4) | constructor(moduleNames: string[]) { FILE: packages/@n8n/backend-common/src/modules/errors/unknown-module.error.ts class UnknownModuleError (line 3) | class UnknownModuleError extends UnexpectedError { method constructor (line 4) | constructor(moduleName: string) { FILE: packages/@n8n/backend-common/src/modules/module-registry.ts class ModuleRegistry (line 16) | class ModuleRegistry { method constructor (line 25) | constructor( method eligibleModules (line 57) | get eligibleModules(): ModuleName[] { method loadModules (line 77) | async loadModules(modules?: ModuleName[]) { method initModules (line 126) | async initModules(instanceType: InstanceType) { method refreshModuleSettings (line 164) | async refreshModuleSettings(moduleName: ModuleName) { method shutdownModule (line 183) | async shutdownModule(moduleName: ModuleName) { method isActive (line 199) | isActive(moduleName: ModuleName) { method getActiveModules (line 203) | getActiveModules() { FILE: packages/@n8n/backend-common/src/modules/modules.config.ts constant MODULE_NAMES (line 5) | const MODULE_NAMES = [ type ModuleName (line 29) | type ModuleName = (typeof MODULE_NAMES)[number]; class ModuleArray (line 31) | class ModuleArray extends CommaSeparatedStringArray { method constructor (line 32) | constructor(str: string) { class ModulesConfig (line 42) | class ModulesConfig { FILE: packages/@n8n/backend-common/src/types.ts type FeatureReturnType (line 3) | type FeatureReturnType = Partial< type LicenseProvider (line 9) | interface LicenseProvider { FILE: packages/@n8n/backend-common/src/utils/flatted-async.ts constant CHUNK_SIZE (line 15) | const CHUNK_SIZE = 64 * 1024; function resolveFlatted (line 66) | function resolveFlatted(rawArray: unknown[]): unknown { function applyPrimitivesDeep (line 84) | function applyPrimitivesDeep(value: unknown): unknown { function prepareFlatted (line 111) | function prepareFlatted(rawParsed: unknown[]): unknown[] { function parseFlattedAsync (line 120) | async function parseFlattedAsync(flattedString: string): Promise { FILE: packages/@n8n/backend-common/src/utils/fs.ts function assertDir (line 3) | async function assertDir(dir: string) { function exists (line 13) | async function exists(filePath: string) { FILE: packages/@n8n/backend-common/src/utils/is-object-literal.ts type ObjectLiteral (line 1) | type ObjectLiteral = { [key: string | symbol]: unknown }; function isObjectLiteral (line 10) | function isObjectLiteral(candidate: unknown): candidate is ObjectLiteral { FILE: packages/@n8n/backend-common/src/utils/parse-flatted.ts constant SIZE_THRESHOLD (line 6) | const SIZE_THRESHOLD = 1 * 1024 * 1024; function parseFlatted (line 15) | async function parseFlatted(data: string): Promise { FILE: packages/@n8n/backend-common/src/utils/path-util.ts function isContainedWithin (line 8) | function isContainedWithin(parentPath: string, childPath: string): boole... function safeJoinPath (line 26) | function safeJoinPath(parentPath: string, ...paths: string[]): string { FILE: packages/@n8n/backend-test-utils/src/db/projects.ts function getProjectByNameOrFail (line 41) | async function getProjectByNameOrFail(name: string) { FILE: packages/@n8n/backend-test-utils/src/db/workflows.ts function newWorkflow (line 18) | function newWorkflow(attributes: Partial = {}): IWorkflowDb { function createWorkflow (line 49) | async function createWorkflow( function createManyWorkflows (line 81) | async function createManyWorkflows( function createManyActiveWorkflows (line 93) | async function createManyActiveWorkflows( function shareWorkflowWithUsers (line 105) | async function shareWorkflowWithUsers(workflow: IWorkflowBase, users: Us... function shareWorkflowWithProjects (line 121) | async function shareWorkflowWithProjects( function getWorkflowSharing (line 138) | async function getWorkflowSharing(workflow: IWorkflowBase) { function createWorkflowWithTrigger (line 149) | async function createWorkflowWithTrigger( function createWorkflowWithHistory (line 197) | async function createWorkflowWithHistory( function createWorkflowWithTriggerAndHistory (line 215) | async function createWorkflowWithTriggerAndHistory( function getAllWorkflows (line 228) | async function getAllWorkflows() { function getAllSharedWorkflows (line 232) | async function getAllSharedWorkflows() { function createWorkflowHistory (line 246) | async function createWorkflowHistory( function setActiveVersion (line 287) | async function setActiveVersion(workflowId: string, versionId: string): ... function createActiveWorkflow (line 302) | async function createActiveWorkflow( FILE: packages/@n8n/backend-test-utils/src/migration-test-helpers.ts function reinitializeDataConnection (line 7) | async function reinitializeDataConnection(): Promise { function getMigrationsTableName (line 16) | function getMigrationsTableName(): string { type TestMigrationContext (line 31) | interface TestMigrationContext { function createTestMigrationContext (line 49) | function createTestMigrationContext(dataSource: DataSource): TestMigrati... function initDbUpToMigration (line 102) | async function initDbUpToMigration(beforeMigrationName: string): Promise... function undoLastSingleMigration (line 137) | async function undoLastSingleMigration(): Promise { function runSingleMigration (line 181) | async function runSingleMigration(migrationName: string): Promise { FILE: packages/@n8n/backend-test-utils/src/random.ts type CredentialPayload (line 6) | type CredentialPayload = { constant POPULAR_TOP_LEVEL_DOMAINS (line 39) | const POPULAR_TOP_LEVEL_DOMAINS = ['com', 'org', 'net', 'io', 'edu']; FILE: packages/@n8n/backend-test-utils/src/test-db.ts function init (line 34) | async function init() { function isReady (line 59) | function isReady() { function terminate (line 67) | async function terminate() { type EntityName (line 91) | type EntityName = function truncate (line 114) | async function truncate(entities: EntityName[]) { FILE: packages/@n8n/backend-test-utils/src/test-modules.ts function loadModules (line 5) | async function loadModules(moduleNames: ModuleName[]) { FILE: packages/@n8n/benchmark/scripts/clients/docker-compose-client.mjs class DockerComposeClient (line 3) | class DockerComposeClient { method constructor (line 8) | constructor({ $ }) { method $ (line 12) | async $(...args) { method resolveExecutableIfNeeded (line 22) | async resolveExecutableIfNeeded() { FILE: packages/@n8n/benchmark/scripts/clients/ssh-client.mjs class SshClient (line 4) | class SshClient { method constructor (line 9) | constructor({ privateKeyPath, ip, username, verbose = false }) { method ssh (line 24) | async ssh(command, options = {}) { method scp (line 32) | async scp(source, destination) { FILE: packages/@n8n/benchmark/scripts/clients/terraform-client.mjs class TerraformClient (line 11) | class TerraformClient { method constructor (line 12) | constructor({ isVerbose = false }) { method provisionEnvironment (line 23) | async provisionEnvironment() { method getTerraformOutputs (line 39) | async getTerraformOutputs() { method hasTerraformState (line 50) | hasTerraformState() { method destroyEnvironment (line 54) | async destroyEnvironment() { method getTerraformOutput (line 60) | async getTerraformOutput(key) { method extractPrivateKey (line 65) | async extractPrivateKey() { FILE: packages/@n8n/benchmark/scripts/destroy-cloud-env.mjs constant RESOURCE_GROUP_NAME (line 13) | const RESOURCE_GROUP_NAME = 'n8n-benchmarking'; function main (line 21) | async function main() { function destroyUsingAz (line 31) | async function destroyUsingAz() { function deleteResources (line 48) | async function deleteResources(resourceIds) { function deleteById (line 72) | async function deleteById(id) { FILE: packages/@n8n/benchmark/scripts/n8n-setups/postgres/setup.mjs function setup (line 9) | function setup({ runDir }) { FILE: packages/@n8n/benchmark/scripts/n8n-setups/scaling-multi-main/setup.mjs function setup (line 9) | function setup({ runDir }) { FILE: packages/@n8n/benchmark/scripts/n8n-setups/scaling-single-main/setup.mjs function setup (line 9) | function setup({ runDir }) { FILE: packages/@n8n/benchmark/scripts/n8n-setups/sqlite/setup.mjs function setup (line 9) | function setup({ runDir }) { FILE: packages/@n8n/benchmark/scripts/provision-cloud-env.mjs function provision (line 17) | async function provision() { function ensureDependencies (line 27) | async function ensureDependencies() { FILE: packages/@n8n/benchmark/scripts/run-for-n8n-setup.mjs constant N8N_ENCRYPTION_KEY (line 17) | const N8N_ENCRYPTION_KEY = 'very-secret-encryption-key'; function discoverRunnerServices (line 22) | async function discoverRunnerServices(dockerComposeClient) { function main (line 31) | async function main() { function printContainerStatus (line 131) | async function printContainerStatus(dockerComposeClient) { function dumpLogs (line 136) | async function dumpLogs(dockerComposeClient) { function printUsage (line 141) | function printUsage() { function getAllN8nSetups (line 163) | function getAllN8nSetups() { function validateN8nSetup (line 167) | function validateN8nSetup(givenSetup) { FILE: packages/@n8n/benchmark/scripts/run-in-cloud.mjs function runInCloud (line 42) | async function runInCloud(config) { function ensureDependencies (line 54) | async function ensureDependencies() { function runBenchmarksOnVm (line 63) | async function runBenchmarksOnVm(config, benchmarkEnv) { function runBenchmarkForN8nSetup (line 109) | async function runBenchmarkForN8nSetup({ config, sshClient, scriptsDir, ... function ensureVmIsReachable (line 134) | async function ensureVmIsReachable(sshClient) { function transferScriptsToVm (line 149) | async function transferScriptsToVm(sshClient, config) { FILE: packages/@n8n/benchmark/scripts/run-locally.mjs function runLocally (line 42) | async function runLocally(config) { FILE: packages/@n8n/benchmark/scripts/run.mjs function main (line 19) | async function main() { function readAvailableN8nSetups (line 67) | function readAvailableN8nSetups() { function parseAndValidateConfig (line 91) | async function parseAndValidateConfig() { function getAndValidateN8nSetup (line 142) | async function getAndValidateN8nSetup(args) { function printUsage (line 159) | function printUsage() { FILE: packages/@n8n/benchmark/scripts/utils/flags.mjs function flagsObjectToCliArgs (line 10) | function flagsObjectToCliArgs(flags) { FILE: packages/@n8n/benchmark/src/commands/list.ts class ListCommand (line 6) | class ListCommand extends Command { method run (line 13) | async run() { FILE: packages/@n8n/benchmark/src/commands/run.ts class RunCommand (line 11) | class RunCommand extends Command { method run (line 88) | async run() { method parseTags (line 129) | private async parseTags(): Promise { FILE: packages/@n8n/benchmark/src/n8n-api-client/authenticated-n8n-api-client.ts class AuthenticatedN8nApiClient (line 5) | class AuthenticatedN8nApiClient extends N8nApiClient { method constructor (line 6) | constructor( method createUsingUsernameAndPassword (line 13) | static async createUsingUsernameAndPassword( method get (line 53) | async get(endpoint: string) { method post (line 59) | async post(endpoint: string, data: unknown) { method patch (line 66) | async patch(endpoint: string, data: unknown) { method delete (line 73) | async delete(endpoint: string) { method authenticatedRequest (line 79) | protected async authenticatedRequest(endpoint: string, init: Omit { method createCredential (line 16) | async createCredential(credential: Credential): Promise { method deleteCredential (line 25) | async deleteCredential(credentialId: Credential['id']): Promise { FILE: packages/@n8n/benchmark/src/n8n-api-client/data-table-api-client.ts class DataTableApiClient (line 5) | class DataTableApiClient { method constructor (line 6) | constructor(private readonly apiClient: AuthenticatedN8nApiClient) {} method getAllDataTables (line 8) | async getAllDataTables(): Promise { method deleteDataTable (line 16) | async deleteDataTable(projectId: string, dataTableId: DataTable['id'])... method createDataTable (line 20) | async createDataTable(projectId: string, dataTable: DataTable): Promis... FILE: packages/@n8n/benchmark/src/n8n-api-client/n8n-api-client.ts class N8nApiClient (line 4) | class N8nApiClient { method constructor (line 5) | constructor( method waitForInstanceToBecomeOnline (line 10) | async waitForInstanceToBecomeOnline(): Promise { method setupOwnerIfNeeded (line 34) | async setupOwnerIfNeeded(loginDetails: { email: string; password: stri... method restApiRequest (line 67) | async restApiRequest(endpoint: string, init: Omit { method getRestEndpointUrl (line 84) | protected getRestEndpointUrl(endpoint: string) { FILE: packages/@n8n/benchmark/src/n8n-api-client/n8n-api-client.types.ts type Workflow (line 4) | type Workflow = { type Credential (line 11) | type Credential = { type DataTableColumn (line 17) | type DataTableColumn = { type DataTable (line 22) | type DataTable = { FILE: packages/@n8n/benchmark/src/n8n-api-client/project-api-client.ts class ProjectApiClient (line 3) | class ProjectApiClient { method constructor (line 4) | constructor(private readonly apiClient: AuthenticatedN8nApiClient) {} method getPersonalProject (line 6) | async getPersonalProject(): Promise { FILE: packages/@n8n/benchmark/src/n8n-api-client/workflows-api-client.ts class WorkflowApiClient (line 5) | class WorkflowApiClient { method constructor (line 6) | constructor(private readonly apiClient: AuthenticatedN8nApiClient) {} method getAllWorkflows (line 8) | async getAllWorkflows(): Promise { method createWorkflow (line 14) | async createWorkflow(workflow: unknown): Promise { method activateWorkflow (line 20) | async activateWorkflow(workflow: Workflow): Promise { method archiveWorkflow (line 31) | async archiveWorkflow(workflowId: Workflow['id']): Promise { method deleteWorkflow (line 35) | async deleteWorkflow(workflowId: Workflow['id']): Promise { FILE: packages/@n8n/benchmark/src/scenario/scenario-data-loader.ts type LoadableScenarioData (line 7) | type LoadableScenarioData = { class ScenarioDataFileLoader (line 16) | class ScenarioDataFileLoader { method loadDataForScenario (line 17) | async loadDataForScenario(scenario: Scenario): Promise { FILE: packages/@n8n/benchmark/src/test-execution/k6-summary.ts type TrendStat (line 162) | type TrendStat = 'avg' | 'min' | 'med' | 'max' | 'p(90)' | 'p(95)'; type MetricType (line 163) | type MetricType = 'trend' | 'rate' | 'counter'; type MetricContains (line 164) | type MetricContains = 'time' | 'default' | 'data'; type TrendValues (line 166) | interface TrendValues { type RateValues (line 175) | interface RateValues { type CounterValues (line 181) | interface CounterValues { type K6TrendMetric (line 186) | interface K6TrendMetric { type RateMetric (line 192) | interface RateMetric { type K6CounterMetric (line 198) | interface K6CounterMetric { type Options (line 204) | interface Options { type State (line 210) | interface State { type Metrics (line 216) | interface Metrics { type K6Check (line 234) | interface K6Check { type RootGroup (line 242) | interface RootGroup { type K6EndOfTestSummary (line 250) | interface K6EndOfTestSummary { FILE: packages/@n8n/benchmark/src/test-execution/prometheus-metrics-parser.ts class PrometheusMetricsParser (line 4) | class PrometheusMetricsParser { method extractMetricValues (line 8) | static extractMetricValues(metricsData: string[], metricName: string):... method calculateMetricStats (line 41) | static calculateMetricStats( FILE: packages/@n8n/benchmark/src/test-execution/scenario-data-importer.ts class ScenarioDataImporter (line 12) | class ScenarioDataImporter { method constructor (line 18) | constructor(n8nApiClient: AuthenticatedN8nApiClient) { method replaceValuesInObject (line 25) | private replaceValuesInObject(obj: unknown, searchText: string, target... method importTestScenarioData (line 39) | async importTestScenarioData(data: LoadableScenarioData) { method importCredentials (line 71) | private async importCredentials(opts: { method importDataTable (line 91) | private async importDataTable(opts: { existingDataTables: DataTable[];... method importWorkflow (line 115) | private async importWorkflow(opts: { existingWorkflows: Workflow[]; wo... method findExistingCredentials (line 132) | private findExistingCredentials( method findExistingWorkflows (line 143) | private findExistingWorkflows( method getBenchmarkCredentialName (line 154) | private getBenchmarkCredentialName(credential: Credential) { method getBenchmarkWorkflowName (line 158) | private getBenchmarkWorkflowName(workflow: Workflow) { method getBenchmarkDataTableName (line 162) | private getBenchmarkDataTableName(dataTable: DataTable) { FILE: packages/@n8n/benchmark/src/test-execution/scenario-runner.ts class ScenarioRunner (line 14) | class ScenarioRunner { method constructor (line 15) | constructor( method runManyScenarios (line 26) | async runManyScenarios(scenarios: Scenario[]) { method runSingleTestScenario (line 44) | private async runSingleTestScenario(testDataImporter: ScenarioDataImpo... method formTestScenarioRunName (line 73) | private formTestScenarioRunName(scenario: Scenario) { FILE: packages/@n8n/benchmark/src/test-execution/test-report.ts type K6Tag (line 6) | type K6Tag = { type Check (line 11) | type Check = { type CounterMetric (line 17) | type CounterMetric = { type TrendMetric (line 23) | type TrendMetric = { type AppMetricStats (line 33) | type AppMetricStats = { type AppMetricsReport (line 40) | type AppMetricsReport = { type TestReport (line 47) | type TestReport = { function k6CheckToCheck (line 66) | function k6CheckToCheck(check: K6Check): Check { function k6CounterToCounter (line 74) | function k6CounterToCounter(counter: K6CounterMetric): CounterMetric { function k6TrendToTrend (line 82) | function k6TrendToTrend(trend: K6TrendMetric): TrendMetric { function buildAppMetricsReport (line 97) | function buildAppMetricsReport(metricsData: string[]): AppMetricsReport { function buildTestReport (line 126) | function buildTestReport( FILE: packages/@n8n/benchmark/src/types/scenario.ts type ScenarioData (line 1) | type ScenarioData = { type ScenarioManifest (line 13) | type ScenarioManifest = { type Scenario (line 27) | type Scenario = ScenarioManifest & { FILE: packages/@n8n/chat-hub/src/artifact.ts function collectChatArtifacts (line 3) | function collectChatArtifacts(items: ChatMessageContentChunk[]): ChatArt... FILE: packages/@n8n/chat-hub/src/constants.ts constant DEFAULT_CONTEXT_WINDOW_LENGTH (line 8) | const DEFAULT_CONTEXT_WINDOW_LENGTH = 20; type NodeTypeNameVersion (line 10) | type NodeTypeNameVersion = { name: string; version: number }; constant EMBEDDINGS_NODE_TYPE_MAP (line 12) | const EMBEDDINGS_NODE_TYPE_MAP: Partial Promise): Promise { method succeed (line 139) | protected succeed( method readInput (line 154) | protected readInput(flags: { file?: string; stdin?: boolean }): string { FILE: packages/@n8n/cli/src/client.ts type PaginatedResponse (line 1) | interface PaginatedResponse { type ClientOptions (line 6) | interface ClientOptions { class ApiError (line 12) | class ApiError extends Error { method constructor (line 13) | constructor( class N8nClient (line 23) | class N8nClient { method constructor (line 30) | constructor(options: ClientOptions) { method request (line 47) | private async request( method get (line 106) | private async get(path: string, query?: Record): Pr... method post (line 110) | private async post(path: string, body?: unknown): Promise { method put (line 114) | private async put(path: string, body?: unknown): Promise { method patch (line 118) | private async patch(path: string, body?: unknown): Promise { method del (line 122) | private async del(path: string, query?: Record): Pr... method paginate (line 127) | async paginate( method listWorkflows (line 150) | async listWorkflows(query: Record = {}, limit?: number) { method getWorkflow (line 154) | async getWorkflow(id: string) { method createWorkflow (line 158) | async createWorkflow(body: unknown) { method updateWorkflow (line 162) | async updateWorkflow(id: string, body: unknown) { method deleteWorkflow (line 166) | async deleteWorkflow(id: string) { method activateWorkflow (line 170) | async activateWorkflow(id: string) { method deactivateWorkflow (line 174) | async deactivateWorkflow(id: string) { method getWorkflowTags (line 178) | async getWorkflowTags(id: string) { method updateWorkflowTags (line 182) | async updateWorkflowTags(id: string, tagIds: string[]) { method transferWorkflow (line 189) | async transferWorkflow(id: string, projectId: string) { method listExecutions (line 197) | async listExecutions(query: Record = {}, limit?: numbe... method getExecution (line 201) | async getExecution(id: string, includeData = false) { method retryExecution (line 206) | async retryExecution(id: string) { method stopExecution (line 210) | async stopExecution(id: string) { method deleteExecution (line 214) | async deleteExecution(id: string) { method listCredentials (line 220) | async listCredentials(query: Record = {}, limit?: numb... method getCredential (line 224) | async getCredential(id: string) { method getCredentialSchema (line 228) | async getCredentialSchema(typeName: string) { method createCredential (line 232) | async createCredential(body: unknown) { method deleteCredential (line 236) | async deleteCredential(id: string) { method transferCredential (line 240) | async transferCredential(id: string, projectId: string) { method listTags (line 248) | async listTags(query: Record = {}, limit?: number) { method createTag (line 252) | async createTag(name: string) { method updateTag (line 256) | async updateTag(id: string, name: string) { method deleteTag (line 260) | async deleteTag(id: string) { method listProjects (line 266) | async listProjects(query: Record = {}, limit?: number) { method getProject (line 270) | async getProject(id: string) { method createProject (line 274) | async createProject(name: string) { method updateProject (line 278) | async updateProject(id: string, name: string) { method deleteProject (line 282) | async deleteProject(id: string) { method listProjectMembers (line 286) | async listProjectMembers(projectId: string, limit?: number) { method addProjectMember (line 290) | async addProjectMember(projectId: string, userId: string, role: string) { method updateProjectMemberRole (line 296) | async updateProjectMemberRole(projectId: string, userId: string, role:... method removeProjectMember (line 300) | async removeProjectMember(projectId: string, userId: string) { method listVariables (line 306) | async listVariables(query: Record = {}, limit?: number) { method createVariable (line 310) | async createVariable(key: string, value: string) { method updateVariable (line 314) | async updateVariable(id: string, key: string, value: string) { method deleteVariable (line 318) | async deleteVariable(id: string) { method listDataTables (line 324) | async listDataTables(query: Record = {}, limit?: numbe... method getDataTable (line 328) | async getDataTable(id: string) { method createDataTable (line 332) | async createDataTable(body: unknown) { method deleteDataTable (line 336) | async deleteDataTable(id: string) { method listDataTableRows (line 340) | async listDataTableRows(tableId: string, query: Record... method addDataTableRows (line 348) | async addDataTableRows(tableId: string, data: unknown[]) { method updateDataTableRows (line 355) | async updateDataTableRows(tableId: string, filter: unknown, data: unkn... method upsertDataTableRows (line 363) | async upsertDataTableRows(tableId: string, filter: unknown, data: unkn... method deleteDataTableRows (line 371) | async deleteDataTableRows(tableId: string, filter: string) { method listUsers (line 380) | async listUsers(query: Record = {}, limit?: number) { method getUser (line 384) | async getUser(id: string) { method sourceControlPull (line 390) | async sourceControlPull(options: { force?: boolean } = {}) { method audit (line 398) | async audit(categories?: string[]) { FILE: packages/@n8n/cli/src/commands/audit/index.ts class Audit (line 5) | class Audit extends BaseCommand { method run (line 21) | async run(): Promise { FILE: packages/@n8n/cli/src/commands/config/set-api-key.ts class ConfigSetApiKey (line 5) | class ConfigSetApiKey extends Command { method run (line 14) | async run(): Promise { FILE: packages/@n8n/cli/src/commands/config/set-url.ts class ConfigSetUrl (line 5) | class ConfigSetUrl extends Command { method run (line 17) | async run(): Promise { FILE: packages/@n8n/cli/src/commands/config/show.ts class ConfigShow (line 5) | class ConfigShow extends Command { method run (line 10) | async run(): Promise { FILE: packages/@n8n/cli/src/commands/credential/create.ts class CredentialCreate (line 5) | class CredentialCreate extends BaseCommand { method run (line 23) | async run(): Promise { FILE: packages/@n8n/cli/src/commands/credential/delete.ts class CredentialDelete (line 5) | class CredentialDelete extends BaseCommand { method run (line 16) | async run(): Promise { FILE: packages/@n8n/cli/src/commands/credential/get.ts class CredentialGet (line 5) | class CredentialGet extends BaseCommand { method run (line 16) | async run(): Promise { FILE: packages/@n8n/cli/src/commands/credential/list.ts class CredentialList (line 5) | class CredentialList extends BaseCommand { method run (line 18) | async run(): Promise { FILE: packages/@n8n/cli/src/commands/credential/schema.ts class CredentialSchema (line 5) | class CredentialSchema extends BaseCommand { method run (line 19) | async run(): Promise { FILE: packages/@n8n/cli/src/commands/credential/transfer.ts class CredentialTransfer (line 5) | class CredentialTransfer extends BaseCommand { method run (line 19) | async run(): Promise { FILE: packages/@n8n/cli/src/commands/data-table/add-rows.ts class DataTableAddRows (line 5) | class DataTableAddRows extends BaseCommand { method run (line 23) | async run(): Promise { FILE: packages/@n8n/cli/src/commands/data-table/create.ts class DataTableCreate (line 5) | class DataTableCreate extends BaseCommand { method run (line 21) | async run(): Promise { FILE: packages/@n8n/cli/src/commands/data-table/delete-rows.ts class DataTableDeleteRows (line 5) | class DataTableDeleteRows extends BaseCommand { method run (line 24) | async run(): Promise { FILE: packages/@n8n/cli/src/commands/data-table/delete.ts class DataTableDelete (line 5) | class DataTableDelete extends BaseCommand { method run (line 16) | async run(): Promise { FILE: packages/@n8n/cli/src/commands/data-table/get.ts class DataTableGet (line 5) | class DataTableGet extends BaseCommand { method run (line 16) | async run(): Promise { FILE: packages/@n8n/cli/src/commands/data-table/list.ts class DataTableList (line 5) | class DataTableList extends BaseCommand { method run (line 15) | async run(): Promise { FILE: packages/@n8n/cli/src/commands/data-table/rows.ts class DataTableRows (line 5) | class DataTableRows extends BaseCommand { method run (line 24) | async run(): Promise { FILE: packages/@n8n/cli/src/commands/data-table/update-rows.ts class DataTableUpdateRows (line 5) | class DataTableUpdateRows extends BaseCommand { method run (line 28) | async run(): Promise { FILE: packages/@n8n/cli/src/commands/data-table/upsert-rows.ts class DataTableUpsertRows (line 5) | class DataTableUpsertRows extends BaseCommand { method run (line 28) | async run(): Promise { FILE: packages/@n8n/cli/src/commands/execution/delete.ts class ExecutionDelete (line 5) | class ExecutionDelete extends BaseCommand { method run (line 16) | async run(): Promise { FILE: packages/@n8n/cli/src/commands/execution/get.ts class ExecutionGet (line 5) | class ExecutionGet extends BaseCommand { method run (line 26) | async run(): Promise { FILE: packages/@n8n/cli/src/commands/execution/list.ts class ExecutionList (line 5) | class ExecutionList extends BaseCommand { method run (line 23) | async run(): Promise { FILE: packages/@n8n/cli/src/commands/execution/retry.ts class ExecutionRetry (line 5) | class ExecutionRetry extends BaseCommand { method run (line 16) | async run(): Promise { FILE: packages/@n8n/cli/src/commands/execution/stop.ts class ExecutionStop (line 5) | class ExecutionStop extends BaseCommand { method run (line 16) | async run(): Promise { FILE: packages/@n8n/cli/src/commands/login.ts function prompt (line 7) | async function prompt(question: string): Promise { class Login (line 17) | class Login extends Command { method run (line 22) | async run(): Promise { FILE: packages/@n8n/cli/src/commands/logout.ts class Logout (line 5) | class Logout extends Command { method run (line 10) | async run(): Promise { FILE: packages/@n8n/cli/src/commands/project/add-member.ts class ProjectAddMember (line 5) | class ProjectAddMember extends BaseCommand { method run (line 22) | async run(): Promise { FILE: packages/@n8n/cli/src/commands/project/create.ts class ProjectCreate (line 5) | class ProjectCreate extends BaseCommand { method run (line 15) | async run(): Promise { FILE: packages/@n8n/cli/src/commands/project/delete.ts class ProjectDelete (line 5) | class ProjectDelete extends BaseCommand { method run (line 16) | async run(): Promise { FILE: packages/@n8n/cli/src/commands/project/get.ts class ProjectGet (line 5) | class ProjectGet extends BaseCommand { method run (line 16) | async run(): Promise { FILE: packages/@n8n/cli/src/commands/project/list.ts class ProjectList (line 5) | class ProjectList extends BaseCommand { method run (line 15) | async run(): Promise { FILE: packages/@n8n/cli/src/commands/project/members.ts class ProjectMembers (line 5) | class ProjectMembers extends BaseCommand { method run (line 19) | async run(): Promise { FILE: packages/@n8n/cli/src/commands/project/remove-member.ts class ProjectRemoveMember (line 5) | class ProjectRemoveMember extends BaseCommand { method run (line 19) | async run(): Promise { FILE: packages/@n8n/cli/src/commands/project/update.ts class ProjectUpdate (line 5) | class ProjectUpdate extends BaseCommand { method run (line 19) | async run(): Promise { FILE: packages/@n8n/cli/src/commands/skill/install.ts class SkillInstall (line 6) | class SkillInstall extends Command { method run (line 30) | async run(): Promise { method installClaudeCode (line 53) | private installClaudeCode(content: string, global: boolean): void { method stripFrontmatter (line 67) | private stripFrontmatter(content: string): string { method installCursor (line 72) | private installCursor(content: string): void { method installWindsurf (line 90) | private installWindsurf(content: string): void { FILE: packages/@n8n/cli/src/commands/source-control/pull.ts class SourceControlPull (line 5) | class SourceControlPull extends BaseCommand { method run (line 18) | async run(): Promise { FILE: packages/@n8n/cli/src/commands/tag/create.ts class TagCreate (line 5) | class TagCreate extends BaseCommand { method run (line 15) | async run(): Promise { FILE: packages/@n8n/cli/src/commands/tag/delete.ts class TagDelete (line 5) | class TagDelete extends BaseCommand { method run (line 16) | async run(): Promise { FILE: packages/@n8n/cli/src/commands/tag/list.ts class TagList (line 5) | class TagList extends BaseCommand { method run (line 15) | async run(): Promise { FILE: packages/@n8n/cli/src/commands/tag/update.ts class TagUpdate (line 5) | class TagUpdate extends BaseCommand { method run (line 19) | async run(): Promise { FILE: packages/@n8n/cli/src/commands/user/get.ts class UserGet (line 5) | class UserGet extends BaseCommand { method run (line 16) | async run(): Promise { FILE: packages/@n8n/cli/src/commands/user/list.ts class UserList (line 5) | class UserList extends BaseCommand { method run (line 15) | async run(): Promise { FILE: packages/@n8n/cli/src/commands/variable/create.ts class VariableCreate (line 5) | class VariableCreate extends BaseCommand { method run (line 18) | async run(): Promise { FILE: packages/@n8n/cli/src/commands/variable/delete.ts class VariableDelete (line 5) | class VariableDelete extends BaseCommand { method run (line 16) | async run(): Promise { FILE: packages/@n8n/cli/src/commands/variable/list.ts class VariableList (line 5) | class VariableList extends BaseCommand { method run (line 15) | async run(): Promise { FILE: packages/@n8n/cli/src/commands/variable/update.ts class VariableUpdate (line 5) | class VariableUpdate extends BaseCommand { method run (line 22) | async run(): Promise { FILE: packages/@n8n/cli/src/commands/workflow/activate.ts class WorkflowActivate (line 5) | class WorkflowActivate extends BaseCommand { method run (line 16) | async run(): Promise { FILE: packages/@n8n/cli/src/commands/workflow/create.ts class WorkflowCreate (line 5) | class WorkflowCreate extends BaseCommand { method run (line 19) | async run(): Promise { FILE: packages/@n8n/cli/src/commands/workflow/deactivate.ts class WorkflowDeactivate (line 5) | class WorkflowDeactivate extends BaseCommand { method run (line 16) | async run(): Promise { FILE: packages/@n8n/cli/src/commands/workflow/delete.ts class WorkflowDelete (line 5) | class WorkflowDelete extends BaseCommand { method run (line 16) | async run(): Promise { FILE: packages/@n8n/cli/src/commands/workflow/get.ts class WorkflowGet (line 5) | class WorkflowGet extends BaseCommand { method run (line 19) | async run(): Promise { FILE: packages/@n8n/cli/src/commands/workflow/list.ts class WorkflowList (line 5) | class WorkflowList extends BaseCommand { method run (line 22) | async run(): Promise { FILE: packages/@n8n/cli/src/commands/workflow/tags.ts class WorkflowTags (line 5) | class WorkflowTags extends BaseCommand { method run (line 22) | async run(): Promise { FILE: packages/@n8n/cli/src/commands/workflow/transfer.ts class WorkflowTransfer (line 5) | class WorkflowTransfer extends BaseCommand { method run (line 19) | async run(): Promise { FILE: packages/@n8n/cli/src/commands/workflow/update.ts class WorkflowUpdate (line 5) | class WorkflowUpdate extends BaseCommand { method run (line 23) | async run(): Promise { FILE: packages/@n8n/cli/src/config.ts constant CONFIG_DIR (line 5) | const CONFIG_DIR = path.join(os.homedir(), '.n8n-cli'); constant CONFIG_FILE (line 6) | const CONFIG_FILE = path.join(CONFIG_DIR, 'config.json'); type CliConfig (line 8) | interface CliConfig { function ensureConfigDir (line 13) | function ensureConfigDir(): void { function readConfig (line 19) | function readConfig(): CliConfig { function writeConfig (line 28) | function writeConfig(config: CliConfig): void { function deleteConfig (line 35) | function deleteConfig(): void { function resolveConnection (line 46) | function resolveConnection(flags: { FILE: packages/@n8n/cli/src/output.ts type OutputFormat (line 1) | type OutputFormat = 'table' | 'json' | 'id-only'; function pickColumns (line 4) | function pickColumns(data: Record, columns: string[]): ... function formatValue (line 13) | function formatValue(value: unknown): string { function renderTable (line 26) | function renderTable( type OutputOptions (line 62) | interface OutputOptions { function formatOutput (line 70) | function formatOutput(data: unknown, options: OutputOptions): string { type JqSegment (line 113) | type JqSegment = function parseJqPath (line 118) | function parseJqPath(expr: string): JqSegment[] { function evaluateJq (line 157) | function evaluateJq(data: unknown, segments: JqSegment[], startIdx: numb... function applyJqFilter (line 201) | function applyJqFilter(data: unknown, expression: string): unknown { FILE: packages/@n8n/client-oauth2/src/client-oauth2-token.ts type ClientOAuth2TokenData (line 7) | interface ClientOAuth2TokenData extends Record { method expired (line 118) | expired(): boolean { FILE: packages/@n8n/client-oauth2/src/client-oauth2.ts type ClientOAuth2RequestObject (line 14) | interface ClientOAuth2RequestObject { type ClientOAuth2Options (line 23) | interface ClientOAuth2Options { class ResponseError (line 40) | class ResponseError extends Error { method constructor (line 41) | constructor( class ClientOAuth2 (line 56) | class ClientOAuth2 { method constructor (line 61) | constructor(readonly options: ClientOAuth2Options) { method createToken (line 69) | createToken(data: ClientOAuth2TokenData, type?: string): ClientOAuth2T... method accessTokenRequest (line 82) | async accessTokenRequest(options: ClientOAuth2RequestObject): Promise<... method parseResponseBody (line 125) | private parseResponseBody(response: AxiosResponse): string { method getToken (line 56) | async getToken( FILE: packages/@n8n/client-oauth2/src/constants.ts constant DEFAULT_URL_BASE (line 3) | const DEFAULT_URL_BASE = 'https://example.org/'; constant DEFAULT_HEADERS (line 8) | const DEFAULT_HEADERS: Headers = { constant ERROR_RESPONSES (line 18) | const ERROR_RESPONSES: Record = { FILE: packages/@n8n/client-oauth2/src/credentials-flow.ts type CredentialsFlowBody (line 7) | interface CredentialsFlowBody { class CredentialsFlow (line 19) | class CredentialsFlow { method constructor (line 20) | constructor(private client: ClientOAuth2) {} method getToken (line 25) | async getToken(): Promise { FILE: packages/@n8n/client-oauth2/src/types.ts type Headers (line 1) | type Headers = Record; type OAuth2GrantType (line 3) | type OAuth2GrantType = 'pkce' | 'authorizationCode' | 'clientCredentials'; type OAuth2AuthenticationMethod (line 5) | type OAuth2AuthenticationMethod = 'header' | 'body'; type OAuth2CredentialData (line 7) | interface OAuth2CredentialData { type OAuth2AccessTokenErrorResponse (line 32) | interface OAuth2AccessTokenErrorResponse extends Record { FILE: packages/@n8n/client-oauth2/src/utils.ts function expects (line 8) | function expects( class AuthError (line 21) | class AuthError extends Error { method constructor (line 22) | constructor( function getAuthError (line 34) | function getAuthError(body: { function toString (line 51) | function toString(str: string | null | undefined) { function auth (line 58) | function auth(username: string, password: string): string { function getRequestOptions (line 65) | function getRequestOptions( FILE: packages/@n8n/codemirror-lang-html/src/complete.ts type TagSpec (line 7) | interface TagSpec { class Schema (line 497) | class Schema { method constructor (line 503) | constructor( function elementName (line 516) | function elementName(doc: Text, tree: SyntaxNode | null | undefined, max... function findParentElement (line 523) | function findParentElement(tree: SyntaxNode, skip = false) { function allowedChildren (line 532) | function allowedChildren(doc: Text, tree: SyntaxNode, schema: Schema) { function openTags (line 537) | function openTags(doc: Text, tree: SyntaxNode) { function completeTag (line 554) | function completeTag( function completeCloseTag (line 579) | function completeCloseTag(state: EditorState, tree: SyntaxNode, from: nu... function completeStartTag (line 594) | function completeStartTag(state: EditorState, schema: Schema, tree: Synt... function completeAttrName (line 604) | function completeAttrName( function completeAttrValue (line 628) | function completeAttrValue( function htmlCompletionFor (line 666) | function htmlCompletionFor(schema: Schema, context: CompletionContext): ... function htmlCompletionSource (line 713) | function htmlCompletionSource(context: CompletionContext) { function htmlCompletionSourceWith (line 719) | function htmlCompletionSourceWith(config: { FILE: packages/@n8n/codemirror-lang-html/src/grammar/content.js function getAttrs (line 16) | function getAttrs(openTag, input) { function findTagName (line 31) | function findTagName(openTag, input) { function maybeNest (line 36) | function maybeNest(node, input, tags) { function configureNesting (line 56) | function configureNesting(tags = [], attributes = []) { FILE: packages/@n8n/codemirror-lang-html/src/grammar/rollup.config.js method external (line 15) | external(id) { FILE: packages/@n8n/codemirror-lang-html/src/grammar/test/test-html.js method attrs (line 14) | attrs(attrs) { FILE: packages/@n8n/codemirror-lang-html/src/grammar/test/test-incremental.js function randomDoc (line 25) | function randomDoc(size) { function check (line 55) | function check(doc, [tp, pos, txt], prevAST) { function generate (line 91) | function generate() { FILE: packages/@n8n/codemirror-lang-html/src/grammar/tokens.js function nameChar (line 109) | function nameChar(ch) { function isSpace (line 121) | function isSpace(ch) { function tagNameAfter (line 128) | function tagNameAfter(input, offset) { function ElementContext (line 156) | function ElementContext(name, parent) { method shift (line 174) | shift(context, term, stack, input) { method reduce (line 179) | reduce(context, term) { method reuse (line 182) | reuse(context, node, stack, input) { method hash (line 188) | hash(context) { function contentTokenizer (line 246) | function contentTokenizer(tag, textToken, endToken) { FILE: packages/@n8n/codemirror-lang-html/src/html.ts type NestedLang (line 24) | type NestedLang = { method attrs (line 48) | attrs(attrs) { method attrs (line 58) | attrs(attrs) { type NestedAttr (line 68) | type NestedAttr = { method Element (line 87) | Element(context) { method 'OpenTag CloseTag SelfClosingTag' (line 92) | 'OpenTag CloseTag SelfClosingTag'(context) { method Document (line 95) | Document(context) { method Element (line 117) | Element(node) { function html (line 137) | function html( FILE: packages/@n8n/codemirror-lang-html/test/test-complete.ts function get (line 6) | function get(doc: string, conf: { explicit?: boolean } = {}) { FILE: packages/@n8n/codemirror-lang-sql/src/complete.ts function tokenBefore (line 11) | function tokenBefore(tree: SyntaxNode) { function idName (line 17) | function idName(doc: Text, node: SyntaxNode): string { function plainID (line 23) | function plainID(node: SyntaxNode | null) { function pathFor (line 27) | function pathFor(doc: Text, id: SyntaxNode) { function parentsFor (line 37) | function parentsFor(doc: Text, node: SyntaxNode | null) { function sourceContext (line 47) | function sourceContext(state: EditorState, startPos: number) { function getAliases (line 70) | function getAliases(doc: Text, at: SyntaxNode) { function maybeQuoteCompletions (line 107) | function maybeQuoteCompletions(quote: string | null, completions: readon... class CompletionLevel (line 115) | class CompletionLevel { method child (line 119) | child(name: string): CompletionLevel { method childCompletions (line 125) | childCompletions(type: string) { function completeFromSchema (line 134) | function completeFromSchema( function completeKeywords (line 189) | function completeKeywords(keywords: { [name: string]: number }, upperCas... FILE: packages/@n8n/codemirror-lang-sql/src/sql.ts method Statement (line 26) | Statement(tree) { method BlockComment (line 29) | BlockComment(tree) { type SQLDialectSpec (line 95) | type SQLDialectSpec = { class SQLDialect (line 139) | class SQLDialect { method constructor (line 140) | private constructor( method extension (line 152) | get extension() { method define (line 157) | static define(spec: SQLDialectSpec) { type SQLConfig (line 166) | interface SQLConfig { function keywordCompletionSource (line 195) | function keywordCompletionSource(dialect: SQLDialect, upperCase = false)... function keywordCompletion (line 200) | function keywordCompletion(dialect: SQLDialect, upperCase = false): Exte... function schemaCompletionSource (line 208) | function schemaCompletionSource(config: SQLConfig): CompletionSource { function schemaCompletion (line 221) | function schemaCompletion(config: SQLConfig): Extension { function sql (line 232) | function sql(config: SQLConfig = {}) { constant MSSQL (line 308) | const MSSQL = SQLDialect.define({ constant PLSQL (line 351) | const PLSQL = SQLDialect.define({ FILE: packages/@n8n/codemirror-lang-sql/src/tokens.ts type Ch (line 33) | const enum Ch { function isAlpha (line 80) | function isAlpha(ch: number) { function isHexDigit (line 84) | function isHexDigit(ch: number) { function readLiteral (line 88) | function readLiteral(input: InputStream, endQuote: number, backslashEsca... function readDoubleDollarLiteral (line 100) | function readDoubleDollarLiteral(input: InputStream) { function readWord (line 113) | function readWord(input: InputStream, result?: string) { function readWordOrQuoted (line 122) | function readWordOrQuoted(input: InputStream) { function readBits (line 136) | function readBits(input: InputStream, endQuote?: number) { function readNumber (line 141) | function readNumber(input: InputStream, sawDot: boolean) { function eol (line 160) | function eol(input: InputStream) { function inString (line 164) | function inString(ch: number, str: string) { function keywords (line 171) | function keywords(keywords: string, types: string, builtin?: string, fun... type Dialect (line 182) | interface Dialect { function dialect (line 221) | function dialect( function tokensFor (line 240) | function tokensFor(d: Dialect) { FILE: packages/@n8n/codemirror-lang-sql/test/complete.test.ts function get (line 8) | function get(doc: string, conf: SQLConfig & { explicit?: boolean } = {}) { function str (line 29) | function str(result: CompletionResult | null) { FILE: packages/@n8n/codemirror-lang/src/expressions/index.ts function n8nExpression (line 29) | function n8nExpression() { FILE: packages/@n8n/config/src/configs/ai-assistant.config.ts class AiAssistantConfig (line 4) | class AiAssistantConfig { FILE: packages/@n8n/config/src/configs/ai-builder.config.ts class AiBuilderConfig (line 4) | class AiBuilderConfig { FILE: packages/@n8n/config/src/configs/ai.config.ts class AiConfig (line 4) | class AiConfig { method openAiDefaultHeaders (line 24) | get openAiDefaultHeaders(): Record { FILE: packages/@n8n/config/src/configs/auth.config.ts type Samesite (line 7) | type Samesite = z.infer; class CookieConfig (line 9) | @Config class AuthConfig (line 21) | class AuthConfig { FILE: packages/@n8n/config/src/configs/cache.config.ts type CacheBackend (line 6) | type CacheBackend = z.infer; class MemoryConfig (line 8) | @Config class RedisConfig (line 19) | @Config class CacheConfig (line 31) | class CacheConfig { FILE: packages/@n8n/config/src/configs/chat-hub.config.ts class ChatHubConfig (line 4) | class ChatHubConfig { FILE: packages/@n8n/config/src/configs/credentials.config.ts class CredentialsOverwrite (line 4) | @Config class CredentialsConfig (line 36) | class CredentialsConfig { FILE: packages/@n8n/config/src/configs/data-table.config.ts class DataTableConfig (line 7) | class DataTableConfig { method constructor (line 50) | constructor() { FILE: packages/@n8n/config/src/configs/database.config.ts type DbLoggingOptions (line 6) | type DbLoggingOptions = z.infer; class LoggingConfig (line 8) | @Config class PostgresSSLConfig (line 25) | @Config class PostgresConfig (line 51) | @Config class SqliteConfig (line 100) | class SqliteConfig { type DbType (line 119) | type DbType = z.infer; class DatabaseConfig (line 122) | class DatabaseConfig { FILE: packages/@n8n/config/src/configs/deployment.config.ts class DeploymentConfig (line 4) | class DeploymentConfig { FILE: packages/@n8n/config/src/configs/diagnostics.config.ts class PostHogConfig (line 3) | @Config class DiagnosticsConfig (line 15) | class DiagnosticsConfig { FILE: packages/@n8n/config/src/configs/dynamic-banners.config.ts class DynamicBannersConfig (line 4) | class DynamicBannersConfig { FILE: packages/@n8n/config/src/configs/endpoints.config.ts class PrometheusMetricsConfig (line 5) | @Config class EndpointsConfig (line 85) | class EndpointsConfig { FILE: packages/@n8n/config/src/configs/event-bus.config.ts class LogWriterConfig (line 5) | @Config type RecoveryMode (line 21) | type RecoveryMode = z.infer; class EventBusConfig (line 24) | class EventBusConfig { FILE: packages/@n8n/config/src/configs/executions.config.ts class PruningIntervalsConfig (line 5) | @Config class ConcurrencyConfig (line 16) | @Config class QueueRecoveryConfig (line 31) | @Config class RecoveryConfig (line 42) | @Config type ExecutionMode (line 60) | type ExecutionMode = z.infer; class ExecutionsConfig (line 63) | class ExecutionsConfig { FILE: packages/@n8n/config/src/configs/expression-engine.config.ts class ExpressionEngineConfig (line 8) | class ExpressionEngineConfig { FILE: packages/@n8n/config/src/configs/external-hooks.config.ts class ExternalHooksConfig (line 5) | class ExternalHooksConfig { method sanitize (line 14) | sanitize() { FILE: packages/@n8n/config/src/configs/generic.config.ts type ReleaseChannel (line 6) | type ReleaseChannel = z.infer; class GenericConfig (line 9) | class GenericConfig { FILE: packages/@n8n/config/src/configs/hiring-banner.config.ts class HiringBannerConfig (line 4) | class HiringBannerConfig { FILE: packages/@n8n/config/src/configs/instance-ai.config.ts class InstanceAiConfig (line 4) | class InstanceAiConfig { FILE: packages/@n8n/config/src/configs/instance-settings-config.ts class InstanceSettingsConfig (line 7) | class InstanceSettingsConfig { method constructor (line 30) | constructor() { FILE: packages/@n8n/config/src/configs/license.config.ts class LicenseConfig (line 4) | class LicenseConfig { FILE: packages/@n8n/config/src/configs/logging.config.ts constant LOG_SCOPES (line 7) | const LOG_SCOPES = [ type LogScope (line 41) | type LogScope = (typeof LOG_SCOPES)[number]; class CronLoggingConfig (line 44) | class CronLoggingConfig { class FileLoggingConfig (line 54) | @Config type LogLevel (line 77) | type LogLevel = z.infer; class LoggingConfig (line 80) | class LoggingConfig { FILE: packages/@n8n/config/src/configs/mfa.config.ts class MfaConfig (line 4) | class MfaConfig { FILE: packages/@n8n/config/src/configs/multi-main-setup.config.ts class MultiMainSetupConfig (line 4) | class MultiMainSetupConfig { FILE: packages/@n8n/config/src/configs/nodes.config.ts function isStringArray (line 3) | function isStringArray(input: unknown): input is string[] { class JsonStringArray (line 7) | class JsonStringArray extends Array { method constructor (line 8) | constructor(str: string) { class NodesConfig (line 24) | class NodesConfig { FILE: packages/@n8n/config/src/configs/password.config.ts class PasswordConfig (line 11) | class PasswordConfig { FILE: packages/@n8n/config/src/configs/personalization.config.ts class PersonalizationConfig (line 4) | class PersonalizationConfig { FILE: packages/@n8n/config/src/configs/public-api.config.ts class PublicApiConfig (line 4) | class PublicApiConfig { FILE: packages/@n8n/config/src/configs/redis.config.ts class RedisConfig (line 4) | class RedisConfig { FILE: packages/@n8n/config/src/configs/runners.config.ts type TaskRunnerMode (line 7) | type TaskRunnerMode = z.infer; class TaskRunnersConfig (line 10) | class TaskRunnersConfig { FILE: packages/@n8n/config/src/configs/scaling-mode.config.ts class HealthConfig (line 3) | @Config class RedisConfig (line 20) | @Config class SettingsConfig (line 95) | @Config class BullConfig (line 110) | @Config class ScalingModeConfig (line 128) | class ScalingModeConfig { FILE: packages/@n8n/config/src/configs/security.config.ts class SecurityConfig (line 8) | class SecurityConfig { FILE: packages/@n8n/config/src/configs/sentry.config.ts class SentryConfig (line 9) | class SentryConfig { FILE: packages/@n8n/config/src/configs/sso.config.ts class SamlConfig (line 3) | @Config class OidcConfig (line 14) | @Config class LdapConfig (line 21) | @Config class ProvisioningConfig (line 32) | @Config class SsoConfig (line 56) | class SsoConfig { FILE: packages/@n8n/config/src/configs/ssrf-protection.config.ts constant SSRF_DEFAULT_BLOCKED_IP_RANGES (line 10) | const SSRF_DEFAULT_BLOCKED_IP_RANGES: readonly string[] = Object.freeze([ class SsrfProtectionConfig (line 53) | class SsrfProtectionConfig { FILE: packages/@n8n/config/src/configs/tags.config.ts class TagsConfig (line 4) | class TagsConfig { FILE: packages/@n8n/config/src/configs/templates.config.ts class TemplatesConfig (line 4) | class TemplatesConfig { FILE: packages/@n8n/config/src/configs/user-management.config.ts class SmtpAuth (line 6) | @Config class SmtpConfig (line 25) | @Config class TemplateConfig (line 52) | class TemplateConfig { type EmailMode (line 83) | type EmailMode = z.infer; class EmailConfig (line 85) | @Config constant INVALID_JWT_REFRESH_TIMEOUT_WARNING (line 98) | const INVALID_JWT_REFRESH_TIMEOUT_WARNING = class UserManagementConfig (line 102) | class UserManagementConfig { method sanitize (line 135) | sanitize() { FILE: packages/@n8n/config/src/configs/version-notifications.config.ts class VersionNotificationsConfig (line 4) | class VersionNotificationsConfig { FILE: packages/@n8n/config/src/configs/workflow-history-compaction.config.ts class WorkflowHistoryCompactionConfig (line 7) | class WorkflowHistoryCompactionConfig { FILE: packages/@n8n/config/src/configs/workflow-history.config.ts class WorkflowHistoryConfig (line 4) | class WorkflowHistoryConfig { FILE: packages/@n8n/config/src/configs/workflows.config.ts type CallerPolicy (line 6) | type CallerPolicy = z.infer; class WorkflowsConfig (line 9) | class WorkflowsConfig { FILE: packages/@n8n/config/src/custom-types.ts method constructor (line 2) | constructor(str: string, delimiter: string) { class CommaSeparatedStringArray (line 9) | class CommaSeparatedStringArray extends StringArray { method constructor (line 10) | constructor(str: string) { class ColonSeparatedStringArray (line 15) | class ColonSeparatedStringArray extends Strin... method constructor (line 16) | constructor(str: string) { FILE: packages/@n8n/config/src/decorators.ts type Class (line 7) | type Class = Function; type Constructable (line 8) | type Constructable = new (rawValue: string) => T; type PropertyKey (line 9) | type PropertyKey = string | symbol; type PropertyType (line 10) | type PropertyType = number | boolean | string | Class; type PropertyMetadata (line 11) | interface PropertyMetadata { FILE: packages/@n8n/config/src/index.ts type Protocol (line 77) | type Protocol = z.infer; class GlobalConfig (line 80) | class GlobalConfig { FILE: packages/@n8n/config/src/utils/utils.ts function getN8nFolder (line 7) | function getN8nFolder(): string { FILE: packages/@n8n/config/test/config.test.ts type ConfigShape (line 17) | type ConfigShape = T extends ReadonlyArray type GlobalConfigShape (line 29) | type GlobalConfigShape = ConfigShape; FILE: packages/@n8n/config/test/decorators.test.ts class InvalidConfig (line 24) | @Config class TestConfig (line 40) | @Config class TestConfig (line 57) | @Config class TestConfig (line 76) | @Config FILE: packages/@n8n/constants/src/api.ts constant N8N_IO_BASE_URL (line 1) | const N8N_IO_BASE_URL = 'https://api.n8n.io/api/'; FILE: packages/@n8n/constants/src/browser.ts constant BROWSER_ID_STORAGE_KEY (line 1) | const BROWSER_ID_STORAGE_KEY = 'n8n-browserId'; FILE: packages/@n8n/constants/src/community-nodes.ts constant NPM_COMMUNITY_NODE_SEARCH_API_URL (line 1) | const NPM_COMMUNITY_NODE_SEARCH_API_URL = 'https://api.npms.io/v2/'; FILE: packages/@n8n/constants/src/execution.ts constant TOOL_EXECUTOR_NODE_NAME (line 1) | const TOOL_EXECUTOR_NODE_NAME = 'PartialExecutionToolExecutor'; FILE: packages/@n8n/constants/src/index.ts constant LICENSE_FEATURES (line 8) | const LICENSE_FEATURES = { constant LICENSE_QUOTAS (line 47) | const LICENSE_QUOTAS = { constant UNLIMITED_LICENSE_QUOTA (line 60) | const UNLIMITED_LICENSE_QUOTA = -1; constant DEFAULT_WORKFLOW_HISTORY_PRUNE_LIMIT (line 61) | const DEFAULT_WORKFLOW_HISTORY_PRUNE_LIMIT = 24; type BooleanLicenseFeature (line 63) | type BooleanLicenseFeature = (typeof LICENSE_FEATURES)[keyof typeof LICE... type NumericLicenseFeature (line 64) | type NumericLicenseFeature = (typeof LICENSE_QUOTAS)[keyof typeof LICENS... constant LDAP_FEATURE_NAME (line 66) | const LDAP_FEATURE_NAME = 'features.ldap'; type ConnectionSecurity (line 68) | type ConnectionSecurity = 'none' | 'tls' | 'startTls'; type LdapConfig (line 70) | interface LdapConfig { constant LDAP_DEFAULT_CONFIGURATION (line 98) | const LDAP_DEFAULT_CONFIGURATION: LdapConfig = { constant MIN_PASSWORD_CHAR_LENGTH (line 123) | const MIN_PASSWORD_CHAR_LENGTH = 8; constant MAX_PASSWORD_CHAR_LENGTH (line 125) | const MAX_PASSWORD_CHAR_LENGTH = 64; constant NANOID_ALPHABET (line 131) | const NANOID_ALPHABET = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijk... FILE: packages/@n8n/constants/src/instance.ts constant INSTANCE_ID_HEADER (line 1) | const INSTANCE_ID_HEADER = 'n8n-instance-id'; constant INSTANCE_VERSION_HEADER (line 2) | const INSTANCE_VERSION_HEADER = 'n8n-version'; constant INSTANCE_TYPES (line 4) | const INSTANCE_TYPES = ['main', 'webhook', 'worker'] as const; type InstanceType (line 5) | type InstanceType = (typeof INSTANCE_TYPES)[number]; constant INSTANCE_ROLES (line 7) | const INSTANCE_ROLES = ['unset', 'leader', 'follower'] as const; type InstanceRole (line 8) | type InstanceRole = (typeof INSTANCE_ROLES)[number]; FILE: packages/@n8n/constants/src/logstreaming.ts constant LOGSTREAMING_DEFAULT_MAX_FREE_SOCKETS (line 3) | const LOGSTREAMING_DEFAULT_MAX_FREE_SOCKETS = 5; constant LOGSTREAMING_DEFAULT_MAX_SOCKETS (line 4) | const LOGSTREAMING_DEFAULT_MAX_SOCKETS = 50; constant LOGSTREAMING_DEFAULT_MAX_TOTAL_SOCKETS (line 5) | const LOGSTREAMING_DEFAULT_MAX_TOTAL_SOCKETS = 100; constant LOGSTREAMING_DEFAULT_SOCKET_TIMEOUT_MS (line 6) | const LOGSTREAMING_DEFAULT_SOCKET_TIMEOUT_MS = 5 * Time.seconds.toMillis... constant LOGSTREAMING_CB_DEFAULT_MAX_DURATION_MS (line 8) | const LOGSTREAMING_CB_DEFAULT_MAX_DURATION_MS = 3 * Time.minutes.toMilli... constant LOGSTREAMING_CB_DEFAULT_MAX_FAILURES (line 9) | const LOGSTREAMING_CB_DEFAULT_MAX_FAILURES = 5; constant LOGSTREAMING_CB_DEFAULT_HALF_OPEN_REQUESTS (line 10) | const LOGSTREAMING_CB_DEFAULT_HALF_OPEN_REQUESTS = 2; constant LOGSTREAMING_CB_DEFAULT_FAILURE_WINDOW_MS (line 11) | const LOGSTREAMING_CB_DEFAULT_FAILURE_WINDOW_MS = 1 * Time.minutes.toMil... constant LOGSTREAMING_CB_DEFAULT_CONCURRENT_HALF_OPEN_REQUESTS (line 12) | const LOGSTREAMING_CB_DEFAULT_CONCURRENT_HALF_OPEN_REQUESTS = 1; FILE: packages/@n8n/crdt/src/__tests__/helpers.ts function createNestedObject (line 13) | function createNestedObject(depth: number, breadth: number): Record { FILE: packages/@n8n/crdt/src/awareness/awareness.test.ts type TestAwarenessState (line 7) | interface TestAwarenessState extends AwarenessState { FILE: packages/@n8n/crdt/src/awareness/yjs-awareness.ts type YjsChangeHandler (line 19) | type YjsChangeHandler = ( class YjsAwareness (line 28) | class YjsAwareness implements... method constructor (line 31) | constructor(yDoc: Y.Doc) { method clientId (line 37) | get clientId(): AwarenessClientId { method getLocalState (line 41) | getLocalState(): T | null { method setLocalState (line 48) | setLocalState(state: T | null): void { method setLocalStateField (line 52) | setLocalStateField(field: K, value: T[K]): void { method getStates (line 56) | getStates(): Map { method onChange (line 61) | onChange(handler: (event: AwarenessChangeEvent, origin: ChangeOrigin) ... method encodeState (line 69) | encodeState(clients?: AwarenessClientId[]): Uint8Array { method applyUpdate (line 74) | applyUpdate(update: Uint8Array): void { method onUpdate (line 78) | onUpdate(handler: (update: Uint8Array, origin: ChangeOrigin) => void):... method removeStates (line 89) | removeStates(clients: AwarenessClientId[]): void { method destroy (line 96) | destroy(): void { FILE: packages/@n8n/crdt/src/index.ts function createCRDTProvider (line 86) | function createCRDTProvider(config: CRDTConfig): CRDTProvider { FILE: packages/@n8n/crdt/src/protocol.ts constant MESSAGE_SYNC (line 19) | const MESSAGE_SYNC = 0; constant MESSAGE_AWARENESS (line 25) | const MESSAGE_AWARENESS = 1; constant MESSAGE_SUBSCRIBE (line 31) | const MESSAGE_SUBSCRIBE = 2; constant MESSAGE_UNSUBSCRIBE (line 37) | const MESSAGE_UNSUBSCRIBE = 3; constant MESSAGE_CONNECTED (line 43) | const MESSAGE_CONNECTED = 4; constant MESSAGE_DISCONNECTED (line 49) | const MESSAGE_DISCONNECTED = 5; constant MESSAGE_INITIAL_SYNC (line 55) | const MESSAGE_INITIAL_SYNC = 6; function encodeMessage (line 63) | function encodeMessage(messageType: number, payload: Uint8Array): Uint8A... function decodeMessage (line 75) | function decodeMessage(data: Uint8Array): { messageType: number; payload... function encodeWithDocId (line 101) | function encodeWithDocId( function decodeWithDocId (line 127) | function decodeWithDocId(data: Uint8Array): { function stripDocId (line 157) | function stripDocId(data: Uint8Array): Uint8Array { function addDocId (line 170) | function addDocId(docId: string, data: Uint8Array): Uint8Array { function encodeString (line 179) | function encodeString(str: string): Uint8Array { function decodeString (line 187) | function decodeString(data: Uint8Array): string { FILE: packages/@n8n/crdt/src/providers/yjs.ts function getChangeOrigin (line 28) | function getChangeOrigin(transaction: Y.Transaction): ChangeOrigin { function toJSONValue (line 40) | function toJSONValue(value: unknown): unknown { constant WRAPPER (line 48) | const WRAPPER = Symbol('crdt-wrapper'); type YTypeWithWrapper (line 51) | type YTypeWithWrapper = { [WRAPPER]?: YjsMap | YjsArray }; function wrapYjsValue (line 57) | function wrapYjsValue(value: unknown): unknown { class YjsArray (line 76) | class YjsArray implements CRDTArray { method constructor (line 77) | constructor(private readonly yArray: Y.Array) {} method getYArray (line 80) | getYArray(): Y.Array { method length (line 84) | get length(): number { method get (line 88) | get(index: number): T | undefined { method push (line 93) | push(...items: T[]): void { method insert (line 103) | insert(index: number, ...items: T[]): void { method delete (line 113) | delete(index: number, count = 1): void { method toArray (line 117) | toArray(): T[] { method toJSON (line 121) | toJSON(): T[] { method onDeepChange (line 125) | onDeepChange(handler: (changes: DeepChange[], origin: ChangeOrigin) =>... function arrayEventToChange (line 154) | function arrayEventToChange(event: Y.YArrayEvent): ArrayChangeE... function mapEventToChanges (line 164) | function mapEventToChanges(event: Y.YMapEvent): DeepChangeEvent... function isDescendantOf (line 181) | function isDescendantOf(yType: Y.AbstractType, rootMap: Y.Map implements CRDTMap { method constructor (line 203) | constructor(private readonly yMap: Y.Map) {} method getYMap (line 206) | getYMap(): Y.Map { method get (line 210) | get(key: string): T | CRDTMap | CRDTArray | undefined { method set (line 215) | set(key: string, value: T | CRDTMap | CRDTArray): vo... method delete (line 226) | delete(key: string): void { method has (line 230) | has(key: string): boolean { method keys (line 234) | keys(): IterableIterator { method values (line 238) | *values(): IterableIterator | CRDTArray> { method entries (line 244) | *entries(): IterableIterator<[string, T | CRDTMap | CRDTArray... method toJSON (line 250) | toJSON(): Record { method onDeepChange (line 254) | onDeepChange(handler: (changes: DeepChange[], origin: ChangeOrigin) =>... class YjsDoc (line 282) | class YjsDoc implements CRDTDoc { method constructor (line 289) | constructor(readonly id: string) { method synced (line 293) | get synced(): boolean { method setSynced (line 297) | setSynced(synced: boolean): void { method onSync (line 305) | onSync(handler: (isSynced: boolean) => void): () => void { method getMap (line 312) | getMap(name: string): CRDTMap { method getArray (line 316) | getArray(name: string): CRDTArray { method createMap (line 320) | createMap(): CRDTMap { method createArray (line 325) | createArray(): CRDTArray { method transact (line 330) | transact(fn: () => void): void { method encodeState (line 335) | encodeState(): Uint8Array { method encodeStateVector (line 339) | encodeStateVector(): Uint8Array { method applyUpdate (line 343) | applyUpdate(update: Uint8Array): void { method onUpdate (line 348) | onUpdate(handler: (update: Uint8Array, origin: ChangeOrigin) => void):... method getAwareness (line 363) | getAwareness(): CRDTAwarene... method createUndoManager (line 368) | createUndoManager(options?: UndoManagerOptions): CRDTUndoManager { method onTransactionBatch (line 376) | onTransactionBatch(mapNames: string[], handler: (batch: TransactionBat... method destroy (line 444) | destroy(): void { class YjsProvider (line 462) | class YjsProvider implements CRDTProvider { method createDoc (line 465) | createDoc(id: string): CRDTDoc { FILE: packages/@n8n/crdt/src/sync/base-sync-provider.ts type SyncStateHandler (line 5) | type SyncStateHandler = (syncing: boolean) => void; type ErrorHandler (line 6) | type ErrorHandler = (error: Error) => void; class BaseSyncProvider (line 16) | class BaseSyncProvider implements SyncProvider { method constructor (line 23) | constructor( method syncing (line 28) | get syncing(): boolean { method start (line 32) | async start(): Promise { method stop (line 62) | stop(): void { method onSyncStateChange (line 84) | onSyncStateChange(handler: SyncStateHandler): Unsubscribe { method onError (line 91) | onError(handler: ErrorHandler): Unsubscribe { method notifyStateChange (line 98) | private notifyStateChange(): void { method notifyError (line 104) | private notifyError(error: Error): void { function createSyncProvider (line 114) | function createSyncProvider(doc: CRDTDoc, transport: SyncTransport): Syn... FILE: packages/@n8n/crdt/src/sync/types.ts type SyncProvider (line 13) | interface SyncProvider { type CreateSyncProvider (line 39) | type CreateSyncProvider = (doc: CRDTDoc, transport: SyncTransport) => Sy... FILE: packages/@n8n/crdt/src/test-matchers.d.ts type ReceiveMessageOptions (line 3) | interface ReceiveMessageOptions { type DeserializedMessage (line 7) | type DeserializedMessage = string | TMessage; type Assertion (line 10) | interface Assertion { FILE: packages/@n8n/crdt/src/transports/broadcast-channel.ts type ReceiveHandler (line 4) | type ReceiveHandler = (data: Uint8Array) => void; type SyncMessage (line 9) | interface SyncMessage { type ChannelMessage (line 15) | type ChannelMessage = SyncMessage; class BroadcastChannelTransport (line 41) | class BroadcastChannelTransport implements SyncTransport { method constructor (line 49) | constructor(private readonly channelName: string) { method connected (line 58) | get connected(): boolean { method send (line 62) | send(data: Uint8Array): void { method onReceive (line 76) | onReceive(handler: ReceiveHandler): Unsubscribe { method onConnectionChange (line 83) | onConnectionChange(handler: (connected: boolean) => void): Unsubscribe { method onError (line 90) | onError(handler: (error: Error) => void): Unsubscribe { method connect (line 97) | async connect(): Promise { method disconnect (line 134) | disconnect(): void { FILE: packages/@n8n/crdt/src/transports/message-port.test.ts function waitForMessage (line 3) | function waitForMessage(transport: MessagePortTransport): { FILE: packages/@n8n/crdt/src/transports/message-port.ts type ReceiveHandler (line 4) | type ReceiveHandler = (data: Uint8Array) => void; type SyncMessage (line 10) | interface SyncMessage { type PortMessage (line 15) | type PortMessage = SyncMessage; function isPortMessage (line 20) | function isPortMessage(data: unknown): data is PortMessage { class MessagePortTransport (line 56) | class MessagePortTransport implements SyncTransport { method constructor (line 61) | constructor(private readonly port: MessagePort) {} method connected (line 63) | get connected(): boolean { method send (line 67) | send(data: Uint8Array): void { method onReceive (line 82) | onReceive(handler: ReceiveHandler): Unsubscribe { method connect (line 89) | async connect(): Promise { method disconnect (line 115) | disconnect(): void { method onConnectionChange (line 130) | onConnectionChange(_handler: (connected: boolean) => void): Unsubscribe { method onError (line 135) | onError(_handler: (error: Error) => void): Unsubscribe { FILE: packages/@n8n/crdt/src/transports/mock.ts type ReceiveHandler (line 4) | type ReceiveHandler = (data: Uint8Array) => void; class MockTransport (line 16) | class MockTransport implements SyncTransport { method connected (line 21) | get connected(): boolean { method link (line 28) | static link(a: MockTransport, b: MockTransport): void { method send (line 33) | send(data: Uint8Array): void { method onReceive (line 44) | onReceive(handler: ReceiveHandler): Unsubscribe { method connect (line 51) | async connect(): Promise { method disconnect (line 56) | disconnect(): void { method onConnectionChange (line 61) | onConnectionChange(_handler: (connected: boolean) => void): Unsubscribe { method onError (line 66) | onError(_handler: (error: Error) => void): Unsubscribe { method deliver (line 73) | private deliver(data: Uint8Array): void { FILE: packages/@n8n/crdt/src/transports/types.ts type SyncTransport (line 8) | interface SyncTransport { FILE: packages/@n8n/crdt/src/transports/websocket.ts type ReceiveHandler (line 4) | type ReceiveHandler = (data: Uint8Array) => void; type ConnectionHandler (line 5) | type ConnectionHandler = (connected: boolean) => void; type ErrorHandler (line 6) | type ErrorHandler = (error: Error) => void; type WebSocketTransportConfig (line 8) | interface WebSocketTransportConfig { class WebSocketTransport (line 53) | class WebSocketTransport implements SyncTransport { method constructor (line 67) | constructor(config: WebSocketTransportConfig) { method connected (line 79) | get connected(): boolean { method send (line 83) | send(data: Uint8Array): void { method onReceive (line 92) | onReceive(handler: ReceiveHandler): Unsubscribe { method onConnectionChange (line 102) | onConnectionChange(handler: ConnectionHandler): Unsubscribe { method onError (line 112) | onError(handler: ErrorHandler): Unsubscribe { method connect (line 119) | async connect(): Promise { method disconnect (line 136) | disconnect(): void { method doConnect (line 158) | private async doConnect(): Promise { method scheduleReconnect (line 224) | private scheduleReconnect(): void { method clearReconnectTimeout (line 249) | private clearReconnectTimeout(): void { method notifyConnectionChange (line 256) | private notifyConnectionChange(connected: boolean): void { method notifyError (line 262) | private notifyError(error: Error): void { FILE: packages/@n8n/crdt/src/transports/worker.test.ts class MockPort (line 18) | class MockPort { method addEventListener (line 24) | addEventListener(type: string, handler: EventListener) { method removeEventListener (line 30) | removeEventListener(type: string, handler: EventListener) { method start (line 36) | start() { method postMessage (line 40) | postMessage(data: Uint8Array) { method simulateMessage (line 47) | simulateMessage(data: Uint8Array) { method isStarted (line 54) | get isStarted() { method handlerCount (line 58) | get handlerCount() { FILE: packages/@n8n/crdt/src/transports/worker.ts type ReceiveHandler (line 14) | type ReceiveHandler = (data: Uint8Array) => void; type WorkerTransportConfig (line 16) | interface WorkerTransportConfig { class WorkerTransport (line 57) | class WorkerTransport implements SyncTransport { method constructor (line 68) | constructor(config: WorkerTransportConfig) { method connected (line 74) | get connected(): boolean { method send (line 78) | send(data: Uint8Array): void { method onReceive (line 92) | onReceive(handler: ReceiveHandler): Unsubscribe { method connect (line 99) | async connect(): Promise { method disconnect (line 141) | disconnect(): void { method onConnectionChange (line 162) | onConnectionChange(_handler: (connected: boolean) => void): Unsubscribe { method onError (line 167) | onError(_handler: (error: Error) => void): Unsubscribe { method handleBinaryMessage (line 171) | private handleBinaryMessage(data: Uint8Array): void { FILE: packages/@n8n/crdt/src/types.ts type Unsubscribe (line 4) | type Unsubscribe = () => void; type ChangeAction (line 15) | type ChangeAction = (typeof ChangeAction)[keyof typeof ChangeAction]; type DeepChangeEvent (line 21) | interface DeepChangeEvent { type ArrayDelta (line 36) | interface ArrayDelta { type ArrayChangeEvent (line 48) | interface ArrayChangeEvent { type DeepChange (line 60) | type DeepChange = ArrayChangeEvent | DeepChangeEvent; type TransactionBatch (line 69) | interface TransactionBatch { type ChangeOrigin (line 88) | type ChangeOrigin = (typeof ChangeOrigin)[keyof typeof ChangeOrigin]; function isMapChange (line 93) | function isMapChange(change: DeepChange): change is DeepChangeEvent { function isArrayChange (line 100) | function isArrayChange(change: DeepChange): change is ArrayChangeEvent { type CRDTArray (line 114) | interface CRDTArray { type CRDTMap (line 140) | interface CRDTMap { type CRDTDoc (line 164) | interface CRDTDoc { type CRDTProvider (line 245) | interface CRDTProvider { type CRDTEngine (line 259) | type CRDTEngine = (typeof CRDTEngine)[keyof typeof CRDTEngine]; type CRDTConfig (line 264) | interface CRDTConfig { type AwarenessClientId (line 277) | type AwarenessClientId = number; type AwarenessState (line 291) | type AwarenessState = Record; type AwarenessChangeEvent (line 297) | interface AwarenessChangeEvent { type CRDTAwareness (line 318) | interface CRDTAwareness { type UndoManagerOptions (line 394) | interface UndoManagerOptions { type UndoStackChangeEvent (line 406) | interface UndoStackChangeEvent { type CRDTUndoManager (line 435) | interface CRDTUndoManager { FILE: packages/@n8n/crdt/src/undo/undo-manager.test.ts type TrackedChange (line 674) | interface TrackedChange { FILE: packages/@n8n/crdt/src/undo/yjs-undo-manager.ts type YjsStackItem (line 19) | interface YjsStackItem { type YjsStackEvent (line 26) | interface YjsStackEvent { class YjsUndoManager (line 35) | class YjsUndoManager implements CRDTUndoManager { method constructor (line 47) | constructor(yDoc: Y.Doc, options: UndoManagerOptions = {}) { method notifyIfChanged (line 99) | private notifyIfChanged(): void { method undo (line 115) | undo(): boolean { method redo (line 121) | redo(): boolean { method canUndo (line 127) | canUndo(): boolean { method canRedo (line 132) | canRedo(): boolean { method stopCapturing (line 137) | stopCapturing(): void { method clear (line 141) | clear(): void { method onStackChange (line 147) | onStackChange(handler: (event: UndoStackChangeEvent) => void): Unsubsc... method setMeta (line 154) | setMeta(key: string, value: V): void { method getMeta (line 164) | getMeta(key: string): V | undefined { method destroy (line 168) | destroy(): void { FILE: packages/@n8n/crdt/src/utils.ts function seedValueDeep (line 23) | function seedValueDeep(doc: CRDTDoc, value: unknown): unknown { function toJSON (line 51) | function toJSON(value: unknown): unknown { function getNestedValue (line 71) | function getNestedValue( function setNestedValue (line 109) | function setNestedValue( FILE: packages/@n8n/db/src/connection/db-connection-options.ts class DbConnectionOptions (line 17) | class DbConnectionOptions { method constructor (line 18) | constructor( method getPostgresOverrides (line 24) | getPostgresOverrides() { method getOptions (line 34) | getOptions(): DataSourceOptions { method getCommonOptions (line 46) | private getCommonOptions() { method getSqliteConnectionOptions (line 71) | private getSqliteConnectionOptions(): SqlitePooledConnectionOptions { method getPostgresConnectionOptions (line 87) | private getPostgresConnectionOptions(): PostgresConnectionOptions { FILE: packages/@n8n/db/src/connection/db-connection.ts type ConnectionState (line 15) | type ConnectionState = { class DbConnection (line 21) | class DbConnection { method constructor (line 32) | constructor( method options (line 46) | get options() { method init (line 50) | async init(): Promise { method migrate (line 73) | async migrate() { method close (line 80) | async close() { method scheduleNextPing (line 93) | private scheduleNextPing() { method ping (line 100) | private async ping() { FILE: packages/@n8n/db/src/constants.ts function builtInRoleToRoleObject (line 15) | function builtInRoleToRoleObject( function toRoleMap (line 35) | function toRoleMap(allRoles: Role[]): Record { constant ALL_BUILTIN_ROLES (line 45) | const ALL_BUILTIN_ROLES = toRoleMap([ constant GLOBAL_OWNER_ROLE (line 52) | const GLOBAL_OWNER_ROLE = ALL_BUILTIN_ROLES['global:owner']; constant GLOBAL_ADMIN_ROLE (line 53) | const GLOBAL_ADMIN_ROLE = ALL_BUILTIN_ROLES['global:admin']; constant GLOBAL_MEMBER_ROLE (line 54) | const GLOBAL_MEMBER_ROLE = ALL_BUILTIN_ROLES['global:member']; constant GLOBAL_CHAT_USER_ROLE (line 55) | const GLOBAL_CHAT_USER_ROLE = ALL_BUILTIN_ROLES['global:chatUser']; constant PROJECT_OWNER_ROLE (line 57) | const PROJECT_OWNER_ROLE = ALL_BUILTIN_ROLES[PROJECT_OWNER_ROLE_SLUG]; constant PROJECT_ADMIN_ROLE (line 58) | const PROJECT_ADMIN_ROLE = ALL_BUILTIN_ROLES[PROJECT_ADMIN_ROLE_SLUG]; constant PROJECT_EDITOR_ROLE (line 59) | const PROJECT_EDITOR_ROLE = ALL_BUILTIN_ROLES[PROJECT_EDITOR_ROLE_SLUG]; constant PROJECT_VIEWER_ROLE (line 60) | const PROJECT_VIEWER_ROLE = ALL_BUILTIN_ROLES[PROJECT_VIEWER_ROLE_SLUG]; constant PROJECT_CHAT_USER_ROLE (line 61) | const PROJECT_CHAT_USER_ROLE = ALL_BUILTIN_ROLES[PROJECT_CHAT_USER_ROLE_... constant GLOBAL_ROLES (line 63) | const GLOBAL_ROLES: Record = { constant PROJECT_ROLES (line 70) | const PROJECT_ROLES: Record = { FILE: packages/@n8n/db/src/entities/abstract-entity.ts function JsonColumn (line 30) | function JsonColumn(options?: Omit) { function DateTimeColumn (line 37) | function DateTimeColumn(options?: Omit) { function BinaryColumn (line 44) | function BinaryColumn(options?: Omit) { function mixinStringId (line 58) | function mixinStringId>(base: T) { function mixinUpdatedAt (line 74) | function mixinUpdatedAt>(base: T) { function mixinCreatedAt (line 88) | function mixinCreatedAt>(base: T) { class BaseEntity (line 96) | class BaseEntity {} FILE: packages/@n8n/db/src/entities/annotation-tag-entity.ee.ts class AnnotationTagEntity (line 9) | class AnnotationTagEntity extends WithTimestampsAndStringId { FILE: packages/@n8n/db/src/entities/annotation-tag-mapping.ee.ts class AnnotationTagMapping (line 10) | class AnnotationTagMapping { FILE: packages/@n8n/db/src/entities/api-key.ts class ApiKey (line 10) | class ApiKey extends WithTimestampsAndStringId { FILE: packages/@n8n/db/src/entities/auth-identity.ts class AuthIdentity (line 9) | class AuthIdentity extends WithTimestamps { method create (line 25) | static create( FILE: packages/@n8n/db/src/entities/auth-provider-sync-history.ts class AuthProviderSyncHistory (line 7) | class AuthProviderSyncHistory { FILE: packages/@n8n/db/src/entities/binary-data-file.ts type SourceType (line 8) | type SourceType = z.infer; class BinaryDataFile (line 11) | class BinaryDataFile extends WithTimestamps { FILE: packages/@n8n/db/src/entities/credential-dependency-entity.ts type CredentialDependencyType (line 15) | type CredentialDependencyType = 'externalSecretProvider'; class CredentialDependency (line 20) | class CredentialDependency extends WithCreatedAt { FILE: packages/@n8n/db/src/entities/credentials-entity.ts class CredentialsEntity (line 9) | class CredentialsEntity extends WithTimestampsAndStringId implements ICr... method toJSON (line 64) | toJSON() { FILE: packages/@n8n/db/src/entities/execution-annotation.ee.ts class ExecutionAnnotation (line 20) | class ExecutionAnnotation { FILE: packages/@n8n/db/src/entities/execution-data.ts class ExecutionData (line 10) | class ExecutionData { FILE: packages/@n8n/db/src/entities/execution-entity.ts type ExecutionDataStorageLocation (line 23) | type ExecutionDataStorageLocation = 'db' | 'fs'; class ExecutionEntity (line 31) | class ExecutionEntity { FILE: packages/@n8n/db/src/entities/execution-metadata.ts class ExecutionMetadata (line 6) | class ExecutionMetadata { FILE: packages/@n8n/db/src/entities/folder-tag-mapping.ts class FolderTagMapping (line 7) | class FolderTagMapping { FILE: packages/@n8n/db/src/entities/folder.ts class Folder (line 17) | class Folder extends WithTimestampsAndStringId { FILE: packages/@n8n/db/src/entities/invalid-auth-token.ts class InvalidAuthToken (line 6) | class InvalidAuthToken { FILE: packages/@n8n/db/src/entities/processed-data.ts class ProcessedData (line 8) | class ProcessedData extends WithTimestamps { FILE: packages/@n8n/db/src/entities/project-relation.ts class ProjectRelation (line 9) | class ProjectRelation extends WithTimestamps { FILE: packages/@n8n/db/src/entities/project-secrets-provider-access.ts type SecretsProviderAccessRole (line 7) | type SecretsProviderAccessRole = class ProjectSecretsProviderAccess (line 12) | class ProjectSecretsProviderAccess extends WithTimestamps { FILE: packages/@n8n/db/src/entities/project.ts class Project (line 21) | class Project extends WithTimestampsAndStringId { FILE: packages/@n8n/db/src/entities/role-mapping-rule.ts class RoleMappingRule (line 20) | class RoleMappingRule extends WithTimestampsAndStringId { FILE: packages/@n8n/db/src/entities/role.ts class Role (line 11) | class Role extends WithTimestamps { FILE: packages/@n8n/db/src/entities/scope.ts class Scope (line 7) | class Scope { FILE: packages/@n8n/db/src/entities/secrets-provider-connection.ts class SecretsProviderConnection (line 7) | class SecretsProviderConnection extends WithTimestamps { FILE: packages/@n8n/db/src/entities/settings.ts type ISettingsDb (line 4) | interface ISettingsDb { class Settings (line 11) | class Settings implements ISettingsDb { FILE: packages/@n8n/db/src/entities/shared-credentials.ts class SharedCredentials (line 9) | class SharedCredentials extends WithTimestamps { FILE: packages/@n8n/db/src/entities/shared-workflow.ts class SharedWorkflow (line 9) | class SharedWorkflow extends WithTimestamps { FILE: packages/@n8n/db/src/entities/tag-entity.ts class TagEntity (line 10) | class TagEntity extends WithTimestampsAndStringId { FILE: packages/@n8n/db/src/entities/test-case-execution.ee.ts type TestCaseRunMetrics (line 9) | type TestCaseRunMetrics = Record; type TestCaseExecutionStatus (line 11) | type TestCaseExecutionStatus = class TestCaseExecution (line 27) | class TestCaseExecution extends WithStringId { FILE: packages/@n8n/db/src/entities/test-run.ee.ts type TestRunStatus (line 10) | type TestRunStatus = 'new' | 'running' | 'completed' | 'error' | 'cancel... class TestRun (line 17) | class TestRun extends WithTimestampsAndStringId { FILE: packages/@n8n/db/src/entities/types-db.ts type UsageCount (line 32) | type UsageCount = { type ITagBase (line 36) | interface ITagBase { type ICredentialsBase (line 41) | interface ICredentialsBase { type IExecutionBase (line 46) | interface IExecutionBase { type IPersonalizationSurveyAnswers (line 66) | interface IPersonalizationSurveyAnswers { type ITagDb (line 76) | type ITagDb = Pick; type ITagWithCountDb (line 78) | type ITagWithCountDb = ITagDb & UsageCount; type IWorkflowDb (line 81) | interface IWorkflowDb extends IWorkflowBase { type ICredentialsDb (line 88) | interface ICredentialsDb extends ICredentialsBase, ICredentialsEncrypted { type IExecutionResponse (line 97) | interface IExecutionResponse extends IExecutionBase { type PublicUser (line 110) | interface PublicUser { type UserSettings (line 132) | type UserSettings = Pick; type SlimProject (line 134) | type SlimProject = Pick; type CredentialUsedByWorkflow (line 136) | interface CredentialUsedByWorkflow { type WorkflowWithSharingsAndCredentials (line 145) | interface WorkflowWithSharingsAndCredentials extends Omit & type SharedField (line 255) | type SharedField = Partial>; type SortingField (line 257) | type SortingField = 'createdAt' | 'updatedAt' | 'name'; type SortOrder (line 259) | type SortOrder = `${SortingField}:asc` | `${SortingField}:desc`; type OwnedByField (line 261) | type OwnedByField = { ownedBy: SlimUser | null; homeProject: SlimProject... type Plain (line 263) | type Plain = BaseFields; type WithSharing (line 265) | type WithSharing = BaseFields & SharedField; type WithOwnership (line 267) | type WithOwnership = BaseFields & OwnedByField; type SharedWithField (line 269) | type SharedWithField = { sharedWith: SlimUser[]; sharedWithProjects: Sli... type WithOwnedByAndSharedWith (line 271) | type WithOwnedByAndSharedWith = BaseFields & type WithScopes (line 276) | type WithScopes = BaseFields & ScopesField & SharedField; type OwnedByField (line 280) | type OwnedByField = { homeProject: SlimProject | null }; type SharedField (line 282) | type SharedField = Partial>; type SharedWithField (line 284) | type SharedWithField = { sharedWithProjects: SlimProject[] }; type WithSharing (line 286) | type WithSharing = CredentialsEntity & SharedField; type WithOwnedByAndSharedWith (line 288) | type WithOwnedByAndSharedWith = CredentialsEntity & type WithScopes (line 293) | type WithScopes = CredentialsEntity & ScopesField & SharedField; type SlimUser (line 297) | type SlimUser = Pick; type ScopesField (line 299) | type ScopesField = { scopes: Scope[] }; type StatisticsNames (line 301) | const enum StatisticsNames { constant ALL_AUTH_PROVIDERS (line 309) | const ALL_AUTH_PROVIDERS = z.enum(['ldap', 'email', 'saml', 'oidc', 'tok... type AuthProviderType (line 311) | type AuthProviderType = z.infer; function isAuthProviderType (line 313) | function isAuthProviderType(value: string): value is AuthProviderType { type FolderWithWorkflowAndSubFolderCount (line 317) | type FolderWithWorkflowAndSubFolderCount = Folder & { type FolderWithWorkflowAndSubFolderCountAndPath (line 322) | type FolderWithWorkflowAndSubFolderCountAndPath = FolderWithWorkflowAndS... type TestRunFinalResult (line 326) | type TestRunFinalResult = 'success' | 'error' | 'warning'; type TestRunErrorCode (line 328) | type TestRunErrorCode = type TestCaseExecutionErrorCode (line 340) | type TestCaseExecutionErrorCode = type AggregatedTestRunMetrics (line 347) | type AggregatedTestRunMetrics = Record; type MockedNodeItem (line 350) | type MockedNodeItem = { type RunningMode (line 355) | type RunningMode = 'dry' | 'live'; type SyncStatus (line 357) | type SyncStatus = 'success' | 'error'; type Options (line 361) | type Options = { type IGetExecutionsQueryFilter (line 370) | interface IGetExecutionsQueryFilter { type ResourceType (line 385) | type ResourceType = 'folder' | 'workflow'; type WorkflowFolderUnionFull (line 387) | type WorkflowFolderUnionFull = ( type APIRequest (line 395) | type APIRequest< type AuthenticationInformation (line 404) | type AuthenticationInformation = { type AuthenticatedRequest (line 410) | type AuthenticatedRequest< type ISimplifiedPinData (line 428) | interface ISimplifiedPinData { FILE: packages/@n8n/db/src/entities/user.ts class User (line 30) | class User extends WithTimestamps implements IUser, AuthPrincipal { method preUpsertHook (line 84) | preUpsertHook(): void { method computeIsPending (line 115) | computeIsPending(): void { method toJSON (line 124) | toJSON() { method createPersonalProjectName (line 129) | createPersonalProjectName() { method toIUser (line 139) | toIUser(): IUser { FILE: packages/@n8n/db/src/entities/variables.ts class Variables (line 7) | class Variables extends WithStringId { FILE: packages/@n8n/db/src/entities/webhook-entity.ts class WebhookEntity (line 6) | class WebhookEntity { method uniquePath (line 33) | private get uniquePath() { method cacheKey (line 39) | get cacheKey() { method staticSegments (line 43) | get staticSegments() { method isDynamic (line 50) | get isDynamic() { method display (line 54) | display() { FILE: packages/@n8n/db/src/entities/workflow-dependency-entity.ts type DependencyType (line 14) | type DependencyType = class WorkflowDependency (line 24) | class WorkflowDependency extends WithCreatedAt { FILE: packages/@n8n/db/src/entities/workflow-entity.ts class WorkflowEntity (line 26) | class WorkflowEntity extends WithTimestampsAndStringId implements IWorkf... FILE: packages/@n8n/db/src/entities/workflow-history.ts class WorkflowHistory (line 10) | class WorkflowHistory extends WithTimestamps { FILE: packages/@n8n/db/src/entities/workflow-publish-history.ts class WorkflowPublishHistory (line 18) | class WorkflowPublishHistory extends WithCreatedAt { FILE: packages/@n8n/db/src/entities/workflow-published-version.ts class WorkflowPublishedVersion (line 8) | class WorkflowPublishedVersion extends WithTimestamps { FILE: packages/@n8n/db/src/entities/workflow-statistics.ts class WorkflowStatistics (line 8) | class WorkflowStatistics { FILE: packages/@n8n/db/src/entities/workflow-tag-mapping.ts class WorkflowTagMapping (line 7) | class WorkflowTagMapping { FILE: packages/@n8n/db/src/migrations/__tests__/migration-helpers.ts class TestMigration (line 9) | class TestMigration {} method up (line 24) | async up() {} method up (line 47) | async up() {} method down (line 49) | async down() {} class TestMigration (line 23) | class TestMigration implements IrreversibleMigration { method up (line 24) | async up() {} method up (line 47) | async up() {} method down (line 49) | async down() {} class TestMigration (line 46) | class TestMigration implements ReversibleMigration { method up (line 24) | async up() {} method up (line 47) | async up() {} method down (line 49) | async down() {} FILE: packages/@n8n/db/src/migrations/common/1620821879465-UniqueWorkflowNames.ts class UniqueWorkflowNames1620821879465 (line 4) | class UniqueWorkflowNames1620821879465 implements ReversibleMigration { method up (line 7) | async up({ escape, runQuery }: MigrationContext) { method down (line 36) | async down({ escape, runQuery }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/common/1630330987096-UpdateWorkflowCredentials.ts type Credential (line 7) | type Credential = Pick; type ExecutionWithData (line 8) | type ExecutionWithData = { id: string; workflowData: string | IWorkflowB... type Workflow (line 9) | type Workflow = Pick & { nodes: string | WorkflowE... class UpdateWorkflowCredentials1630330987096 (line 14) | class UpdateWorkflowCredentials1630330987096 implements ReversibleMigrat... method up (line 15) | async up({ dbType, escape, parseJson, runQuery, runInBatches }: Migrat... method down (line 122) | async down({ dbType, escape, parseJson, runQuery, runInBatches }: Migr... FILE: packages/@n8n/db/src/migrations/common/1658930531669-AddNodeIds.ts type Workflow (line 7) | type Workflow = Pick & { nodes: string | INode[] }; class AddNodeIds1658930531669 (line 9) | class AddNodeIds1658930531669 implements ReversibleMigration { method up (line 10) | async up({ escape, runQuery, runInBatches, parseJson }: MigrationConte... method down (line 30) | async down({ escape, runQuery, runInBatches, parseJson }: MigrationCon... FILE: packages/@n8n/db/src/migrations/common/1659888469333-AddJsonKeyPinData.ts type OldPinnedData (line 6) | type OldPinnedData = { [nodeName: string]: IDataObject[] }; type NewPinnedData (line 7) | type NewPinnedData = { [nodeName: string]: INodeExecutionData[] }; type Workflow (line 8) | type Workflow = { id: number; pinData: string | OldPinnedData }; function isJsonKeyObject (line 10) | function isJsonKeyObject(item: unknown): item is { class AddJsonKeyPinData1659888469333 (line 22) | class AddJsonKeyPinData1659888469333 implements IrreversibleMigration { method up (line 23) | async up({ escape, runQuery, runInBatches }: MigrationContext) { method makeUpdateParams (line 41) | private makeUpdateParams(fetchedWorkflows: Workflow[]) { FILE: packages/@n8n/db/src/migrations/common/1669739707124-AddWorkflowVersionIdColumn.ts type Workflow (line 5) | type Workflow = { id: number }; class AddWorkflowVersionIdColumn1669739707124 (line 7) | class AddWorkflowVersionIdColumn1669739707124 implements ReversibleMigra... method up (line 8) | async up({ escape, runQuery }: MigrationContext) { method down (line 23) | async down({ escape, runQuery }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/common/1671726148419-RemoveWorkflowDataLoadedFlag.ts class RemoveWorkflowDataLoadedFlag1671726148419 (line 4) | class RemoveWorkflowDataLoadedFlag1671726148419 implements ReversibleMig... method up (line 5) | async up({ escape, dbType, runQuery }: MigrationContext) { method down (line 34) | async down({ escape, runQuery }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/common/1674509946020-CreateLdapEntities.ts class CreateLdapEntities1674509946020 (line 5) | class CreateLdapEntities1674509946020 implements ReversibleMigration { method up (line 6) | async up({ escape, dbType, runQuery }: MigrationContext) { method down (line 60) | async down({ escape, runQuery }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/common/1675940580449-PurgeInvalidWorkflowConnections.ts class PurgeInvalidWorkflowConnections1675940580449 (line 6) | class PurgeInvalidWorkflowConnections1675940580449 implements Irreversib... method up (line 7) | async up({ queryRunner }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/common/1690000000030-RemoveResetPasswordColumns.ts class RemoveResetPasswordColumns1690000000030 (line 3) | class RemoveResetPasswordColumns1690000000030 implements ReversibleMigra... method up (line 4) | async up({ schemaBuilder: { dropColumns } }: MigrationContext) { method down (line 8) | async down({ schemaBuilder: { addColumns, column } }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/common/1690000000040-AddMfaColumns.ts class AddMfaColumns1690000000030 (line 3) | class AddMfaColumns1690000000030 implements ReversibleMigration { method up (line 4) | async up({ schemaBuilder: { addColumns, column } }: MigrationContext) { method down (line 12) | async down({ schemaBuilder: { dropColumns } }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/common/1691088862123-CreateWorkflowNameIndex.ts class CreateWorkflowNameIndex1691088862123 (line 3) | class CreateWorkflowNameIndex1691088862123 implements ReversibleMigration { method up (line 4) | async up({ schemaBuilder: { createIndex } }: MigrationContext) { method down (line 8) | async down({ schemaBuilder: { dropIndex } }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/common/1692967111175-CreateWorkflowHistoryTable.ts class CreateWorkflowHistoryTable1692967111175 (line 5) | class CreateWorkflowHistoryTable1692967111175 implements ReversibleMigra... method up (line 6) | async up({ schemaBuilder: { createTable, column } }: MigrationContext) { method down (line 23) | async down({ schemaBuilder: { dropTable } }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/common/1693491613982-ExecutionSoftDelete.ts class ExecutionSoftDelete1693491613982 (line 7) | class ExecutionSoftDelete1693491613982 implements ReversibleMigration { method up (line 8) | async up({ schemaBuilder: { addColumns, column, createIndex } }: Migra... method down (line 14) | async down({ schemaBuilder: { dropColumns, dropIndex } }: MigrationCon... FILE: packages/@n8n/db/src/migrations/common/1693554410387-DisallowOrphanExecutions.ts class DisallowOrphanExecutions1693554410387 (line 3) | class DisallowOrphanExecutions1693554410387 implements ReversibleMigrati... method up (line 7) | async up({ escape, schemaBuilder: { addNotNull }, runQuery }: Migratio... method down (line 19) | async down({ schemaBuilder: { dropNotNull } }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/common/1695128658538-AddWorkflowMetadata.ts class AddWorkflowMetadata1695128658538 (line 3) | class AddWorkflowMetadata1695128658538 implements ReversibleMigration { method up (line 4) | async up({ schemaBuilder: { addColumns, column } }: MigrationContext) { method down (line 8) | async down({ schemaBuilder: { dropColumns } }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/common/1695829275184-ModifyWorkflowHistoryNodesAndConnections.ts class ModifyWorkflowHistoryNodesAndConnections1695829275184 (line 5) | class ModifyWorkflowHistoryNodesAndConnections1695829275184 implements R... method up (line 6) | async up({ schemaBuilder: { addColumns, dropColumns, column } }: Migra... method down (line 11) | async down({ schemaBuilder: { dropColumns, addColumns, column } }: Mig... FILE: packages/@n8n/db/src/migrations/common/1700571993961-AddGlobalAdminRole.ts class AddGlobalAdminRole1700571993961 (line 5) | class AddGlobalAdminRole1700571993961 implements ReversibleMigration { method up (line 6) | async up({ escape, runQuery }: MigrationContext) { method down (line 15) | async down({ escape, runQuery }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/common/1705429061930-DropRoleMapping.ts type Table (line 3) | type Table = 'user' | 'shared_workflow' | 'shared_credentials'; class DropRoleMapping1705429061930 (line 29) | class DropRoleMapping1705429061930 implements ReversibleMigration { method up (line 30) | async up(context: MigrationContext) { method down (line 36) | async down(context: MigrationContext) { method migrateUp (line 42) | private async migrateUp( method migrateDown (line 88) | private async migrateDown( FILE: packages/@n8n/db/src/migrations/common/1711018413374-RemoveFailedExecutionStatus.ts class RemoveFailedExecutionStatus1711018413374 (line 3) | class RemoveFailedExecutionStatus1711018413374 implements IrreversibleMi... method up (line 4) | async up({ escape, runQuery }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/common/1711390882123-MoveSshKeysToDatabase.ts class MoveSshKeysToDatabase1711390882123 (line 13) | class MoveSshKeysToDatabase1711390882123 implements ReversibleMigration { method up (line 26) | async up({ escape, runQuery, logger, migrationName }: MigrationContext) { method down (line 82) | async down({ escape, runQuery, logger, migrationName }: MigrationConte... FILE: packages/@n8n/db/src/migrations/common/1712044305787-RemoveNodesAccess.ts class RemoveNodesAccess1712044305787 (line 3) | class RemoveNodesAccess1712044305787 implements IrreversibleMigration { method up (line 4) | async up({ schemaBuilder: { dropColumns } }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/common/1714133768519-CreateProject.ts type RelationTable (line 10) | type RelationTable = 'shared_workflow' | 'shared_credentials'; function escapeNames (line 22) | function escapeNames(escape: MigrationContext['escape']) { class CreateProject1714133768519 (line 46) | class CreateProject1714133768519 implements ReversibleMigration { method setupTables (line 47) | async setupTables({ schemaBuilder: { createTable, column } }: Migratio... method alterSharedTable (line 74) | async alterSharedTable( method alterSharedCredentials (line 113) | async alterSharedCredentials({ method alterSharedWorkflow (line 146) | async alterSharedWorkflow({ method createUserPersonalProjects (line 179) | async createUserPersonalProjects({ runQuery, runInBatches, escape }: M... method createPersonalProjectName (line 215) | createPersonalProjectName(firstName?: string, lastName?: string, email... method up (line 225) | async up(context: MigrationContext) { method down (line 234) | async down({ logger, escape, runQuery, schemaBuilder: sb }: MigrationC... FILE: packages/@n8n/db/src/migrations/common/1714133768521-MakeExecutionStatusNonNullable.ts class MakeExecutionStatusNonNullable1714133768521 (line 3) | class MakeExecutionStatusNonNullable1714133768521 implements Irreversibl... method up (line 4) | async up({ escape, runQuery, schemaBuilder }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/common/1720101653148-AddConstraintToExecutionMetadata.ts class AddConstraintToExecutionMetadata1720101653148 (line 5) | class AddConstraintToExecutionMetadata1720101653148 implements Reversibl... method up (line 6) | async up(context: MigrationContext) { method down (line 51) | async down(context: MigrationContext) { FILE: packages/@n8n/db/src/migrations/common/1723627610222-CreateInvalidAuthTokenTable.ts class CreateInvalidAuthTokenTable1723627610222 (line 5) | class CreateInvalidAuthTokenTable1723627610222 implements ReversibleMigr... method up (line 6) | async up({ schemaBuilder: { createTable, column } }: MigrationContext) { method down (line 13) | async down({ schemaBuilder: { dropTable } }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/common/1723796243146-RefactorExecutionIndices.ts class RefactorExecutionIndices1723796243146 (line 29) | class RefactorExecutionIndices1723796243146 implements ReversibleMigrati... method up (line 30) | async up({ schemaBuilder, isPostgres, isSqlite, runQuery, escape }: Mi... method down (line 93) | async down({ schemaBuilder }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/common/1724753530828-CreateExecutionAnnotationTables.ts class CreateAnnotationTables1724753530828 (line 7) | class CreateAnnotationTables1724753530828 implements ReversibleMigration { method up (line 8) | async up({ schemaBuilder: { createTable, column } }: MigrationContext) { method down (line 46) | async down({ schemaBuilder: { dropTable } }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/common/1724951148974-AddApiKeysTable.ts class AddApiKeysTable1724951148974 (line 6) | class AddApiKeysTable1724951148974 implements ReversibleMigration { method up (line 7) | async up({ method down (line 60) | async down({ FILE: packages/@n8n/db/src/migrations/common/1726606152711-CreateProcessedDataTable.ts class CreateProcessedDataTable1726606152711 (line 5) | class CreateProcessedDataTable1726606152711 implements ReversibleMigrati... method up (line 6) | async up({ schemaBuilder: { createTable, column } }: MigrationContext) { method down (line 20) | async down({ schemaBuilder: { dropTable } }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/common/1727427440136-SeparateExecutionCreationFromStart.ts class SeparateExecutionCreationFromStart1727427440136 (line 3) | class SeparateExecutionCreationFromStart1727427440136 implements Reversi... method up (line 4) | async up({ method down (line 23) | async down({ schemaBuilder: { dropColumns, addNotNull } }: MigrationCo... FILE: packages/@n8n/db/src/migrations/common/1728659839644-AddMissingPrimaryKeyOnAnnotationTagMapping.ts class AddMissingPrimaryKeyOnAnnotationTagMapping1728659839644 (line 5) | class AddMissingPrimaryKeyOnAnnotationTagMapping1728659839644 method up (line 8) | async up({ queryRunner, tablePrefix }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/common/1729607673464-UpdateProcessedDataValueColumnToText.ts class UpdateProcessedDataValueColumnToText1729607673464 (line 4) | class UpdateProcessedDataValueColumnToText1729607673464 implements Rever... method up (line 5) | async up({ schemaBuilder: { addNotNull }, runQuery, tablePrefix }: Mig... method down (line 15) | async down({ schemaBuilder: { addNotNull }, runQuery, tablePrefix }: M... FILE: packages/@n8n/db/src/migrations/common/1729607673469-AddProjectIcons.ts class AddProjectIcons1729607673469 (line 2) | class AddProjectIcons1729607673469 implements ReversibleMigration { method up (line 3) | async up({ schemaBuilder: { addColumns, column } }: MigrationContext) { method down (line 7) | async down({ schemaBuilder: { dropColumns } }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/common/1730386903556-CreateTestDefinitionTable.ts class CreateTestDefinitionTable1730386903556 (line 5) | class CreateTestDefinitionTable1730386903556 implements ReversibleMigrat... method up (line 6) | async up({ schemaBuilder: { createTable, column } }: MigrationContext) { method down (line 34) | async down({ schemaBuilder: { dropTable } }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/common/1731404028106-AddDescriptionToTestDefinition.ts class AddDescriptionToTestDefinition1731404028106 (line 3) | class AddDescriptionToTestDefinition1731404028106 implements ReversibleM... method up (line 4) | async up({ schemaBuilder: { addColumns, column } }: MigrationContext) { method down (line 8) | async down({ schemaBuilder: { dropColumns } }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/common/1732271325258-CreateTestMetricTable.ts class CreateTestMetricTable1732271325258 (line 5) | class CreateTestMetricTable1732271325258 implements ReversibleMigration { method up (line 6) | async up({ schemaBuilder: { createTable, column } }: MigrationContext) { method down (line 21) | async down({ schemaBuilder: { dropTable } }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/common/1732549866705-CreateTestRunTable.ts class CreateTestRun1732549866705 (line 5) | class CreateTestRun1732549866705 implements ReversibleMigration { method up (line 6) | async up({ schemaBuilder: { createTable, column } }: MigrationContext) { method down (line 24) | async down({ schemaBuilder: { dropTable } }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/common/1733133775640-AddMockedNodesColumnToTestDefinition.ts class AddMockedNodesColumnToTestDefinition1733133775640 (line 6) | class AddMockedNodesColumnToTestDefinition1733133775640 implements Rever... method up (line 7) | async up({ escape, runQuery }: MigrationContext) { method down (line 16) | async down({ escape, runQuery }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/common/1734479635324-AddManagedColumnToCredentialsTable.ts class AddManagedColumnToCredentialsTable1734479635324 (line 3) | class AddManagedColumnToCredentialsTable1734479635324 implements Reversi... method up (line 4) | async up({ escape, runQuery, isSqlite }: MigrationContext) { method down (line 15) | async down({ escape, runQuery }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/common/1736172058779-AddStatsColumnsToTestRun.ts class AddStatsColumnsToTestRun1736172058779 (line 5) | class AddStatsColumnsToTestRun1736172058779 implements ReversibleMigrati... method up (line 6) | async up({ escape, runQuery }: MigrationContext) { method down (line 23) | async down({ escape, runQuery }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/common/1736947513045-CreateTestCaseExecutionTable.ts class CreateTestCaseExecutionTable1736947513045 (line 5) | class CreateTestCaseExecutionTable1736947513045 implements ReversibleMig... method up (line 6) | async up({ schemaBuilder: { createTable, column } }: MigrationContext) { method down (line 44) | async down({ schemaBuilder: { dropTable } }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/common/1737715421462-AddErrorColumnsToTestRuns.ts class AddErrorColumnsToTestRuns1737715421462 (line 6) | class AddErrorColumnsToTestRuns1737715421462 implements ReversibleMigrat... method up (line 7) | async up({ escape, runQuery }: MigrationContext) { method down (line 16) | async down({ escape, runQuery }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/common/1738709609940-CreateFolderTable.ts class CreateFolderTable1738709609940 (line 3) | class CreateFolderTable1738709609940 implements ReversibleMigration { method up (line 4) | async up({ runQuery, escape, schemaBuilder: { createTable, column } }:... method down (line 50) | async down({ runQuery, escape, schemaBuilder: { dropTable } }: Migrati... FILE: packages/@n8n/db/src/migrations/common/1739549398681-CreateAnalyticsTables.ts class CreateAnalyticsTables1739549398681 (line 37) | class CreateAnalyticsTables1739549398681 implements ReversibleMigration { method up (line 38) | async up({ schemaBuilder: { createTable, column } }: MigrationContext) { method down (line 101) | async down({ schemaBuilder: { dropTable } }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/common/1741167584277-RenameAnalyticsToInsights.ts class RenameAnalyticsToInsights1741167584277 (line 42) | class RenameAnalyticsToInsights1741167584277 implements IrreversibleMigr... method up (line 43) | async up({ schemaBuilder: { createTable, column, dropTable } }: Migrat... FILE: packages/@n8n/db/src/migrations/common/1742918400000-AddScopesColumnToApiKeys.ts type ApiKeyWithRole (line 8) | type ApiKeyWithRole = { id: string; role: GlobalRole }; class AddScopesColumnToApiKeys1742918400000 (line 10) | class AddScopesColumnToApiKeys1742918400000 implements ReversibleMigrati... method up (line 11) | async up({ method down (line 38) | async down({ schemaBuilder: { dropColumns } }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/common/1745322634000-CleanEvaluations.ts class ClearEvaluation1745322634000 (line 5) | class ClearEvaluation1745322634000 implements IrreversibleMigration { method up (line 6) | async up({ FILE: packages/@n8n/db/src/migrations/common/1745587087521-AddWorkflowStatisticsRootCount.ts class AddWorkflowStatisticsRootCount1745587087521 (line 6) | class AddWorkflowStatisticsRootCount1745587087521 implements ReversibleM... method up (line 7) | async up({ escape, runQuery }: MigrationContext) { method down (line 16) | async down({ escape, runQuery }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/common/1745934666076-AddWorkflowArchivedColumn.ts class AddWorkflowArchivedColumn1745934666076 (line 6) | class AddWorkflowArchivedColumn1745934666076 implements ReversibleMigrat... method up (line 7) | async up({ escape, runQuery }: MigrationContext) { method down (line 16) | async down({ escape, runQuery }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/common/1745934666077-DropRoleTable.ts class DropRoleTable1745934666077 (line 9) | class DropRoleTable1745934666077 implements IrreversibleMigration { method up (line 10) | async up({ schemaBuilder: { dropTable } }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/common/1747824239000-AddProjectDescriptionColumn.ts class AddProjectDescriptionColumn1747824239000 (line 6) | class AddProjectDescriptionColumn1747824239000 implements ReversibleMigr... method up (line 7) | async up({ escape, runQuery }: MigrationContext) { method down (line 14) | async down({ escape, runQuery }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/common/1750252139166-AddLastActiveAtColumnToUser.ts class AddLastActiveAtColumnToUser1750252139166 (line 6) | class AddLastActiveAtColumnToUser1750252139166 implements ReversibleMigr... method up (line 7) | async up({ escape, runQuery }: MigrationContext) { method down (line 14) | async down({ escape, runQuery }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/common/1750252139166-AddScopeTables.ts class AddScopeTables1750252139166 (line 16) | class AddScopeTables1750252139166 implements ReversibleMigration { method up (line 17) | async up({ schemaBuilder: { createTable, column } }: MigrationContext) { method down (line 29) | async down({ schemaBuilder: { dropTable } }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/common/1750252139167-AddRolesTables.ts class AddRolesTables1750252139167 (line 22) | class AddRolesTables1750252139167 implements ReversibleMigration { method up (line 23) | async up({ method down (line 78) | async down({ schemaBuilder: { dropTable } }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/common/1750252139168-LinkRoleToUserTable.ts class LinkRoleToUserTable1750252139168 (line 10) | class LinkRoleToUserTable1750252139168 implements ReversibleMigration { method up (line 11) | async up({ method down (line 55) | async down({ schemaBuilder: { dropForeignKey, dropColumns } }: Migrati... FILE: packages/@n8n/db/src/migrations/common/1750252139170-RemoveOldRoleColumn.ts class RemoveOldRoleColumn1750252139170 (line 10) | class RemoveOldRoleColumn1750252139170 implements ReversibleMigration { method up (line 11) | async up({ schemaBuilder: { dropColumns }, escape, runQuery }: Migrati... method down (line 32) | async down({ schemaBuilder: { addColumns, column }, escape, runQuery }... FILE: packages/@n8n/db/src/migrations/common/1752669793000-AddInputsOutputsToTestCaseExecution.ts class AddInputsOutputsToTestCaseExecution1752669793000 (line 3) | class AddInputsOutputsToTestCaseExecution1752669793000 implements Revers... method up (line 4) | async up({ schemaBuilder: { addColumns, column } }: MigrationContext) { method down (line 8) | async down({ schemaBuilder: { dropColumns } }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/common/1753953244168-LinkRoleToProjectRelationTable.ts class LinkRoleToProjectRelationTable1753953244168 (line 10) | class LinkRoleToProjectRelationTable1753953244168 implements ReversibleM... method up (line 11) | async up({ schemaBuilder: { addForeignKey }, escape, dbType, runQuery ... method down (line 43) | async down({ schemaBuilder: { dropForeignKey } }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/common/1754475614601-CreateDataStoreTables.ts constant DATA_STORE_TABLE_NAME (line 3) | const DATA_STORE_TABLE_NAME = 'data_store'; constant DATA_STORE_COLUMN_TABLE_NAME (line 4) | const DATA_STORE_COLUMN_TABLE_NAME = 'data_store_column'; class CreateDataStoreTables1754475614601 (line 6) | class CreateDataStoreTables1754475614601 implements ReversibleMigration { method up (line 7) | async up({ schemaBuilder: { createTable, column } }: MigrationContext) { method down (line 42) | async down({ schemaBuilder: { dropTable } }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/common/1754475614602-ReplaceDataStoreTablesWithDataTables.ts constant TABLE_TABLE_NAME_BEFORE (line 3) | const TABLE_TABLE_NAME_BEFORE = 'data_store'; constant COLUMN_TABLE_NAME_BEFORE (line 4) | const COLUMN_TABLE_NAME_BEFORE = 'data_store_column'; constant TABLE_TABLE_NAME_AFTER (line 6) | const TABLE_TABLE_NAME_AFTER = 'data_table'; constant COLUMN_TABLE_NAME_AFTER (line 7) | const COLUMN_TABLE_NAME_AFTER = 'data_table_column'; class ReplaceDataStoreTablesWithDataTables1754475614602 (line 9) | class ReplaceDataStoreTablesWithDataTables1754475614602 implements Rever... method up (line 10) | async up({ schemaBuilder: { createTable, column, dropTable } }: Migrat... method down (line 47) | async down({ schemaBuilder: { createTable, column, dropTable } }: Migr... FILE: packages/@n8n/db/src/migrations/common/1756906557570-AddTimestampsToRoleAndRoleIndexes.ts constant ROLE_TABLE_NAME (line 4) | const ROLE_TABLE_NAME = 'role'; constant PROJECT_RELATION_TABLE_NAME (line 5) | const PROJECT_RELATION_TABLE_NAME = 'project_relation'; constant USER_TABLE_NAME (line 6) | const USER_TABLE_NAME = 'user'; constant PROJECT_RELATION_ROLE_IDX_NAME (line 7) | const PROJECT_RELATION_ROLE_IDX_NAME = 'project_relation_role_idx'; constant PROJECT_RELATION_ROLE_PROJECT_IDX_NAME (line 8) | const PROJECT_RELATION_ROLE_PROJECT_IDX_NAME = 'project_relation_role_pr... constant USER_ROLE_IDX_NAME (line 9) | const USER_ROLE_IDX_NAME = 'user_role_idx'; class AddTimestampsToRoleAndRoleIndexes1756906557570 (line 11) | class AddTimestampsToRoleAndRoleIndexes1756906557570 implements Irrevers... method up (line 12) | async up({ schemaBuilder, queryRunner, tablePrefix }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/common/1758731786132-AddAudienceColumnToApiKey.ts class AddAudienceColumnToApiKeys1758731786132 (line 3) | class AddAudienceColumnToApiKeys1758731786132 implements ReversibleMigra... method up (line 4) | async up({ schemaBuilder: { addColumns, column } }: MigrationContext) { method down (line 10) | async down({ schemaBuilder: { dropColumns } }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/common/1759399811000-ChangeValueTypesForInsights.ts constant INSIGHTS_RAW_TABLE_NAME (line 3) | const INSIGHTS_RAW_TABLE_NAME = 'insights_raw'; constant INSIGHTS_RAW_TEMP_TABLE_NAME (line 4) | const INSIGHTS_RAW_TEMP_TABLE_NAME = 'temp_insights_raw'; constant INSIGHTS_BY_PERIOD_TABLE_NAME (line 5) | const INSIGHTS_BY_PERIOD_TABLE_NAME = 'insights_by_period'; constant INSIGHTS_BY_PERIOD_TEMP_TABLE_NAME (line 6) | const INSIGHTS_BY_PERIOD_TEMP_TABLE_NAME = 'temp_insights_by_period'; constant INSIGHTS_METADATA_TABLE_NAME (line 7) | const INSIGHTS_METADATA_TABLE_NAME = 'insights_metadata'; constant VALUE_COLUMN_NAME (line 8) | const VALUE_COLUMN_NAME = 'value'; class ChangeValueTypesForInsights1759399811000 (line 10) | class ChangeValueTypesForInsights1759399811000 implements IrreversibleMi... method up (line 11) | async up({ FILE: packages/@n8n/db/src/migrations/common/1760019379982-CreateChatHubTables.ts class CreateChatHubTables1760019379982 (line 12) | class CreateChatHubTables1760019379982 implements ReversibleMigration { method up (line 13) | async up({ schemaBuilder: { createTable, column } }: MigrationContext) { method down (line 112) | async down({ schemaBuilder: { dropTable } }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/common/1760020000000-CreateChatHubAgentTable.ts class CreateChatHubAgentTable1760020000000 (line 11) | class CreateChatHubAgentTable1760020000000 implements ReversibleMigration { method up (line 12) | async up({ schemaBuilder: { createTable, addColumns, column } }: Migra... method down (line 58) | async down({ schemaBuilder: { dropTable, dropColumns } }: MigrationCon... FILE: packages/@n8n/db/src/migrations/common/1760020838000-UniqueRoleNames.ts class UniqueRoleNames1760020838000 (line 4) | class UniqueRoleNames1760020838000 implements ReversibleMigration { method up (line 5) | async up({ escape, runQuery }: MigrationContext) { method down (line 49) | async down({ escape, runQuery }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/common/1760116750277-CreateOAuthEntities.ts class CreateOAuthEntities1760116750277 (line 3) | class CreateOAuthEntities1760116750277 implements ReversibleMigration { method up (line 4) | async up({ schemaBuilder: { createTable, column } }: MigrationContext) { method down (line 101) | async down({ schemaBuilder: { dropTable } }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/common/1760314000000-CreateWorkflowDependencyTable.ts class CreateWorkflowDependencyTable1760314000000 (line 3) | class CreateWorkflowDependencyTable1760314000000 implements ReversibleMi... method up (line 4) | async up({ schemaBuilder: { createTable, column } }: MigrationContext) { method down (line 33) | async down({ schemaBuilder: { dropTable } }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/common/1760965142113-DropUnusedChatHubColumns.ts class DropUnusedChatHubColumns1760965142113 (line 7) | class DropUnusedChatHubColumns1760965142113 implements ReversibleMigrati... method up (line 8) | async up({ schemaBuilder: { dropColumns, addColumns, column } }: Migra... method down (line 20) | async down({ FILE: packages/@n8n/db/src/migrations/common/1761773155024-AddAttachmentsToChatHubMessages.ts class AddAttachmentsToChatHubMessages1761773155024 (line 7) | class AddAttachmentsToChatHubMessages1761773155024 implements Reversible... method up (line 8) | async up({ schemaBuilder: { addColumns, column } }: MigrationContext) { method down (line 16) | async down({ schemaBuilder: { dropColumns } }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/common/1761830340990-AddToolsColumnToChatHubTables.ts class AddToolsColumnToChatHubTables1761830340990 (line 8) | class AddToolsColumnToChatHubTables1761830340990 implements ReversibleMi... method up (line 9) | async up({ schemaBuilder: { addColumns, column } }: MigrationContext) { method down (line 22) | async down({ schemaBuilder: { dropColumns } }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/common/1762177736257-AddWorkflowDescriptionColumn.ts class AddWorkflowDescriptionColumn1762177736257 (line 3) | class AddWorkflowDescriptionColumn1762177736257 implements ReversibleMig... method up (line 4) | async up({ schemaBuilder: { addColumns, column } }: MigrationContext) { method down (line 8) | async down({ schemaBuilder: { dropColumns } }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/common/1762763704614-BackfillMissingWorkflowHistoryRecords.ts class BackfillMissingWorkflowHistoryRecords1762763704614 (line 3) | class BackfillMissingWorkflowHistoryRecords1762763704614 implements Irre... method up (line 12) | async up({ escape, runQuery, schemaBuilder }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/common/1762771954619-IsGlobalGlobalColumnToCredentialsTable.ts class AddIsGlobalColumnToCredentialsTable1762771954619 (line 3) | class AddIsGlobalColumnToCredentialsTable1762771954619 implements Revers... method up (line 4) | async up({ escape, runQuery, isSqlite }: MigrationContext) { method down (line 15) | async down({ escape, runQuery }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/common/1762847206508-AddWorkflowHistoryAutoSaveFields.ts class AddWorkflowHistoryAutoSaveFields1762847206508 (line 8) | class AddWorkflowHistoryAutoSaveFields1762847206508 implements Reversibl... method up (line 9) | async up({ schemaBuilder: { addColumns, column } }: MigrationContext) { method down (line 17) | async down({ schemaBuilder: { dropColumns } }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/common/1763047800000-AddActiveVersionIdColumn.ts constant WORKFLOWS_TABLE_NAME (line 3) | const WORKFLOWS_TABLE_NAME = 'workflow_entity'; constant WORKFLOW_HISTORY_TABLE_NAME (line 4) | const WORKFLOW_HISTORY_TABLE_NAME = 'workflow_history'; class AddActiveVersionIdColumn1763047800000 (line 6) | class AddActiveVersionIdColumn1763047800000 implements ReversibleMigrati... method up (line 7) | async up({ method down (line 41) | async down({ schemaBuilder: { dropColumns, dropForeignKey } }: Migrati... method backFillHistoryRecords (line 50) | async backFillHistoryRecords( FILE: packages/@n8n/db/src/migrations/common/1763048000000-ActivateExecuteWorkflowTriggerWorkflows.ts type Node (line 6) | type Node = { type Workflow (line 12) | type Workflow = { class ActivateExecuteWorkflowTriggerWorkflows1763048000000 (line 25) | class ActivateExecuteWorkflowTriggerWorkflows1763048000000 implements Ir... method findExecuteWfAndErrorTriggers (line 26) | private findExecuteWfAndErrorTriggers(nodes: Node[]): { method up (line 49) | async up({ method isTriggerNode (line 206) | private isTriggerNode(nodeType: string): boolean { method hasValidWorkflowInputs (line 210) | private hasValidWorkflowInputs(values: unknown[]): boolean { FILE: packages/@n8n/db/src/migrations/common/1763572724000-ChangeOAuthStateColumnToUnboundedVarchar.ts constant TABLE_NAME (line 3) | const TABLE_NAME = 'oauth_authorization_codes'; constant TEMP_TABLE_NAME (line 4) | const TEMP_TABLE_NAME = 'temp_oauth_authorization_codes'; class ChangeOAuthStateColumnToUnboundedVarchar1763572724000 (line 6) | class ChangeOAuthStateColumnToUnboundedVarchar1763572724000 method up (line 9) | async up({ FILE: packages/@n8n/db/src/migrations/common/1763716655000-CreateBinaryDataTable.ts class CreateBinaryDataTable1763716655000 (line 5) | class CreateBinaryDataTable1763716655000 implements ReversibleMigration { method up (line 6) | async up({ schemaBuilder: { createTable, column } }: MigrationContext) { method down (line 23) | async down({ schemaBuilder: { dropTable } }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/common/1764167920585-CreateWorkflowPublishHistoryTable.ts class CreateWorkflowPublishHistoryTable1764167920585 (line 5) | class CreateWorkflowPublishHistoryTable1764167920585 implements Reversib... method up (line 6) | async up({ schemaBuilder: { createTable, column }, escape, runQuery }:... method down (line 55) | async down({ schemaBuilder: { dropTable } }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/common/1764276827837-AddCreatorIdToProjectTable.ts constant FOREIGN_KEY_NAME (line 8) | const FOREIGN_KEY_NAME = 'projects_creatorId_foreign'; class AddCreatorIdToProjectTable1764276827837 (line 10) | class AddCreatorIdToProjectTable1764276827837 implements ReversibleMigra... method up (line 11) | async up({ method down (line 38) | async down({ schemaBuilder: { dropColumns, dropForeignKey } }: Migrati... FILE: packages/@n8n/db/src/migrations/common/1764682447000-CreateCredentialResolverTable.ts class CreateDynamicCredentialResolverTable1764682447000 (line 5) | class CreateDynamicCredentialResolverTable1764682447000 implements Rever... method up (line 6) | async up({ schemaBuilder: { createTable, column } }: MigrationContext) { method down (line 19) | async down({ schemaBuilder: { dropTable } }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/common/1764689388394-AddDynamicCredentialEntryTable.ts class AddDynamicCredentialEntryTable1764689388394 (line 5) | class AddDynamicCredentialEntryTable1764689388394 implements ReversibleM... method up (line 6) | async up({ schemaBuilder: { createTable, column } }: MigrationContext) { method down (line 28) | async down({ schemaBuilder: { dropTable } }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/common/1765448186933-BackfillMissingWorkflowHistoryRecords.ts class BackfillMissingWorkflowHistoryRecords1765448186933 (line 4) | class BackfillMissingWorkflowHistoryRecords1765448186933 implements Irre... method up (line 5) | async up({ escape, runQuery }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/common/1765459448000-AddResolvableFieldsToCredentials.ts constant FOREIGN_KEY_NAME (line 5) | const FOREIGN_KEY_NAME = 'credentials_entity_resolverId_foreign'; class AddResolvableFieldsToCredentials1765459448000 (line 7) | class AddResolvableFieldsToCredentials1765459448000 implements Reversibl... method up (line 8) | async up({ schemaBuilder: { addColumns, addForeignKey, column } }: Mig... method down (line 24) | async down({ schemaBuilder: { dropColumns, dropForeignKey } }: Migrati... FILE: packages/@n8n/db/src/migrations/common/1765788427674-AddIconToAgentTable.ts class AddIconToAgentTable1765788427674 (line 5) | class AddIconToAgentTable1765788427674 implements ReversibleMigration { method up (line 6) | async up({ schemaBuilder: { addColumns, column } }: MigrationContext) { method down (line 11) | async down({ schemaBuilder: { dropColumns } }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/common/1765886667897-AddAgentIdForeignKeys.ts class AddAgentIdForeignKeys1765886667897 (line 9) | class AddAgentIdForeignKeys1765886667897 implements ReversibleMigration { method up (line 10) | async up({ schemaBuilder: { addForeignKey }, runQuery, escape }: Migra... method down (line 38) | async down({ schemaBuilder: { dropForeignKey } }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/common/1765892199653-AddVersionIdToExecutionData.ts class AddWorkflowVersionIdToExecutionData1765892199653 (line 3) | class AddWorkflowVersionIdToExecutionData1765892199653 implements Revers... method up (line 4) | async up({ runQuery, escape }: MigrationContext) { method down (line 10) | async down({ runQuery, escape }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/common/1766064542000-AddWorkflowPublishScopeToProjectRoles.ts class AddWorkflowPublishScopeToProjectRoles1766064542000 (line 16) | class AddWorkflowPublishScopeToProjectRoles1766064542000 implements Reve... method up (line 17) | async up({ escape, runQuery, logger }: MigrationContext) { method down (line 64) | async down({ escape, runQuery, logger }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/common/1766068346315-AddChatMessageIndices.ts class AddChatMessageIndices1766068346315 (line 3) | class AddChatMessageIndices1766068346315 implements ReversibleMigration { method up (line 4) | async up({ schemaBuilder: { addNotNull }, runQuery, escape }: Migratio... method down (line 36) | async down({ schemaBuilder: { dropNotNull }, runQuery, escape }: Migra... FILE: packages/@n8n/db/src/migrations/common/1768402473068-ExpandModelColumnLength.ts class ExpandModelColumnLength1768402473068 (line 3) | class ExpandModelColumnLength1768402473068 implements ReversibleMigration { method up (line 4) | async up({ isSqlite, isPostgres, escape, queryRunner }: MigrationConte... method down (line 28) | async down({ isSqlite, isPostgres, escape, queryRunner }: MigrationCon... FILE: packages/@n8n/db/src/migrations/common/1768557000000-AddStoredAtToExecutionEntity.ts class AddStoredAtToExecutionEntity1768557000000 (line 3) | class AddStoredAtToExecutionEntity1768557000000 implements ReversibleMig... method up (line 4) | async up({ escape, runQuery }: MigrationContext) { method down (line 13) | async down({ escape, runQuery }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/common/1768901721000-AddDynamicCredentialUserEntryTable.ts class AddDynamicCredentialUserEntryTable1768901721000 (line 5) | class AddDynamicCredentialUserEntryTable1768901721000 implements Reversi... method up (line 6) | async up({ schemaBuilder: { createTable, column } }: MigrationContext) { method down (line 33) | async down({ schemaBuilder: { dropTable } }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/common/1769000000000-AddPublishedVersionIdToWorkflowDependency.ts class AddPublishedVersionIdToWorkflowDependency1769000000000 (line 3) | class AddPublishedVersionIdToWorkflowDependency1769000000000 implements ... method up (line 4) | async up({ schemaBuilder: { addColumns, column, createIndex } }: Migra... method down (line 9) | async down({ schemaBuilder: { dropColumns, dropIndex } }: MigrationCon... FILE: packages/@n8n/db/src/migrations/common/1769433700000-CreateSecretsProvidersConnectionTables.ts class CreateSecretsProviderConnectionTables1769433700000 (line 6) | class CreateSecretsProviderConnectionTables1769433700000 implements Reve... method up (line 7) | async up({ schemaBuilder: { createTable, column, createIndex } }: Migr... method down (line 41) | async down({ schemaBuilder: { dropTable } }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/common/1769698710000-CreateWorkflowPublishedVersionTable.ts class CreateWorkflowPublishedVersionTable1769698710000 (line 10) | class CreateWorkflowPublishedVersionTable1769698710000 implements Revers... method up (line 11) | async up({ schemaBuilder: { createTable, column } }: MigrationContext) { method down (line 29) | async down({ schemaBuilder: { dropTable } }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/common/1769784356000-ExpandSubjectIDColumnLength.ts class ExpandSubjectIDColumnLength1769784356000 (line 6) | class ExpandSubjectIDColumnLength1769784356000 implements IrreversibleMi... method up (line 7) | async up({ FILE: packages/@n8n/db/src/migrations/common/1769900001000-AddWorkflowUnpublishScopeToCustomRoles.ts constant PERSONAL_OWNER_ROLE_SLUG (line 3) | const PERSONAL_OWNER_ROLE_SLUG = 'project:personalOwner'; class AddWorkflowUnpublishScopeToCustomRoles1769900001000 (line 18) | class AddWorkflowUnpublishScopeToCustomRoles1769900001000 implements Rev... method up (line 19) | async up({ escape, runQuery }: MigrationContext) { method down (line 63) | async down({ escape, runQuery }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/common/1770000000000-CreateChatHubToolsTable.ts type SessionRow (line 14) | interface SessionRow { type AgentRow (line 20) | interface AgentRow { type ToolDefinition (line 27) | interface ToolDefinition extends Record { class CreateChatHubToolsTable1770000000000 (line 34) | class CreateChatHubToolsTable1770000000000 implements ReversibleMigration { method up (line 35) | async up({ method down (line 205) | async down({ schemaBuilder: { addColumns, column, dropTable } }: Migra... FILE: packages/@n8n/db/src/migrations/common/1770000000000-ExpandProviderIdColumnLength.ts class ExpandProviderIdColumnLength1770000000000 (line 3) | class ExpandProviderIdColumnLength1770000000000 implements IrreversibleM... method up (line 4) | async up({ isPostgres, escape, queryRunner }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/common/1770220686000-CreateWorkflowBuilderSessionTable.ts class CreateWorkflowBuilderSessionTable1770220686000 (line 7) | class CreateWorkflowBuilderSessionTable1770220686000 implements Reversib... method up (line 8) | async up({ schemaBuilder: { createTable, column } }: MigrationContext) { method down (line 32) | async down({ schemaBuilder: { dropTable } }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/common/1771417407753-AddScalingFieldsToTestRun.ts class AddScalingFieldsToTestRun1771417407753 (line 6) | class AddScalingFieldsToTestRun1771417407753 implements ReversibleMigrat... method up (line 7) | async up({ escape, runQuery }: MigrationContext) { method down (line 20) | async down({ escape, runQuery }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/common/1771500000000-MigrateExternalSecretsToEntityStorage.ts type ProviderData (line 7) | interface ProviderData { type ExternalSecretsSettings (line 13) | interface ExternalSecretsSettings { constant EXTERNAL_SECRETS_DB_KEY (line 17) | const EXTERNAL_SECRETS_DB_KEY = 'feature.externalSecrets'; class MigrateExternalSecretsToEntityStorage1771500000000 (line 26) | class MigrateExternalSecretsToEntityStorage1771500000000 implements Irre... method up (line 29) | async up(context: MigrationContext) { method readSettings (line 50) | private async readSettings({ method migrateProvider (line 80) | private async migrateProvider( FILE: packages/@n8n/db/src/migrations/common/1771500000001-AddUnshareScopeToCustomRoles.ts constant PERSONAL_OWNER_ROLE_SLUG (line 3) | const PERSONAL_OWNER_ROLE_SLUG = 'project:personalOwner'; class AddUnshareScopeToCustomRoles1771500000001 (line 21) | class AddUnshareScopeToCustomRoles1771500000001 implements ReversibleMig... method up (line 22) | async up({ escape, runQuery }: MigrationContext) { method down (line 77) | async down({ escape, runQuery }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/common/1771500000002-AddFilesColumnToChatHubAgents.ts class AddFilesColumnToChatHubAgents1771500000002 (line 5) | class AddFilesColumnToChatHubAgents1771500000002 implements ReversibleMi... method up (line 6) | async up({ schemaBuilder: { addColumns, column } }: MigrationContext) { method down (line 10) | async down({ schemaBuilder: { dropColumns } }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/common/1772000000000-AddSuggestedPromptsToAgentTable.ts class AddSuggestedPromptsToAgentTable1772000000000 (line 5) | class AddSuggestedPromptsToAgentTable1772000000000 implements Reversible... method up (line 6) | async up({ schemaBuilder: { addColumns, column } }: MigrationContext) { method down (line 10) | async down({ schemaBuilder: { dropColumns } }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/common/1772619247761-AddRoleColumnToProjectSecretsProviderAccess.ts class AddRoleColumnToProjectSecretsProviderAccess1772619247761 (line 5) | class AddRoleColumnToProjectSecretsProviderAccess1772619247761 method up (line 8) | async up({ schemaBuilder: { addColumns, column } }: MigrationContext) { method down (line 17) | async down({ schemaBuilder: { dropColumns }, tablePrefix, queryRunner ... FILE: packages/@n8n/db/src/migrations/common/1772619247762-ChangeWorkflowPublishedVersionFKsToRestrict.ts class ChangeWorkflowPublishedVersionFKsToRestrict1772619247762 (line 9) | class ChangeWorkflowPublishedVersionFKsToRestrict1772619247762 method up (line 12) | async up({ schemaBuilder: { dropForeignKey, addForeignKey } }: Migrati... method down (line 35) | async down({ schemaBuilder: { dropForeignKey, addForeignKey } }: Migra... FILE: packages/@n8n/db/src/migrations/common/1772700000000-AddTypeToChatHubSessions.ts class AddTypeToChatHubSessions1772700000000 (line 3) | class AddTypeToChatHubSessions1772700000000 implements ReversibleMigrati... method up (line 4) | async up({ schemaBuilder: { addColumns, column } }: MigrationContext) { method down (line 13) | async down({ schemaBuilder: { dropColumns } }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/common/1772800000000-CreateRoleMappingRuleTable.ts class CreateRoleMappingRuleTable1772800000000 (line 11) | class CreateRoleMappingRuleTable1772800000000 implements ReversibleMigra... method up (line 12) | async up({ schemaBuilder: { createTable, column } }: MigrationContext) { method down (line 52) | async down({ schemaBuilder: { dropTable } }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/common/1773000000000-CreateCredentialDependencyTable.ts type CredentialRow (line 10) | type CredentialRow = { class CreateCredentialDependencyTable1773000000000 (line 15) | class CreateCredentialDependencyTable1773000000000 implements Reversible... method up (line 18) | async up({ method down (line 84) | async down({ schemaBuilder: { dropTable } }: MigrationContext) { method extractProviderKeysFromCredentialData (line 88) | private extractProviderKeysFromCredentialData(encryptedCredentialData:... method extractProviderKeysFromDecryptedData (line 94) | private extractProviderKeysFromDecryptedData(decryptedCredentialData: ... method tryDecryptCredentialData (line 125) | private tryDecryptCredentialData(encryptedCredentialData: string): unk... method extractProviderKeys (line 134) | private extractProviderKeys(expression: string): string[] { method insertDependencies (line 159) | private async insertDependencies( method loadProviderIdByKey (line 190) | private async loadProviderIdByKey( FILE: packages/@n8n/db/src/migrations/common/1774280963551-AddRestoreFieldsToWorkflowBuilderSession.ts class AddRestoreFieldsToWorkflowBuilderSession1774280963551 (line 3) | class AddRestoreFieldsToWorkflowBuilderSession1774280963551 implements R... method up (line 4) | async up({ schemaBuilder: { addColumns, column } }: MigrationContext) { method down (line 11) | async down({ schemaBuilder: { dropColumns } }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/common/1774854660000-CreateInstanceVersionHistoryTable.ts class CreateInstanceVersionHistoryTable1774854660000 (line 3) | class CreateInstanceVersionHistoryTable1774854660000 implements Reversib... method up (line 4) | async up({ schemaBuilder: { createTable, column } }: MigrationContext) { method down (line 13) | async down({ schemaBuilder: { dropTable } }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/common/1775000000000-CreateInstanceAiTables.ts class CreateInstanceAiTables1775000000000 (line 13) | class CreateInstanceAiTables1775000000000 implements ReversibleMigration { method up (line 14) | async up({ schemaBuilder: { createTable, column } }: MigrationContext) { method down (line 129) | async down({ schemaBuilder: { dropTable } }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/dsl/column.ts class Column (line 4) | class Column { method constructor (line 37) | constructor(private name: string) {} method bool (line 39) | get bool() { method int (line 44) | get int() { method bigint (line 49) | get bigint() { method smallint (line 54) | get smallint() { method double (line 59) | get double() { method varchar (line 64) | varchar(length?: number) { method text (line 70) | get text() { method json (line 75) | get json() { method timestamp (line 83) | timestamp(msPrecision = 3) { method timestampTimezone (line 89) | timestampTimezone(msPrecision = 3) { method timestampNoTimezone (line 95) | timestampNoTimezone(msPrecision = 3) { method uuid (line 101) | get uuid() { method binary (line 106) | get binary() { method primary (line 111) | get primary() { method primaryWithName (line 116) | primaryWithName(name?: string) { method notNull (line 122) | get notNull() { method default (line 127) | default(value: unknown) { method autoGenerate (line 135) | get autoGenerate() { method autoGenerate2 (line 145) | get autoGenerate2() { method comment (line 151) | comment(comment: string) { method withEnumCheck (line 156) | withEnumCheck(values: string[]) { method getEnumCheck (line 161) | getEnumCheck(): { columnName: string; values: string[] } | undefined { method toOptions (line 168) | toOptions(driver: Driver): TableColumnOptions { method assertCanAutogenerate (line 257) | private assertCanAutogenerate(method: string) { FILE: packages/@n8n/db/src/migrations/dsl/indices.ts method fullTableName (line 8) | get fullTableName() { method fullIndexName (line 12) | get fullIndexName() { method constructor (line 16) | constructor( class CreateIndex (line 29) | class CreateIndex extends IndexOperation { method constructor (line 30) | constructor( method execute (line 42) | async execute(queryRunner: QueryRunner) { class DropIndex (line 56) | class DropIndex extends IndexOperation { method constructor (line 57) | constructor( method execute (line 68) | async execute(queryRunner: QueryRunner) { FILE: packages/@n8n/db/src/migrations/dsl/table.ts function buildEnumChecks (line 8) | function buildEnumChecks( method constructor (line 31) | constructor( class CreateTable (line 42) | class CreateTable extends TableOperation { method withColumns (line 53) | withColumns(...columns: Column[]) { method withTimestamps (line 58) | get withTimestamps() { method withCreatedAt (line 66) | get withCreatedAt() { method withIndexOn (line 71) | withIndexOn(columnName: string | string[], isUnique = false) { method withUniqueConstraintOn (line 77) | withUniqueConstraintOn(columnName: string | string[]) { method withCheck (line 83) | withCheck(name: string, expression: string) { method withForeignKey (line 88) | withForeignKey( method execute (line 110) | async execute(queryRunner: QueryRunner) { class DropTable (line 140) | class DropTable extends TableOperation { method execute (line 141) | async execute(queryRunner: QueryRunner) { class AddColumns (line 147) | class AddColumns extends TableOperation { method constructor (line 148) | constructor( method execute (line 157) | async execute(queryRunner: QueryRunner) { class DropColumns (line 174) | class DropColumns extends TableOperation { method constructor (line 175) | constructor( method execute (line 184) | async execute(queryRunner: QueryRunner) { method constructor (line 193) | constructor( class AddForeignKey (line 214) | class AddForeignKey extends ForeignKeyOperation { method execute (line 215) | async execute(queryRunner: QueryRunner) { class DropForeignKey (line 221) | class DropForeignKey extends ForeignKeyOperation { method execute (line 222) | async execute(queryRunner: QueryRunner) { class ModifyNotNull (line 228) | class ModifyNotNull extends TableOperation { method constructor (line 229) | constructor( method execute (line 239) | async execute(queryRunner: QueryRunner) { class AddNotNull (line 250) | class AddNotNull extends ModifyNotNull { method constructor (line 251) | constructor( class DropNotNull (line 261) | class DropNotNull extends ModifyNotNull { method constructor (line 262) | constructor( FILE: packages/@n8n/db/src/migrations/migration-helpers.ts constant PERSONALIZATION_SURVEY_FILENAME (line 13) | const PERSONALIZATION_SURVEY_FILENAME = 'personalizationSurvey.json'; function loadSurveyFromDisk (line 15) | function loadSurveyFromDisk(): string | null { function logMigrationStart (line 45) | function logMigrationStart(migrationName: string): void { function logMigrationEnd (line 57) | function logMigrationEnd(migrationName: string): void { function parseJson (line 87) | function parseJson(data: string | T): T { method get (line 214) | get(this: BaseMigration) { method up (line 222) | async up(this: BaseMigration, queryRunner: QueryRunner) { method down (line 238) | async down(this: BaseMigration, queryRunner: QueryRunner) { FILE: packages/@n8n/db/src/migrations/migration-types.ts type DatabaseType (line 6) | type DatabaseType = 'postgresdb' | 'sqlite'; type MigrationContext (line 8) | interface MigrationContext { type MigrationFn (line 41) | type MigrationFn = (ctx: MigrationContext) => Promise; type BaseMigration (line 43) | interface BaseMigration { type ReversibleMigration (line 55) | interface ReversibleMigration extends BaseMigration { type IrreversibleMigration (line 59) | interface IrreversibleMigration extends BaseMigration { type Migration (line 64) | interface Migration extends Function { type InsertResult (line 68) | type InsertResult = Array<{ insertId: number }>; FILE: packages/@n8n/db/src/migrations/postgresdb/1587669153312-InitialMigration.ts class InitialMigration1587669153312 (line 3) | class InitialMigration1587669153312 implements ReversibleMigration { method up (line 4) | async up({ queryRunner, tablePrefix }: MigrationContext) { method down (line 22) | async down({ queryRunner, tablePrefix }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/postgresdb/1589476000887-WebhookModel.ts class WebhookModel1589476000887 (line 3) | class WebhookModel1589476000887 implements ReversibleMigration { method up (line 4) | async up({ queryRunner, tablePrefix }: MigrationContext) { method down (line 10) | async down({ queryRunner, tablePrefix }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/postgresdb/1594828256133-CreateIndexStoppedAt.ts class CreateIndexStoppedAt1594828256133 (line 3) | class CreateIndexStoppedAt1594828256133 implements ReversibleMigration { method up (line 4) | async up({ queryRunner, tablePrefix }: MigrationContext) { method down (line 10) | async down({ queryRunner, tablePrefix }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/postgresdb/1607431743768-MakeStoppedAtNullable.ts class MakeStoppedAtNullable1607431743768 (line 3) | class MakeStoppedAtNullable1607431743768 implements IrreversibleMigration { method up (line 4) | async up({ queryRunner, tablePrefix }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/postgresdb/1611144599516-AddWebhookId.ts class AddWebhookId1611144599516 (line 3) | class AddWebhookId1611144599516 implements ReversibleMigration { method up (line 4) | async up({ queryRunner, tablePrefix }: MigrationContext) { method down (line 14) | async down({ queryRunner, tablePrefix }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/postgresdb/1617270242566-CreateTagEntity.ts class CreateTagEntity1617270242566 (line 3) | class CreateTagEntity1617270242566 implements ReversibleMigration { method up (line 4) | async up({ queryRunner, tablePrefix }: MigrationContext) { method down (line 70) | async down({ queryRunner, tablePrefix }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/postgresdb/1620824779533-UniqueWorkflowNames.ts class UniqueWorkflowNames1620824779533 (line 3) | class UniqueWorkflowNames1620824779533 extends UniqueWorkflowNames162082... FILE: packages/@n8n/db/src/migrations/postgresdb/1626176912946-AddwaitTill.ts class AddwaitTill1626176912946 (line 3) | class AddwaitTill1626176912946 implements ReversibleMigration { method up (line 4) | async up({ queryRunner, tablePrefix }: MigrationContext) { method down (line 11) | async down({ queryRunner, tablePrefix }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/postgresdb/1630419189837-UpdateWorkflowCredentials.ts class UpdateWorkflowCredentials1630419189837 (line 3) | class UpdateWorkflowCredentials1630419189837 extends UpdateWorkflowCrede... FILE: packages/@n8n/db/src/migrations/postgresdb/1644422880309-AddExecutionEntityIndexes.ts class AddExecutionEntityIndexes1644422880309 (line 3) | class AddExecutionEntityIndexes1644422880309 implements ReversibleMigrat... method up (line 4) | async up({ queryRunner, tablePrefix }: MigrationContext) { method down (line 27) | async down({ queryRunner, tablePrefix }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/postgresdb/1646834195327-IncreaseTypeVarcharLimit.ts class IncreaseTypeVarcharLimit1646834195327 (line 3) | class IncreaseTypeVarcharLimit1646834195327 implements IrreversibleMigra... method up (line 4) | async up({ queryRunner, tablePrefix }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/postgresdb/1646992772331-CreateUserManagement.ts class CreateUserManagement1646992772331 (line 5) | class CreateUserManagement1646992772331 implements ReversibleMigration { method up (line 6) | async up({ queryRunner, tablePrefix, loadSurveyFromDisk }: MigrationCo... method down (line 143) | async down({ queryRunner, tablePrefix }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/postgresdb/1648740597343-LowerCaseUserEmail.ts class LowerCaseUserEmail1648740597343 (line 3) | class LowerCaseUserEmail1648740597343 implements IrreversibleMigration { method up (line 4) | async up({ queryRunner, tablePrefix }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/postgresdb/1652254514002-CommunityNodes.ts class CommunityNodes1652254514002 (line 3) | class CommunityNodes1652254514002 implements ReversibleMigration { method up (line 4) | async up({ queryRunner, tablePrefix }: MigrationContext) { method down (line 29) | async down({ queryRunner, tablePrefix }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/postgresdb/1652367743993-AddUserSettings.ts class AddUserSettings1652367743993 (line 3) | class AddUserSettings1652367743993 implements ReversibleMigration { method up (line 4) | async up({ queryRunner, tablePrefix }: MigrationContext) { method down (line 12) | async down({ queryRunner, tablePrefix }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/postgresdb/1652905585850-AddAPIKeyColumn.ts class AddAPIKeyColumn1652905585850 (line 3) | class AddAPIKeyColumn1652905585850 implements ReversibleMigration { method up (line 4) | async up({ queryRunner, tablePrefix }: MigrationContext) { method down (line 11) | async down({ queryRunner, tablePrefix }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/postgresdb/1654090467022-IntroducePinData.ts class IntroducePinData1654090467022 (line 3) | class IntroducePinData1654090467022 implements ReversibleMigration { method up (line 4) | async up({ queryRunner, tablePrefix }: MigrationContext) { method down (line 8) | async down({ queryRunner, tablePrefix }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/postgresdb/1658932090381-AddNodeIds.ts class AddNodeIds1658932090381 (line 3) | class AddNodeIds1658932090381 extends AddNodeIds1658930531669 {} FILE: packages/@n8n/db/src/migrations/postgresdb/1659902242948-AddJsonKeyPinData.ts class AddJsonKeyPinData1659902242948 (line 3) | class AddJsonKeyPinData1659902242948 extends AddJsonKeyPinData1659888469... FILE: packages/@n8n/db/src/migrations/postgresdb/1660062385367-CreateCredentialsUserRole.ts class CreateCredentialsUserRole1660062385367 (line 3) | class CreateCredentialsUserRole1660062385367 implements ReversibleMigrat... method up (line 4) | async up({ queryRunner, tablePrefix }: MigrationContext) { method down (line 12) | async down({ queryRunner, tablePrefix }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/postgresdb/1663755770893-CreateWorkflowsEditorRole.ts class CreateWorkflowsEditorRole1663755770893 (line 3) | class CreateWorkflowsEditorRole1663755770893 implements ReversibleMigrat... method up (line 4) | async up({ queryRunner, tablePrefix }: MigrationContext) { method down (line 12) | async down({ queryRunner, tablePrefix }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/postgresdb/1664196174001-WorkflowStatistics.ts class WorkflowStatistics1664196174001 (line 3) | class WorkflowStatistics1664196174001 implements ReversibleMigration { method up (line 4) | async up({ queryRunner, tablePrefix }: MigrationContext) { method down (line 23) | async down({ queryRunner, tablePrefix }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/postgresdb/1665484192212-CreateCredentialUsageTable.ts class CreateCredentialUsageTable1665484192212 (line 3) | class CreateCredentialUsageTable1665484192212 implements ReversibleMigra... method up (line 4) | async up({ queryRunner, tablePrefix }: MigrationContext) { method down (line 19) | async down({ queryRunner, tablePrefix }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/postgresdb/1665754637025-RemoveCredentialUsageTable.ts class RemoveCredentialUsageTable1665754637025 (line 3) | class RemoveCredentialUsageTable1665754637025 implements ReversibleMigra... method up (line 4) | async up({ queryRunner, tablePrefix }: MigrationContext) { method down (line 8) | async down({ queryRunner, tablePrefix }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/postgresdb/1669739707126-AddWorkflowVersionIdColumn.ts class AddWorkflowVersionIdColumn1669739707126 (line 3) | class AddWorkflowVersionIdColumn1669739707126 extends AddWorkflowVersion... FILE: packages/@n8n/db/src/migrations/postgresdb/1669823906995-AddTriggerCountColumn.ts class AddTriggerCountColumn1669823906995 (line 3) | class AddTriggerCountColumn1669823906995 implements ReversibleMigration { method up (line 4) | async up({ queryRunner, tablePrefix }: MigrationContext) { method down (line 11) | async down({ queryRunner, tablePrefix }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/postgresdb/1671535397530-MessageEventBusDestinations.ts class MessageEventBusDestinations1671535397530 (line 3) | class MessageEventBusDestinations1671535397530 implements ReversibleMigr... method up (line 4) | async up({ queryRunner, tablePrefix }: MigrationContext) { method down (line 14) | async down({ queryRunner, tablePrefix }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/postgresdb/1671726148421-RemoveWorkflowDataLoadedFlag.ts class RemoveWorkflowDataLoadedFlag1671726148421 (line 3) | class RemoveWorkflowDataLoadedFlag1671726148421 extends RemoveWorkflowDa... FILE: packages/@n8n/db/src/migrations/postgresdb/1673268682475-DeleteExecutionsWithWorkflows.ts class DeleteExecutionsWithWorkflows1673268682475 (line 3) | class DeleteExecutionsWithWorkflows1673268682475 implements ReversibleMi... method up (line 4) | async up({ queryRunner, tablePrefix }: MigrationContext) { method down (line 32) | async down({ queryRunner, tablePrefix }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/postgresdb/1674138566000-AddStatusToExecutions.ts class AddStatusToExecutions1674138566000 (line 3) | class AddStatusToExecutions1674138566000 implements ReversibleMigration { method up (line 4) | async up({ queryRunner, tablePrefix }: MigrationContext) { method down (line 8) | async down({ queryRunner, tablePrefix }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/postgresdb/1676996103000-MigrateExecutionStatus.ts class MigrateExecutionStatus1676996103000 (line 3) | class MigrateExecutionStatus1676996103000 implements IrreversibleMigrati... method up (line 4) | async up({ queryRunner, tablePrefix }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/postgresdb/1677236854063-UpdateRunningExecutionStatus.ts class UpdateRunningExecutionStatus1677236854063 (line 3) | class UpdateRunningExecutionStatus1677236854063 implements IrreversibleM... method up (line 4) | async up({ queryRunner, tablePrefix }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/postgresdb/1677501636754-CreateVariables.ts class CreateVariables1677501636754 (line 3) | class CreateVariables1677501636754 implements ReversibleMigration { method up (line 4) | async up({ queryRunner, tablePrefix }: MigrationContext) { method down (line 16) | async down({ queryRunner, tablePrefix }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/postgresdb/1679416281778-CreateExecutionMetadataTable.ts class CreateExecutionMetadataTable1679416281778 (line 3) | class CreateExecutionMetadataTable1679416281778 implements ReversibleMig... method up (line 4) | async up({ queryRunner, tablePrefix }: MigrationContext) { method down (line 31) | async down({ queryRunner, tablePrefix }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/postgresdb/1681134145996-AddUserActivatedProperty.ts class AddUserActivatedProperty1681134145996 (line 4) | class AddUserActivatedProperty1681134145996 implements ReversibleMigrati... method up (line 5) | async up({ queryRunner, tablePrefix }: MigrationContext) { method down (line 44) | async down({ queryRunner, tablePrefix }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/postgresdb/1681134145997-RemoveSkipOwnerSetup.ts class RemoveSkipOwnerSetup1681134145997 (line 3) | class RemoveSkipOwnerSetup1681134145997 implements IrreversibleMigration { method up (line 4) | async up({ queryRunner, tablePrefix }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/postgresdb/1690000000000-MigrateIntegerKeysToString.ts class MigrateIntegerKeysToString1690000000000 (line 3) | class MigrateIntegerKeysToString1690000000000 implements IrreversibleMig... method up (line 4) | async up({ queryRunner, tablePrefix }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/postgresdb/1690000000020-SeparateExecutionData.ts class SeparateExecutionData1690000000020 (line 3) | class SeparateExecutionData1690000000020 implements ReversibleMigration { method up (line 4) | async up({ queryRunner, tablePrefix }: MigrationContext) { method down (line 28) | async down({ queryRunner, tablePrefix }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/postgresdb/1690787606731-AddMissingPrimaryKeyOnExecutionData.ts class AddMissingPrimaryKeyOnExecutionData1690787606731 (line 3) | class AddMissingPrimaryKeyOnExecutionData1690787606731 implements Irreve... method up (line 4) | async up({ queryRunner, tablePrefix }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/postgresdb/1694091729095-MigrateToTimestampTz.ts class MigrateToTimestampTz1694091729095 (line 23) | class MigrateToTimestampTz1694091729095 implements IrreversibleMigration { method up (line 24) | async up({ queryRunner, tablePrefix }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/postgresdb/1717498465931-AddActivatedAtUserSetting.ts class AddActivatedAtUserSetting1717498465931 (line 3) | class AddActivatedAtUserSetting1717498465931 implements ReversibleMigrat... method up (line 4) | async up({ queryRunner, escape }: MigrationContext) { method down (line 13) | async down({ queryRunner, escape }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/postgresdb/1721377157740-FixExecutionMetadataSequence.ts class FixExecutionMetadataSequence1721377157740 (line 3) | class FixExecutionMetadataSequence1721377157740 implements IrreversibleM... method up (line 4) | async up({ queryRunner, escape }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/postgresdb/1731582748663-MigrateTestDefinitionKeyToString.ts class MigrateTestDefinitionKeyToString1731582748663 (line 3) | class MigrateTestDefinitionKeyToString1731582748663 implements Irreversi... method up (line 4) | async up(context: MigrationContext) { FILE: packages/@n8n/db/src/migrations/postgresdb/1740445074052-UpdateParentFolderIdColumn.ts class UpdateParentFolderIdColumn1740445074052 (line 5) | class UpdateParentFolderIdColumn1740445074052 implements BaseMigration { method up (line 6) | async up({ FILE: packages/@n8n/db/src/migrations/postgresdb/1758794506893-AddProjectIdToVariableTable.ts constant VARIABLES_TABLE_NAME (line 3) | const VARIABLES_TABLE_NAME = 'variables'; constant UNIQUE_PROJECT_KEY_INDEX_NAME (line 4) | const UNIQUE_PROJECT_KEY_INDEX_NAME = 'variables_project_key_unique'; constant UNIQUE_GLOBAL_KEY_INDEX_NAME (line 5) | const UNIQUE_GLOBAL_KEY_INDEX_NAME = 'variables_global_key_unique'; class AddProjectIdToVariableTable1758794506893 (line 12) | class AddProjectIdToVariableTable1758794506893 implements ReversibleMigr... method up (line 13) | async up({ method down (line 47) | async down({ FILE: packages/@n8n/db/src/migrations/postgresdb/1761047826451-AddWorkflowVersionColumn.ts class AddWorkflowVersionColumn1761047826451 (line 6) | class AddWorkflowVersionColumn1761047826451 implements ReversibleMigrati... method up (line 7) | async up({ queryRunner, tablePrefix }: MigrationContext) { method down (line 40) | async down({ queryRunner, tablePrefix }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/postgresdb/1761655473000-ChangeDependencyInfoToJson.ts class ChangeDependencyInfoToJson1761655473000 (line 6) | class ChangeDependencyInfoToJson1761655473000 implements IrreversibleMig... method up (line 7) | async up({ queryRunner, tablePrefix }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/postgresdb/1762771264000-ChangeDefaultForIdInUserTable.ts class ChangeDefaultForIdInUserTable1762771264000 (line 9) | class ChangeDefaultForIdInUserTable1762771264000 implements Irreversible... method up (line 10) | async up({ queryRunner, escape }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/postgresdb/1765804780000-ConvertAgentIdToUuid.ts class ConvertAgentIdToUuid1765804780000 (line 8) | class ConvertAgentIdToUuid1765804780000 implements ReversibleMigration { method up (line 9) | async up({ runQuery, escape }: MigrationContext) { method down (line 19) | async down({ runQuery, escape }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/postgresdb/1766500000000-ExpandInsightsWorkflowIdLength.ts class ExpandInsightsWorkflowIdLength1766500000000 (line 15) | class ExpandInsightsWorkflowIdLength1766500000000 implements Irreversibl... method up (line 16) | async up({ escape, queryRunner }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/postgresdb/1767018516000-ChangeWorkflowStatisticsFKToNoAction.ts class ChangeWorkflowStatisticsFKToNoAction1767018516000 (line 13) | class ChangeWorkflowStatisticsFKToNoAction1767018516000 implements Rever... method up (line 14) | async up({ queryRunner, tablePrefix }: MigrationContext) { method down (line 54) | async down({ queryRunner, tablePrefix }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/sqlite/1588102412422-InitialMigration.ts class InitialMigration1588102412422 (line 3) | class InitialMigration1588102412422 implements ReversibleMigration { method up (line 4) | async up({ queryRunner, tablePrefix }: MigrationContext) { method down (line 22) | async down({ queryRunner, tablePrefix }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/sqlite/1592445003908-WebhookModel.ts class WebhookModel1592445003908 (line 3) | class WebhookModel1592445003908 implements ReversibleMigration { method up (line 4) | async up({ queryRunner, tablePrefix }: MigrationContext) { method down (line 10) | async down({ queryRunner, tablePrefix }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/sqlite/1594825041918-CreateIndexStoppedAt.ts class CreateIndexStoppedAt1594825041918 (line 3) | class CreateIndexStoppedAt1594825041918 implements ReversibleMigration { method up (line 4) | async up({ queryRunner, tablePrefix }: MigrationContext) { method down (line 10) | async down({ queryRunner, tablePrefix }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/sqlite/1607431743769-MakeStoppedAtNullable.ts class MakeStoppedAtNullable1607431743769 (line 3) | class MakeStoppedAtNullable1607431743769 implements IrreversibleMigration { method up (line 4) | async up({ queryRunner, tablePrefix }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/sqlite/1611071044839-AddWebhookId.ts class AddWebhookId1611071044839 (line 3) | class AddWebhookId1611071044839 implements ReversibleMigration { method up (line 4) | async up({ queryRunner, tablePrefix }: MigrationContext) { method down (line 20) | async down({ queryRunner, tablePrefix }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/sqlite/1617213344594-CreateTagEntity.ts class CreateTagEntity1617213344594 (line 3) | class CreateTagEntity1617213344594 implements ReversibleMigration { method up (line 4) | async up({ queryRunner, tablePrefix }: MigrationContext) { method down (line 65) | async down({ queryRunner, tablePrefix }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/sqlite/1621707690587-AddWaitColumn.ts class AddWaitColumn1621707690587 (line 3) | class AddWaitColumn1621707690587 implements ReversibleMigration { method up (line 4) | async up({ queryRunner, tablePrefix }: MigrationContext) { method down (line 24) | async down({ queryRunner, tablePrefix }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/sqlite/1644421939510-AddExecutionEntityIndexes.ts class AddExecutionEntityIndexes1644421939510 (line 3) | class AddExecutionEntityIndexes1644421939510 implements ReversibleMigrat... method up (line 4) | async up({ queryRunner, tablePrefix }: MigrationContext) { method down (line 26) | async down({ queryRunner, tablePrefix }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/sqlite/1646992772331-CreateUserManagement.ts class CreateUserManagement1646992772331 (line 5) | class CreateUserManagement1646992772331 implements ReversibleMigration { method up (line 6) | async up({ queryRunner, tablePrefix, loadSurveyFromDisk }: MigrationCo... method down (line 107) | async down({ queryRunner, tablePrefix }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/sqlite/1648740597343-LowerCaseUserEmail.ts class LowerCaseUserEmail1648740597343 (line 3) | class LowerCaseUserEmail1648740597343 implements IrreversibleMigration { method up (line 4) | async up({ queryRunner, tablePrefix }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/sqlite/1652254514001-CommunityNodes.ts class CommunityNodes1652254514001 (line 3) | class CommunityNodes1652254514001 implements ReversibleMigration { method up (line 4) | async up({ queryRunner, tablePrefix }: MigrationContext) { method down (line 29) | async down({ queryRunner, tablePrefix }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/sqlite/1652367743993-AddUserSettings.ts class AddUserSettings1652367743993 (line 3) | class AddUserSettings1652367743993 implements ReversibleMigration { method up (line 6) | async up({ queryRunner, tablePrefix }: MigrationContext) { method down (line 21) | async down({ queryRunner, tablePrefix }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/sqlite/1652905585850-AddAPIKeyColumn.ts class AddAPIKeyColumn1652905585850 (line 3) | class AddAPIKeyColumn1652905585850 implements ReversibleMigration { method up (line 6) | async up({ queryRunner, tablePrefix }: MigrationContext) { method down (line 24) | async down({ queryRunner, tablePrefix }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/sqlite/1654089251344-IntroducePinData.ts class IntroducePinData1654089251344 (line 3) | class IntroducePinData1654089251344 implements ReversibleMigration { method up (line 4) | async up({ queryRunner, tablePrefix }: MigrationContext) { method down (line 10) | async down({ queryRunner, tablePrefix }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/sqlite/1660062385367-CreateCredentialsUserRole.ts class CreateCredentialsUserRole1660062385367 (line 3) | class CreateCredentialsUserRole1660062385367 implements ReversibleMigrat... method up (line 4) | async up({ queryRunner, tablePrefix }: MigrationContext) { method down (line 12) | async down({ queryRunner, tablePrefix }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/sqlite/1663755770892-CreateWorkflowsUserRole.ts class CreateWorkflowsEditorRole1663755770892 (line 3) | class CreateWorkflowsEditorRole1663755770892 implements ReversibleMigrat... method up (line 4) | async up({ queryRunner, tablePrefix }: MigrationContext) { method down (line 12) | async down({ queryRunner, tablePrefix }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/sqlite/1664196174000-WorkflowStatistics.ts class WorkflowStatistics1664196174000 (line 3) | class WorkflowStatistics1664196174000 implements ReversibleMigration { method up (line 4) | async up({ queryRunner, tablePrefix }: MigrationContext) { method down (line 22) | async down({ queryRunner, tablePrefix }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/sqlite/1665484192211-CreateCredentialUsageTable.ts class CreateCredentialUsageTable1665484192211 (line 3) | class CreateCredentialUsageTable1665484192211 implements ReversibleMigra... method up (line 4) | async up({ queryRunner, tablePrefix }: MigrationContext) { method down (line 19) | async down({ queryRunner, tablePrefix }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/sqlite/1665754637024-RemoveCredentialUsageTable.ts class RemoveCredentialUsageTable1665754637024 (line 3) | class RemoveCredentialUsageTable1665754637024 implements ReversibleMigra... method up (line 4) | async up({ queryRunner, tablePrefix }: MigrationContext) { method down (line 8) | async down({ queryRunner, tablePrefix }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/sqlite/1669823906993-AddTriggerCountColumn.ts class AddTriggerCountColumn1669823906993 (line 3) | class AddTriggerCountColumn1669823906993 implements ReversibleMigration { method up (line 4) | async up({ queryRunner, tablePrefix }: MigrationContext) { method down (line 11) | async down({ queryRunner, tablePrefix }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/sqlite/1671535397530-MessageEventBusDestinations.ts class MessageEventBusDestinations1671535397530 (line 3) | class MessageEventBusDestinations1671535397530 implements ReversibleMigr... method up (line 4) | async up({ queryRunner, tablePrefix }: MigrationContext) { method down (line 15) | async down({ queryRunner, tablePrefix }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/sqlite/1673268682475-DeleteExecutionsWithWorkflows.ts class DeleteExecutionsWithWorkflows1673268682475 (line 3) | class DeleteExecutionsWithWorkflows1673268682475 implements ReversibleMi... method up (line 6) | async up({ queryRunner, tablePrefix }: MigrationContext) { method down (line 56) | async down({ queryRunner, tablePrefix }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/sqlite/1674138566000-AddStatusToExecutions.ts class AddStatusToExecutions1674138566000 (line 3) | class AddStatusToExecutions1674138566000 implements ReversibleMigration { method up (line 4) | async up({ queryRunner, tablePrefix }: MigrationContext) { method down (line 10) | async down({ queryRunner, tablePrefix }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/sqlite/1676996103000-MigrateExecutionStatus.ts class MigrateExecutionStatus1676996103000 (line 3) | class MigrateExecutionStatus1676996103000 implements IrreversibleMigrati... method up (line 4) | async up({ queryRunner, tablePrefix }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/sqlite/1677237073720-UpdateRunningExecutionStatus.ts class UpdateRunningExecutionStatus1677237073720 (line 3) | class UpdateRunningExecutionStatus1677237073720 implements IrreversibleM... method up (line 4) | async up({ queryRunner, tablePrefix }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/sqlite/1677501636752-CreateVariables.ts class CreateVariables1677501636752 (line 3) | class CreateVariables1677501636752 implements ReversibleMigration { method up (line 4) | async up({ queryRunner, tablePrefix }: MigrationContext) { method down (line 16) | async down({ queryRunner, tablePrefix }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/sqlite/1679416281777-CreateExecutionMetadataTable.ts class CreateExecutionMetadataTable1679416281777 (line 3) | class CreateExecutionMetadataTable1679416281777 implements ReversibleMig... method up (line 4) | async up({ queryRunner, tablePrefix }: MigrationContext) { method down (line 40) | async down({ queryRunner, tablePrefix }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/sqlite/1681134145996-AddUserActivatedProperty.ts class AddUserActivatedProperty1681134145996 (line 4) | class AddUserActivatedProperty1681134145996 implements ReversibleMigrati... method up (line 5) | async up({ queryRunner, tablePrefix }: MigrationContext) { method down (line 42) | async down({ queryRunner, tablePrefix }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/sqlite/1681134145997-RemoveSkipOwnerSetup.ts class RemoveSkipOwnerSetup1681134145997 (line 3) | class RemoveSkipOwnerSetup1681134145997 implements IrreversibleMigration { method up (line 4) | async up({ queryRunner, tablePrefix }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/sqlite/1690000000002-MigrateIntegerKeysToString.ts class MigrateIntegerKeysToString1690000000002 (line 9) | class MigrateIntegerKeysToString1690000000002 implements IrreversibleMig... method up (line 12) | async up(context: MigrationContext) { constant DESIRED_DATABASE_FILE_SIZE (line 190) | const DESIRED_DATABASE_FILE_SIZE = 1 * 1024 * 1024 * 1024; function getSqliteDbFileSize (line 193) | function getSqliteDbFileSize(): number { FILE: packages/@n8n/db/src/migrations/sqlite/1690000000010-SeparateExecutionData.ts class SeparateExecutionData1690000000010 (line 3) | class SeparateExecutionData1690000000010 implements ReversibleMigration { method up (line 4) | async up(context: MigrationContext): Promise { method down (line 29) | async down({ queryRunner, tablePrefix }: MigrationContext): Promise { FILE: packages/@n8n/db/src/migrations/sqlite/1690000000030-RemoveResetPasswordColumns.ts class RemoveResetPasswordColumns1690000000030 (line 3) | class RemoveResetPasswordColumns1690000000030 extends BaseMigration { FILE: packages/@n8n/db/src/migrations/sqlite/1690000000040-AddMfaColumns.ts class AddMfaColumns1690000000030 (line 3) | class AddMfaColumns1690000000030 extends BaseMigration { FILE: packages/@n8n/db/src/migrations/sqlite/1693491613982-ExecutionSoftDelete.ts class ExecutionSoftDelete1693491613982 (line 3) | class ExecutionSoftDelete1693491613982 extends BaseMigration { FILE: packages/@n8n/db/src/migrations/sqlite/1695128658538-AddWorkflowMetadata.ts class AddWorkflowMetadata1695128658538 (line 3) | class AddWorkflowMetadata1695128658538 extends BaseMigration { FILE: packages/@n8n/db/src/migrations/sqlite/1705429061930-DropRoleMapping.ts class DropRoleMapping1705429061930 (line 3) | class DropRoleMapping1705429061930 extends BaseMigration { FILE: packages/@n8n/db/src/migrations/sqlite/1717498465931-AddActivatedAtUserSetting.ts class AddActivatedAtUserSetting1717498465931 (line 3) | class AddActivatedAtUserSetting1717498465931 implements ReversibleMigrat... method up (line 6) | async up({ queryRunner, escape }: MigrationContext) { method down (line 15) | async down({ queryRunner, escape }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/sqlite/1724951148974-AddApiKeysTable.ts class AddApiKeysTable1724951148974 (line 6) | class AddApiKeysTable1724951148974 implements ReversibleMigration { method up (line 9) | async up({ queryRunner, tablePrefix, runQuery }: MigrationContext) { method down (line 81) | async down({ FILE: packages/@n8n/db/src/migrations/sqlite/1728659839644-AddMissingPrimaryKeyOnAnnotationTagMapping.ts class AddMissingPrimaryKeyOnAnnotationTagMapping1728659839644 (line 9) | class AddMissingPrimaryKeyOnAnnotationTagMapping1728659839644 method up (line 12) | async up({ FILE: packages/@n8n/db/src/migrations/sqlite/1729607673469-AddProjectIcons.ts class AddProjectIcons1729607673469 (line 3) | class AddProjectIcons1729607673469 extends BaseMigration { FILE: packages/@n8n/db/src/migrations/sqlite/1731404028106-AddDescriptionToTestDefinition.ts class AddDescriptionToTestDefinition1731404028106 (line 3) | class AddDescriptionToTestDefinition1731404028106 extends BaseMigration { FILE: packages/@n8n/db/src/migrations/sqlite/1731582748663-MigrateTestDefinitionKeyToString.ts class MigrateTestDefinitionKeyToString1731582748663 (line 3) | class MigrateTestDefinitionKeyToString1731582748663 implements Irreversi... method up (line 6) | async up(context: MigrationContext) { FILE: packages/@n8n/db/src/migrations/sqlite/1738709609940-CreateFolderTable.ts class CreateFolderTable1738709609940 (line 3) | class CreateFolderTable1738709609940 extends BaseMigration { FILE: packages/@n8n/db/src/migrations/sqlite/1740445074052-UpdateParentFolderIdColumn.ts class UpdateParentFolderIdColumn1740445074052 (line 4) | class UpdateParentFolderIdColumn1740445074052 implements BaseMigration { method up (line 7) | async up({ FILE: packages/@n8n/db/src/migrations/sqlite/1742918400000-AddScopesColumnToApiKeys.ts class AddScopesColumnToApiKeys1742918400000 (line 3) | class AddScopesColumnToApiKeys1742918400000 extends BaseMigration { FILE: packages/@n8n/db/src/migrations/sqlite/1758794506893-AddProjectIdToVariableTable.ts constant VARIABLES_TABLE_NAME (line 2) | const VARIABLES_TABLE_NAME = 'variables'; constant VARIABLES_TEMP_TABLE_NAME (line 3) | const VARIABLES_TEMP_TABLE_NAME = 'variables_temp'; constant UNIQUE_PROJECT_KEY_INDEX_NAME (line 4) | const UNIQUE_PROJECT_KEY_INDEX_NAME = 'variables_project_key_unique'; constant UNIQUE_GLOBAL_KEY_INDEX_NAME (line 5) | const UNIQUE_GLOBAL_KEY_INDEX_NAME = 'variables_global_key_unique'; class AddProjectIdToVariableTable1758794506893 (line 11) | class AddProjectIdToVariableTable1758794506893 implements ReversibleMigr... method up (line 12) | async up({ method down (line 62) | async down({ FILE: packages/@n8n/db/src/migrations/sqlite/1761047826451-AddWorkflowVersionColumn.ts class AddWorkflowVersionColumn1761047826451 (line 6) | class AddWorkflowVersionColumn1761047826451 implements ReversibleMigrati... method up (line 7) | async up({ queryRunner, tablePrefix }: MigrationContext) { method down (line 31) | async down({ queryRunner, tablePrefix }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/sqlite/1761655473000-ChangeDependencyInfoToJson.ts class ChangeDependencyInfoToJson1761655473000 (line 8) | class ChangeDependencyInfoToJson1761655473000 implements IrreversibleMig... method up (line 9) | async up({ queryRunner, tablePrefix }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/sqlite/1764276827837-AddCreatorIdToProjectTable.ts constant FOREIGN_KEY_NAME (line 8) | const FOREIGN_KEY_NAME = 'projects_creatorId_foreign'; class AddCreatorIdToProjectTable1764276827837 (line 10) | class AddCreatorIdToProjectTable1764276827837 implements ReversibleMigra... method up (line 13) | async up({ method down (line 40) | async down({ schemaBuilder: { dropColumns } }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/sqlite/1764689448000-AddResolvableFieldsToCredentials.ts constant FOREIGN_KEY_NAME (line 5) | const FOREIGN_KEY_NAME = 'credentials_entity_resolverId_foreign'; class AddResolvableFieldsToCredentials1764689448000 (line 7) | class AddResolvableFieldsToCredentials1764689448000 implements Reversibl... method up (line 10) | async up({ schemaBuilder: { addColumns, addForeignKey, column } }: Mig... method down (line 26) | async down({ schemaBuilder: { dropColumns } }: MigrationContext) { FILE: packages/@n8n/db/src/migrations/sqlite/1765886667897-AddAgentIdForeignKeys.ts class AddAgentIdForeignKeys1765886667897 (line 3) | class AddAgentIdForeignKeys1765886667897 extends BaseMigration { FILE: packages/@n8n/db/src/migrations/sqlite/1766068346315-AddChatMessageIndices.ts class AddChatMessageIndices1766068346315 (line 3) | class AddChatMessageIndices1766068346315 extends BaseMigration { FILE: packages/@n8n/db/src/migrations/sqlite/1767018516000-ChangeWorkflowStatisticsFKToNoAction.ts class ChangeWorkflowStatisticsFKToNoAction1767018516000 (line 11) | class ChangeWorkflowStatisticsFKToNoAction1767018516000 implements Rever... method up (line 14) | async up({ queryRunner, tablePrefix }: MigrationContext) { method down (line 52) | async down({ queryRunner, tablePrefix }: MigrationContext) { FILE: packages/@n8n/db/src/repositories/__tests__/execution.repository.test.ts constant GREATER_THAN_MAX_UPDATE_THRESHOLD (line 11) | const GREATER_THAN_MAX_UPDATE_THRESHOLD = 901; FILE: packages/@n8n/db/src/repositories/annotation-tag-mapping.repository.ee.ts class AnnotationTagMappingRepository (line 7) | class AnnotationTagMappingRepository extends Repository { method constructor (line 8) | constructor(dataSource: DataSource) { FILE: packages/@n8n/db/src/repositories/api-key.repository.ts class ApiKeyRepository (line 7) | class ApiKeyRepository extends Repository { method constructor (line 8) | constructor(dataSource: DataSource) { FILE: packages/@n8n/db/src/repositories/auth-identity.repository.ts class AuthIdentityRepository (line 7) | class AuthIdentityRepository extends Repository { method constructor (line 8) | constructor(dataSource: DataSource) { FILE: packages/@n8n/db/src/repositories/auth-provider-sync-history.repository.ts class AuthProviderSyncHistoryRepository (line 7) | class AuthProviderSyncHistoryRepository extends Repository { method constructor (line 10) | constructor( method copyStoredFile (line 17) | async copyStoredFile( method getTableName (line 49) | private getTableName(name: string): string { method getColumnName (line 54) | private getColumnName(name: string): string { FILE: packages/@n8n/db/src/repositories/credential-dependency.repository.ts type CredentialDependencyFilter (line 16) | type CredentialDependencyFilter = { function addCredentialDependencyExistsFilter (line 25) | function addCredentialDependencyExistsFilter( type DependencyMutationOptions (line 41) | type DependencyMutationOptions = { type DeleteByDependencyOptions (line 48) | type DeleteByDependencyOptions = { type DeleteByDependenciesOptions (line 54) | type DeleteByDependenciesOptions = { class CredentialDependencyRepository (line 61) | class CredentialDependencyRepository extends Repository { method constructor (line 16) | constructor(dataSource: DataSource) { method findStartingWith (line 20) | async findStartingWith(credentialName: string) { method findMany (line 27) | async findMany( method findManyAndCount (line 45) | async findManyAndCount( method toFindManyOptions (line 63) | private toFindManyOptions( method handleSharedFilters (line 134) | private handleSharedFilters( method getManyByIds (line 174) | async getManyByIds(ids: string[], { withSharings } = { withSharings: f... method findAllGlobalCredentials (line 191) | async findAllGlobalCredentials( method findAllGlobalCredentialsByDependencyFilter (line 214) | private async findAllGlobalCredentialsByDependencyFilter(options: { method findAllPersonalCredentials (line 251) | async findAllPersonalCredentials(): Promise { method findAllCredentialsForWorkflow (line 262) | async findAllCredentialsForWorkflow(workflowId: string): Promise { method constructor (line 10) | constructor(dataSource: DataSource) { method createExecutionDataForExecution (line 14) | async createExecutionDataForExecution( method findByExecutionIds (line 21) | async findByExecutionIds(executionIds: string[]) { method deleteMany (line 30) | async deleteMany(executionIds: string[]) { FILE: packages/@n8n/db/src/repositories/execution-metadata.repository.ts class ExecutionMetadataRepository (line 7) | class ExecutionMetadataRepository extends Repository { method constructor (line 8) | constructor(dataSource: DataSource) { FILE: packages/@n8n/db/src/repositories/execution.repository.ts class PostgresLiveRowsRetrievalError (line 62) | class PostgresLiveRowsRetrievalError extends UnexpectedError { method constructor (line 63) | constructor(rows: unknown) { type UpdateExecutionConditions (line 68) | interface UpdateExecutionConditions { type IGetExecutionsQueryFilter (line 74) | interface IGetExecutionsQueryFilter { type ExecutionDeletionCriteria (line 89) | type ExecutionDeletionCriteria = { function parseFiltersToQueryBuilder (line 98) | function parseFiltersToQueryBuilder( constant MAX_UPDATE_BATCH_SIZE (line 151) | const MAX_UPDATE_BATCH_SIZE = 900; class ExecutionRepository (line 154) | class ExecutionRepository extends Repository { method constructor (line 157) | constructor( method findMultipleExecutions (line 189) | async findMultipleExecutions( method reportInvalidExecutions (line 234) | reportInvalidExecutions(executions: ExecutionEntity[]) { method serializeAnnotation (line 246) | private serializeAnnotation(annotation: ExecutionEntity['annotation']) { method findSingleExecution (line 284) | async findSingleExecution( method markAsCrashed (line 353) | async markAsCrashed(executionIds: string | string[]) { method setRunning (line 372) | async setRunning(executionId: string) { method updateExistingExecution (line 404) | async updateExistingExecution( method deleteExecutionsByFilter (line 453) | async deleteExecutionsByFilter({ method getIdsSince (line 512) | async getIdsSince(date: Date) { method softDeletePrunableExecutions (line 521) | async softDeletePrunableExecutions() { method findSoftDeletedExecutions (line 576) | async findSoftDeletedExecutions() { method deleteByIds (line 601) | async deleteByIds(executionIds: string[]) { method getWaitingExecutions (line 605) | async getWaitingExecutions() { method getExecutionsCountForPublicApi (line 629) | async getExecutionsCountForPublicApi(params: { method getStatusCondition (line 644) | private getStatusCondition(status?: ExecutionStatus) { method getIdCondition (line 662) | private getIdCondition(params: { lastId?: string; excludedExecutionsId... method getFindExecutionsForPublicApiCondition (line 676) | private getFindExecutionsForPublicApiCondition(params: { method getExecutionsForPublicApi (line 694) | async getExecutionsForPublicApi(params: { method getExecutionInWorkflowsForPublicApi (line 729) | async getExecutionInWorkflowsForPublicApi( method findWithUnflattenedData (line 743) | async findWithUnflattenedData(executionId: string, accessibleWorkflowI... method findIfSharedUnflatten (line 754) | async findIfSharedUnflatten(executionId: string, sharedWorkflowIds: st... method findIfShared (line 765) | async findIfShared(executionId: string, sharedWorkflowIds: string[]) { method findIfAccessible (line 776) | async findIfAccessible(executionId: string, accessibleWorkflowIds: str... method stopBeforeRun (line 782) | async stopBeforeRun(execution: IExecutionResponse) { method stopDuringRun (line 794) | async stopDuringRun(execution: IExecutionResponse) { method cancelMany (line 814) | async cancelMany(executionIds: string[]) { method reduceExecutionsWithAnnotations (line 845) | private reduceExecutionsWithAnnotations( method findManyByRangeQuery (line 886) | async findManyByRangeQuery(query: ExecutionSummaries.RangeQuery): Prom... method toSummary (line 906) | private toSummary(execution: { method fetchCount (line 951) | async fetchCount(query: ExecutionSummaries.CountQuery) { method getLiveExecutionRowsOnPostgres (line 955) | async getLiveExecutionRowsOnPostgres() { method toQueryBuilder (line 975) | private toQueryBuilder(query: ExecutionSummaries.Query) { method toQueryBuilderWithAnnotations (line 1102) | private toQueryBuilderWithAnnotations(query: ExecutionSummaries.Query) { method getDistinctVersionIds (line 1144) | async getDistinctVersionIds(workflowId: string): Promise { method getAllIds (line 1155) | async getAllIds() { method getInProgressExecutionIds (line 1164) | async getInProgressExecutionIds(batchSize: number) { method getConcurrentExecutionsCount (line 1179) | async getConcurrentExecutionsCount() { method handleExecutionRunData (line 1187) | private async handleExecutionRunData( method findByStopExecutionsFilter (line 1204) | async findByStopExecutionsFilter( FILE: packages/@n8n/db/src/repositories/folder-tag-mapping.repository.ts class FolderTagMappingRepository (line 7) | class FolderTagMappingRepository extends Repository { method constructor (line 8) | constructor(dataSource: DataSource) { method overwriteTags (line 12) | async overwriteTags(folderId: string, tagIds: string[]) { FILE: packages/@n8n/db/src/repositories/folder.repository.ts class FolderRepository (line 10) | class FolderRepository extends Repository { method constructor (line 11) | constructor(dataSource: DataSource) { method getManyAndCount (line 15) | async getManyAndCount(options: ListQuery.Options = {}) { method getMany (line 23) | async getMany(options: ListQuery.Options = {}) { method getManyQuery (line 28) | getManyQuery(options: ListQuery.Options = {}): SelectQueryBuilder, tags?: stri... method createTagsSubQuery (line 209) | private createTagsSubQuery( method applySorting (line 225) | private applySorting(query: SelectQueryBuilder, sortBy?: strin... method parseSortingParams (line 235) | private parseSortingParams(sortBy: string): [string, 'DESC' | 'ASC'] { method applySortingByField (line 240) | private applySortingByField( method applyPagination (line 254) | private applyPagination(query: SelectQueryBuilder, options: Li... method findOneOrFailFolderInProject (line 260) | async findOneOrFailFolderInProject( method moveAllToFolder (line 276) | async moveAllToFolder( method transferAllFoldersToProject (line 295) | async transferAllFoldersToProject( method applyExcludeFolderFilter (line 312) | private applyExcludeFolderFilter( method getAllFolderIdsInHierarchy (line 352) | async getAllFolderIdsInHierarchy(parentFolderId: string, projectId?: s... method getFolderPathsToRoot (line 389) | async getFolderPathsToRoot(folderIds: string[]): Promise { method constructor (line 8) | constructor(dataSource: DataSource) { FILE: packages/@n8n/db/src/repositories/license-metrics.repository.ts class LicenseMetrics (line 6) | class LicenseMetrics {} class LicenseMetricsRepository (line 9) | class LicenseMetricsRepository extends Repository { method constructor (line 10) | constructor( method toTableName (line 17) | toTableName(name: string) { method toColumnName (line 22) | toColumnName(name: string) { method getLicenseRenewalMetrics (line 26) | async getLicenseRenewalMetrics() { FILE: packages/@n8n/db/src/repositories/processed-data.repository.ts class ProcessedDataRepository (line 7) | class ProcessedDataRepository extends Repository { method constructor (line 8) | constructor(dataSource: DataSource) { FILE: packages/@n8n/db/src/repositories/project-relation.repository.ts class ProjectRelationRepository (line 8) | class ProjectRelationRepository extends Repository { method constructor (line 9) | constructor(dataSource: DataSource) { method getPersonalProjectOwners (line 13) | async getPersonalProjectOwners(projectIds: string[]) { method getPersonalProjectsForUsers (line 27) | async getPersonalProjectsForUsers(userIds: string[]) { method getAccessibleProjectsByRoles (line 38) | async getAccessibleProjectsByRoles(userId: string, roles: string[]) { method findProjectRole (line 49) | async findProjectRole({ userId, projectId }: { userId: string; project... method countUsersByRole (line 56) | async countUsersByRole() { method findUserIdsByProjectId (line 70) | async findUserIdsByProjectId(projectId: string): Promise { method findAllByUser (line 79) | async findAllByUser(userId: string) { FILE: packages/@n8n/db/src/repositories/project-secrets-provider-access.repository.ee.ts class ProjectSecretsProviderAccessRepository (line 8) | class ProjectSecretsProviderAccessRepository extends Repository { method constructor (line 9) | constructor(dataSource: DataSource) { method getPersonalProjectForUser (line 13) | async getPersonalProjectForUser(userId: string, entityManager?: Entity... method getPersonalProjectForUserOrFail (line 25) | async getPersonalProjectForUserOrFail(userId: string, entityManager?: ... method getAccessibleProjects (line 36) | async getAccessibleProjects(userId: string) { method findAllProjectsAndCount (line 46) | async findAllProjectsAndCount(options: ProjectListOptions): Promise<[P... method getAccessibleProjectsAndCount (line 56) | async getAccessibleProjectsAndCount( method applyFilters (line 97) | private applyFilters(query: SelectQueryBuilder, options: Proj... method applyActivationOrder (line 124) | private applyActivationOrder(query: SelectQueryBuilder): void { method applyPagination (line 134) | private applyPagination(query: SelectQueryBuilder, options: P... method getProjectCounts (line 141) | async getProjectCounts() { type ProjectListOptions (line 149) | interface ProjectListOptions { FILE: packages/@n8n/db/src/repositories/role-mapping-rule.repository.ts class RoleMappingRuleRepository (line 7) | class RoleMappingRuleRepository extends Repository { method constructor (line 8) | constructor(dataSource: DataSource) { FILE: packages/@n8n/db/src/repositories/role.repository.ts class RoleRepository (line 8) | class RoleRepository extends Repository { method constructor (line 9) | constructor(dataSource: DataSource) { method findAll (line 13) | async findAll(trx?: EntityManager) { method countUsersWithRole (line 18) | async countUsersWithRole(role: Role): Promise { method findAllRoleCounts (line 36) | async findAllRoleCounts() { method findAllProjectCounts (line 63) | async findAllProjectCounts(): Promise> { method findProjectAssignments (line 80) | async findProjectAssignments(roleSlug: string): Promise< method findAllProjectMembers (line 129) | async findAllProjectMembers( method findBySlug (line 158) | async findBySlug(slug: string) { method findBySlugs (line 165) | async findBySlugs(slugs: string[], roleType: 'global' | 'project' | 'w... method removeBySlug (line 172) | async removeBySlug(slug: string) { method updateEntityWithManager (line 179) | private async updateEntityWithManager( method updateRole (line 212) | async updateRole( FILE: packages/@n8n/db/src/repositories/scope.repository.ts class ScopeRepository (line 8) | class ScopeRepository extends Repository { method constructor (line 9) | constructor( method findByList (line 16) | async findByList(slugs: string[]) { method findByListOrFail (line 20) | async findByListOrFail(slugs: string[]) { FILE: packages/@n8n/db/src/repositories/secrets-provider-connection.repository.ee.ts class SecretsProviderConnectionRepository (line 7) | class SecretsProviderConnectionRepository extends Repository { method findIdByProviderKey (line 16) | async findIdByProviderKey(providerKey: string): Promise { method findIdsByProviderKeys (line 25) | async findIdsByProviderKeys(providerKeys: string[]): Promise { method hasGlobalProvider (line 36) | async hasGlobalProvider(providerKey: string): Promise { method findEnabledGlobalConnections (line 55) | async findEnabledGlobalConnections( method findEnabledByProjectId (line 89) | async findEnabledByProjectId( method isProviderAvailableInProject (line 119) | async isProviderAvailableInProject(providerKey: string, projectId: str... method findAllAccessibleByProjectWithProjectAccess (line 140) | async findAllAccessibleByProjectWithProjectAccess( method findAllAccessibleProviderKeysByCredentialId (line 164) | async findAllAccessibleProviderKeysByCredentialId(credentialId: string... method findAccessibleByProviderKeyAndProjectId (line 200) | async findAccessibleByProviderKeyAndProjectId( method findByProviderKeyAndProjectId (line 222) | async findByProviderKeyAndProjectId( FILE: packages/@n8n/db/src/repositories/settings.repository.ts class SettingsRepository (line 8) | class SettingsRepository extends Repository { method constructor (line 9) | constructor(dataSource: DataSource) { method findByKey (line 13) | async findByKey(key: string, em?: EntityManager): Promise { method findByKeyPrefix (line 21) | async findByKeyPrefix(prefix: string): Promise { FILE: packages/@n8n/db/src/repositories/shared-credentials.repository.ts class SharedCredentialsRepository (line 11) | class SharedCredentialsRepository extends Repository { method constructor (line 12) | constructor(dataSource: DataSource) { method findByCredentialIds (line 16) | async findByCredentialIds(credentialIds: string[], role: CredentialSha... method makeOwnerOfAllCredentials (line 26) | async makeOwnerOfAllCredentials(project: Project) { method makeOwner (line 36) | async makeOwner(credentialIds: string[], projectId: string, trx?: Enti... method deleteByIds (line 52) | async deleteByIds(sharedCredentialsIds: string[], projectId: string, t... method getFilteredAccessibleCredentials (line 61) | async getFilteredAccessibleCredentials( method findCredentialOwningProject (line 76) | async findCredentialOwningProject(credentialsId: string) { method getAllRelationsForCredentials (line 85) | async getAllRelationsForCredentials(credentialIds: string[]) { method getSharedPersonalCredentialsCount (line 94) | async getSharedPersonalCredentialsCount(): Promise { method findCredentialsWithOptions (line 112) | async findCredentialsWithOptions( method findCredentialsByRoles (line 128) | async findCredentialsByRoles( method buildSharedCredentialIdsSubquery (line 156) | buildSharedCredentialIdsSubquery( FILE: packages/@n8n/db/src/repositories/shared-workflow.repository.ts class SharedWorkflowRepository (line 20) | class SharedWorkflowRepository extends Repository { method constructor (line 21) | constructor(dataSource: DataSource) { method getSharedWorkflowIds (line 25) | async getSharedWorkflowIds(workflowIds: string[]) { method findByWorkflowIds (line 35) | async findByWorkflowIds(workflowIds: string[]) { method findSharingRole (line 45) | async findSharingRole( method makeOwnerOfAllWorkflows (line 66) | async makeOwnerOfAllWorkflows(project: Project) { method makeOwner (line 76) | async makeOwner(workflowIds: string[], projectId: string, trx?: Entity... method findWithFields (line 94) | async findWithFields( method deleteByIds (line 106) | async deleteByIds(sharedWorkflowIds: string[], projectId: string, trx?... method findProjectIds (line 118) | async findProjectIds(workflowId: string) { method getWorkflowOwningProject (line 129) | async getWorkflowOwningProject(workflowId: string) { method getRelationsByWorkflowIdsAndProjectIds (line 138) | async getRelationsByWorkflowIdsAndProjectIds(workflowIds: string[], pr... method getAllRelationsForWorkflows (line 147) | async getAllRelationsForWorkflows(workflowIds: string[]) { method getSharedPersonalWorkflowsCount (line 156) | async getSharedPersonalWorkflowsCount(): Promise { method findWorkflowWithOptions (line 174) | async findWorkflowWithOptions( method buildSharedWorkflowIdsSubquery (line 212) | buildSharedWorkflowIdsSubquery( FILE: packages/@n8n/db/src/repositories/tag.repository.ts class TagRepository (line 10) | class TagRepository extends Repository { method constructor (line 11) | constructor(dataSource: DataSource) { method findMany (line 15) | async findMany(tagIds: string[]) { method setTags (line 26) | async setTags(tx: EntityManager, dbTags: TagEntity[], workflow: IWorkf... method getWorkflowIdsViaTags (line 64) | async getWorkflowIdsViaTags(tags: string[]): Promise { FILE: packages/@n8n/db/src/repositories/test-case-execution.repository.ee.ts type StatusUpdateOptions (line 10) | type StatusUpdateOptions = { type MarkAsFailedOptions (line 16) | type MarkAsFailedOptions = StatusUpdateOptions & { type MarkAsRunningOptions (line 21) | type MarkAsRunningOptions = StatusUpdateOptions & { type MarkAsCompletedOptions (line 25) | type MarkAsCompletedOptions = StatusUpdateOptions & { class TestCaseExecutionRepository (line 30) | class TestCaseExecutionRepository extends Repository { method constructor (line 31) | constructor(dataSource: DataSource) { method createTestCaseExecution (line 35) | async createTestCaseExecution(testCaseExecutionProps: DeepPartial { method constructor (line 21) | constructor(dataSource: DataSource) { method createTestRun (line 25) | async createTestRun(workflowId: string): Promise { method markAsRunning (line 36) | async markAsRunning(id: string, instanceId?: string) { method markAsCompleted (line 44) | async markAsCompleted(id: string, metrics: AggregatedTestRunMetrics) { method markAsCancelled (line 48) | async markAsCancelled(id: string, trx?: EntityManager) { method markAsError (line 53) | async markAsError(id: string, errorCode: TestRunErrorCode, errorDetail... method markAllIncompleteAsFailed (line 62) | async markAllIncompleteAsFailed() { method requestCancellation (line 73) | async requestCancellation(id: string) { method isCancellationRequested (line 80) | async isCancellationRequested(id: string): Promise { method clearInstanceTracking (line 88) | async clearInstanceTracking(id: string) { method getMany (line 92) | async getMany(workflowId: string, options: ListQuery.Options) { method getTestRunSummaryById (line 120) | async getTestRunSummaryById(testRunId: string): Promise { FILE: packages/@n8n/db/src/repositories/user.repository.ts class UserRepository (line 10) | class UserRepository extends Repository { method constructor (line 11) | constructor(dataSource: DataSource) { method findManyByIds (line 15) | async findManyByIds( method findByApiKey (line 27) | async findByApiKey(apiKey: string) { method update (line 51) | async update(...args: Parameters['update']>) { method deleteAllExcept (line 55) | async deleteAllExcept(user: User) { method getByIds (line 59) | async getByIds(transaction: EntityManager, ids: string[]) { method findManyByEmail (line 63) | async findManyByEmail(emails: string[]) { method deleteMany (line 70) | async deleteMany(userIds: string[]) { method findNonShellUser (line 74) | async findNonShellUser(email: string) { method countUsersByRole (line 85) | async countUsersByRole() { method getEmailsByIds (line 103) | async getEmailsByIds(userIds: string[]) { method createUserWithProject (line 110) | async createUserWithProject( method findPersonalOwnerForWorkflow (line 158) | async findPersonalOwnerForWorkflow(workflowId: string): Promise { method constructor (line 8) | constructor(dataSource: DataSource) { method deleteByIds (line 12) | async deleteByIds(ids: string[]): Promise { FILE: packages/@n8n/db/src/repositories/webhook.repository.ts class WebhookRepository (line 7) | class WebhookRepository extends Repository { method constructor (line 8) | constructor(dataSource: DataSource) { method getStaticWebhooks (line 16) | async getStaticWebhooks() { FILE: packages/@n8n/db/src/repositories/workflow-dependency.repository.ts constant INDEX_VERSION_ID (line 7) | const INDEX_VERSION_ID = 1; class WorkflowDependencies (line 12) | class WorkflowDependencies { method constructor (line 15) | constructor( method add (line 21) | add(dependency: { class WorkflowDependencyRepository (line 39) | class WorkflowDependencyRepository extends Repository { method constructor (line 40) | constructor( method updateDependenciesForWorkflow (line 53) | async updateDependenciesForWorkflow( method executeUpdate (line 62) | private async executeUpdate( method removeDependenciesForWorkflow (line 120) | async removeDependenciesForWorkflow(workflowId: string): Promise { method constructor (line 10) | constructor( method deleteEarlierThan (line 17) | async deleteEarlierThan(date: Date) { method deleteEarlierThanExceptCurrentAndActive (line 26) | async deleteEarlierThanExceptCurrentAndActive(date: Date, preserveName... method makeSkipActiveAndNamedVersionsRule (line 57) | private makeSkipActiveAndNamedVersionsRule(activeVersions: Set) { method getWorkflowIdsInRange (line 62) | async getWorkflowIdsInRange(startDate: Date, endDate: Date) { method pruneHistory (line 82) | async pruneHistory( FILE: packages/@n8n/db/src/repositories/workflow-publish-history.repository.ts class WorkflowPublishHistoryRepository (line 7) | class WorkflowPublishHistoryRepository extends Repository { method getPublishedVersionId (line 20) | async getPublishedVersionId(workflowId: string): Promise { FILE: packages/@n8n/db/src/repositories/workflow-statistics.repository.ts type StatisticsInsertResult (line 17) | type StatisticsInsertResult = 'insert' | 'failed' | 'alreadyExists'; type StatisticsUpsertResult (line 18) | type StatisticsUpsertResult = StatisticsInsertResult | 'update'; class WorkflowStatisticsRepository (line 21) | class WorkflowStatisticsRepository extends Repository { method constructor (line 22) | constructor( method insertWorkflowStatistics (line 29) | async insertWorkflowStatistics( method upsertWorkflowStatistics (line 62) | async upsertWorkflowStatistics( method queryNumWorkflowsUserHasWithFiveOrMoreProdExecs (line 120) | async queryNumWorkflowsUserHasWithFiveOrMoreProdExecs(userId: User['id... FILE: packages/@n8n/db/src/repositories/workflow-tag-mapping.repository.ts class WorkflowTagMappingRepository (line 7) | class WorkflowTagMappingRepository extends Repository { method constructor (line 8) | constructor(dataSource: DataSource) { method overwriteTaggings (line 12) | async overwriteTaggings(workflowId: string, tagIds: string[]) { FILE: packages/@n8n/db/src/repositories/workflow.repository.ts type ResourceType (line 36) | type ResourceType = 'folder' | 'workflow'; type WorkflowFolderUnionRow (line 38) | type WorkflowFolderUnionRow = { type WorkflowFolderUnionFull (line 47) | type WorkflowFolderUnionFull = ( class WorkflowRepository (line 56) | class WorkflowRepository extends Repository { method constructor (line 57) | constructor( method get (line 67) | async get( method getAllActiveIds (line 77) | async getAllActiveIds() { method getActiveIds (line 86) | async getActiveIds({ maxResults }: { maxResults?: number } = {}) { method getActiveCount (line 96) | async getActiveCount() { method getPublishedPersonalWorkflowsCount (line 102) | async getPublishedPersonalWorkflowsCount(): Promise { method hasAnyWorkflowsWithErrorWorkflow (line 112) | async hasAnyWorkflowsWithErrorWorkflow(): Promise { method findByCredentialResolverId (line 127) | async findByCredentialResolverId( method findActiveByCredentialResolverId (line 138) | async findActiveByCredentialResolverId(resolverId: string): Promise): ... method applySelect (line 1140) | private applySelect( method applyRelations (line 1181) | private applyRelations( method applyActiveVersionRelation (line 1213) | private applyActiveVersionRelation(qb: SelectQueryBuilder): void { method applySorting (line 1227) | private applySorting(qb: SelectQueryBuilder, sortBy?: ... method parseSortingParams (line 1237) | private parseSortingParams(sortBy: string): [string, 'ASC' | 'DESC'] { method applySortingByColumn (line 1242) | private applySortingByColumn( method applyPagination (line 1258) | private applyPagination( method findStartingWith (line 1267) | async findStartingWith(workflowName: string): Promise( method tryWithLock (line 71) | async tryWithLock(lockId: DbLock, fn: (tx: EntityManager) => Promis... FILE: packages/@n8n/db/src/subscribers/user-subscriber.ts class UserSubscriber (line 12) | class UserSubscriber implements EntitySubscriberInterface { method listenTo (line 15) | listenTo() { method afterUpdate (line 19) | async afterUpdate(event: UpdateEvent): Promise { FILE: packages/@n8n/db/src/utils/__tests__/get-test-run-final-result.ee.test.ts function mockTestCaseExecutions (line 6) | function mockTestCaseExecutions(statuses: Array( FILE: packages/@n8n/db/src/utils/validators/__tests__/no-url.validator.test.ts class Entity (line 6) | class Entity { FILE: packages/@n8n/db/src/utils/validators/__tests__/no-xss.validator.test.ts class Entity (line 6) | class Entity { FILE: packages/@n8n/db/src/utils/validators/no-url.validator.ts constant URL_REGEX (line 4) | const URL_REGEX = /^(https?:\/\/|www\.)|(\.[\p{L}\d-]+)/iu; class NoUrlConstraint (line 6) | @ValidatorConstraint({ name: 'NoUrl', async: false }) method validate (line 8) | validate(value: string) { method defaultMessage (line 12) | defaultMessage() { function NoUrl (line 17) | function NoUrl(options?: ValidationOptions) { FILE: packages/@n8n/db/src/utils/validators/no-xss.validator.ts class NoXssConstraint (line 5) | @ValidatorConstraint({ name: 'NoXss', async: false }) method validate (line 7) | validate(value: unknown) { method defaultMessage (line 18) | defaultMessage() { function NoXss (line 23) | function NoXss(options?: ValidationOptions) { FILE: packages/@n8n/decorators/src/__tests__/memoized.test.ts class TestClass (line 8) | class TestClass { method constructor (line 11) | constructor(private readonly value: number = 42) {} method expensiveComputation (line 14) | get expensiveComputation() { method getComputeCount (line 19) | getComputeCount() { class InvalidClass (line 53) | class InvalidClass { class ParentClass (line 83) | class ParentClass { method parentValue (line 87) | get parentValue() { method getComputeCount (line 92) | getComputeCount() { class ChildClass (line 97) | class ChildClass extends ParentClass { method childValue (line 98) | get childValue() { FILE: packages/@n8n/decorators/src/__tests__/redactable.test.ts class TestClass (line 6) | class TestClass { method methodWithUser (line 8) | methodWithUser(arg: { method methodWithInviter (line 21) | methodWithInviter(arg: { method methodWithInvitee (line 34) | methodWithInvitee(arg: { method methodWithMultipleArgs (line 47) | methodWithMultipleArgs( method methodWithoutUser (line 63) | methodWithoutUser(arg: { something: string }) { FILE: packages/@n8n/decorators/src/auth-handler/__tests__/auth-handler-metadata.test.ts class TestHandler (line 15) | class TestHandler implements IPasswordAuthHandler { method handleLogin (line 18) | async handleLogin() { class Handler1 (line 28) | class Handler1 implements IPasswordAuthHandler { method handleLogin (line 31) | async handleLogin() { method handleLogin (line 54) | async handleLogin() { class Handler2 (line 35) | class Handler2 implements IPasswordAuthHandler { method handleLogin (line 38) | async handleLogin() { method handleLogin (line 61) | async handleLogin() { class Handler1 (line 51) | class Handler1 implements IPasswordAuthHandler { method handleLogin (line 31) | async handleLogin() { method handleLogin (line 54) | async handleLogin() { class Handler2 (line 58) | class Handler2 implements IPasswordAuthHandler { method handleLogin (line 38) | async handleLogin() { method handleLogin (line 61) | async handleLogin() { class TestAuthHandler (line 80) | @AuthHandler() method handleLogin (line 84) | async handleLogin() { method handleLogin (line 100) | async handleLogin() { method constructor (line 122) | constructor(private logger: Logger) {} method handleLogin (line 125) | async handleLogin() { class TestAuthHandler (line 96) | @AuthHandler() method handleLogin (line 84) | async handleLogin() { method handleLogin (line 100) | async handleLogin() { method constructor (line 122) | constructor(private logger: Logger) {} method handleLogin (line 125) | async handleLogin() { class Logger (line 112) | @Service() method log (line 114) | log(message: string) { class TestAuthHandler (line 119) | @AuthHandler() method handleLogin (line 84) | async handleLogin() { method handleLogin (line 100) | async handleLogin() { method constructor (line 122) | constructor(private logger: Logger) {} method handleLogin (line 125) | async handleLogin() { FILE: packages/@n8n/decorators/src/auth-handler/auth-handler-metadata.ts type AuthHandlerEntry (line 5) | type AuthHandlerEntry = { class AuthHandlerEntryMetadata (line 14) | class AuthHandlerEntryMetadata { method register (line 18) | register(authHandlerEntry: AuthHandlerEntry) { method getEntries (line 23) | getEntries() { method getClasses (line 28) | getClasses() { FILE: packages/@n8n/decorators/src/auth-handler/auth-handler.ts type AuthType (line 7) | type AuthType = 'password'; type AuthHandlerMetadata (line 12) | interface AuthHandlerMetadata { type IAuthHandlerBase (line 23) | interface IAuthHandlerBase { type IPasswordAuthHandler (line 45) | interface IPasswordAuthHandler extends IAuthHandlerBase { type IAuthHandler (line 62) | type IAuthHandler = IPasswordAuthHandler; type AuthHandlerClass (line 67) | type AuthHandlerClass = Constructable; FILE: packages/@n8n/decorators/src/breaking-change-rule/breaking-change-rule-metadata.ts type RuleEntry (line 3) | type RuleEntry = { class BreakingChangeRuleMetadata (line 9) | class BreakingChangeRuleMetadata { method register (line 12) | register(ruleEntry: RuleEntry) { method getEntries (line 16) | getEntries() { method getClasses (line 20) | getClasses() { FILE: packages/@n8n/decorators/src/breaking-change-rule/breaking-change-rule.ts type BreakingChangeRuleOptions (line 5) | type BreakingChangeRuleOptions = { FILE: packages/@n8n/decorators/src/command/__tests__/command.test.ts class TestCommand (line 19) | @Command({ method run (line 26) | async run() {} method run (line 84) | async run() {} method run (line 106) | async run() {} class FirstCommand (line 38) | @Command({ method run (line 45) | async run() {} class SecondCommand (line 48) | @Command({ method run (line 55) | async run() {} class ThirdCommand (line 58) | @Command({ method run (line 65) | async run() {} class TestCommand (line 77) | @Command({ method run (line 26) | async run() {} method run (line 84) | async run() {} method run (line 106) | async run() {} class TestCommand (line 99) | @Command({ method run (line 26) | async run() {} method run (line 84) | async run() {} method run (line 106) | async run() {} FILE: packages/@n8n/decorators/src/command/command-metadata.ts class CommandMetadata (line 6) | class CommandMetadata { method register (line 9) | register(name: string, entry: CommandEntry) { method get (line 13) | get(name: string) { method getEntries (line 17) | getEntries() { FILE: packages/@n8n/decorators/src/command/types.ts type FlagsSchema (line 4) | type FlagsSchema = ZodObject>; type CommandOptions (line 6) | type CommandOptions = { type ICommand (line 13) | type ICommand = { type CommandClass (line 21) | type CommandClass = Constructable; type CommandEntry (line 23) | type CommandEntry = { FILE: packages/@n8n/decorators/src/context-establishment/__tests__/context-establishment-hook.test.ts class TestHook (line 24) | @ContextEstablishmentHook() method execute (line 27) | async execute(_options: ContextEstablishmentOptions): Promise & FILE: packages/@n8n/decorators/src/credential-resolver/__tests__/credential-resolver.test.ts class TestResolver (line 21) | @CredentialResolver() method getSecret (line 28) | async getSecret( method setSecret (line 36) | async setSecret( method validateOptions (line 43) | async validateOptions(_options: CredentialResolverConfiguration): Prom... method getSecret (line 144) | async getSecret( method setSecret (line 152) | async setSecret( method validateOptions (line 159) | async validateOptions(_options: CredentialResolverConfiguration): Prom... method getSecret (line 174) | async getSecret( method setSecret (line 182) | async setSecret( method validateOptions (line 189) | async validateOptions(_options: CredentialResolverConfiguration): Prom... method getSecret (line 238) | async getSecret( method setSecret (line 246) | async setSecret( method validateOptions (line 253) | async validateOptions(_options: CredentialResolverConfiguration): Prom... class FirstResolver (line 53) | @CredentialResolver() method getSecret (line 60) | async getSecret( method setSecret (line 68) | async setSecret( method validateOptions (line 75) | async validateOptions(_options: CredentialResolverConfiguration): Prom... class SecondResolver (line 78) | @CredentialResolver() method getSecret (line 85) | async getSecret( method setSecret (line 93) | async setSecret( method validateOptions (line 100) | async validateOptions(_options: CredentialResolverConfiguration): Prom... class ThirdResolver (line 103) | @CredentialResolver() method getSecret (line 110) | async getSecret( method setSecret (line 118) | async setSecret( method validateOptions (line 125) | async validateOptions(_options: CredentialResolverConfiguration): Prom... class TestResolver (line 137) | @CredentialResolver() method getSecret (line 28) | async getSecret( method setSecret (line 36) | async setSecret( method validateOptions (line 43) | async validateOptions(_options: CredentialResolverConfiguration): Prom... method getSecret (line 144) | async getSecret( method setSecret (line 152) | async setSecret( method validateOptions (line 159) | async validateOptions(_options: CredentialResolverConfiguration): Prom... method getSecret (line 174) | async getSecret( method setSecret (line 182) | async setSecret( method validateOptions (line 189) | async validateOptions(_options: CredentialResolverConfiguration): Prom... method getSecret (line 238) | async getSecret( method setSecret (line 246) | async setSecret( method validateOptions (line 253) | async validateOptions(_options: CredentialResolverConfiguration): Prom... class TestResolver (line 166) | @CredentialResolver() method getSecret (line 28) | async getSecret( method setSecret (line 36) | async setSecret( method validateOptions (line 43) | async validateOptions(_options: CredentialResolverConfiguration): Prom... method getSecret (line 144) | async getSecret( method setSecret (line 152) | async setSecret( method validateOptions (line 159) | async validateOptions(_options: CredentialResolverConfiguration): Prom... method getSecret (line 174) | async getSecret( method setSecret (line 182) | async setSecret( method validateOptions (line 189) | async validateOptions(_options: CredentialResolverConfiguration): Prom... method getSecret (line 238) | async getSecret( method setSecret (line 246) | async setSecret( method validateOptions (line 253) | async validateOptions(_options: CredentialResolverConfiguration): Prom... class OAuthResolver (line 204) | @CredentialResolver() method getSecret (line 212) | async getSecret( method setSecret (line 220) | async setSecret( method validateOptions (line 227) | async validateOptions(_options: CredentialResolverConfiguration): Prom... class TestResolver (line 230) | @CredentialResolver() method getSecret (line 28) | async getSecret( method setSecret (line 36) | async setSecret( method validateOptions (line 43) | async validateOptions(_options: CredentialResolverConfiguration): Prom... method getSecret (line 144) | async getSecret( method setSecret (line 152) | async setSecret( method validateOptions (line 159) | async validateOptions(_options: CredentialResolverConfiguration): Prom... method getSecret (line 174) | async getSecret( method setSecret (line 182) | async setSecret( method validateOptions (line 189) | async validateOptions(_options: CredentialResolverConfiguration): Prom... method getSecret (line 238) | async getSecret( method setSecret (line 246) | async setSecret( method validateOptions (line 253) | async validateOptions(_options: CredentialResolverConfiguration): Prom... class ConfigurableResolver (line 268) | @CredentialResolver() method getSecret (line 283) | async getSecret( method setSecret (line 291) | async setSecret( method validateOptions (line 298) | async validateOptions(_options: CredentialResolverConfiguration): Prom... class ResolverWithDelete (line 309) | @CredentialResolver() method getSecret (line 316) | async getSecret( method setSecret (line 324) | async setSecret( method deleteSecret (line 331) | async deleteSecret( method validateOptions (line 337) | async validateOptions(_options: CredentialResolverConfiguration): Prom... FILE: packages/@n8n/decorators/src/credential-resolver/credential-resolver-metadata.ts type CredentialResolverEntry (line 5) | type CredentialResolverEntry = { class CredentialResolverEntryMetadata (line 14) | class CredentialResolverEntryMetadata { method register (line 18) | register(credentialResolverEntry: CredentialResolverEntry) { method getEntries (line 23) | getEntries() { method getClasses (line 28) | getClasses() { FILE: packages/@n8n/decorators/src/credential-resolver/credential-resolver.ts type CredentialResolverConfiguration (line 11) | type CredentialResolverConfiguration = Record; type CredentialResolverHandle (line 13) | type CredentialResolverHandle = { type CredentialResolverMetadata (line 22) | interface CredentialResolverMetadata { type ICredentialResolver (line 40) | interface ICredentialResolver { type CredentialResolverClass (line 109) | type CredentialResolverClass = Constructable; FILE: packages/@n8n/decorators/src/credential-resolver/errors.ts class CredentialResolverError (line 4) | class CredentialResolverError extends Error { method constructor (line 5) | constructor(message: string) { class CredentialResolverDataNotFoundError (line 15) | class CredentialResolverDataNotFoundError extends CredentialResolverError { method constructor (line 16) | constructor() { class CredentialResolverValidationError (line 26) | class CredentialResolverValidationError extends CredentialResolverError { method constructor (line 27) | constructor(message: string) { FILE: packages/@n8n/decorators/src/debounce.ts method get (line 27) | get() { FILE: packages/@n8n/decorators/src/errors.ts class NonMethodError (line 3) | class NonMethodError extends UnexpectedError { method constructor (line 4) | constructor(name: string) { FILE: packages/@n8n/decorators/src/execution-lifecycle/__tests__/on-lifecycle-event.test.ts class TestService (line 17) | @Service() method handleNodeExecuteBefore (line 20) | async handleNodeExecuteBefore() {} method handleNodeExecuteBefore (line 36) | async handleNodeExecuteBefore() {} method handleNodeExecuteAfter (line 39) | async handleNodeExecuteAfter() {} method handleWorkflowExecuteBefore (line 42) | async handleWorkflowExecuteBefore() {} method handleWorkflowExecuteAfter (line 45) | async handleWorkflowExecuteAfter() {} method handleWorkflowExecuteResume (line 48) | async handleWorkflowExecuteResume() {} method handleNodeExecuteBefore1 (line 73) | async handleNodeExecuteBefore1() {} method handleNodeExecuteBefore2 (line 76) | async handleNodeExecuteBefore2() {} class TestService (line 32) | @Service() method handleNodeExecuteBefore (line 20) | async handleNodeExecuteBefore() {} method handleNodeExecuteBefore (line 36) | async handleNodeExecuteBefore() {} method handleNodeExecuteAfter (line 39) | async handleNodeExecuteAfter() {} method handleWorkflowExecuteBefore (line 42) | async handleWorkflowExecuteBefore() {} method handleWorkflowExecuteAfter (line 45) | async handleWorkflowExecuteAfter() {} method handleWorkflowExecuteResume (line 48) | async handleWorkflowExecuteResume() {} method handleNodeExecuteBefore1 (line 73) | async handleNodeExecuteBefore1() {} method handleNodeExecuteBefore2 (line 76) | async handleNodeExecuteBefore2() {} class TestService (line 70) | @Service() method handleNodeExecuteBefore (line 20) | async handleNodeExecuteBefore() {} method handleNodeExecuteBefore (line 36) | async handleNodeExecuteBefore() {} method handleNodeExecuteAfter (line 39) | async handleNodeExecuteAfter() {} method handleWorkflowExecuteBefore (line 42) | async handleWorkflowExecuteBefore() {} method handleWorkflowExecuteAfter (line 45) | async handleWorkflowExecuteAfter() {} method handleWorkflowExecuteResume (line 48) | async handleWorkflowExecuteResume() {} method handleNodeExecuteBefore1 (line 73) | async handleNodeExecuteBefore1() {} method handleNodeExecuteBefore2 (line 76) | async handleNodeExecuteBefore2() {} class TestService (line 94) | @Service() method handleNodeExecuteBefore (line 20) | async handleNodeExecuteBefore() {} method handleNodeExecuteBefore (line 36) | async handleNodeExecuteBefore() {} method handleNodeExecuteAfter (line 39) | async handleNodeExecuteAfter() {} method handleWorkflowExecuteBefore (line 42) | async handleWorkflowExecuteBefore() {} method handleWorkflowExecuteAfter (line 45) | async handleWorkflowExecuteAfter() {} method handleWorkflowExecuteResume (line 48) | async handleWorkflowExecuteResume() {} method handleNodeExecuteBefore1 (line 73) | async handleNodeExecuteBefore1() {} method handleNodeExecuteBefore2 (line 76) | async handleNodeExecuteBefore2() {} class FirstService (line 106) | @Service() method handleNodeExecuteBefore (line 109) | async handleNodeExecuteBefore() {} class SecondService (line 112) | @Service() method handleWorkflowExecuteAfter (line 115) | async handleWorkflowExecuteAfter() {} FILE: packages/@n8n/decorators/src/execution-lifecycle/lifecycle-metadata.ts type LifecycleHandlerClass (line 14) | type LifecycleHandlerClass = Class< type NodeExecuteBeforeContext (line 18) | type NodeExecuteBeforeContext = { type NodeExecuteAfterContext (line 25) | type NodeExecuteAfterContext = { type WorkflowExecuteBeforeContext (line 33) | type WorkflowExecuteBeforeContext = { type WorkflowExecuteAfterContext (line 41) | type WorkflowExecuteAfterContext = { type WorkflowExecuteResumeContext (line 50) | type WorkflowExecuteResumeContext = { type LifecycleContext (line 59) | type LifecycleContext = type LifecycleHandler (line 66) | type LifecycleHandler = { type LifecycleEvent (line 77) | type LifecycleEvent = LifecycleContext['type']; class LifecycleMetadata (line 80) | class LifecycleMetadata { method register (line 83) | register(handler: LifecycleHandler) { method getHandlers (line 87) | getHandlers(): LifecycleHandler[] { FILE: packages/@n8n/decorators/src/memoized.ts function Memoized (line 19) | function Memoized( FILE: packages/@n8n/decorators/src/module/__tests__/module.test.ts class TestModule (line 18) | @BackendModule({ name: 'test' }) class FirstModule (line 28) | @BackendModule({ name: 'test-1' }) class SecondModule (line 31) | @BackendModule({ name: 'test-2' }) class ThirdModule (line 34) | @BackendModule({ name: 'test-3' }) class TestModule (line 46) | @BackendModule({ name: 'test' }) class TestModule (line 56) | @BackendModule({ name, licenseFlag }) FILE: packages/@n8n/decorators/src/module/module-metadata.ts type ModuleEntry (line 10) | type ModuleEntry = { class ModuleMetadata (line 17) | class ModuleMetadata { method register (line 20) | register(moduleName: string, moduleEntry: ModuleEntry) { method get (line 24) | get(moduleName: string) { method getEntries (line 28) | getEntries() { method getClasses (line 32) | getClasses() { FILE: packages/@n8n/decorators/src/module/module.ts type BaseEntity (line 10) | interface BaseEntity { type TimestampedIdEntity (line 19) | interface TimestampedIdEntity { type TimestampedEntity (line 25) | interface TimestampedEntity { type EntityClass (line 30) | type EntityClass = new () => BaseEntity | TimestampedIdEntity | Timestam... type ModuleSettings (line 32) | type ModuleSettings = Record; type ModuleContext (line 33) | type ModuleContext = Record; type ModuleInterface (line 35) | interface ModuleInterface { type ModuleClass (line 89) | type ModuleClass = Constructable; type LicenseFlag (line 91) | type LicenseFlag = (typeof LICENSE_FEATURES)[keyof typeof LICENSE_FEATUR... type BackendModuleOptions (line 93) | type BackendModuleOptions = { FILE: packages/@n8n/decorators/src/multi-main/__tests__/on-multi-main-event.test.ts class MockMultiMainSetup (line 12) | class MockMultiMainSetup extends EventEmitter { method registerEventHandlers (line 13) | registerEventHandlers() { class TestService (line 40) | @Service() method handleLeaderTakeover (line 43) | async handleLeaderTakeover() {} method handleLeaderStepdown (line 59) | async handleLeaderStepdown() {} method handleLeaderTakeover (line 91) | async handleLeaderTakeover() { method handleLeaderStepdown (line 96) | async handleLeaderStepdown() { method firstHandler (line 124) | async firstHandler() { method secondHandler (line 129) | async secondHandler() { method handleLeaderTakeover (line 182) | async handleLeaderTakeover() { class TestService (line 56) | @Service() method handleLeaderTakeover (line 43) | async handleLeaderTakeover() {} method handleLeaderStepdown (line 59) | async handleLeaderStepdown() {} method handleLeaderTakeover (line 91) | async handleLeaderTakeover() { method handleLeaderStepdown (line 96) | async handleLeaderStepdown() { method firstHandler (line 124) | async firstHandler() { method secondHandler (line 129) | async secondHandler() { method handleLeaderTakeover (line 182) | async handleLeaderTakeover() { class TestService (line 72) | @Service() method handleLeaderTakeover (line 43) | async handleLeaderTakeover() {} method handleLeaderStepdown (line 59) | async handleLeaderStepdown() {} method handleLeaderTakeover (line 91) | async handleLeaderTakeover() { method handleLeaderStepdown (line 96) | async handleLeaderStepdown() { method firstHandler (line 124) | async firstHandler() { method secondHandler (line 129) | async secondHandler() { method handleLeaderTakeover (line 182) | async handleLeaderTakeover() { class TestService (line 84) | @Service() method handleLeaderTakeover (line 43) | async handleLeaderTakeover() {} method handleLeaderStepdown (line 59) | async handleLeaderStepdown() {} method handleLeaderTakeover (line 91) | async handleLeaderTakeover() { method handleLeaderStepdown (line 96) | async handleLeaderStepdown() { method firstHandler (line 124) | async firstHandler() { method secondHandler (line 129) | async secondHandler() { method handleLeaderTakeover (line 182) | async handleLeaderTakeover() { class TestService (line 117) | @Service() method handleLeaderTakeover (line 43) | async handleLeaderTakeover() {} method handleLeaderStepdown (line 59) | async handleLeaderStepdown() {} method handleLeaderTakeover (line 91) | async handleLeaderTakeover() { method handleLeaderStepdown (line 96) | async handleLeaderStepdown() { method firstHandler (line 124) | async firstHandler() { method secondHandler (line 129) | async secondHandler() { method handleLeaderTakeover (line 182) | async handleLeaderTakeover() { class FirstService (line 145) | @Service() method handleTakeover (line 150) | async handleTakeover() { class SecondService (line 155) | @Service() method handleTakeover (line 160) | async handleTakeover() { class TestService (line 177) | @Service() method handleLeaderTakeover (line 43) | async handleLeaderTakeover() {} method handleLeaderStepdown (line 59) | async handleLeaderStepdown() {} method handleLeaderTakeover (line 91) | async handleLeaderTakeover() { method handleLeaderStepdown (line 96) | async handleLeaderStepdown() { method firstHandler (line 124) | async firstHandler() { method secondHandler (line 129) | async secondHandler() { method handleLeaderTakeover (line 182) | async handleLeaderTakeover() { FILE: packages/@n8n/decorators/src/multi-main/multi-main-metadata.ts constant LEADER_TAKEOVER_EVENT_NAME (line 5) | const LEADER_TAKEOVER_EVENT_NAME = 'leader-takeover'; constant LEADER_STEPDOWN_EVENT_NAME (line 6) | const LEADER_STEPDOWN_EVENT_NAME = 'leader-stepdown'; type MultiMainEvent (line 8) | type MultiMainEvent = typeof LEADER_TAKEOVER_EVENT_NAME | typeof LEADER_... type MultiMainEventHandler (line 10) | type MultiMainEventHandler = EventHandler; class MultiMainMetadata (line 13) | class MultiMainMetadata { method register (line 16) | register(handler: MultiMainEventHandler) { method getHandlers (line 20) | getHandlers(): MultiMainEventHandler[] { FILE: packages/@n8n/decorators/src/pubsub/__tests__/on-pubsub-event.test.ts class TestService (line 20) | @Service() method reloadProviders (line 23) | async reloadProviders() {} method restartEventBus (line 26) | async restartEventBus() {} class TestService (line 45) | @Service() method reloadProviders (line 23) | async reloadProviders() {} method restartEventBus (line 26) | async restartEventBus() {} FILE: packages/@n8n/decorators/src/pubsub/pubsub-metadata.ts type PubSubEventName (line 6) | type PubSubEventName = type PubSubEventFilter (line 32) | type PubSubEventFilter = type PubSubEventHandler (line 42) | type PubSubEventHandler = EventHandler & { filter?: Pub... class PubSubMetadata (line 45) | class PubSubMetadata { method register (line 48) | register(handler: PubSubEventHandler) { method getHandlers (line 52) | getHandlers(): PubSubEventHandler[] { FILE: packages/@n8n/decorators/src/redactable.ts type UserLike (line 3) | type UserLike = { class RedactableError (line 13) | class RedactableError extends UnexpectedError { method constructor (line 14) | constructor(fieldName: string, args: string) { function toRedactable (line 21) | function toRedactable(userLike: UserLike) { type FieldName (line 31) | type FieldName = 'user' | 'inviter' | 'invitee'; type MethodArgs (line 51) | type MethodArgs = Array<{ [fieldName: string]: UserLike }>; FILE: packages/@n8n/decorators/src/shutdown/__tests__/on-shutdown.test.ts class TestClass (line 16) | @Service() method onShutdown (line 19) | async onShutdown() {} method one (line 33) | async one() {} method two (line 36) | async two() {} method onShutdown (line 54) | async onShutdown() { method onShutdown (line 82) | async onShutdown() {} method onShutdown (line 92) | async onShutdown() {} class TestClass (line 30) | @Service() method onShutdown (line 19) | async onShutdown() {} method one (line 33) | async one() {} method two (line 36) | async two() {} method onShutdown (line 54) | async onShutdown() { method onShutdown (line 82) | async onShutdown() {} method onShutdown (line 92) | async onShutdown() {} class TestClass (line 52) | class TestClass { method onShutdown (line 19) | async onShutdown() {} method one (line 33) | async one() {} method two (line 36) | async two() {} method onShutdown (line 54) | async onShutdown() { method onShutdown (line 82) | async onShutdown() {} method onShutdown (line 92) | async onShutdown() {} class TestClass (line 66) | @Service() method onShutdown (line 19) | async onShutdown() {} method one (line 33) | async one() {} method two (line 36) | async two() {} method onShutdown (line 54) | async onShutdown() { method onShutdown (line 82) | async onShutdown() {} method onShutdown (line 92) | async onShutdown() {} class TestClass (line 79) | @Service() method onShutdown (line 19) | async onShutdown() {} method one (line 33) | async one() {} method two (line 36) | async two() {} method onShutdown (line 54) | async onShutdown() { method onShutdown (line 82) | async onShutdown() {} method onShutdown (line 92) | async onShutdown() {} class TestClass (line 89) | @Service() method onShutdown (line 19) | async onShutdown() {} method one (line 33) | async one() {} method two (line 36) | async two() {} method onShutdown (line 54) | async onShutdown() { method onShutdown (line 82) | async onShutdown() {} method onShutdown (line 92) | async onShutdown() {} FILE: packages/@n8n/decorators/src/shutdown/constants.ts constant LOWEST_SHUTDOWN_PRIORITY (line 1) | const LOWEST_SHUTDOWN_PRIORITY = 0; constant DEFAULT_SHUTDOWN_PRIORITY (line 2) | const DEFAULT_SHUTDOWN_PRIORITY = 100; constant HIGHEST_SHUTDOWN_PRIORITY (line 3) | const HIGHEST_SHUTDOWN_PRIORITY = 200; FILE: packages/@n8n/decorators/src/shutdown/shutdown-metadata.ts class ShutdownMetadata (line 8) | class ShutdownMetadata { method register (line 11) | register(priority: number, handler: ShutdownHandler) { method getHandlersByPriority (line 24) | getHandlersByPriority(): ShutdownHandler[][] { method clear (line 28) | clear() { FILE: packages/@n8n/decorators/src/shutdown/types.ts type ShutdownHandlerFn (line 3) | type ShutdownHandlerFn = () => Promise | void; type ShutdownServiceClass (line 4) | type ShutdownServiceClass = Class>; type ShutdownHandler (line 6) | interface ShutdownHandler { FILE: packages/@n8n/decorators/src/timed.ts type TimedOptions (line 1) | interface TimedOptions { type Logger (line 8) | interface Logger { FILE: packages/@n8n/decorators/src/types.ts type Class (line 1) | type Class = new (...args: ... type EventHandlerFn (line 3) | type EventHandlerFn = () => Promise | void; type EventHandlerClass (line 4) | type EventHandlerClass = Class>; type EventHandler (line 5) | type EventHandler = { FILE: packages/@n8n/di/src/__tests__/di.test.ts class SimpleService (line 3) | @Service() method getValue (line 5) | getValue() { class DependentService (line 10) | @Service() method constructor (line 12) | constructor(readonly simple: SimpleService) {} method getValue (line 14) | getValue() { class CustomFactory (line 19) | class CustomFactory { method getValue (line 20) | getValue() { class FactoryService (line 25) | @Service({ factory: () => new CustomFactory() }) method getValue (line 27) | getValue() { class ConcreteService (line 36) | @Service() method getValue (line 38) | getValue(): string { class EmptyConstructorService (line 63) | @Service() class UnDecoratedService (line 71) | class UnDecoratedService {} class ServiceC (line 86) | @Service() method getValue (line 88) | getValue() { class ServiceB (line 93) | @Service() method constructor (line 95) | constructor(private c: ServiceC) {} method getValue (line 97) | getValue() { class ServiceA (line 102) | @Service() method constructor (line 104) | constructor(private b: ServiceB) {} method getValue (line 106) | getValue() { class NonDecoratedDep (line 116) | class NonDecoratedDep {} class ServiceWithNonDecoratedDep (line 118) | @Service() method constructor (line 120) | constructor(readonly dep: NonDecoratedDep) {} class ErrorFactoryService (line 153) | @Service({ class FactoryWithDependencies (line 166) | @Service({ factory }) method constructor (line 168) | constructor(readonly simpleService: SimpleService) {} method constructor (line 193) | constructor() { class BaseService (line 228) | @Service() method getValue (line 230) | getValue() { method getValue (line 249) | getValue() { class DerivedService (line 235) | @Service() method getValue (line 237) | getValue() { class BaseService (line 247) | @Service() method getValue (line 230) | getValue() { method getValue (line 249) | getValue() { class DerivedService (line 254) | @Service() method getValue (line 237) | getValue() { class UnregisteredService (line 272) | class UnregisteredService {} class ManualService (line 293) | class ManualService {} FILE: packages/@n8n/di/src/__tests__/fixtures/service-a.ts class ServiceA (line 6) | class ServiceA { method constructor (line 7) | constructor(readonly b: ServiceB) {} FILE: packages/@n8n/di/src/__tests__/fixtures/service-b.ts class ServiceB (line 6) | class ServiceB { method constructor (line 7) | constructor(readonly a: ServiceA) {} FILE: packages/@n8n/di/src/di.ts type Constructable (line 8) | type Constructable = new (...args: any[]) => T; type AbstractConstructable (line 10) | type AbstractConstructable = abstract new (...args: unknown... type ServiceIdentifier (line 12) | type ServiceIdentifier = Constructable | AbstractConstru... type Factory (line 14) | type Factory = (...args: unknown[]) => T; type Metadata (line 16) | interface Metadata { type Options (line 21) | interface Options { function Service (line 37) | function Service({ factory }: Options = {}) { class DIError (line 44) | class DIError extends Error { method constructor (line 45) | constructor(message: string) { class ContainerClass (line 50) | class ContainerClass { method has (line 60) | has(type: ServiceIdentifier): boolean { method get (line 71) | get(type: ServiceIdentifier): T { method set (line 125) | set(type: ServiceIdentifier, instance: T): void { method reset (line 132) | reset(): void { FILE: packages/@n8n/errors/src/application.error.ts class ApplicationError (line 9) | class ApplicationError extends Error { method constructor (line 18) | constructor( FILE: packages/@n8n/errors/src/types.ts type ErrorLevel (line 3) | type ErrorLevel = 'fatal' | 'error' | 'warning' | 'info'; type ErrorTags (line 5) | type ErrorTags = NonNullable; type ReportingOptions (line 7) | type ReportingOptions = { FILE: packages/@n8n/eslint-config/src/rules/misplaced-n8n-typeorm-import.ts method create (line 15) | create(context) { FILE: packages/@n8n/eslint-config/src/rules/no-argument-spread.ts method create (line 22) | create(context) { FILE: packages/@n8n/eslint-config/src/rules/no-constructor-in-backend-module.ts method create (line 18) | create(context) { FILE: packages/@n8n/eslint-config/src/rules/no-dynamic-import-template.ts method create (line 17) | create(context) { FILE: packages/@n8n/eslint-config/src/rules/no-import-enterprise-edition.ts method create (line 17) | create(context) { FILE: packages/@n8n/eslint-config/src/rules/no-internal-package-import.ts method create (line 17) | create(context) { FILE: packages/@n8n/eslint-config/src/rules/no-interpolation-in-regular-string.ts method create (line 16) | create(context) { FILE: packages/@n8n/eslint-config/src/rules/no-json-parse-json-stringify.ts method create (line 18) | create(context) { FILE: packages/@n8n/eslint-config/src/rules/no-plain-errors.ts method create (line 18) | create(context) { FILE: packages/@n8n/eslint-config/src/rules/no-skipped-tests.ts method create (line 18) | create(context) { FILE: packages/@n8n/eslint-config/src/rules/no-top-level-relative-imports-in-backend-module.ts method create (line 17) | create(context) { FILE: packages/@n8n/eslint-config/src/rules/no-type-only-import-in-di.ts method create (line 17) | create(context) { FILE: packages/@n8n/eslint-config/src/rules/no-type-unsafe-event-emitter.ts method create (line 15) | create(context) { FILE: packages/@n8n/eslint-config/src/rules/no-uncaught-json-parse.ts method create (line 19) | create({ report, sourceCode }) { FILE: packages/@n8n/eslint-config/src/rules/no-unneeded-backticks.ts method create (line 17) | create(context) { FILE: packages/@n8n/eslint-config/src/rules/no-untyped-config-class-field.ts method create (line 16) | create(context) { FILE: packages/@n8n/eslint-config/src/rules/no-unused-param-catch-clause.ts method create (line 16) | create(context) { FILE: packages/@n8n/eslint-config/src/rules/no-useless-catch-throw.ts method create (line 16) | create(context) { FILE: packages/@n8n/eslint-plugin-community-nodes/src/rules/ai-node-package-json.ts method create (line 26) | create(context) { function isPositiveInteger (line 98) | function isPositiveInteger(value: unknown): boolean { FILE: packages/@n8n/eslint-plugin-community-nodes/src/rules/cred-class-field-icon-missing.test.ts function createCredentialCode (line 10) | function createCredentialCode(withIcon: boolean): string { function createCredentialWithLightDarkIcon (line 24) | function createCredentialWithLightDarkIcon(): string { function createRegularClass (line 37) | function createRegularClass(): string { FILE: packages/@n8n/eslint-plugin-community-nodes/src/rules/cred-class-field-icon-missing.ts method create (line 23) | create(context) { FILE: packages/@n8n/eslint-plugin-community-nodes/src/rules/credential-documentation-url.test.ts function createCredentialCode (line 7) | function createCredentialCode(documentationUrl: string): string { function createCredentialWithoutDocUrl (line 20) | function createCredentialWithoutDocUrl(): string { function createRegularClass (line 32) | function createRegularClass(): string { FILE: packages/@n8n/eslint-plugin-community-nodes/src/rules/credential-documentation-url.ts type RuleOptions (line 8) | type RuleOptions = { constant DEFAULT_OPTIONS (line 13) | const DEFAULT_OPTIONS: RuleOptions = { function isValidUrl (line 18) | function isValidUrl(value: string): boolean { function isValidSlug (line 27) | function isValidSlug(value: string): boolean { function hasOnlyCaseIssues (line 39) | function hasOnlyCaseIssues(value: string): boolean { function validateDocumentationUrl (line 43) | function validateDocumentationUrl(value: string, options: RuleOptions): ... function getExpectedFormatsMessage (line 47) | function getExpectedFormatsMessage(options: RuleOptions): string { method create (line 88) | create(context, [options = {}]) { FILE: packages/@n8n/eslint-plugin-community-nodes/src/rules/credential-password-field.test.ts function createCredentialCode (line 7) | function createCredentialCode(properties: string[]): string { function createProperty (line 21) | function createProperty( function createOAuth2CredentialCode (line 41) | function createOAuth2CredentialCode(hasPasswordProtection: boolean = tru... function createRegularClass (line 70) | function createRegularClass(): string { FILE: packages/@n8n/eslint-plugin-community-nodes/src/rules/credential-password-field.ts constant SENSITIVE_PATTERNS (line 13) | const SENSITIVE_PATTERNS = [ constant NON_SENSITIVE_PATTERNS (line 25) | const NON_SENSITIVE_PATTERNS = ['url', 'pub', 'id']; function isSensitiveFieldName (line 27) | function isSensitiveFieldName(name: string): boolean { function hasPasswordTypeOption (line 37) | function hasPasswordTypeOption(element: TSESTree.ObjectExpression): bool... function createPasswordFix (line 50) | function createPasswordFix( method create (line 100) | create(context) { FILE: packages/@n8n/eslint-plugin-community-nodes/src/rules/credential-test-required.test.ts function createCredentialCode (line 8) | function createCredentialCode(options: { function createNonCredentialClass (line 43) | function createNonCredentialClass(className: string = 'SomeOtherClass'):... FILE: packages/@n8n/eslint-plugin-community-nodes/src/rules/credential-test-required.ts method create (line 31) | create(context) { function createCredentialTestTemplate (line 138) | function createCredentialTestTemplate(): string { FILE: packages/@n8n/eslint-plugin-community-nodes/src/rules/icon-validation.test.ts function setupMockFileSystem (line 25) | function setupMockFileSystem() { function createNodeCode (line 57) | function createNodeCode( function createCredentialCode (line 100) | function createCredentialCode(icon?: string | { light: string; dark: str... function createNonNodeClass (line 125) | function createNonNodeClass(icon: string): string { FILE: packages/@n8n/eslint-plugin-community-nodes/src/rules/icon-validation.ts method create (line 42) | create(context) { FILE: packages/@n8n/eslint-plugin-community-nodes/src/rules/no-credential-reuse.test.ts function createNodeCode (line 23) | function createNodeCode( function createExpectedNodeCode (line 62) | function createExpectedNodeCode( function createNonNodeClass (line 101) | function createNonNodeClass(): string { function createNonINodeTypeClass (line 111) | function createNonINodeTypeClass(): string { function setupMockFileSystem (line 123) | function setupMockFileSystem() { FILE: packages/@n8n/eslint-plugin-community-nodes/src/rules/no-credential-reuse.ts method create (line 34) | create(context) { FILE: packages/@n8n/eslint-plugin-community-nodes/src/rules/no-deprecated-workflow-functions.ts constant DEPRECATED_FUNCTIONS (line 5) | const DEPRECATED_FUNCTIONS = { constant DEPRECATED_TYPES (line 14) | const DEPRECATED_TYPES = { function isDeprecatedFunctionName (line 18) | function isDeprecatedFunctionName(name: string): name is keyof typeof DE... function isDeprecatedTypeName (line 22) | function isDeprecatedTypeName(name: string): name is keyof typeof DEPREC... method create (line 47) | create(context) { function getDeprecationMessage (line 169) | function getDeprecationMessage(functionName: string): string { FILE: packages/@n8n/eslint-plugin-community-nodes/src/rules/no-http-request-with-manual-auth.ts type FunctionScope (line 23) | type FunctionScope = { method create (line 44) | create(context) { FILE: packages/@n8n/eslint-plugin-community-nodes/src/rules/no-restricted-globals.ts method create (line 33) | create(context) { FILE: packages/@n8n/eslint-plugin-community-nodes/src/rules/no-restricted-imports.ts method create (line 49) | create(context) { FILE: packages/@n8n/eslint-plugin-community-nodes/src/rules/node-class-description-icon-missing.test.ts function createNodeCode (line 10) | function createNodeCode(withIcon: boolean): string { function createNodeCodeWithLightDarkIcon (line 29) | function createNodeCodeWithLightDarkIcon(): string { function createRegularClass (line 48) | function createRegularClass(): string { FILE: packages/@n8n/eslint-plugin-community-nodes/src/rules/node-class-description-icon-missing.ts method create (line 26) | create(context) { FILE: packages/@n8n/eslint-plugin-community-nodes/src/rules/node-usable-as-tool.test.ts function createNodeCode (line 7) | function createNodeCode( function createNonNodeClass (line 47) | function createNonNodeClass(): string { function createNodeCodeWithOutputsInputs (line 54) | function createNodeCodeWithOutputsInputs( FILE: packages/@n8n/eslint-plugin-community-nodes/src/rules/node-usable-as-tool.ts method create (line 25) | create(context) { FILE: packages/@n8n/eslint-plugin-community-nodes/src/rules/package-name-convention.ts method create (line 23) | create(context) { function isValidPackageName (line 78) | function isValidPackageName(name: string): boolean { function generatePackageNameSuggestions (line 84) | function generatePackageNameSuggestions(invalidName: string): string[] { FILE: packages/@n8n/eslint-plugin-community-nodes/src/rules/resource-operation-pattern.ts method create (line 27) | create(context) { FILE: packages/@n8n/eslint-plugin-community-nodes/src/utils/ast-utils.ts function implementsInterface (line 5) | function implementsInterface(node: TSESTree.ClassDeclaration, interfaceN... function isNodeTypeClass (line 16) | function isNodeTypeClass(node: TSESTree.ClassDeclaration): boolean { function isCredentialTypeClass (line 28) | function isCredentialTypeClass(node: TSESTree.ClassDeclaration): boolean { function findClassProperty (line 32) | function findClassProperty( function findObjectProperty (line 45) | function findObjectProperty( function getLiteralValue (line 58) | function getLiteralValue(node: TSESTree.Node | null): string | boolean |... function getStringLiteralValue (line 65) | function getStringLiteralValue(node: TSESTree.Node | null): string | null { function getModulePath (line 70) | function getModulePath(node: TSESTree.Node | null): string | null { function getBooleanLiteralValue (line 87) | function getBooleanLiteralValue(node: TSESTree.Node | null): boolean | n... function findJsonProperty (line 92) | function findJsonProperty( function findArrayLiteralProperty (line 105) | function findArrayLiteralProperty( function hasArrayLiteralValue (line 116) | function hasArrayLiteralValue( function getTopLevelObjectInJson (line 130) | function getTopLevelObjectInJson( function isFileType (line 139) | function isFileType(filename: string, extension: string): boolean { function isDirectRequireCall (line 143) | function isDirectRequireCall(node: TSESTree.CallExpression): boolean { function isRequireMemberCall (line 151) | function isRequireMemberCall(node: TSESTree.CallExpression): boolean { function extractCredentialInfoFromArray (line 160) | function extractCredentialInfoFromArray( function extractCredentialNameFromArray (line 193) | function extractCredentialNameFromArray( function isThisHelpersAccess (line 201) | function isThisHelpersAccess(node: TSESTree.MemberExpression): boolean { function isThisMethodCall (line 211) | function isThisMethodCall(node: TSESTree.CallExpression, method: string)... function isThisHelpersMethodCall (line 221) | function isThisHelpersMethodCall(node: TSESTree.CallExpression, method: ... function findSimilarStrings (line 230) | function findSimilarStrings( FILE: packages/@n8n/eslint-plugin-community-nodes/src/utils/file-utils.ts function isContainedWithin (line 21) | function isContainedWithin(parentPath: string, childPath: string): boole... function safeJoinPath (line 39) | function safeJoinPath(parentPath: string, ...paths: string[]): string { function findPackageJson (line 51) | function findPackageJson(startPath: string): string | null { type PackageJsonN8n (line 66) | interface PackageJsonN8n { function isValidPackageJson (line 72) | function isValidPackageJson(obj: unknown): obj is { n8n?: PackageJsonN8n... function readPackageJsonN8n (line 76) | function readPackageJsonN8n(packageJsonPath: string): PackageJsonN8n { function resolveN8nFilePaths (line 89) | function resolveN8nFilePaths(packageJsonPath: string, filePaths: string[... function readPackageJsonCredentials (line 105) | function readPackageJsonCredentials(packageJsonPath: string): Set { function extractCredentialNameFromFile (line 125) | function extractCredentialNameFromFile(credentialFilePath: string): stri... function validateIconPath (line 155) | function validateIconPath( function readPackageJsonNodes (line 179) | function readPackageJsonNodes(packageJsonPath: string): string[] { function areAllCredentialUsagesTestedByNodes (line 185) | function areAllCredentialUsagesTestedByNodes( function checkCredentialUsageInFile (line 210) | function checkCredentialUsageInFile( function fileExistsWithCaseSync (line 259) | function fileExistsWithCaseSync(filePath: string): boolean { function findSimilarSvgFiles (line 271) | function findSimilarSvgFiles(targetPath: string, baseDir: string): strin... FILE: packages/@n8n/eslint-plugin-community-nodes/src/utils/rule-creator.ts constant REPO_URL (line 3) | const REPO_URL = 'https://github.com/n8n-io/n8n'; constant DOCS_PATH (line 4) | const DOCS_PATH = 'blob/master/packages/@n8n/eslint-plugin-community-nod... FILE: packages/@n8n/expression-runtime/esbuild.config.js function build (line 8) | async function build() { FILE: packages/@n8n/expression-runtime/src/__tests__/integration.test.ts method brokenProp (line 450) | get brokenProp() { method myFn (line 463) | myFn() { method $items (line 474) | $items() { method get (line 487) | get() { method brokenProp (line 503) | get brokenProp() { FILE: packages/@n8n/expression-runtime/src/bridge/isolated-vm-bridge.ts type IsolatedVm (line 11) | type IsolatedVm = typeof import('isolated-vm'); function getIvm (line 14) | function getIvm(): IsolatedVm { constant BUNDLE_RELATIVE_PATH (line 22) | const BUNDLE_RELATIVE_PATH = path.join('dist', 'bundle', 'runtime.iife.j... function isErrorSentinel (line 25) | function isErrorSentinel(value: unknown): value is ErrorSentinel { function serializeError (line 41) | function serializeError(err: unknown): ErrorSentinel { function readRuntimeBundle (line 65) | async function readRuntimeBundle(): Promise { class IsolatedVmBridge (line 89) | class IsolatedVmBridge implements RuntimeBridge { method constructor (line 111) | constructor(config: BridgeConfig = {}) { method initialize (line 133) | async initialize(): Promise { method loadVendorLibraries (line 182) | private async loadVendorLibraries(): Promise { method verifyProxySystem (line 227) | private async verifyProxySystem(): Promise { method injectErrorHandler (line 270) | private async injectErrorHandler(): Promise { method resetDataProxies (line 310) | private resetDataProxies(timezone?: string): void { method registerCallbacks (line 344) | private registerCallbacks(data: Record): void { method execute (line 521) | execute(code: string, data: Record, options?: Execute... method reconstructError (line 628) | private reconstructError(data: ErrorSentinel): Error { method dispose (line 648) | async dispose(): Promise { method isDisposed (line 677) | isDisposed(): boolean { FILE: packages/@n8n/expression-runtime/src/evaluator/__tests__/expression-evaluator-cache.test.ts function createMockBridge (line 5) | function createMockBridge(): RuntimeBridge { function createMockObservability (line 14) | function createMockObservability(): ObservabilityProvider { FILE: packages/@n8n/expression-runtime/src/evaluator/expression-evaluator.ts class ExpressionEvaluator (line 12) | class ExpressionEvaluator implements IExpressionEvaluator { method constructor (line 30) | constructor(config: EvaluatorConfig) { method initialize (line 46) | async initialize(): Promise { method acquire (line 50) | async acquire(caller: object): Promise { method evaluate (line 64) | evaluate( method getBridge (line 95) | private getBridge(caller: object): RuntimeBridge { method release (line 110) | async release(caller: object): Promise { method waitForReplenishment (line 117) | async waitForReplenishment(): Promise { method getTransformedCode (line 130) | private getTransformedCode(expression: string): string { method dispose (line 157) | async dispose(): Promise { method isDisposed (line 164) | isDisposed(): boolean { FILE: packages/@n8n/expression-runtime/src/evaluator/lru-cache.ts class LruCache (line 1) | class LruCache { method constructor (line 4) | constructor( method get (line 13) | get(key: K): V | undefined { method set (line 21) | set(key: K, value: V): void { method size (line 31) | get size(): number { method clear (line 35) | clear(): void { FILE: packages/@n8n/expression-runtime/src/extensions/array-extensions.ts function randomInt (line 13) | function randomInt(max: number): number { function first (line 17) | function first(value: unknown[]): unknown { function isEmpty (line 21) | function isEmpty(value: unknown[]): boolean { function isNotEmpty (line 25) | function isNotEmpty(value: unknown[]): boolean { function last (line 29) | function last(value: unknown[]): unknown { function pluck (line 33) | function pluck(value: unknown[], extraArgs: unknown[]): unknown[] { function randomItem (line 59) | function randomItem(value: unknown[]): unknown { function unique (line 64) | function unique(value: unknown[], extraArgs: string[]): unknown[] { function sum (line 83) | function sum(value: unknown[]): number { function min (line 97) | function min(value: unknown[]): number { function max (line 113) | function max(value: unknown[]): number { function average (line 129) | function average(value: unknown[]) { function compact (line 140) | function compact(value: unknown[]): unknown[] { function smartJoin (line 155) | function smartJoin(value: unknown[], extraArgs: string[]): object { function chunk (line 173) | function chunk(value: unknown[], extraArgs: number[]) { function renameKeys (line 185) | function renameKeys(value: unknown[], extraArgs: string[]): unknown[] { function mergeObjects (line 211) | function mergeObjects(value: Record, extraArgs: unknown... function merge (line 231) | function merge(value: unknown[], extraArgs: unknown[][]): unknown { function union (line 265) | function union(value: unknown[], extraArgs: unknown[][]): unknown[] { function difference (line 279) | function difference(value: unknown[], extraArgs: unknown[][]): unknown[] { function intersection (line 295) | function intersection(value: unknown[], extraArgs: unknown[][]): unknown... function append (line 316) | function append(value: unknown[], extraArgs: unknown[][]): unknown[] { function toJsonString (line 320) | function toJsonString(value: unknown[]) { function toInt (line 324) | function toInt() { function toFloat (line 328) | function toFloat() { function toBoolean (line 332) | function toBoolean() { function toDateTime (line 336) | function toDateTime() { FILE: packages/@n8n/expression-runtime/src/extensions/boolean-extensions.ts function toBoolean (line 3) | function toBoolean(value: boolean) { function toInt (line 7) | function toInt(value: boolean) { function toDateTime (line 11) | function toDateTime() { FILE: packages/@n8n/expression-runtime/src/extensions/date-extensions.ts type DurationUnit (line 26) | type DurationUnit = (typeof durationUnits)[number]; type DatePart (line 41) | type DatePart = (typeof dateParts)[number]; constant DURATION_MAP (line 43) | const DURATION_MAP: Record = { constant DATETIMEUNIT_MAP (line 61) | const DATETIMEUNIT_MAP: Record = { function isDateTime (line 78) | function isDateTime(date: unknown): date is DateTime { function toDateTime (line 82) | function toDateTime(date: string | Date | DateTime): DateTime { function generateDurationObject (line 92) | function generateDurationObject(durationValue: number, unit: DurationUni... function beginningOf (line 97) | function beginningOf(date: Date | DateTime, extraArgs: DurationUnit[]): ... function endOfMonth (line 107) | function endOfMonth(date: Date | DateTime): Date | DateTime { function extract (line 113) | function extract(date: Date | DateTime, args: DatePart[]): number { function format (line 138) | function format(date: Date | DateTime, extraArgs: unknown[]): string { function isBetween (line 146) | function isBetween( function isDst (line 169) | function isDst(date: Date | DateTime): boolean { function isInLast (line 176) | function isInLast(date: Date | DateTime, extraArgs: unknown[]): boolean { constant WEEKEND_DAYS (line 187) | const WEEKEND_DAYS: WeekdayNumbers[] = [6, 7]; function isWeekend (line 188) | function isWeekend(date: Date | DateTime): boolean { function minus (line 193) | function minus( function plus (line 214) | function plus( function diffTo (line 235) | function diffTo(date: DateTime, args: [string | Date | DateTime, Duratio... function diffToNow (line 263) | function diffToNow(date: DateTime, args: [DurationUnit | DurationUnit[]]) { function toInt (line 268) | function toInt(date: Date | DateTime): number { function toBoolean (line 277) | function toBoolean() { function isEmpty (line 282) | function isEmpty(): boolean { function isNotEmpty (line 286) | function isNotEmpty(): boolean { FILE: packages/@n8n/expression-runtime/src/extensions/expression-extension-error.ts class ExpressionExtensionError (line 1) | class ExpressionExtensionError extends Error { method constructor (line 4) | constructor(message: string, options?: { description?: string }) { FILE: packages/@n8n/expression-runtime/src/extensions/extend.ts function isEmpty (line 13) | function isEmpty(value: unknown) { function isNotEmpty (line 17) | function isNotEmpty(value: unknown) { constant EXTENSION_OBJECTS (line 21) | const EXTENSION_OBJECTS: ExtensionMap[] = [ function isDate (line 36) | function isDate(input: unknown): boolean { type FoundFunction (line 47) | interface FoundFunction { constant UNSAFE_PROPERTY_NAMES (line 57) | const UNSAFE_PROPERTY_NAMES = new Set([ function findExtendedFunction (line 79) | function findExtendedFunction(input: unknown, functionName: string): Fou... function extend (line 138) | function extend(input: unknown, functionName: string, args: unknown[]) { function extendOptional (line 174) | function extendOptional( FILE: packages/@n8n/expression-runtime/src/extensions/extensions.ts type ExtensionMap (line 1) | interface ExtensionMap { type Extension (line 7) | type Extension = Function & { doc?: DocMetadata }; type NativeDoc (line 9) | type NativeDoc = { type DocMetadataArgument (line 15) | type DocMetadataArgument = { type DocMetadataExample (line 25) | type DocMetadataExample = { type DocMetadata (line 31) | type DocMetadata = { FILE: packages/@n8n/expression-runtime/src/extensions/function-extensions.ts function ifEmpty (line 42) | function ifEmpty(value: V, defaultValue: T) { FILE: packages/@n8n/expression-runtime/src/extensions/number-extensions.ts function format (line 10) | function format(value: number, extraArgs: unknown[]): string { function isEven (line 23) | function isEven(value: number) { function isOdd (line 30) | function isOdd(value: number) { function floor (line 37) | function floor(value: number) { function ceil (line 41) | function ceil(value: number) { function abs (line 45) | function abs(value: number) { function isInteger (line 49) | function isInteger(value: number) { function round (line 53) | function round(value: number, extraArgs: number[]) { function toBoolean (line 58) | function toBoolean(value: number) { function toInt (line 62) | function toInt(value: number) { function toFloat (line 66) | function toFloat(value: number) { type DateTimeFormat (line 70) | type DateTimeFormat = 'ms' | 's' | 'us' | 'excel'; function toDateTime (line 71) | function toDateTime(value: number, extraArgs: [DateTimeFormat]) { FILE: packages/@n8n/expression-runtime/src/extensions/object-extensions.ts function isEmpty (line 4) | function isEmpty(value: object): boolean { function isNotEmpty (line 8) | function isNotEmpty(value: object): boolean { function keys (line 12) | function keys(value: object): string[] { function values (line 16) | function values(value: object): unknown[] { function hasField (line 20) | function hasField(value: object, extraArgs: string[]): boolean { function removeField (line 25) | function removeField(value: object, extraArgs: string[]): object { function removeFieldsContaining (line 36) | function removeFieldsContaining(value: object, extraArgs: string[]): obj... function keepFieldsContaining (line 51) | function keepFieldsContaining(value: object, extraArgs: string[]): object { function compact (line 68) | function compact(value: object): object { function whatwgEncode (line 92) | function whatwgEncode(str: string): string { function urlEncode (line 98) | function urlEncode(value: object) { function toJsonString (line 104) | function toJsonString(value: object) { function toInt (line 108) | function toInt() { function toFloat (line 112) | function toFloat() { function toBoolean (line 116) | function toBoolean() { function toDateTime (line 120) | function toDateTime() { FILE: packages/@n8n/expression-runtime/src/extensions/string-extensions.ts constant CURRENCY_REGEXP (line 23) | const CURRENCY_REGEXP = constant DOMAIN_EXTRACT_REGEXP (line 26) | const DOMAIN_EXTRACT_REGEXP = constant DOMAIN_REGEXP (line 29) | const DOMAIN_REGEXP = constant EMAIL_REGEXP (line 32) | const EMAIL_REGEXP = constant URL_REGEXP_EXACT (line 35) | const URL_REGEXP_EXACT = constant URL_REGEXP (line 38) | const URL_REGEXP = constant CHAR_TEST_REGEXP (line 41) | const CHAR_TEST_REGEXP = /\p{L}/u; constant PUNC_TEST_REGEXP (line 42) | const PUNC_TEST_REGEXP = /[!?.]/; function tryToParseDateTime (line 48) | function tryToParseDateTime(value: unknown, defaultZone?: string): DateT... function hash (line 87) | function hash(value: string, extraArgs: string[]): string { function isEmpty (line 118) | function isEmpty(value: string): boolean { function isNotEmpty (line 122) | function isNotEmpty(value: string): boolean { function length (line 126) | function length(value: string): number { function toJsonString (line 130) | function toJsonString(value: string): string { function removeMarkdown (line 134) | function removeMarkdown(value: string): string { function removeTags (line 176) | function removeTags(value: string): string { function toDate (line 180) | function toDate(value: string): Date { function toDateTime (line 193) | function toDateTime(value: string, extraArgs: [string] = ['']): DateTime { function urlDecode (line 215) | function urlDecode(value: string, extraArgs: boolean[]): string { function urlEncode (line 223) | function urlEncode(value: string, extraArgs: boolean[]): string { function toInt (line 231) | function toInt(value: string, extraArgs: Array) { function toFloat (line 242) | function toFloat(value: string) { function toNumber (line 256) | function toNumber(value: string) { function quote (line 266) | function quote(value: string, extraArgs: string[]) { function isNumeric (line 273) | function isNumeric(value: string) { function isUrl (line 279) | function isUrl(value: string) { function isDomain (line 283) | function isDomain(value: string) { function isEmail (line 287) | function isEmail(value: string) { function toTitleCase (line 298) | function toTitleCase(value: string) { function replaceSpecialChars (line 302) | function replaceSpecialChars(value: string) { function toSentenceCase (line 306) | function toSentenceCase(value: string) { function toSnakeCase (line 329) | function toSnakeCase(value: string) { function extractEmail (line 336) | function extractEmail(value: string) { function extractDomain (line 344) | function extractDomain(value: string) { function extractUrl (line 362) | function extractUrl(value: string) { function isLetter (line 370) | function isLetter(ch: number): boolean { function isDigit (line 374) | function isDigit(ch: number): boolean { function extractUrlPath (line 383) | function extractUrlPath(value: string) { function parseJson (line 423) | function parseJson(value: string): unknown { function toBoolean (line 434) | function toBoolean(value: string): boolean { function base64Encode (line 440) | function base64Encode(value: string): string { function base64Decode (line 444) | function base64Decode(value: string): string { FILE: packages/@n8n/expression-runtime/src/extensions/utils.ts function checkIfValueDefinedOrThrow (line 23) | function checkIfValueDefinedOrThrow(value: T, functionName: string): ... FILE: packages/@n8n/expression-runtime/src/pool/__tests__/isolate-pool.test.ts function createMockBridge (line 5) | function createMockBridge(): RuntimeBridge { function createFactory (line 14) | function createFactory() { FILE: packages/@n8n/expression-runtime/src/pool/isolate-pool.ts class PoolDisposedError (line 3) | class PoolDisposedError extends Error { method constructor (line 4) | constructor() { class PoolExhaustedError (line 10) | class PoolExhaustedError extends Error { method constructor (line 11) | constructor() { class IsolatePool (line 17) | class IsolatePool { method constructor (line 25) | constructor( method initialize (line 31) | async initialize() { method acquire (line 53) | acquire(): RuntimeBridge { method release (line 61) | async release(bridge: RuntimeBridge) { method dispose (line 66) | async dispose(): Promise { method waitForReplenishment (line 76) | async waitForReplenishment(): Promise { method replenish (line 82) | private replenish(attempt = 0) { FILE: packages/@n8n/expression-runtime/src/runtime/__tests__/lazy-proxy.test.ts function mockApplySync (line 10) | function mockApplySync(returnValue: unknown = undefined) { function installGlobals (line 15) | function installGlobals( function cleanupGlobals (line 33) | function cleanupGlobals() { function proxyWithLargeArray (line 214) | function proxyWithLargeArray(length = 10) { FILE: packages/@n8n/expression-runtime/src/runtime/lazy-proxy.ts type ErrorSentinel (line 19) | interface ErrorSentinel { type ObjectMetadata (line 27) | interface ObjectMetadata { function isObjectMetadata (line 32) | function isObjectMetadata(value: unknown): value is ObjectMetadata { function isErrorSentinel (line 41) | function isErrorSentinel(value: unknown): value is ErrorSentinel { function throwIfErrorSentinel (line 52) | function throwIfErrorSentinel(value: unknown): void { function isLazyProxy (line 60) | function isLazyProxy(obj: unknown): boolean { function getProxyPath (line 65) | function getProxyPath(obj: object): string[] | undefined { function createDeepLazyProxy (line 85) | function createDeepLazyProxy(basePath: string[] = [], knownKeys?: string... FILE: packages/@n8n/expression-runtime/src/runtime/reset.ts function resetDataProxies (line 35) | function resetDataProxies(timezone?: string): void { constant DENYLISTED_GLOBALS (line 195) | const DENYLISTED_GLOBALS = [ function initializeBuiltins (line 242) | function initializeBuiltins(data: Record): void { FILE: packages/@n8n/expression-runtime/src/runtime/safe-globals.ts method get (line 14) | get(target, prop) { method get (line 70) | get(target, prop) { method set (line 80) | set(target, prop, value) { method defineProperty (line 88) | defineProperty() { function createSafeErrorSubclass (line 97) | function createSafeErrorSubclass(ErrorClass:... class ExpressionError (line 122) | class ExpressionError extends Error { method constructor (line 123) | constructor(message: string) { function __sanitize (line 151) | function __sanitize(value: unknown): unknown { FILE: packages/@n8n/expression-runtime/src/runtime/serialize.ts function isPlainObject (line 4) | function isPlainObject(value: object): value is Record { function __prepareForTransfer (line 26) | function __prepareForTransfer(value: unknown): unknown { FILE: packages/@n8n/expression-runtime/src/types/bridge.ts type RuntimeBridge (line 17) | interface RuntimeBridge { type BridgeConfig (line 53) | interface BridgeConfig { constant DEFAULT_BRIDGE_CONFIG (line 76) | const DEFAULT_BRIDGE_CONFIG: Required = { type ExecuteOptions (line 83) | interface ExecuteOptions { FILE: packages/@n8n/expression-runtime/src/types/evaluator.ts type EvaluatorConfig (line 16) | interface EvaluatorConfig { type IExpressionEvaluator (line 50) | interface IExpressionEvaluator { type WorkflowData (line 102) | type WorkflowData = Record; type EvaluateOptions (line 109) | interface EvaluateOptions { type ObservabilityProvider (line 132) | interface ObservabilityProvider { type MetricsAPI (line 152) | interface MetricsAPI { type TracesAPI (line 172) | interface TracesAPI { type Span (line 182) | interface Span { type LogsAPI (line 207) | interface LogsAPI { class ExpressionError (line 239) | class ExpressionError extends Error { method constructor (line 240) | constructor( class MemoryLimitError (line 257) | class MemoryLimitError extends ExpressionError {} class TimeoutError (line 258) | class TimeoutError extends ExpressionError {} class SecurityViolationError (line 259) | class SecurityViolationError extends ExpressionError {} class SyntaxError (line 260) | class SyntaxError extends ExpressionError {} FILE: packages/@n8n/expression-runtime/src/types/runtime.ts class RuntimeError (line 15) | class RuntimeError extends Error { method constructor (line 16) | constructor( FILE: packages/@n8n/extension-sdk/src/backend/define.ts function defineBackendExtension (line 3) | function defineBackendExtension(extension: BackendExtension): BackendExt... FILE: packages/@n8n/extension-sdk/src/backend/types.ts type BackendExtensionContext (line 1) | type BackendExtensionContext = { type BackendExtensionSetupFn (line 5) | type BackendExtensionSetupFn = (context: BackendExtension) => void; type BackendExtension (line 7) | type BackendExtension = { FILE: packages/@n8n/extension-sdk/src/frontend/define.ts function defineFrontendExtension (line 3) | function defineFrontendExtension(extension: FrontendExtension): Frontend... FILE: packages/@n8n/extension-sdk/src/frontend/types.ts type FrontendExtensionContext (line 4) | type FrontendExtensionContext = { type FrontendExtensionSetupFn (line 10) | type FrontendExtensionSetupFn = (context: FrontendExtensionContext) => v... type FrontendExtension (line 12) | type FrontendExtension = { FILE: packages/@n8n/extension-sdk/src/schema.ts type ExtensionManifest (line 96) | type ExtensionManifest = z.infer; FILE: packages/@n8n/fs-proxy/src/cli.ts function cliConfirmConnect (line 26) | async function cliConfirmConnect(url: string): Promise { function makeConfirmConnect (line 30) | function makeConfirmConnect( function makeConfirmResourceAccess (line 47) | function makeConfirmResourceAccess( function tryServe (line 60) | async function tryServe(): Promise { function shouldShowHelp (line 84) | function shouldShowHelp(): boolean { function printUsage (line 89) | function printUsage(): void { function main (line 142) | async function main(): Promise { FILE: packages/@n8n/fs-proxy/src/config-templates.ts type TemplateName (line 8) | type TemplateName = 'default' | 'yolo' | 'custom'; type ConfigTemplate (line 10) | interface ConfigTemplate { constant RECOMMENDED_PERMISSIONS (line 26) | const RECOMMENDED_PERMISSIONS = Object.fromEntries( constant CONFIG_TEMPLATES (line 34) | const CONFIG_TEMPLATES: readonly ConfigTemplate[] = [ function getTemplate (line 67) | function getTemplate(name: TemplateName): ConfigTemplate { FILE: packages/@n8n/fs-proxy/src/config.ts constant TOOL_GROUP_DEFINITIONS (line 12) | const TOOL_GROUP_DEFINITIONS = { type ToolGroup (line 45) | type ToolGroup = keyof typeof TOOL_GROUP_DEFINITIONS; constant PERMISSION_MODES (line 47) | const PERMISSION_MODES = ['deny', 'ask', 'allow'] as const; type PermissionMode (line 49) | type PermissionMode = z.infer; type GatewayConfig (line 55) | interface GatewayConfig { constant ENV_PREFIX (line 72) | const ENV_PREFIX = 'N8N_GATEWAY_'; function envString (line 74) | function envString(name: string): string | undefined { function envBoolean (line 78) | function envBoolean(name: string): boolean | undefined { function envNumber (line 84) | function envNumber(name: string): number | undefined { type LogLevel (line 96) | type LogLevel = z.infer; function readPermissionOverridesFromEnv (line 120) | function readPermissionOverridesFromEnv(): Partial; function buildEnvConfig (line 157) | function buildEnvConfig(): PartialStructural { function buildCliConfig (line 183) | function buildCliConfig(args: yargsParser.Arguments): PartialStructural { function deepMerge (line 209) | function deepMerge( function getSettingsFilePath (line 240) | function getSettingsFilePath(): string { type ParsedArgs (line 248) | interface ParsedArgs { function parseConfig (line 269) | function parseConfig(argv = process.argv.slice(2)): ParsedArgs { FILE: packages/@n8n/fs-proxy/src/confirm-resource-cli.ts constant CONTROL_CHARS_RE (line 11) | const CONTROL_CHARS_RE = new RegExp('[\\u0000-\\u001f\\u007f]', 'g'); function sanitizeForTerminal (line 13) | function sanitizeForTerminal(value: string): string { constant RESOURCE_DECISIONS (line 17) | const RESOURCE_DECISIONS: Record = { function cliConfirmResourceAccess (line 25) | async function cliConfirmResourceAccess( FILE: packages/@n8n/fs-proxy/src/daemon.ts type DaemonOptions (line 20) | interface DaemonOptions { type DaemonState (line 39) | interface DaemonState { constant CORS_HEADERS (line 55) | const CORS_HEADERS: Record = { function jsonResponse (line 61) | function jsonResponse( function getDir (line 73) | function getDir(): string { function readBody (line 77) | async function readBody(req: http.IncomingMessage): Promise { function handleHealth (line 86) | function handleHealth(res: http.ServerResponse): void { function handleConnect (line 94) | async function handleConnect(req: http.IncomingMessage, res: http.Server... function handleDisconnect (line 185) | async function handleDisconnect(res: http.ServerResponse): Promise { function handleStatus (line 198) | function handleStatus(res: http.ServerResponse): void { function handleEvents (line 207) | function handleEvents(res: http.ServerResponse): void { function handleCors (line 218) | function handleCors(res: http.ServerResponse): void { function startDaemon (line 226) | function startDaemon(config: GatewayConfig, options: DaemonOptions): htt... FILE: packages/@n8n/fs-proxy/src/gateway-client.ts constant MAX_RECONNECT_DELAY_MS (line 29) | const MAX_RECONNECT_DELAY_MS = 30_000; constant MAX_AUTH_RETRIES (line 30) | const MAX_AUTH_RETRIES = 5; function tagCategory (line 33) | function tagCategory(defs: ToolDefinition[], category: string): ToolDefi... type GatewayClientOptions (line 40) | interface GatewayClientOptions { type FilesystemRequestEvent (line 50) | interface FilesystemRequestEvent { class GatewayClient (line 62) | class GatewayClient { method tools (line 85) | get tools(): ToolDefinition[] { method constructor (line 89) | constructor(private readonly options: GatewayClientOptions) {} method apiKey (line 92) | private get apiKey(): string { method dir (line 96) | private get dir(): string { method start (line 101) | async start(): Promise { method stop (line 107) | async stop(): Promise { method disconnect (line 117) | async disconnect(): Promise { method getAllDefinitions (line 152) | private async getAllDefinitions(): Promise { method uploadCapabilities (line 250) | private async uploadCapabilities(): Promise { method connectSSE (line 289) | private connectSSE(): void { method reInitialize (line 344) | private async reInitialize(): Promise { method handleMessage (line 368) | private async handleMessage(event: MessageEvent): Promise { method dispatchToolCall (line 391) | private async dispatchToolCall( method checkPermissions (line 407) | private async checkPermissions(resources: AffectedResource[]): Promise... method postResponse (line 442) | private async postResponse(requestId: string, result: CallToolResult):... function isFilesystemRequestEvent (line 468) | function isFilesystemRequestEvent(data: unknown): data is FilesystemRequ... FILE: packages/@n8n/fs-proxy/src/logger.test.ts constant BASE_CONFIG (line 4) | const BASE_CONFIG: GatewayConfig = { function messageFor (line 17) | function messageFor(spy: jest.SpyInstance, module: string): string { FILE: packages/@n8n/fs-proxy/src/logger.ts type LogLevel (line 11) | type LogLevel = 'silent' | 'error' | 'warn' | 'info' | 'debug'; constant LEVEL_RANK (line 13) | const LEVEL_RANK: Record = { constant ANSI_RE (line 22) | const ANSI_RE = /\x1b\[[0-9;]*m/g; function configure (line 27) | function configure(options: { level?: LogLevel }): void { function isEnabled (line 31) | function isEnabled(level: LogLevel): boolean { function devTimestamp (line 37) | function devTimestamp(): string { function toPrintable (line 43) | function toPrintable(metadata: Record): string { constant LEVEL_COLORS (line 52) | const LEVEL_COLORS: Record string> = { function colorFor (line 59) | function colorFor(level: string): (s: string) => string { function devDebugLine (line 63) | function devDebugLine(level: string, message: string, meta: Record = {}) { method warn (line 111) | warn(message: string, meta: Record = {}) { method info (line 117) | info(message: string, meta: Record = {}) { method debug (line 123) | debug(message: string, meta: Record = {}) { constant LOGO (line 133) | const LOGO = [ constant SUBTITLE (line 141) | const SUBTITLE = [ constant SUBTITLE_LAST (line 149) | const SUBTITLE_LAST = ' |___/ ... function printBanner (line 152) | function printBanner(): void { function permissionIcon (line 163) | function permissionIcon(mode: PermissionMode): string { function printModuleStatus (line 169) | function printModuleStatus(config: GatewayConfig): void { function printToolList (line 217) | function printToolList(tools: ToolDefinition[]): void { function printListening (line 235) | function printListening(port: number): void { function printWaiting (line 242) | function printWaiting(): void { function printConnected (line 246) | function printConnected(url: string): void { function printDisconnected (line 250) | function printDisconnected(): void { function printReconnecting (line 254) | function printReconnecting(reason?: string): void { function printAuthFailure (line 259) | function printAuthFailure(): void { function printReinitializing (line 263) | function printReinitializing(): void { function printReinitFailed (line 267) | function printReinitFailed(error: string): void { function printShuttingDown (line 272) | function printShuttingDown(): void { function printToolCall (line 276) | function printToolCall(name: string, args: Record): void { function printToolResult (line 282) | function printToolResult(name: string, durationMs: number, error?: strin... function formatPath (line 298) | function formatPath(dir: string): string { function summarizeArgs (line 306) | function summarizeArgs(args: Record): string { function groupTools (line 320) | function groupTools(tools: ToolDefinition[]): Array<[string, string[]]> { constant FILESYSTEM_TOOLS (line 346) | const FILESYSTEM_TOOLS = new Set([ function categorize (line 359) | function categorize(toolName: string): string { FILE: packages/@n8n/fs-proxy/src/settings-store.ts constant DEBOUNCE_DELAY_MS (line 19) | const DEBOUNCE_DELAY_MS = 500; constant MAX_SETTINGS_STALE_MS (line 20) | const MAX_SETTINGS_STALE_MS = 3_000; type ResourcePermissions (line 26) | interface ResourcePermissions { type PersistentSettings (line 57) | type PersistentSettings = z.infer; function isValidPersistentSettings (line 59) | function isValidPersistentSettings(raw: unknown): raw is PersistentSetti... function emptySettings (line 63) | function emptySettings(): PersistentSettings { class SettingsStore (line 71) | class SettingsStore { method constructor (line 84) | private constructor( method create (line 97) | static async create(config: GatewayConfig): Promise { method getGroupMode (line 113) | getGroupMode(toolGroup: ToolGroup): PermissionMode { method check (line 131) | check(toolGroup: ToolGroup, resource: string): PermissionMode { method allowForSession (line 143) | allowForSession(toolGroup: ToolGroup, resource: string): void { method alwaysAllow (line 152) | alwaysAllow(toolGroup: ToolGroup, resource: string): void { method alwaysDeny (line 160) | alwaysDeny(toolGroup: ToolGroup, resource: string): void { method clearSessionRules (line 168) | clearSessionRules(): void { method flush (line 173) | async flush(): Promise { method validateHasActiveGroup (line 184) | private validateHasActiveGroup(): void { method hasSessionAllow (line 195) | private hasSessionAllow(toolGroup: ToolGroup, resource: string): boole... method getOrInitResourcePermissions (line 199) | private getOrInitResourcePermissions(toolGroup: ToolGroup): ResourcePe... method scheduleWrite (line 208) | private scheduleWrite(): void { method executeWrite (line 230) | private executeWrite(): void { method cancelDebounce (line 247) | private cancelDebounce(): void { method cancelMaxStale (line 255) | private cancelMaxStale(): void { method persist (line 262) | private async persist(): Promise { function loadFromFile (line 276) | async function loadFromFile(filePath: string): Promise = { function printPermissionsTable (line 22) | function printPermissionsTable(permissions: Record { function editPermissions (line 88) | async function editPermissions( function promptFilesystemDir (line 103) | async function promptFilesystemDir(currentDir: string): Promise { function isAllDeny (line 123) | function isAllDeny(permissions: Record): bool... function runStartupConfigCli (line 138) | async function runStartupConfigCli(config: GatewayConfig): Promise { FILE: packages/@n8n/fs-proxy/src/tools/filesystem/constants.ts constant MAX_FILE_SIZE (line 1) | const MAX_FILE_SIZE = 512 * 1024; FILE: packages/@n8n/fs-proxy/src/tools/filesystem/copy-file.test.ts constant CONTEXT (line 8) | const CONTEXT = { dir: '/base' }; function mockMkdir (line 10) | function mockMkdir(): void { function mockCopyFile (line 14) | function mockCopyFile(): void { FILE: packages/@n8n/fs-proxy/src/tools/filesystem/copy-file.ts method getAffectedResources (line 20) | async getAffectedResources({ sourcePath, destinationPath }, { dir }) { method execute (line 36) | async execute({ sourcePath, destinationPath }, { dir }) { FILE: packages/@n8n/fs-proxy/src/tools/filesystem/create-directory.test.ts constant CONTEXT (line 8) | const CONTEXT = { dir: '/base' }; function mockMkdir (line 10) | function mockMkdir(): void { FILE: packages/@n8n/fs-proxy/src/tools/filesystem/create-directory.ts method getAffectedResources (line 18) | async getAffectedResources({ dirPath }, { dir }) { method execute (line 28) | async execute({ dirPath }, { dir }) { FILE: packages/@n8n/fs-proxy/src/tools/filesystem/delete.test.ts constant CONTEXT (line 9) | const CONTEXT = { dir: '/base' }; function mockStatFile (line 11) | function mockStatFile(): void { function mockStatDirectory (line 15) | function mockStatDirectory(): void { function mockStatNotFound (line 19) | function mockStatNotFound(): void { FILE: packages/@n8n/fs-proxy/src/tools/filesystem/delete.ts method getAffectedResources (line 18) | async getAffectedResources({ path: relPath }, { dir }) { method execute (line 21) | async execute({ path: relPath }, { dir }) { FILE: packages/@n8n/fs-proxy/src/tools/filesystem/edit-file.test.ts constant CONTEXT (line 9) | const CONTEXT = { dir: '/base' }; function mockStat (line 11) | function mockStat(size: number): void { function mockReadFile (line 15) | function mockReadFile(content: string): void { function mockWriteFile (line 19) | function mockWriteFile(): void { FILE: packages/@n8n/fs-proxy/src/tools/filesystem/edit-file.ts method getAffectedResources (line 21) | async getAffectedResources({ filePath }, { dir }) { method execute (line 26) | async execute({ filePath, oldString, newString }, { dir }) { FILE: packages/@n8n/fs-proxy/src/tools/filesystem/fs-utils.test.ts constant BASE (line 8) | const BASE = '/base'; function mockRealpath (line 11) | function mockRealpath(entries: Array<[string, string]>): void { function mockLstat (line 19) | function mockLstat(entries: Array<[string, Partial]>): void { function mockReadlink (line 28) | function mockReadlink(entries: Array<[string, string]>): void { FILE: packages/@n8n/fs-proxy/src/tools/filesystem/fs-utils.ts constant MAX_ENTRIES (line 6) | const MAX_ENTRIES = 10_000; constant DEFAULT_MAX_DEPTH (line 7) | const DEFAULT_MAX_DEPTH = 8; constant EXCLUDED_DIRS (line 9) | const EXCLUDED_DIRS = new Set([ type TreeEntry (line 28) | interface TreeEntry { type ScanResult (line 34) | interface ScanResult { function scanDirectory (line 45) | async function scanDirectory( function isAllowedDotFile (line 111) | function isAllowedDotFile(name: string): boolean { function resolveSafePath (line 152) | async function resolveSafePath(basePath: string, relativePath: string): ... function buildFilesystemResource (line 202) | async function buildFilesystemResource( FILE: packages/@n8n/fs-proxy/src/tools/filesystem/get-file-tree.test.ts constant CONTEXT (line 9) | const CONTEXT = { dir: '/base' }; function dirent (line 11) | function dirent(name: string, isDir: boolean): Dirent { function mockStat (line 26) | function mockStat(size = 100): void { function mockReaddir (line 30) | function mockReaddir(...batches: Dirent[][]): void { FILE: packages/@n8n/fs-proxy/src/tools/filesystem/get-file-tree.ts method getAffectedResources (line 16) | async getAffectedResources({ dirPath }, { dir }) { method execute (line 26) | async execute({ dirPath, maxDepth }, { dir }) { FILE: packages/@n8n/fs-proxy/src/tools/filesystem/list-files.test.ts constant CONTEXT (line 9) | const CONTEXT = { dir: '/base' }; function dirent (line 11) | function dirent(name: string, isDir: boolean): Dirent { function mockReaddir (line 26) | function mockReaddir(entries: Dirent[]): void { function mockStat (line 30) | function mockStat(size = 100): void { FILE: packages/@n8n/fs-proxy/src/tools/filesystem/list-files.ts method getAffectedResources (line 21) | async getAffectedResources({ dirPath }, { dir }) { method execute (line 31) | async execute({ dirPath, type, maxResults }, { dir }) { FILE: packages/@n8n/fs-proxy/src/tools/filesystem/move.test.ts constant CONTEXT (line 8) | const CONTEXT = { dir: '/base' }; function mockMkdir (line 10) | function mockMkdir(): void { function mockRename (line 14) | function mockRename(): void { FILE: packages/@n8n/fs-proxy/src/tools/filesystem/move.ts method getAffectedResources (line 20) | async getAffectedResources({ sourcePath, destinationPath }, { dir }) { method execute (line 36) | async execute({ sourcePath, destinationPath }, { dir }) { FILE: packages/@n8n/fs-proxy/src/tools/filesystem/read-file.test.ts constant CONTEXT (line 9) | const CONTEXT = { dir: '/base' }; function mockStat (line 11) | function mockStat(size: number): void { function mockReadFile (line 15) | function mockReadFile(content: Buffer | string): void { FILE: packages/@n8n/fs-proxy/src/tools/filesystem/read-file.ts constant DEFAULT_MAX_LINES (line 8) | const DEFAULT_MAX_LINES = 200; constant BINARY_CHECK_SIZE (line 9) | const BINARY_CHECK_SIZE = 8192; method getAffectedResources (line 22) | async getAffectedResources({ filePath }, { dir }) { method execute (line 27) | async execute({ filePath, startLine, maxLines }, { dir }) { FILE: packages/@n8n/fs-proxy/src/tools/filesystem/search-files.test.ts constant CONTEXT (line 9) | const CONTEXT = { dir: '/base' }; function dirent (line 11) | function dirent(name: string, isDir: boolean): Dirent { function mockStat (line 26) | function mockStat(size = 100): void { FILE: packages/@n8n/fs-proxy/src/tools/filesystem/search-files.ts method getAffectedResources (line 23) | async getAffectedResources({ dirPath }, { dir }) { method execute (line 28) | async execute({ dirPath, query, filePattern, ignoreCase, maxResults }, {... function collectFiles (line 68) | async function collectFiles( function escapeRegex (line 99) | function escapeRegex(str: string): string { function globToRegex (line 103) | function globToRegex(pattern: string): RegExp { FILE: packages/@n8n/fs-proxy/src/tools/filesystem/write-file.test.ts constant CONTEXT (line 8) | const CONTEXT = { dir: '/base' }; function mockMkdir (line 10) | function mockMkdir(): void { function mockWriteFile (line 14) | function mockWriteFile(): void { FILE: packages/@n8n/fs-proxy/src/tools/filesystem/write-file.ts method getAffectedResources (line 21) | async getAffectedResources({ filePath }, { dir }) { method execute (line 26) | async execute({ filePath, content }, { dir }) { FILE: packages/@n8n/fs-proxy/src/tools/monitor-utils.ts function getPrimaryMonitor (line 3) | async function getPrimaryMonitor(): Promise { FILE: packages/@n8n/fs-proxy/src/tools/mouse-keyboard/index.ts method isSupported (line 15) | async isSupported() { FILE: packages/@n8n/fs-proxy/src/tools/mouse-keyboard/mouse-keyboard.test.ts constant DUMMY_CONTEXT (line 36) | const DUMMY_CONTEXT = { dir: '/test/base' }; constant OK_RESULT (line 37) | const OK_RESULT = { content: [{ type: 'text' as const, text: 'ok' }] }; FILE: packages/@n8n/fs-proxy/src/tools/mouse-keyboard/mouse-keyboard.ts constant IS_MACOS (line 6) | const IS_MACOS = process.platform === 'darwin'; constant IS_WINDOWS (line 7) | const IS_WINDOWS = process.platform === 'win32'; function normalizeKey (line 16) | function normalizeKey(key: string): string { constant MODIFIER_KEY_NAMES (line 41) | const MODIFIER_KEY_NAMES = IS_MACOS constant SHORTCUT_EXAMPLE (line 47) | const SHORTCUT_EXAMPLE = IS_MACOS function scaleCoord (line 81) | async function scaleCoord( constant COMPUTER_RESOURCE (line 101) | const COMPUTER_RESOURCE = { method getAffectedResources (line 112) | getAffectedResources() { method execute (line 115) | async execute({ x, y, screenWidth, screenHeight }) { method getAffectedResources (line 135) | getAffectedResources() { method execute (line 138) | async execute({ x, y, button = 'left', screenWidth, screenHeight }) { method getAffectedResources (line 158) | getAffectedResources() { method execute (line 161) | async execute({ x, y, screenWidth, screenHeight }) { method getAffectedResources (line 183) | getAffectedResources() { method execute (line 186) | async execute({ fromX, fromY, toX, toY, screenWidth, screenHeight }) { method getAffectedResources (line 211) | getAffectedResources() { method execute (line 214) | async execute({ x, y, direction, amount, screenWidth, screenHeight }) { method getAffectedResources (line 245) | getAffectedResources() { method execute (line 248) | async execute({ text, delayMs }) { method getAffectedResources (line 277) | getAffectedResources() { method execute (line 280) | async execute({ key }) { method getAffectedResources (line 303) | getAffectedResources() { method execute (line 306) | async execute({ keys }) { FILE: packages/@n8n/fs-proxy/src/tools/screenshot/index.ts method isSupported (line 6) | async isSupported() { FILE: packages/@n8n/fs-proxy/src/tools/screenshot/screenshot.test.ts constant DUMMY_CONTEXT (line 17) | const DUMMY_CONTEXT = { dir: '/test/base' }; type MockImage (line 19) | interface MockImage { function makeMockImage (line 26) | function makeMockImage(width = 1920, height = 1080, rawData = 'fake-raw-... type MockMonitorInstance (line 46) | interface MockMonitorInstance { function makeMockMonitor (line 56) | function makeMockMonitor(opts: { FILE: packages/@n8n/fs-proxy/src/tools/screenshot/screenshot.ts function toJpeg (line 15) | async function toJpeg( method getAffectedResources (line 43) | getAffectedResources() { method execute (line 46) | async execute(_input: z.infer, _context: ToolCo... method getAffectedResources (line 74) | getAffectedResources() { method execute (line 79) | async execute( FILE: packages/@n8n/fs-proxy/src/tools/shell/build-shell-resource.ts constant WRAPPER_COMMANDS (line 3) | const WRAPPER_COMMANDS = new Set(['sudo', 'env', 'time', 'nice', 'nohup'... constant COMPLEX_TOKENS (line 11) | const COMPLEX_TOKENS = ['|', ';', '&', '$(', '`', '<(', '>(', '\n']; function isComplex (line 13) | function isComplex(command: string): boolean { function buildShellResource (line 27) | function buildShellResource(command: string): string { FILE: packages/@n8n/fs-proxy/src/tools/shell/index.ts method isSupported (line 5) | isSupported() { FILE: packages/@n8n/fs-proxy/src/tools/shell/shell-execute.test.ts constant DUMMY_CONTEXT (line 27) | const DUMMY_CONTEXT = { dir: '/test/base' }; function makeMockChild (line 29) | function makeMockChild( function getCloseHandler (line 44) | function getCloseHandler(on: jest.Mock): ((code: number) => void) | unde... function getErrorHandler (line 51) | function getErrorHandler(on: jest.Mock): ((error: Error) => void) | unde... function flushMicrotasks (line 59) | async function flushMicrotasks(ticks = 1) { FILE: packages/@n8n/fs-proxy/src/tools/shell/shell-execute.ts function initializeSandbox (line 10) | async function initializeSandbox({ dir }: { dir: string }) { method getAffectedResources (line 40) | getAffectedResources({ command }) { method execute (line 49) | async execute({ command, timeout = 30_000, cwd }, { dir }) { function spawnCommand (line 54) | async function spawnCommand(command: string, { dir, cwd }: { dir: string... function runCommand (line 71) | async function runCommand( FILE: packages/@n8n/fs-proxy/src/tools/test-utils.ts function textOf (line 4) | function textOf(result: CallToolResult): string { function structuredOf (line 11) | function structuredOf(result: CallToolResult): Record { FILE: packages/@n8n/fs-proxy/src/tools/types.ts type McpTool (line 8) | interface McpTool { type ToolContext (line 19) | interface ToolContext { type ToolAnnotations (line 24) | interface ToolAnnotations { type AffectedResource (line 37) | interface AffectedResource { type ResourceDecision (line 43) | type ResourceDecision = type ConfirmResourceAccess (line 50) | type ConfirmResourceAccess = ( type ToolDefinition (line 54) | interface ToolDefinition { type ToolModule (line 66) | interface ToolModule { FILE: packages/@n8n/fs-proxy/src/tools/utils.ts function formatCallToolResult (line 4) | function formatCallToolResult(data: Record): CallToolRe... function formatErrorResult (line 12) | function formatErrorResult(message: string): CallToolResult { FILE: packages/@n8n/imap/src/errors.ts class ConnectionTimeoutError (line 4) | class ConnectionTimeoutError extends ImapError { method constructor (line 5) | constructor( class ConnectionClosedError (line 17) | class ConnectionClosedError extends ImapError { method constructor (line 18) | constructor() { class ConnectionEndedError (line 23) | class ConnectionEndedError extends ImapError { method constructor (line 24) | constructor() { FILE: packages/@n8n/imap/src/helpers/get-message.ts function getMessage (line 13) | async function getMessage( FILE: packages/@n8n/imap/src/imap-simple.test.ts type MockImap (line 10) | type MockImap = EventEmitter & { function createImap (line 46) | function createImap() { FILE: packages/@n8n/imap/src/imap-simple.ts constant IMAP_EVENTS (line 9) | const IMAP_EVENTS = ['alert', 'mail', 'expunge', 'uidvalidity', 'update'... class ImapSimple (line 11) | class ImapSimple extends EventEmitter { method constructor (line 15) | constructor(private readonly imap: Imap) { method end (line 34) | end(): void { method search (line 64) | async search( method getPartData (line 124) | async getPartData( method addFlags (line 166) | async addFlags( method getBoxes (line 178) | async getBoxes() { method openBox (line 185) | async openBox( method closeBox (line 195) | async closeBox( FILE: packages/@n8n/imap/src/index.ts function connect (line 12) | async function connect(options: ImapSimpleOptions): Promise { function getParts (line 81) | function getParts( FILE: packages/@n8n/imap/src/part-data.ts method constructor (line 7) | constructor(readonly buffer: Buffer) {} method toString (line 9) | toString() { method fromData (line 13) | static fromData(data: string, encoding: string, charset?: string): PartD... class Base64PartData (line 39) | class Base64PartData extends PartData { method constructor (line 40) | constructor(data: string) { class QuotedPrintablePartData (line 45) | class QuotedPrintablePartData extends PartData { method constructor (line 46) | constructor(data: string, charset?: string) { class SevenBitPartData (line 53) | class SevenBitPartData extends PartData { method constructor (line 54) | constructor(data: string) { method toString (line 58) | toString() { class BinaryPartData (line 63) | class BinaryPartData extends PartData { method constructor (line 64) | constructor( method toString (line 71) | toString() { class UuencodedPartData (line 76) | class UuencodedPartData extends PartData { method constructor (line 77) | constructor(data: string) { FILE: packages/@n8n/imap/src/types.ts type ImapSimpleOptions (line 3) | interface ImapSimpleOptions { type MessagePart (line 19) | interface MessagePart { type MessageBodyPart (line 32) | interface MessageBodyPart extends ImapMessageBodyInfo { type Message (line 37) | interface Message { type SearchCriteria (line 43) | type SearchCriteria = string | [string, string]; FILE: packages/@n8n/instance-ai/src/agent/__tests__/sanitize-mcp-schemas.test.ts function makeTools (line 6) | function makeTools( FILE: packages/@n8n/instance-ai/src/agent/instance-agent.ts function buildMcpServers (line 17) | function buildMcpServers( constant ALWAYS_LOADED_TOOLS (line 54) | const ALWAYS_LOADED_TOOLS = new Set(['plan', 'delegate', 'ask-user', 'we... function getOrCreateToolSearchProcessor (line 56) | function getOrCreateToolSearchProcessor(tools: ToolsInput): ToolSearchPr... function getMcpTools (line 68) | async function getMcpTools(mcpServers: McpServerConfig[]): Promise void; type InstanceAiEventBus (line 12) | interface InstanceAiEventBus { FILE: packages/@n8n/instance-ai/src/mcp/mcp-client-manager.ts class McpClientManager (line 5) | class McpClientManager { method connect (line 8) | async connect(servers: McpServerConfig[]): Promise { FILE: packages/@n8n/instance-ai/src/memory/__tests__/memory-config.test.ts method constructor (line 5) | constructor(config: unknown) { type MemoryArgs (line 16) | interface MemoryArgs { function getLastCallArgs (line 27) | function getLastCallArgs(): MemoryArgs { FILE: packages/@n8n/instance-ai/src/memory/memory-config.ts function createMemory (line 13) | function createMemory(config: InstanceAiMemoryConfig): Memory { FILE: packages/@n8n/instance-ai/src/memory/title-utils.ts constant MAX_TITLE_LENGTH (line 5) | const MAX_TITLE_LENGTH = 60; function truncateToTitle (line 8) | function truncateToTitle(message: string): string { constant TITLE_SYSTEM_PROMPT (line 16) | const TITLE_SYSTEM_PROMPT = [ function generateThreadTitle (line 27) | async function generateThreadTitle( FILE: packages/@n8n/instance-ai/src/memory/working-memory-template.ts constant WORKING_MEMORY_TEMPLATE (line 1) | const WORKING_MEMORY_TEMPLATE = ` FILE: packages/@n8n/instance-ai/src/planned-tasks/__tests__/planned-task-service.test.ts function makeStorage (line 5) | function makeStorage(): jest.Mocked { function makeTask (line 14) | function makeTask(overrides: Partial = {}): PlannedTask { function makeGraph (line 25) | function makeGraph(overrides: Partial = {}): PlannedTa... function makeTaskRecord (line 34) | function makeTaskRecord(overrides: Partial = {}): Pla... FILE: packages/@n8n/instance-ai/src/planned-tasks/planned-task-service.ts function hasDuplicateIds (line 10) | function hasDuplicateIds(tasks: PlannedTask[]): boolean { function validateDependencies (line 14) | function validateDependencies(tasks: PlannedTask[]): void { function isSuccess (line 55) | function isSuccess(task: PlannedTaskRecord): boolean { function updateTaskRecord (line 59) | function updateTaskRecord( class PlannedTaskCoordinator (line 72) | class PlannedTaskCoordinator implements PlannedTaskService { method constructor (line 73) | constructor(private readonly storage: PlannedTaskStorage) {} method createPlan (line 75) | async createPlan( method getGraph (line 96) | async getGraph(threadId: string): Promise { method markRunning (line 100) | async markRunning( method markSucceeded (line 117) | async markSucceeded( method markFailed (line 134) | async markFailed( method markCancelled (line 149) | async markCancelled( method tick (line 164) | async tick( method clear (line 217) | async clear(threadId: string): Promise { FILE: packages/@n8n/instance-ai/src/runtime/__tests__/background-task-manager.test.ts function makeSpawnOptions (line 8) | function makeSpawnOptions( function flushPromises (line 329) | async function flushPromises(): Promise { function createDeferred (line 335) | function createDeferred(): { FILE: packages/@n8n/instance-ai/src/runtime/__tests__/resumable-stream-executor.test.ts class MockRunTree (line 14) | class MockRunTree { method constructor (line 33) | constructor(config: { method metadata (line 79) | get metadata(): Record | undefined { method metadata (line 83) | set metadata(metadata: Record | undefined) { method createChild (line 91) | createChild(config: { method postRun (line 112) | async postRun(): Promise { method end (line 116) | async end( method patchRun (line 134) | async patchRun(): Promise { method addEvent (line 138) | addEvent(event: Record | string): void { type LangSmithRuntimeMock (line 183) | type LangSmithRuntimeMock = { function createEventBus (line 203) | function createEventBus() { function createDeferred (line 221) | function createDeferred() { type PublishedEvent (line 232) | interface PublishedEvent { FILE: packages/@n8n/instance-ai/src/runtime/__tests__/run-state-registry.test.ts type TestUser (line 18) | interface TestUser { function createSuspendedRunState (line 23) | function createSuspendedRunState( function createBackgroundTask (line 40) | function createBackgroundTask( FILE: packages/@n8n/instance-ai/src/runtime/__tests__/stream-runner.test.ts function createEventBus (line 16) | function createEventBus() { FILE: packages/@n8n/instance-ai/src/runtime/background-task-manager.ts type BackgroundTaskStatus (line 3) | type BackgroundTaskStatus = 'running' | 'completed' | 'failed' | 'cancel... type ManagedBackgroundTask (line 5) | interface ManagedBackgroundTask { type SpawnManagedBackgroundTaskOptions (line 24) | interface SpawnManagedBackgroundTaskOptions { type BackgroundTaskMessageOptions (line 44) | interface BackgroundTaskMessageOptions< class BackgroundTaskManager (line 50) | class BackgroundTaskManager { method constructor (line 53) | constructor(private readonly maxConcurrentPerThread = 5) {} method getTaskSnapshots (line 55) | getTaskSnapshots(threadId: string): ManagedBackgroundTask[] { method getRunningTasks (line 59) | getRunningTasks(threadId: string): ManagedBackgroundTask[] { method queueCorrection (line 65) | queueCorrection( method cancelTask (line 77) | cancelTask(threadId: string, taskId: string): ManagedBackgroundTask | ... method cancelThread (line 87) | cancelThread(threadId: string): ManagedBackgroundTask[] { method cancelAll (line 99) | cancelAll(): ManagedBackgroundTask[] { method spawn (line 109) | spawn(options: SpawnManagedBackgroundTaskOptions): boolean { method executeTask (line 139) | private async executeTask( function enrichMessageWithRunningTasks (line 172) | async function enrichMessageWithRunningTasks< FILE: packages/@n8n/instance-ai/src/runtime/resumable-stream-executor.ts type ConfirmationRequestEvent (line 11) | type ConfirmationRequestEvent = Extract { function getFiniteNumber (line 161) | function getFiniteNumber(value: unknown): number | undefined { function dedupeTags (line 165) | function dedupeTags(tags: Array): string[] | undefin... function truncateTraceString (line 170) | function truncateTraceString(value: string): string { function sanitizeTraceValue (line 178) | function sanitizeTraceValue(value: unknown, depth = 0): unknown { function sanitizeTracePayload (line 228) | function sanitizeTracePayload(value: unknown): Record { function normalizeModelMetadata (line 240) | function normalizeModelMetadata(modelId: unknown): NormalizedModelMetada... function formatLlmRunName (line 255) | function formatLlmRunName(model: NormalizedModelMetadata): string { function parseMaybeJson (line 267) | function parseMaybeJson(value: unknown): unknown { function buildLlmInputPayload (line 279) | function buildLlmInputPayload(request: unknown): Record { function extractInputTokenCount (line 320) | function extractInputTokenCount(usage: Record): number ... function extractOutputTokenCount (line 341) | function extractOutputTokenCount(usage: Record): number... function extractReasoningTokenCount (line 355) | function extractReasoningTokenCount(usage: Record): num... function extractCacheCreationTokens (line 363) | function extractCacheCreationTokens(raw: unknown): number | undefined { function extractCacheReadTokens (line 392) | function extractCacheReadTokens(raw: unknown): number | undefined { function extractUsageFromProviderMetadata (line 422) | function extractUsageFromProviderMetadata( function mergeUsageMetadata (line 446) | function mergeUsageMetadata( function buildUsageMetadata (line 490) | function buildUsageMetadata( function summarizeUsageLikeValue (line 562) | function summarizeUsageLikeValue(value: unknown): Record | undefined):... function resolveSegmentUsage (line 661) | async function resolveSegmentUsage(source: ResumableStreamSource): Promi... function maybeBackfillRecordUsageFromSegment (line 673) | function maybeBackfillRecordUsageFromSegment( function toTraceObject (line 704) | function toTraceObject(value: unknown): Record { function extractResponseMessages (line 712) | function extractResponseMessages(value: unknown): unknown[] | undefined { function extractTextParts (line 716) | function extractTextParts(value: unknown): string[] { function extractTraceToolCallsFromMessage (line 756) | function extractTraceToolCallsFromMessage(message: unknown): Array>)... function normalizeTraceMessage (line 831) | function normalizeTraceMessage(message: unknown): Record | unde... function isMemoryToolTrace (line 1011) | function isMemoryToolTrace(toolName: string): boolean { function summarizeWorkingMemoryInput (line 1015) | function summarizeWorkingMemoryInput(memory: string): Record... function resolveActorParentRun (line 1051) | function resolveActorParentRun(parentRun: RunTree): RunTree { function startSyntheticToolGroupRun (line 1066) | async function startSyntheticToolGroupRun( function startSyntheticToolTrace (line 1092) | async function startSyntheticToolTrace( function finishSyntheticToolTrace (line 1148) | async function finishSyntheticToolTrace( function finalizeSyntheticToolTraces (line 1227) | async function finalizeSyntheticToolTraces( function startLlmStepTrace (line 1262) | async function startLlmStepTrace( function findActiveStepRecord (line 1306) | function findActiveStepRecord( function recordFirstTokenEvent (line 1323) | function recordFirstTokenEvent(record: LlmStepTraceRecord): void { function updateStepRecordFromChunk (line 1332) | function updateStepRecordFromChunk( function applyStepFinishChunk (line 1373) | function applyStepFinishChunk( function isStepResultLike (line 1451) | function isStepResultLike(value: unknown): value is StepResultLike { function toStepResultLike (line 1455) | function toStepResultLike(value: unknown): StepResultLike | undefined { function toStepStartLike (line 1459) | function toStepStartLike(value: unknown): StepStartLike | undefined { function getSyntheticStepMessageId (line 1463) | function getSyntheticStepMessageId(stepResult: StepResultLike, index: nu... function createFallbackStepTrace (line 1473) | async function createFallbackStepTrace( function applyStepResultToRecord (line 1543) | function applyStepResultToRecord(record: LlmStepTraceRecord, stepResult:... function createLlmStepTraceHooks (line 1594) | function createLlmStepTraceHooks( function finalizeLlmStepTraces (line 1840) | async function finalizeLlmStepTraces( function executeResumableStream (line 1908) | async function executeResumableStream( function publishCorrections (line 2100) | function publishCorrections(context: ResumableStreamContext, corrections... function isErrorChunk (line 2111) | function isErrorChunk(chunk: unknown): boolean { function waitForConfirmation (line 2119) | async function waitForConfirmation( function isSameSuspension (line 2144) | function isSameSuspension(left: SuspensionInfo, right: SuspensionInfo): ... FILE: packages/@n8n/instance-ai/src/runtime/run-state-registry.ts type ActiveRunState (line 6) | interface ActiveRunState { type SuspendedRunState (line 13) | interface SuspendedRunState extends ActiveRunState { type ConfirmationData (line 23) | interface ConfirmationData { type PendingConfirmation (line 42) | interface PendingConfirmation { type BackgroundTaskStatusSnapshot (line 49) | interface BackgroundTaskStatusSnapshot { type StartRunOptions (line 60) | interface StartRunOptions { type StartedRunState (line 67) | interface StartedRunState extends ActiveRunState { class RunStateRegistry (line 71) | class RunStateRegistry { method startRun (line 86) | startRun(options: StartRunOptions): StartedRunState { method getThreadStatus (line 116) | getThreadStatus( method hasLiveRun (line 137) | hasLiveRun(threadId: string): boolean { method hasActiveRun (line 141) | hasActiveRun(threadId: string): boolean { method hasSuspendedRun (line 145) | hasSuspendedRun(threadId: string): boolean { method getMessageGroupId (line 149) | getMessageGroupId(threadId: string): string | undefined { method getLiveMessageGroupId (line 153) | getLiveMessageGroupId( method getRunIdsForMessageGroup (line 168) | getRunIdsForMessageGroup(messageGroupId: string): string[] { method getActiveRunId (line 172) | getActiveRunId(threadId: string): string | undefined { method getActiveRun (line 176) | getActiveRun(threadId: string): ActiveRunState | undefined { method getSuspendedRun (line 180) | getSuspendedRun(threadId: string): SuspendedRunState | undefined { method attachTracing (line 184) | attachTracing(threadId: string, tracing: InstanceAiTraceContext): void { method clearActiveRun (line 194) | clearActiveRun(threadId: string): void { method suspendRun (line 198) | suspendRun(threadId: string, state: SuspendedRunState): void { method findSuspendedByRequestId (line 203) | findSuspendedByRequestId(requestId: string): SuspendedRunState ... method activateSuspendedRun (line 210) | activateSuspendedRun(threadId: string): SuspendedRunState | und... method registerPendingConfirmation (line 224) | registerPendingConfirmation(requestId: string, pending: PendingConfirm... method resolvePendingConfirmation (line 228) | resolvePendingConfirmation( method cancelThread (line 241) | cancelThread( method getThreadUser (line 263) | getThreadUser(threadId: string): TUser | undefined { method getThreadResearchMode (line 267) | getThreadResearchMode(threadId: string): boolean | undefined { method sweepTimedOut (line 276) | sweepTimedOut(maxAgeMs: number): { method rejectPendingConfirmation (line 300) | rejectPendingConfirmation(requestId: string): boolean { method deleteMessageGroup (line 309) | deleteMessageGroup(groupId: string): void { method clearThread (line 318) | clearThread( method shutdown (line 339) | shutdown(cancelledConfirmation: ConfirmationData = { approved: false }... FILE: packages/@n8n/instance-ai/src/runtime/stream-runner.ts type StreamableAgent (line 15) | interface StreamableAgent { type StreamRunOptions (line 19) | interface StreamRunOptions { type StreamRunResult (line 27) | interface StreamRunResult { function streamAgentRun (line 35) | async function streamAgentRun( function resumeAgentRun (line 63) | async function resumeAgentRun( function consumeStream (line 99) | async function consumeStream( FILE: packages/@n8n/instance-ai/src/runtime/working-memory-tracing.ts type WorkingMemoryBinding (line 4) | interface WorkingMemoryBinding { type StreamHandleLike (line 9) | interface StreamHandleLike { type WorkingMemoryContextTraceOptions (line 17) | interface WorkingMemoryContextTraceOptions { function countLines (line 28) | function countLines(value: string): number { function getWorkingMemoryBinding (line 32) | function getWorkingMemoryBinding(memory: unknown): WorkingMemoryBinding ... function getWorkingMemoryRole (line 50) | function getWorkingMemoryRole(resourceId: string | undefined): string | ... function summarizeInput (line 63) | function summarizeInput(value: unknown): Record { function summarizeResumeData (line 95) | function summarizeResumeData(resumeData: unknown): Record( FILE: packages/@n8n/instance-ai/src/storage/__tests__/mastra-iteration-log-storage.test.ts function makeMemory (line 13) | function makeMemory(): Memory { function makeEntry (line 19) | function makeEntry(overrides: Partial = {}): IterationEn... FILE: packages/@n8n/instance-ai/src/storage/__tests__/mastra-task-storage.test.ts function makeMemory (line 13) | function makeMemory(): Memory { FILE: packages/@n8n/instance-ai/src/storage/__tests__/thread-patch.test.ts function makeMemory (line 15) | function makeMemory(overrides: Partial = {}): Memory { FILE: packages/@n8n/instance-ai/src/storage/__tests__/workflow-loop-storage.test.ts function makeMemory (line 13) | function makeMemory(): Memory { function makeState (line 19) | function makeState(overrides: Partial = {}): Workflow... function makeAttempt (line 31) | function makeAttempt(overrides: Partial = {}): AttemptRec... FILE: packages/@n8n/instance-ai/src/storage/agent-tree-snapshot.ts type AgentTreeSnapshot (line 3) | interface AgentTreeSnapshot { FILE: packages/@n8n/instance-ai/src/storage/iteration-log.ts type IterationEntry (line 14) | type IterationEntry = z.infer; type IterationLog (line 18) | interface IterationLog { function formatPreviousAttempts (line 30) | function formatPreviousAttempts(entries: IterationEntry[]): string { FILE: packages/@n8n/instance-ai/src/storage/mastra-iteration-log-storage.ts constant METADATA_KEY (line 8) | const METADATA_KEY = 'instanceAiIterationLog'; class MastraIterationLogStorage (line 12) | class MastraIterationLogStorage implements IterationLog { method constructor (line 13) | constructor(private readonly memory: Memory) {} method append (line 15) | async append(threadId: string, taskKey: string, entry: IterationEntry)... method getForTask (line 35) | async getForTask(threadId: string, taskKey: string): Promise { method parseLog (line 54) | private parseLog(raw: unknown): Record { FILE: packages/@n8n/instance-ai/src/storage/mastra-task-storage.ts constant TASKS_METADATA_KEY (line 8) | const TASKS_METADATA_KEY = 'instanceAiTasks'; class MastraTaskStorage (line 10) | class MastraTaskStorage implements TaskStorage { method constructor (line 11) | constructor(private readonly memory: Memory) {} method get (line 13) | async get(threadId: string): Promise { method save (line 20) | async save(threadId: string, tasks: TaskList): Promise { FILE: packages/@n8n/instance-ai/src/storage/planned-task-storage.ts constant METADATA_KEY (line 7) | const METADATA_KEY = 'instanceAiPlannedTasks'; function parseGraph (line 43) | function parseGraph(raw: unknown): PlannedTaskGraph | null { class PlannedTaskStorage (line 48) | class PlannedTaskStorage { method constructor (line 49) | constructor(private readonly memory: Memory) {} method get (line 51) | async get(threadId: string): Promise { method save (line 57) | async save(threadId: string, graph: PlannedTaskGraph): Promise { method update (line 73) | async update( method clear (line 101) | async clear(threadId: string): Promise { FILE: packages/@n8n/instance-ai/src/storage/thread-patch.ts type ThreadPatch (line 4) | interface ThreadPatch { type PatchableThreadMemory (line 9) | interface PatchableThreadMemory extends Memory { type PatchableThreadStore (line 16) | interface PatchableThreadStore { function isPatchableThreadMemory (line 23) | function isPatchableThreadMemory(memory: Memory): memory is PatchableThr... function isPatchableThreadStore (line 27) | function isPatchableThreadStore(store: unknown): store is PatchableThrea... function getMethod (line 36) | function getMethod(target: object, key: string): ((...args: never[]) => ... function patchThread (line 46) | async function patchThread( FILE: packages/@n8n/instance-ai/src/storage/workflow-loop-storage.ts constant METADATA_KEY (line 16) | const METADATA_KEY = 'instanceAiWorkflowLoop'; type WorkflowLoopWorkItemRecord (line 26) | type WorkflowLoopWorkItemRecord = z.infer; class WorkflowLoopStorage (line 28) | class WorkflowLoopStorage { method constructor (line 29) | constructor(private readonly memory: Memory) {} method getWorkItem (line 31) | async getWorkItem( method saveWorkItem (line 39) | async saveWorkItem( method getActiveWorkItem (line 60) | async getActiveWorkItem(threadId: string): Promise { FILE: packages/@n8n/instance-ai/src/stream/consume-with-hitl.ts type ConsumeWithHitlOptions (line 10) | interface ConsumeWithHitlOptions { type ConsumeWithHitlResult (line 25) | interface ConsumeWithHitlResult { function consumeStreamWithHitl (line 38) | async function consumeStreamWithHitl( FILE: packages/@n8n/instance-ai/src/stream/map-chunk.ts function isRecord (line 17) | function isRecord(value: unknown): value is Record { type ErrorInfo (line 21) | interface ErrorInfo { function extractErrorInfo (line 30) | function extractErrorInfo(error: unknown): ErrorInfo { function mapMastraChunkToEvent (line 76) | function mapMastraChunkToEvent( FILE: packages/@n8n/instance-ai/src/tools/__tests__/get-best-practices.tool.test.ts type BestPracticesOutput (line 3) | interface BestPracticesOutput { FILE: packages/@n8n/instance-ai/src/tools/__tests__/mermaid.utils.test.ts function makeNode (line 5) | function makeNode( FILE: packages/@n8n/instance-ai/src/tools/__tests__/node-configuration.utils.test.ts function makeNode (line 16) | function makeNode( function makeWorkflow (line 25) | function makeWorkflow(nodes: TemplateNode[]): WorkflowMetadata { FILE: packages/@n8n/instance-ai/src/tools/__tests__/search-template-parameters.tool.test.ts type ParametersToolOutput (line 9) | interface ParametersToolOutput { FILE: packages/@n8n/instance-ai/src/tools/best-practices/get-best-practices.tool.ts function createGetBestPracticesTool (line 7) | function createGetBestPracticesTool() { FILE: packages/@n8n/instance-ai/src/tools/best-practices/guides/chatbot.ts function getDocumentation (line 1) | function getDocumentation(): string { FILE: packages/@n8n/instance-ai/src/tools/best-practices/guides/content-generation.ts function getDocumentation (line 1) | function getDocumentation(): string { FILE: packages/@n8n/instance-ai/src/tools/best-practices/guides/data-extraction.ts function getDocumentation (line 1) | function getDocumentation(): string { FILE: packages/@n8n/instance-ai/src/tools/best-practices/guides/data-persistence.ts function getDocumentation (line 1) | function getDocumentation(): string { FILE: packages/@n8n/instance-ai/src/tools/best-practices/guides/data-transformation.ts function getDocumentation (line 1) | function getDocumentation(): string { FILE: packages/@n8n/instance-ai/src/tools/best-practices/guides/document-processing.ts function getDocumentation (line 1) | function getDocumentation(): string { FILE: packages/@n8n/instance-ai/src/tools/best-practices/guides/form-input.ts function getDocumentation (line 1) | function getDocumentation(): string { FILE: packages/@n8n/instance-ai/src/tools/best-practices/guides/notification.ts function getDocumentation (line 1) | function getDocumentation(): string { FILE: packages/@n8n/instance-ai/src/tools/best-practices/guides/scheduling.ts function getDocumentation (line 1) | function getDocumentation(): string { FILE: packages/@n8n/instance-ai/src/tools/best-practices/guides/scraping-and-research.ts function getDocumentation (line 1) | function getDocumentation(): string { FILE: packages/@n8n/instance-ai/src/tools/best-practices/guides/triage.ts function getDocumentation (line 1) | function getDocumentation(): string { FILE: packages/@n8n/instance-ai/src/tools/best-practices/techniques.ts type WorkflowTechniqueType (line 39) | type WorkflowTechniqueType = (typeof WorkflowTechnique)[keyof typeof Wor... FILE: packages/@n8n/instance-ai/src/tools/credentials/__tests__/delete-credential.tool.test.ts function createMockContext (line 10) | function createMockContext( function createToolCtx (line 33) | function createToolCtx(options?: { resumeData?: { approved: boolean } }) { FILE: packages/@n8n/instance-ai/src/tools/credentials/__tests__/get-credential.tool.test.ts function createMockContext (line 8) | function createMockContext(): InstanceAiContext { function makeCredentialDetail (line 24) | function makeCredentialDetail(overrides?: Partial): Cr... FILE: packages/@n8n/instance-ai/src/tools/credentials/__tests__/search-credential-types.tool.test.ts function createMockContext (line 8) | function createMockContext( FILE: packages/@n8n/instance-ai/src/tools/credentials/__tests__/setup-credentials-mock.tool.test.ts function createMockContext (line 8) | function createMockContext(): InstanceAiContext { function createToolCtx (line 24) | function createToolCtx(options?: { FILE: packages/@n8n/instance-ai/src/tools/credentials/delete-credential.tool.ts function createDeleteCredentialTool (line 8) | function createDeleteCredentialTool(context: InstanceAiContext) { FILE: packages/@n8n/instance-ai/src/tools/credentials/get-credential.tool.ts function createGetCredentialTool (line 6) | function createGetCredentialTool(context: InstanceAiContext) { FILE: packages/@n8n/instance-ai/src/tools/credentials/list-credentials.tool.ts function createListCredentialsTool (line 6) | function createListCredentialsTool(context: InstanceAiContext) { FILE: packages/@n8n/instance-ai/src/tools/credentials/search-credential-types.tool.ts constant GENERIC_AUTH_TYPES (line 7) | const GENERIC_AUTH_TYPES = new Set([ function createSearchCredentialTypesTool (line 18) | function createSearchCredentialTypesTool(context: InstanceAiContext) { FILE: packages/@n8n/instance-ai/src/tools/credentials/setup-credentials.tool.ts function createSetupCredentialsTool (line 8) | function createSetupCredentialsTool(context: InstanceAiContext) { FILE: packages/@n8n/instance-ai/src/tools/credentials/test-credential.tool.ts function createTestCredentialTool (line 6) | function createTestCredentialTool(context: InstanceAiContext) { FILE: packages/@n8n/instance-ai/src/tools/data-tables/add-data-table-column.tool.ts function createAddDataTableColumnTool (line 10) | function createAddDataTableColumnTool(context: InstanceAiContext) { FILE: packages/@n8n/instance-ai/src/tools/data-tables/create-data-table.tool.ts function createCreateDataTableTool (line 10) | function createCreateDataTableTool(context: InstanceAiContext) { FILE: packages/@n8n/instance-ai/src/tools/data-tables/delete-data-table-column.tool.ts function createDeleteDataTableColumnTool (line 8) | function createDeleteDataTableColumnTool(context: InstanceAiContext) { FILE: packages/@n8n/instance-ai/src/tools/data-tables/delete-data-table-rows.tool.ts function createDeleteDataTableRowsTool (line 21) | function createDeleteDataTableRowsTool(context: InstanceAiContext) { FILE: packages/@n8n/instance-ai/src/tools/data-tables/delete-data-table.tool.ts function createDeleteDataTableTool (line 8) | function createDeleteDataTableTool(context: InstanceAiContext) { FILE: packages/@n8n/instance-ai/src/tools/data-tables/get-data-table-schema.tool.ts function createGetDataTableSchemaTool (line 6) | function createGetDataTableSchemaTool(context: InstanceAiContext) { FILE: packages/@n8n/instance-ai/src/tools/data-tables/insert-data-table-rows.tool.ts function createInsertDataTableRowsTool (line 8) | function createInsertDataTableRowsTool(context: InstanceAiContext) { FILE: packages/@n8n/instance-ai/src/tools/data-tables/list-data-tables.tool.ts function createListDataTablesTool (line 6) | function createListDataTablesTool(context: InstanceAiContext) { FILE: packages/@n8n/instance-ai/src/tools/data-tables/query-data-table-rows.tool.ts function createQueryDataTableRowsTool (line 17) | function createQueryDataTableRowsTool(context: InstanceAiContext) { FILE: packages/@n8n/instance-ai/src/tools/data-tables/rename-data-table-column.tool.ts function createRenameDataTableColumnTool (line 8) | function createRenameDataTableColumnTool(context: InstanceAiContext) { FILE: packages/@n8n/instance-ai/src/tools/data-tables/update-data-table-rows.tool.ts function createUpdateDataTableRowsTool (line 19) | function createUpdateDataTableRowsTool(context: InstanceAiContext) { FILE: packages/@n8n/instance-ai/src/tools/executions/__tests__/get-execution.tool.test.ts function createMockContext (line 8) | function createMockContext(): InstanceAiContext { FILE: packages/@n8n/instance-ai/src/tools/executions/__tests__/get-node-output.tool.test.ts function createMockContext (line 8) | function createMockContext(): InstanceAiContext { FILE: packages/@n8n/instance-ai/src/tools/executions/__tests__/list-executions.tool.test.ts function createMockContext (line 8) | function createMockContext(): InstanceAiContext { type ListExecutionsOutput (line 56) | interface ListExecutionsOutput { FILE: packages/@n8n/instance-ai/src/tools/executions/debug-execution.tool.ts function createDebugExecutionTool (line 6) | function createDebugExecutionTool(context: InstanceAiContext) { FILE: packages/@n8n/instance-ai/src/tools/executions/get-execution.tool.ts function createGetExecutionTool (line 6) | function createGetExecutionTool(context: InstanceAiContext) { FILE: packages/@n8n/instance-ai/src/tools/executions/get-node-output.tool.ts function createGetNodeOutputTool (line 6) | function createGetNodeOutputTool(context: InstanceAiContext) { FILE: packages/@n8n/instance-ai/src/tools/executions/list-executions.tool.ts function createListExecutionsTool (line 6) | function createListExecutionsTool(context: InstanceAiContext) { FILE: packages/@n8n/instance-ai/src/tools/executions/run-workflow.tool.ts constant MAX_TIMEOUT_MS (line 8) | const MAX_TIMEOUT_MS = 600_000; function createRunWorkflowTool (line 10) | function createRunWorkflowTool(context: InstanceAiContext) { FILE: packages/@n8n/instance-ai/src/tools/executions/stop-execution.tool.ts function createStopExecutionTool (line 6) | function createStopExecutionTool(context: InstanceAiContext) { FILE: packages/@n8n/instance-ai/src/tools/filesystem/create-tools-from-mcp-server.ts function createToolsFromLocalMcpServer (line 22) | function createToolsFromLocalMcpServer(server: LocalMcpServer): ToolsInp... FILE: packages/@n8n/instance-ai/src/tools/filesystem/get-file-tree.tool.ts function createGetFileTreeTool (line 8) | function createGetFileTreeTool(context: InstanceAiContext) { FILE: packages/@n8n/instance-ai/src/tools/filesystem/list-files.tool.ts function createListFilesTool (line 8) | function createListFilesTool(context: InstanceAiContext) { FILE: packages/@n8n/instance-ai/src/tools/filesystem/read-file.tool.ts function createReadFileTool (line 9) | function createReadFileTool(context: InstanceAiContext) { FILE: packages/@n8n/instance-ai/src/tools/filesystem/search-files.tool.ts function createSearchFilesTool (line 9) | function createSearchFilesTool(context: InstanceAiContext) { FILE: packages/@n8n/instance-ai/src/tools/index.ts function createAllTools (line 77) | function createAllTools(context: InstanceAiContext) { function createOrchestrationTools (line 165) | function createOrchestrationTools(context: OrchestrationContext) { function hasGatewayBrowserTools (line 200) | function hasGatewayBrowserTools(context: OrchestrationContext): boolean { FILE: packages/@n8n/instance-ai/src/tools/nodes/__tests__/get-suggested-nodes.tool.test.ts type SuggestedNodesResult (line 8) | interface SuggestedNodesResult { FILE: packages/@n8n/instance-ai/src/tools/nodes/__tests__/node-search-engine.test.ts function makeNode (line 9) | function makeNode(overrides: Partial & { name: strin... FILE: packages/@n8n/instance-ai/src/tools/nodes/explore-node-resources.tool.ts function createExploreNodeResourcesTool (line 6) | function createExploreNodeResourcesTool(context: InstanceAiContext) { FILE: packages/@n8n/instance-ai/src/tools/nodes/get-node-description.tool.ts function createGetNodeDescriptionTool (line 6) | function createGetNodeDescriptionTool(context: InstanceAiContext) { FILE: packages/@n8n/instance-ai/src/tools/nodes/get-node-type-definition.tool.ts function createGetNodeTypeDefinitionTool (line 17) | function createGetNodeTypeDefinitionTool(context: InstanceAiContext) { FILE: packages/@n8n/instance-ai/src/tools/nodes/get-suggested-nodes.tool.ts function createGetSuggestedNodesTool (line 6) | function createGetSuggestedNodesTool() { FILE: packages/@n8n/instance-ai/src/tools/nodes/list-nodes.tool.ts function createListNodesTool (line 6) | function createListNodesTool(context: InstanceAiContext) { FILE: packages/@n8n/instance-ai/src/tools/nodes/node-search-engine.ts constant DEFAULT_SUBNODES (line 27) | const DEFAULT_SUBNODES: Record = { constant NODE_SEARCH_KEYS (line 39) | const NODE_SEARCH_KEYS = [ function getTypeName (line 50) | function getTypeName(nodeName: string): string { constant SCORE_WEIGHTS (line 57) | const SCORE_WEIGHTS = { function getLatestVersion (line 62) | function getLatestVersion(version: number | number[]): number { function extractSubnodeRequirements (line 67) | function extractSubnodeRequirements(inputs?: BuilderHintInputs): Subnode... function dedupeNodes (line 79) | function dedupeNodes(nodes: SearchableNodeType[]): SearchableNodeType[] { class NodeSearchEngine (line 107) | class NodeSearchEngine { method constructor (line 110) | constructor(nodeTypes: SearchableNodeType[]) { method searchByName (line 121) | searchByName(query: string, limit: number = 20): NodeSearchResult[] { method searchByConnectionType (line 227) | searchByConnectionType( method formatResult (line 298) | formatResult(result: NodeSearchResult): string { method getSubnodesForConnectionType (line 346) | getSubnodesForConnectionType(connectionType: string): string[] { method getRelatedSubnodeIds (line 360) | getRelatedSubnodeIds(nodeIds: string[], excludeNodeIds: Set): ... method getNodeType (line 401) | getNodeType(nodeId: string): SearchableNodeType | undefined { method getConnectionScore (line 411) | private getConnectionScore(nodeType: SearchableNodeType, connectionTyp... method isAiConnectionType (line 434) | static isAiConnectionType(connectionType: string): boolean { method getAiConnectionTypes (line 442) | static getAiConnectionTypes(): readonly string[] { FILE: packages/@n8n/instance-ai/src/tools/nodes/node-search-engine.types.ts constant AI_CONNECTION_TYPES (line 14) | const AI_CONNECTION_TYPES = [ type AiConnectionType (line 29) | type AiConnectionType = (typeof AI_CONNECTION_TYPES)[number]; type BuilderHintInputConfig (line 36) | interface BuilderHintInputConfig { type BuilderHintInputs (line 44) | type BuilderHintInputs = Partial>; type SearchableNodeType (line 57) | interface SearchableNodeType { type SubnodeRequirement (line 78) | interface SubnodeRequirement { type NodeSearchResult (line 88) | interface NodeSearchResult { FILE: packages/@n8n/instance-ai/src/tools/nodes/search-nodes.tool.ts function createSearchNodesTool (line 7) | function createSearchNodesTool(context: InstanceAiContext) { FILE: packages/@n8n/instance-ai/src/tools/nodes/suggested-nodes-data.ts type CategorySuggestedNode (line 7) | interface CategorySuggestedNode { type CategoryData (line 12) | interface CategoryData { FILE: packages/@n8n/instance-ai/src/tools/orchestration/__tests__/correct-background-task.tool.test.ts function createMockContext (line 4) | function createMockContext(overrides: Partial = {}... FILE: packages/@n8n/instance-ai/src/tools/orchestration/__tests__/delegate.tool.test.ts function createMockContext (line 23) | function createMockContext(domainTools: Record = {}): O... function makeValidInput (line 49) | function makeValidInput() { FILE: packages/@n8n/instance-ai/src/tools/orchestration/__tests__/report-verification-verdict.tool.test.ts function createWorkflowTaskService (line 5) | function createWorkflowTaskService(reportVerificationVerdict = jest.fn()) { function createMockContext (line 14) | function createMockContext(overrides: Partial = {}... FILE: packages/@n8n/instance-ai/src/tools/orchestration/__tests__/research-with-agent.tool.test.ts function createMockEventBus (line 25) | function createMockEventBus(): InstanceAiEventBus { function createMockContext (line 36) | function createMockContext(overrides?: Partial): O... FILE: packages/@n8n/instance-ai/src/tools/orchestration/browser-credential-setup.tool.ts constant BROWSER_AGENT_MAX_STEPS (line 32) | const BROWSER_AGENT_MAX_STEPS = 300; type BrowserToolSource (line 34) | type BrowserToolSource = 'gateway' | 'chrome-devtools-mcp'; type BrowserToolNames (line 36) | interface BrowserToolNames { constant TOOL_NAMES (line 47) | const TOOL_NAMES: Record = { function buildBrowserAgentPrompt (line 70) | function buildBrowserAgentPrompt(source: BrowserToolSource): string { function createPauseForUserTool (line 193) | function createPauseForUserTool() { function createBrowserCredentialSetupTool (line 230) | function createBrowserCredentialSetupTool(context: OrchestrationContext) { FILE: packages/@n8n/instance-ai/src/tools/orchestration/build-workflow-agent.prompt.ts constant SDK_RULES_AND_PATTERNS (line 18) | const SDK_RULES_AND_PATTERNS = `## SDK Code Rules constant BUILDER_AGENT_PROMPT (line 489) | const BUILDER_AGENT_PROMPT = `You are an expert n8n workflow builder. Yo... function createSandboxBuilderAgentPrompt (line 542) | function createSandboxBuilderAgentPrompt(workspaceRoot: string): string { FILE: packages/@n8n/instance-ai/src/tools/orchestration/build-workflow-agent.tool.ts constant UNTESTABLE_TRIGGERS (line 55) | const UNTESTABLE_TRIGGERS = new Set([ function triggerLabel (line 63) | function triggerLabel(nodeType: string): string { constant UNTESTABLE_TRIGGER_LABELS (line 68) | const UNTESTABLE_TRIGGER_LABELS = [...UNTESTABLE_TRIGGERS].map(triggerLa... function detectTriggerType (line 70) | function detectTriggerType(attempt: SubmitWorkflowAttempt | undefined): ... function buildOutcome (line 78) | function buildOutcome( constant BUILDER_MAX_STEPS (line 110) | const BUILDER_MAX_STEPS = 30; constant DETACHED_BUILDER_REQUIREMENTS (line 112) | const DETACHED_BUILDER_REQUIREMENTS = `## Detached Task Contract function hashContent (line 158) | function hashContent(content: string | null): string { type StartBuildWorkflowAgentInput (line 164) | interface StartBuildWorkflowAgentInput { type StartedWorkflowBuildTask (line 173) | interface StartedWorkflowBuildTask { function startBuildWorkflowAgentTask (line 179) | async function startBuildWorkflowAgentTask( function createBuildWorkflowAgentTool (line 616) | function createBuildWorkflowAgentTool(context: OrchestrationContext) { FILE: packages/@n8n/instance-ai/src/tools/orchestration/cancel-background-task.tool.ts function createCancelBackgroundTaskTool (line 11) | function createCancelBackgroundTaskTool(context: OrchestrationContext) { FILE: packages/@n8n/instance-ai/src/tools/orchestration/correct-background-task.tool.ts function createCorrectBackgroundTaskTool (line 11) | function createCorrectBackgroundTaskTool(context: OrchestrationContext) { FILE: packages/@n8n/instance-ai/src/tools/orchestration/data-table-agent.prompt.ts constant DATA_TABLE_AGENT_PROMPT (line 8) | const DATA_TABLE_AGENT_PROMPT = `You are a data table management agent f... FILE: packages/@n8n/instance-ai/src/tools/orchestration/data-table-agent.tool.ts constant DATA_TABLE_MAX_STEPS (line 34) | const DATA_TABLE_MAX_STEPS = 15; constant DATA_TABLE_TOOL_NAMES (line 36) | const DATA_TABLE_TOOL_NAMES = [ type StartDataTableAgentInput (line 50) | interface StartDataTableAgentInput { type StartedBackgroundAgentTask (line 58) | interface StartedBackgroundAgentTask { function startDataTableAgentTask (line 64) | async function startDataTableAgentTask( function createDataTableAgentTool (line 206) | function createDataTableAgentTool(context: OrchestrationContext) { FILE: packages/@n8n/instance-ai/src/tools/orchestration/delegate.schemas.ts type DelegateInput (line 29) | type DelegateInput = z.infer; type DelegateOutput (line 35) | type DelegateOutput = z.infer; FILE: packages/@n8n/instance-ai/src/tools/orchestration/delegate.tool.ts constant FORBIDDEN_TOOL_NAMES (line 25) | const FORBIDDEN_TOOL_NAMES = new Set(['plan', 'delegate']); constant FALLBACK_MAX_STEPS (line 27) | const FALLBACK_MAX_STEPS = 10; function generateAgentId (line 29) | function generateAgentId(): string { function buildRoleKey (line 33) | function buildRoleKey(role: string): string { function resolveDelegateTools (line 40) | function resolveDelegateTools( function buildDelegateBriefing (line 63) | async function buildDelegateBriefing( type DetachedDelegateTaskInput (line 89) | interface DetachedDelegateTaskInput { type DetachedDelegateTaskResult (line 100) | interface DetachedDelegateTaskResult { function startDetachedDelegateTask (line 106) | async function startDetachedDelegateTask( function createDelegateTool (line 251) | function createDelegateTool(context: OrchestrationContext) { FILE: packages/@n8n/instance-ai/src/tools/orchestration/display-utils.ts function truncateLabel (line 2) | function truncateLabel(text: string, maxLen = 100): string { FILE: packages/@n8n/instance-ai/src/tools/orchestration/plan.tool.ts function createPlanTool (line 35) | function createPlanTool(context: OrchestrationContext) { FILE: packages/@n8n/instance-ai/src/tools/orchestration/report-verification-verdict.tool.ts function createReportVerificationVerdictTool (line 18) | function createReportVerificationVerdictTool(context: OrchestrationConte... FILE: packages/@n8n/instance-ai/src/tools/orchestration/research-agent-prompt.ts constant RESEARCH_AGENT_PROMPT (line 1) | const RESEARCH_AGENT_PROMPT = `You are a web research agent. Your ONLY j... FILE: packages/@n8n/instance-ai/src/tools/orchestration/research-with-agent.tool.ts constant RESEARCH_MAX_STEPS (line 32) | const RESEARCH_MAX_STEPS = 25; type StartResearchAgentInput (line 34) | interface StartResearchAgentInput { type StartedResearchAgentTask (line 43) | interface StartedResearchAgentTask { function startResearchAgentTask (line 49) | async function startResearchAgentTask( function createResearchWithAgentTool (line 179) | function createResearchWithAgentTool(context: OrchestrationContext) { FILE: packages/@n8n/instance-ai/src/tools/orchestration/tracing-utils.ts type StartSubAgentTraceOptions (line 14) | interface StartSubAgentTraceOptions { function startSubAgentTrace (line 25) | async function startSubAgentTrace( function createDetachedSubAgentTracing (line 47) | async function createDetachedSubAgentTracing( function traceSubAgentTools (line 101) | function traceSubAgentTools( function withTraceRun (line 114) | async function withTraceRun( function withTraceContextActor (line 126) | async function withTraceContextActor( function finishTraceRun (line 137) | async function finishTraceRun( function failTraceRun (line 146) | async function failTraceRun( FILE: packages/@n8n/instance-ai/src/tools/orchestration/update-tasks.tool.ts function createUpdateTasksTool (line 7) | function createUpdateTasksTool(context: OrchestrationContext) { FILE: packages/@n8n/instance-ai/src/tools/orchestration/verify-built-workflow.tool.ts function createVerifyBuiltWorkflowTool (line 14) | function createVerifyBuiltWorkflowTool(context: OrchestrationContext) { FILE: packages/@n8n/instance-ai/src/tools/shared/ask-user.tool.ts function createAskUserTool (line 24) | function createAskUserTool() { FILE: packages/@n8n/instance-ai/src/tools/templates/search-template-parameters.tool.ts function createSearchTemplateParametersTool (line 11) | function createSearchTemplateParametersTool() { FILE: packages/@n8n/instance-ai/src/tools/templates/search-template-structures.tool.ts function createSearchTemplateStructuresTool (line 8) | function createSearchTemplateStructuresTool() { FILE: packages/@n8n/instance-ai/src/tools/templates/template-api.ts constant N8N_API_BASE_URL (line 12) | const N8N_API_BASE_URL = 'https://api.n8n.io/api'; function isTemplateSearchResponse (line 17) | function isTemplateSearchResponse(data: unknown): data is TemplateSearch... function isTemplateFetchResponse (line 26) | function isTemplateFetchResponse(data: unknown): data is TemplateFetchRe... function buildSearchQueryString (line 40) | function buildSearchQueryString(query: TemplateSearchQuery): string { function fetchTemplateList (line 61) | async function fetchTemplateList(query: { function fetchTemplateByID (line 92) | async function fetchTemplateByID(id: number): Promise; FILE: packages/@n8n/instance-ai/src/tools/utils/mermaid.utils.ts type MermaidWorkflowInput (line 7) | interface MermaidWorkflowInput { type MermaidOptions (line 18) | interface MermaidOptions { constant DEFAULT_MERMAID_OPTIONS (line 29) | const DEFAULT_MERMAID_OPTIONS: Required = { constant CONDITIONAL_NODE_TYPES (line 37) | const CONDITIONAL_NODE_TYPES = new Set([ constant AGENT_NODE_TYPE (line 44) | const AGENT_NODE_TYPE = '@n8n/n8n-nodes-langchain.agent'; constant STICKY_NOTE_TYPE (line 45) | const STICKY_NOTE_TYPE = 'n8n-nodes-base.stickyNote'; constant DEFAULT_NODE_WIDTH (line 48) | const DEFAULT_NODE_WIDTH = 100; constant DEFAULT_NODE_HEIGHT (line 49) | const DEFAULT_NODE_HEIGHT = 100; constant DEFAULT_STICKY_WIDTH (line 52) | const DEFAULT_STICKY_WIDTH = 150; constant DEFAULT_STICKY_HEIGHT (line 53) | const DEFAULT_STICKY_HEIGHT = 80; type StickyBounds (line 58) | interface StickyBounds { type StickyOverlapResult (line 70) | interface StickyOverlapResult { type AgentSubgraph (line 79) | interface AgentSubgraph { class MermaidBuilder (line 88) | class MermaidBuilder { method constructor (line 103) | constructor( method build (line 140) | build(): string[] { method createNodeIdMap (line 163) | private createNodeIdMap(): Map { method categorizeStickyOverlaps (line 171) | private categorizeStickyOverlaps(stickyNotes: TemplateNode[]): StickyO... method extractStickyBounds (line 201) | private extractStickyBounds(node: TemplateNode): StickyBounds { method isNodeWithinStickyBounds (line 214) | private isNodeWithinStickyBounds(nodeX: number, nodeY: number, sticky:... method findAgentSubgraphs (line 225) | private findAgentSubgraphs(nodesInStickySubgraphs: Set): Agent... method findNestedStickySubgraphs (line 253) | private findNestedStickySubgraphs( method buildReverseConnectionMap (line 272) | private buildReverseConnectionMap(): Map< method getConnectionTargets (line 292) | private getConnectionTargets( method getMainConnectionTargets (line 307) | private getMainConnectionTargets(nodeConns: TemplateConnections[string... method findStartNodes (line 314) | private findStartNodes(): TemplateNode[] { method formatStickyComment (line 331) | private formatStickyComment(content: string): string { method getNextSubgraphId (line 335) | private getNextSubgraphId(): string { method buildNodeDefinition (line 340) | private buildNodeDefinition(node: TemplateNode, id: string): string { method buildNodeCommentLines (line 349) | private buildNodeCommentLines(node: TemplateNode): string[] { method buildNodeTypePart (line 372) | private buildNodeTypePart(node: TemplateNode): string { method buildSingleNodeLines (line 383) | private buildSingleNodeLines(node: TemplateNode, id: string): string[] { method defineNodeIfNeeded (line 389) | private defineNodeIfNeeded(nodeName: string): string { method defineTargetAndConnect (line 413) | private defineTargetAndConnect(sourceId: string, targetName: string, c... method addConnection (line 435) | private addConnection(sourceId: string, targetDef: string, connType: s... method buildMainFlow (line 442) | private buildMainFlow(): void { method buildStickySubgraphs (line 489) | private buildStickySubgraphs(): void { method getNestedStickyIds (line 499) | private getNestedStickyIds(): Set { method buildSingleStickySubgraph (line 509) | private buildSingleStickySubgraph(sticky: StickyBounds, nodeNames: str... method findSubgraphStartNodes (line 540) | private findSubgraphStartNodes( method buildSubgraphInternalConnections (line 563) | private buildSubgraphInternalConnections( method buildAgentSubgraphs (line 608) | private buildAgentSubgraphs(): void { method buildSingleAgentSubgraph (line 614) | private buildSingleAgentSubgraph(agentSubgraph: AgentSubgraph): void { method defineAgentConnectedNode (line 641) | private defineAgentConnectedNode(nodeName: string): void { method buildNestedStickySubgraph (line 654) | private buildNestedStickySubgraph(sticky: StickyBounds, nodeNames: str... method buildAgentNodeConnections (line 672) | private buildAgentNodeConnections( method markAgentSubgraphNodesDefined (line 713) | private markAgentSubgraphNodesDefined( method buildConnectionsToSubgraphs (line 731) | private buildConnectionsToSubgraphs(): void { method buildConnectionsFromSubgraphs (line 750) | private buildConnectionsFromSubgraphs(): void { method continueTraversalFromNodes (line 773) | private continueTraversalFromNodes(nodesToProcess: string[]): void { method buildInterSubgraphConnections (line 806) | private buildInterSubgraphConnections(): void { method isInNestedSticky (line 840) | private isInNestedSticky(nodeName: string, nestedStickyIds: Set):... function mermaidStringify (line 878) | function mermaidStringify( FILE: packages/@n8n/instance-ai/src/tools/utils/node-configuration.utils.ts constant AVG_CHARS_PER_TOKEN (line 12) | const AVG_CHARS_PER_TOKEN = 3.5; constant MAX_NODE_EXAMPLE_CHARS (line 19) | const MAX_NODE_EXAMPLE_CHARS = 5000 * AVG_CHARS_PER_TOKEN; constant STICKY_NOTE_TYPE (line 21) | const STICKY_NOTE_TYPE = 'n8n-nodes-base.stickyNote'; function collectSingleNodeConfiguration (line 27) | function collectSingleNodeConfiguration(node: TemplateNode): NodeConfigu... function addNodeConfigurationToMap (line 44) | function addNodeConfigurationToMap( function collectNodeConfigurationsFromWorkflows (line 59) | function collectNodeConfigurationsFromWorkflows( function getNodeConfigurationsFromTemplates (line 83) | function getNodeConfigurationsFromTemplates( function formatNodeConfigurationExamples (line 108) | function formatNodeConfigurationExamples( FILE: packages/@n8n/instance-ai/src/tools/web-research/__tests__/fetch-url.tool.test.ts function createMockWebResearchService (line 9) | function createMockWebResearchService(url = 'https://example.com'): Inst... function createMockContext (line 24) | function createMockContext( function createMockCtx (line 40) | function createMockCtx(overrides?: { FILE: packages/@n8n/instance-ai/src/tools/web-research/__tests__/web-search.tool.test.ts function createMockWebResearchService (line 29) | function createMockWebResearchService(): InstanceAiWebResearchService { function createMockContext (line 43) | function createMockContext(webResearchService?: InstanceAiWebResearchSer... FILE: packages/@n8n/instance-ai/src/tools/web-research/fetch-url.tool.ts function createFetchUrlTool (line 13) | function createFetchUrlTool(context: InstanceAiContext) { FILE: packages/@n8n/instance-ai/src/tools/web-research/sanitize-web-content.ts function stripHtmlComments (line 12) | function stripHtmlComments(text: string): string { constant INVISIBLE_UNICODE_PATTERN (line 23) | const INVISIBLE_UNICODE_PATTERN = function stripInvisibleUnicode (line 27) | function stripInvisibleUnicode(text: string): string { function sanitizeWebContent (line 32) | function sanitizeWebContent(content: string): string { function wrapInBoundaryTags (line 37) | function wrapInBoundaryTags(content: string, url: string): string { function wrapUntrustedData (line 54) | function wrapUntrustedData(content: string, source: string, label?: stri... FILE: packages/@n8n/instance-ai/src/tools/web-research/web-search.tool.ts function createWebSearchTool (line 7) | function createWebSearchTool(context: InstanceAiContext) { FILE: packages/@n8n/instance-ai/src/tools/workflows/__tests__/delete-workflow.tool.test.ts function createMockContext (line 10) | function createMockContext(overrides?: Partial): Inst... FILE: packages/@n8n/instance-ai/src/tools/workflows/__tests__/get-workflow.tool.test.ts function createMockContext (line 8) | function createMockContext(overrides?: Partial): Inst... function makeWorkflowDetail (line 59) | function makeWorkflowDetail(): WorkflowDetail { function expectedOutputFromDetail (line 83) | function expectedOutputFromDetail(detail: WorkflowDetail) { FILE: packages/@n8n/instance-ai/src/tools/workflows/__tests__/list-workflow-versions.tool.test.ts function createMockContext (line 31) | function createMockContext(overrides?: Partial): Inst... FILE: packages/@n8n/instance-ai/src/tools/workflows/__tests__/publish-workflow.tool.test.ts function createMockContext (line 11) | function createMockContext(overrides?: Partial): Inst... FILE: packages/@n8n/instance-ai/src/tools/workflows/__tests__/resolve-credentials.test.ts function createMockContext (line 10) | function createMockContext(existingWorkflow?: WorkflowJSON): InstanceAiC... function makeWorkflow (line 30) | function makeWorkflow(overrides: Partial = {}): WorkflowJS... FILE: packages/@n8n/instance-ai/src/tools/workflows/__tests__/restore-workflow-version.tool.test.ts function createMockContext (line 10) | function createMockContext(overrides?: Partial): Inst... FILE: packages/@n8n/instance-ai/src/tools/workflows/__tests__/setup-workflow.service.test.ts function createMockContext (line 16) | function createMockContext(overrides?: Partial): Inst... function makeNode (line 67) | function makeNode(overrides: Partial = {}): NodeJSON { function makeWorkflowJSON (line 79) | function makeWorkflowJSON( FILE: packages/@n8n/instance-ai/src/tools/workflows/__tests__/setup-workflow.tool.test.ts type ToolResult (line 7) | interface ToolResult { function createMockContext (line 22) | function createMockContext(overrides?: Partial): Inst... function makeWorkflowJSON (line 73) | function makeWorkflowJSON(nodes: WorkflowJSON['nodes'] = []): WorkflowJS... function makeSlackNode (line 80) | function makeSlackNode() { function makeToolCtx (line 92) | function makeToolCtx(opts?: { FILE: packages/@n8n/instance-ai/src/tools/workflows/__tests__/unpublish-workflow.tool.test.ts function createMockContext (line 10) | function createMockContext(overrides?: Partial): Inst... FILE: packages/@n8n/instance-ai/src/tools/workflows/__tests__/write-sandbox-file.tool.test.ts function createMockWorkspace (line 26) | function createMockWorkspace(): Workspace { FILE: packages/@n8n/instance-ai/src/tools/workflows/apply-workflow-credentials.tool.ts function createApplyWorkflowCredentialsTool (line 14) | function createApplyWorkflowCredentialsTool(context: OrchestrationContex... FILE: packages/@n8n/instance-ai/src/tools/workflows/build-workflow.tool.ts function createBuildWorkflowTool (line 17) | function createBuildWorkflowTool(context: InstanceAiContext) { FILE: packages/@n8n/instance-ai/src/tools/workflows/delete-workflow.tool.ts function createDeleteWorkflowTool (line 8) | function createDeleteWorkflowTool(context: InstanceAiContext) { FILE: packages/@n8n/instance-ai/src/tools/workflows/get-workflow-as-code.tool.ts function createGetWorkflowAsCodeTool (line 7) | function createGetWorkflowAsCodeTool(context: InstanceAiContext) { FILE: packages/@n8n/instance-ai/src/tools/workflows/get-workflow-version.tool.ts function createGetWorkflowVersionTool (line 6) | function createGetWorkflowVersionTool(context: InstanceAiContext) { FILE: packages/@n8n/instance-ai/src/tools/workflows/get-workflow.tool.ts function createGetWorkflowTool (line 6) | function createGetWorkflowTool(context: InstanceAiContext) { FILE: packages/@n8n/instance-ai/src/tools/workflows/list-workflow-versions.tool.ts function createListWorkflowVersionsTool (line 6) | function createListWorkflowVersionsTool(context: InstanceAiContext) { FILE: packages/@n8n/instance-ai/src/tools/workflows/list-workflows.tool.ts function createListWorkflowsTool (line 6) | function createListWorkflowsTool(context: InstanceAiContext) { FILE: packages/@n8n/instance-ai/src/tools/workflows/materialize-node-type.tool.ts function nodeIdToPath (line 35) | function nodeIdToPath(nodeId: string): string { function esc (line 42) | function esc(s: string): string { function createMaterializeNodeTypeTool (line 46) | function createMaterializeNodeTypeTool(context: InstanceAiContext, works... FILE: packages/@n8n/instance-ai/src/tools/workflows/publish-workflow.tool.ts function createPublishWorkflowTool (line 8) | function createPublishWorkflowTool(context: InstanceAiContext) { FILE: packages/@n8n/instance-ai/src/tools/workflows/resolve-credentials.ts type CredentialMap (line 16) | type CredentialMap = Map; function buildCredentialMap (line 22) | async function buildCredentialMap( type CredentialResolutionResult (line 38) | interface CredentialResolutionResult { function resolveCredentials (line 61) | async function resolveCredentials( function cleanupMockPinData (line 158) | function cleanupMockPinData(json: WorkflowJSON, nodeName: string | undef... FILE: packages/@n8n/instance-ai/src/tools/workflows/restore-workflow-version.tool.ts function createRestoreWorkflowVersionTool (line 9) | function createRestoreWorkflowVersionTool(context: InstanceAiContext) { FILE: packages/@n8n/instance-ai/src/tools/workflows/setup-workflow.schema.ts type SetupRequest (line 14) | type SetupRequest = InstanceAiWorkflowSetupNode; FILE: packages/@n8n/instance-ai/src/tools/workflows/setup-workflow.service.ts type CredentialCache (line 17) | interface CredentialCache { function createCredentialCache (line 26) | function createCredentialCache(): CredentialCache { function buildSetupRequests (line 38) | async function buildSetupRequests( function sortByExecutionOrder (line 264) | function sortByExecutionOrder( type ApplyResult (line 350) | interface ApplyResult { function applyNodeCredentials (line 356) | async function applyNodeCredentials( function applyNodeParameters (line 413) | async function applyNodeParameters( function applyNodeChanges (line 457) | async function applyNodeChanges( function buildCompletedReport (line 536) | function buildCompletedReport( function analyzeWorkflow (line 589) | async function analyzeWorkflow( FILE: packages/@n8n/instance-ai/src/tools/workflows/setup-workflow.tool.ts function createSetupWorkflowTool (line 20) | function createSetupWorkflowTool(context: InstanceAiContext) { FILE: packages/@n8n/instance-ai/src/tools/workflows/submit-workflow.tool.ts type SubmitWorkflowAttempt (line 23) | interface SubmitWorkflowAttempt { function hashContent (line 42) | function hashContent(content: string | null): string { constant WEBHOOK_NODE_TYPES (line 49) | const WEBHOOK_NODE_TYPES = new Set([ function ensureWebhookIds (line 64) | async function ensureWebhookIds( function enhanceValidationErrors (line 92) | function enhanceValidationErrors(errors: string[]): string[] { function enhanceBuildErrors (line 105) | function enhanceBuildErrors(errors: string[]): string[] { function createSubmitWorkflowTool (line 134) | function createSubmitWorkflowTool( FILE: packages/@n8n/instance-ai/src/tools/workflows/unpublish-workflow.tool.ts function createUnpublishWorkflowTool (line 8) | function createUnpublishWorkflowTool(context: InstanceAiContext) { FILE: packages/@n8n/instance-ai/src/tools/workflows/update-workflow-version.tool.ts function createUpdateWorkflowVersionTool (line 6) | function createUpdateWorkflowVersionTool(context: InstanceAiContext) { FILE: packages/@n8n/instance-ai/src/tools/workflows/write-sandbox-file.tool.ts function createWriteSandboxFileTool (line 17) | function createWriteSandboxFileTool(workspace: Workspace) { FILE: packages/@n8n/instance-ai/src/tools/workspace/__tests__/cleanup-test-executions.tool.test.ts function createMockContext (line 6) | function createMockContext( function createToolCtx (line 31) | function createToolCtx(options?: { resumeData?: { approved: boolean } }) { FILE: packages/@n8n/instance-ai/src/tools/workspace/__tests__/create-folder.tool.test.ts function createMockContext (line 4) | function createMockContext( FILE: packages/@n8n/instance-ai/src/tools/workspace/__tests__/delete-folder.tool.test.ts function createMockContext (line 6) | function createMockContext( function createToolCtx (line 31) | function createToolCtx(options?: { resumeData?: { approved: boolean } }) { FILE: packages/@n8n/instance-ai/src/tools/workspace/__tests__/list-folders.tool.test.ts function createMockContext (line 4) | function createMockContext(): InstanceAiContext { FILE: packages/@n8n/instance-ai/src/tools/workspace/__tests__/list-projects.tool.test.ts function createMockContext (line 4) | function createMockContext(): InstanceAiContext { FILE: packages/@n8n/instance-ai/src/tools/workspace/__tests__/list-tags.tool.test.ts function createMockContext (line 4) | function createMockContext(): InstanceAiContext { FILE: packages/@n8n/instance-ai/src/tools/workspace/__tests__/move-workflow-to-folder.tool.test.ts function createMockContext (line 4) | function createMockContext( FILE: packages/@n8n/instance-ai/src/tools/workspace/__tests__/tag-workflow.tool.test.ts function createMockContext (line 4) | function createMockContext( FILE: packages/@n8n/instance-ai/src/tools/workspace/cleanup-test-executions.tool.ts function createCleanupTestExecutionsTool (line 8) | function createCleanupTestExecutionsTool(context: InstanceAiContext) { FILE: packages/@n8n/instance-ai/src/tools/workspace/create-folder.tool.ts function createCreateFolderTool (line 8) | function createCreateFolderTool(context: InstanceAiContext) { FILE: packages/@n8n/instance-ai/src/tools/workspace/delete-folder.tool.ts function createDeleteFolderTool (line 8) | function createDeleteFolderTool(context: InstanceAiContext) { FILE: packages/@n8n/instance-ai/src/tools/workspace/list-folders.tool.ts function createListFoldersTool (line 6) | function createListFoldersTool(context: InstanceAiContext) { FILE: packages/@n8n/instance-ai/src/tools/workspace/list-projects.tool.ts function createListProjectsTool (line 6) | function createListProjectsTool(context: InstanceAiContext) { FILE: packages/@n8n/instance-ai/src/tools/workspace/list-tags.tool.ts function createListTagsTool (line 6) | function createListTagsTool(context: InstanceAiContext) { FILE: packages/@n8n/instance-ai/src/tools/workspace/move-workflow-to-folder.tool.ts function createMoveWorkflowToFolderTool (line 8) | function createMoveWorkflowToFolderTool(context: InstanceAiContext) { FILE: packages/@n8n/instance-ai/src/tools/workspace/tag-workflow.tool.ts function createTagWorkflowTool (line 8) | function createTagWorkflowTool(context: InstanceAiContext) { FILE: packages/@n8n/instance-ai/src/tracing/__tests__/langsmith-tracing.test.ts class MockRunTree (line 12) | class MockRunTree { method constructor (line 35) | constructor(config: { method metadata (line 91) | get metadata(): Record | undefined { method metadata (line 95) | set metadata(metadata: Record | undefined) { method createChild (line 99) | createChild(config: { method postRun (line 122) | async postRun(): Promise { method end (line 126) | async end( method patchRun (line 144) | async patchRun(): Promise { method addEvent (line 154) | addEvent(event: Record | string): void { method toHeaders (line 158) | toHeaders(): { 'langsmith-trace': string; baggage: string } { class MockClient (line 166) | class MockClient { method constructor (line 170) | constructor(config: { apiUrl?: string; apiKey?: string }) { type LangSmithMockModule (line 207) | type LangSmithMockModule = { type ExecutableTool (line 221) | interface ExecutableTool { function isExecutableTool (line 225) | function isExecutableTool(value: unknown): value is ExecutableTool { FILE: packages/@n8n/instance-ai/src/tracing/langsmith-tracing.ts constant DEFAULT_PROJECT_NAME (line 18) | const DEFAULT_PROJECT_NAME = 'instance-ai'; constant DEFAULT_TAGS (line 19) | const DEFAULT_TAGS = ['instance-ai']; constant MAX_TRACE_DEPTH (line 20) | const MAX_TRACE_DEPTH = 4; constant MAX_TRACE_STRING_LENGTH (line 21) | const MAX_TRACE_STRING_LENGTH = 2_000; constant MAX_TRACE_ARRAY_ITEMS (line 22) | const MAX_TRACE_ARRAY_ITEMS = 20; constant MAX_TRACE_OBJECT_KEYS (line 23) | const MAX_TRACE_OBJECT_KEYS = 30; function getOrCreateProxyClient (line 40) | function getOrCreateProxyClient(proxyConfig: ServiceProxyConfig): Client { type CreateInstanceAiTraceContextOptions (line 65) | interface CreateInstanceAiTraceContextOptions { type CreateDetachedSubAgentTraceContextOptions (line 80) | interface CreateDetachedSubAgentTraceContextOptions extends CreateInstan... type CurrentTraceSpanOptions (line 92) | interface CurrentTraceSpanOptions { type AgentTraceInputOptions (line 101) | interface AgentTraceInputOptions { type TraceableMastraTool (line 111) | type TraceableMastraTool = ToolAction< type NormalizedModelMetadata (line 121) | interface NormalizedModelMetadata { function isInternalStateTool (line 126) | function isInternalStateTool(toolId: string): boolean { function isLangSmithTracingEnabled (line 130) | function isLangSmithTracingEnabled(proxyAvailable?: boolean): boolean { function ensureLangSmithTracingEnv (line 150) | function ensureLangSmithTracingEnv(): void { function normalizeErrorMessage (line 155) | function normalizeErrorMessage(error: unknown): string { function normalizeTags (line 159) | function normalizeTags(...tagGroups: Array): strin... function mergeMetadata (line 165) | function mergeMetadata( function truncateString (line 181) | function truncateString(value: string): string { function splitTraceText (line 189) | function splitTraceText(value: string): string[] { function serializeTraceText (line 213) | function serializeTraceText(value: string): string | Record { function sanitizeTraceValue (line 269) | function sanitizeTraceValue(value: unknown, depth = 0): unknown { function sanitizeTracePayload (line 338) | function sanitizeTracePayload(value: unknown): Record { function normalizeModelMetadata (line 354) | function normalizeModelMetadata(modelId: unknown): NormalizedModelMetada... function serializeModelIdForTrace (line 369) | function serializeModelIdForTrace(modelId: unknown): unknown { function mergeRunTreeMetadata (line 381) | function mergeRunTreeMetadata( function mergeRunTreeInputs (line 388) | function mergeRunTreeInputs( function getTraceParentRun (line 401) | function getTraceParentRun(): RunTree | undefined { function setTraceParentOverride (line 414) | function setTraceParentOverride(parentRun: RunTree | null | undefined): ... function mergeCurrentTraceMetadata (line 426) | function mergeCurrentTraceMetadata(metadata: Record): v... function mergeTraceRunInputs (line 438) | function mergeTraceRunInputs( function buildAgentTraceInputs (line 455) | function buildAgentTraceInputs(options: AgentTraceInputOptions): Record<... function withTraceParentContext (line 469) | async function withTraceParentContext( function postChildRun (line 478) | async function postChildRun( function finishRunTree (line 494) | async function finishRunTree( function withCurrentTraceSpan (line 507) | async function withCurrentTraceSpan( function startHitlChildRun (line 540) | async function startHitlChildRun( function buildSuspendMetadata (line 559) | function buildSuspendMetadata( function resolveActorParentRun (line 579) | function resolveActorParentRun(parentRun: RunTree): RunTree { function traceSuspendableToolExecute (line 593) | async function traceSuspendableToolExecute( function traceToolExecute (line 679) | async function traceToolExecute( function createTraceContext (line 754) | function createTraceContext( function createRunStateFromTree (line 817) | function createRunStateFromTree(tree: RunTree): InstanceAiTraceRun { function syncRunState (line 840) | function syncRunState(state: InstanceAiTraceRun, tree: RunTree): void { function hydrateRunTree (line 844) | function hydrateRunTree(state: InstanceAiTraceRun): RunTree { function isTraceableMastraTool (line 868) | function isTraceableMastraTool(value: unknown): value is TraceableMastra... function wrapToolExecute (line 877) | function wrapToolExecute( function wrapTools (line 929) | function wrapTools(tools: ToolsInput, options?: InstanceAiToolTraceOptio... function createRun (line 941) | async function createRun(options: { function createChildRun (line 968) | async function createChildRun( function finishTraceRun (line 985) | async function finishTraceRun( function withSerializedRunTree (line 1000) | async function withSerializedRunTree( function buildBaseMetadata (line 1015) | function buildBaseMetadata(options: CreateInstanceAiTraceContextOptions)... function createInstanceAiTraceContext (line 1030) | async function createInstanceAiTraceContext( function continueInstanceAiTraceContext (line 1074) | async function continueInstanceAiTraceContext( function createDetachedSubAgentTraceContext (line 1103) | async function createDetachedSubAgentTraceContext( FILE: packages/@n8n/instance-ai/src/types.ts type WorkflowSummary (line 30) | interface WorkflowSummary { type WorkflowDetail (line 40) | interface WorkflowDetail extends WorkflowSummary { type WorkflowNode (line 46) | interface WorkflowNode { type ExecutionResult (line 54) | interface ExecutionResult { type NodeOutputResult (line 63) | interface NodeOutputResult { type ExecutionDebugInfo (line 70) | interface ExecutionDebugInfo extends ExecutionResult { type CredentialSummary (line 86) | interface CredentialSummary { type CredentialDetail (line 94) | interface CredentialDetail extends CredentialSummary { type NodeSummary (line 99) | interface NodeSummary { type NodeDescription (line 107) | interface NodeDescription extends NodeSummary { type WorkflowVersionSummary (line 127) | interface WorkflowVersionSummary { type WorkflowVersionDetail (line 138) | interface WorkflowVersionDetail extends WorkflowVersionSummary { type InstanceAiWorkflowService (line 143) | interface InstanceAiWorkflowService { type ExecutionSummary (line 183) | interface ExecutionSummary { type InstanceAiExecutionService (line 193) | interface InstanceAiExecutionService { type CredentialTypeSearchResult (line 220) | interface CredentialTypeSearchResult { type InstanceAiCredentialService (line 225) | interface InstanceAiCredentialService { type CredentialFieldInfo (line 240) | interface CredentialFieldInfo { type ExploreResourcesParams (line 248) | interface ExploreResourcesParams { type ExploreResourcesResult (line 260) | interface ExploreResourcesResult { type InstanceAiNodeService (line 270) | interface InstanceAiNodeService { type SearchableNodeDescription (line 308) | interface SearchableNodeDescription { type DataTableSummary (line 324) | interface DataTableSummary { type DataTableColumnInfo (line 333) | interface DataTableColumnInfo { type DataTableFilterInput (line 340) | interface DataTableFilterInput { type InstanceAiDataTableService (line 351) | interface InstanceAiDataTableService { type FetchedPage (line 384) | interface FetchedPage { type WebSearchResult (line 397) | interface WebSearchResult { type WebSearchResponse (line 404) | interface WebSearchResponse { type InstanceAiWebResearchService (line 409) | interface InstanceAiWebResearchService { type FileEntry (line 438) | interface FileEntry { type FileContent (line 444) | interface FileContent { type FileSearchMatch (line 451) | interface FileSearchMatch { type FileSearchResult (line 457) | interface FileSearchResult { type InstanceAiFilesystemService (line 466) | interface InstanceAiFilesystemService { type LocalMcpServer (line 501) | interface LocalMcpServer { type ProjectSummary (line 510) | interface ProjectSummary { type FolderSummary (line 516) | interface FolderSummary { type InstanceAiWorkspaceService (line 524) | interface InstanceAiWorkspaceService { type LocalGatewayStatus (line 551) | type LocalGatewayStatus = type InstanceAiContext (line 558) | interface InstanceAiContext { type TaskStorage (line 587) | interface TaskStorage { type PlannedTaskKind (line 594) | type PlannedTaskKind = 'delegate' | 'build-workflow' | 'manage-data-tabl... type PlannedTask (line 596) | interface PlannedTask { type PlannedTaskStatus (line 607) | type PlannedTaskStatus = 'planned' | 'running' | 'succeeded' | 'failed' ... type PlannedTaskRecord (line 609) | interface PlannedTaskRecord extends PlannedTask { type PlannedTaskGraphStatus (line 620) | type PlannedTaskGraphStatus = 'active' | 'awaiting_replan' | 'completed'... type PlannedTaskGraph (line 622) | interface PlannedTaskGraph { type PlannedTaskSchedulerAction (line 629) | type PlannedTaskSchedulerAction = type PlannedTaskService (line 635) | interface PlannedTaskService { type McpServerConfig (line 671) | interface McpServerConfig { type InstanceAiMemoryConfig (line 681) | interface InstanceAiMemoryConfig { type ModelConfig (line 700) | type ModelConfig = type ServiceProxyConfig (line 706) | interface ServiceProxyConfig { type InstanceAiTraceRun (line 715) | interface InstanceAiTraceRun { type InstanceAiTraceRunInit (line 734) | interface InstanceAiTraceRunInit { type InstanceAiTraceRunFinishOptions (line 742) | interface InstanceAiTraceRunFinishOptions { type InstanceAiToolTraceOptions (line 748) | interface InstanceAiToolTraceOptions { type InstanceAiTraceContext (line 754) | interface InstanceAiTraceContext { type BackgroundTaskResult (line 783) | interface BackgroundTaskResult { type SpawnBackgroundTaskOptions (line 788) | interface SpawnBackgroundTaskOptions { type WorkflowTaskService (line 805) | interface WorkflowTaskService { type OrchestrationContext (line 814) | interface OrchestrationContext { type CreateInstanceAgentOptions (line 886) | interface CreateInstanceAgentOptions { FILE: packages/@n8n/instance-ai/src/utils/agent-tree.ts function buildAgentTreeFromEvents (line 4) | function buildAgentTreeFromEvents(events: InstanceAiEvent[]): InstanceAi... function findAgentNodeInTree (line 12) | function findAgentNodeInTree( FILE: packages/@n8n/instance-ai/src/utils/format-timestamp.ts function formatTimestamp (line 2) | function formatTimestamp(iso: string): string { FILE: packages/@n8n/instance-ai/src/utils/stream-helpers.ts function isRecord (line 7) | function isRecord(value: unknown): value is Record { type SuspensionInfo (line 12) | interface SuspensionInfo { function parseSuspension (line 22) | function parseSuspension(chunk: unknown): SuspensionInfo | null { type Resumable (line 39) | interface Resumable { function asResumable (line 47) | function asResumable(agent: unknown): Resumable { FILE: packages/@n8n/instance-ai/src/workflow-builder/__tests__/extract-code.test.ts function makeReadFile (line 27) | function makeReadFile(files: Record) { FILE: packages/@n8n/instance-ai/src/workflow-builder/__tests__/parse-validate.test.ts function makeBuilder (line 19) | function makeBuilder(overrides: Record = {}) { FILE: packages/@n8n/instance-ai/src/workflow-builder/extract-code.ts constant SDK_IMPORT_STATEMENT (line 13) | const SDK_IMPORT_STATEMENT = constant IMPORT_REGEX (line 17) | const IMPORT_REGEX = /^\s*import\s+(?:[\s\S]*?from\s+)?['"]([^'"]+)['"];... function stripImportStatements (line 23) | function stripImportStatements(code: string): string { function stripSdkImports (line 33) | function stripSdkImports(code: string): string { constant LOCAL_IMPORT_REGEX (line 42) | const LOCAL_IMPORT_REGEX = /^\s*import\s+(?:[\s\S]*?from\s+)?['"](\.\.?\... function resolveLocalImports (line 58) | async function resolveLocalImports( function extractWorkflowCode (line 130) | function extractWorkflowCode(response: string): string { FILE: packages/@n8n/instance-ai/src/workflow-builder/parse-validate.ts type ValidationIssue (line 15) | interface ValidationIssue { function collectValidationIssues (line 24) | function collectValidationIssues( function parseAndValidate (line 49) | function parseAndValidate(code: string): ParseAndValidateResult { function partitionWarnings (line 88) | function partitionWarnings(warnings: ValidationWarning[]): { FILE: packages/@n8n/instance-ai/src/workflow-builder/patch-code.ts type Patch (line 13) | interface Patch { type PatchResult (line 18) | interface PatchResult { type PatchError (line 23) | interface PatchError { function normalizeWhitespace (line 31) | function normalizeWhitespace(s: string): string { function normalizeTrimmedLines (line 38) | function normalizeTrimmedLines(s: string): string { function fuzzyFind (line 52) | function fuzzyFind( function findMatch (line 111) | function findMatch( function getContextForError (line 140) | function getContextForError(code: string, needle: string): string { function applyPatches (line 193) | function applyPatches(code: string, patches: Patch[]): PatchResult | Pat... FILE: packages/@n8n/instance-ai/src/workflow-builder/sdk-prompt-sections.ts constant EXPRESSION_REFERENCE (line 13) | const EXPRESSION_REFERENCE = `Available variables inside \`expr('{{ ... ... constant ADDITIONAL_FUNCTIONS (line 46) | const ADDITIONAL_FUNCTIONS = `Additional SDK functions: constant WORKFLOW_RULES (line 66) | const WORKFLOW_RULES = `Follow these rules strictly when generating work... constant WORKFLOW_SDK_PATTERNS (line 89) | const WORKFLOW_SDK_PATTERNS = ` FILE: packages/@n8n/instance-ai/src/workflow-builder/types.ts type ValidationWarning (line 13) | interface ValidationWarning { type ParseAndValidateResult (line 23) | interface ParseAndValidateResult { FILE: packages/@n8n/instance-ai/src/workflow-loop/__tests__/workflow-loop-controller.test.ts function makeState (line 16) | function makeState(overrides: Partial = {}): Workflow... function makeOutcome (line 28) | function makeOutcome(overrides: Partial = {}): Wor... function makeVerdict (line 40) | function makeVerdict(overrides: Partial = {}): Verif... FILE: packages/@n8n/instance-ai/src/workflow-loop/__tests__/workflow-task-service.test.ts function createStorage (line 5) | function createStorage() { function createBuildOutcome (line 36) | function createBuildOutcome(overrides: Partial = {... FILE: packages/@n8n/instance-ai/src/workflow-loop/guidance.ts type WorkflowLoopGuidanceOptions (line 3) | interface WorkflowLoopGuidanceOptions { function formatWorkflowLoopGuidance (line 7) | function formatWorkflowLoopGuidance( FILE: packages/@n8n/instance-ai/src/workflow-loop/runtime.ts function createInitialState (line 10) | function createInitialState(threadId: string, outcome: WorkflowBuildOutc... class WorkflowLoopRuntime (line 22) | class WorkflowLoopRuntime { method constructor (line 23) | constructor(private readonly storage: WorkflowLoopStorage) {} method applyBuildOutcome (line 25) | async applyBuildOutcome( method applyVerificationVerdict (line 38) | async applyVerificationVerdict( FILE: packages/@n8n/instance-ai/src/workflow-loop/workflow-loop-controller.ts function createWorkItem (line 27) | function createWorkItem( type TransitionResult (line 45) | interface TransitionResult { function handleBuildOutcome (line 51) | function handleBuildOutcome( function handleVerificationVerdict (line 116) | function handleVerificationVerdict( function escalateToRepair (line 218) | function escalateToRepair( function hasRepeatedRepair (line 261) | function hasRepeatedRepair(attempts: AttemptRecord[], failureSignature: ... function makeAttempt (line 268) | function makeAttempt( function formatAttemptHistory (line 288) | function formatAttemptHistory(attempts: AttemptRecord[]): string { FILE: packages/@n8n/instance-ai/src/workflow-loop/workflow-loop-state.ts type WorkflowLoopPhase (line 34) | type WorkflowLoopPhase = z.infer; type WorkflowLoopStatus (line 35) | type WorkflowLoopStatus = z.infer; type WorkflowLoopSource (line 36) | type WorkflowLoopSource = z.infer; type WorkflowLoopState (line 37) | type WorkflowLoopState = z.infer; type AttemptAction (line 58) | type AttemptAction = z.infer; type AttemptResult (line 59) | type AttemptResult = z.infer; type AttemptRecord (line 60) | type AttemptRecord = z.infer; type TriggerType (line 86) | type TriggerType = z.infer; type WorkflowBuildOutcome (line 87) | type WorkflowBuildOutcome = z.infer; type VerificationVerdict (line 112) | type VerificationVerdict = z.infer; type VerificationResult (line 113) | type VerificationResult = z.infer; type WorkflowLoopAction (line 117) | type WorkflowLoopAction = FILE: packages/@n8n/instance-ai/src/workflow-loop/workflow-task-service.ts class WorkflowTaskCoordinator (line 10) | class WorkflowTaskCoordinator implements WorkflowTaskService { method constructor (line 13) | constructor( method reportBuildOutcome (line 20) | async reportBuildOutcome(outcome: WorkflowBuildOutcome): Promise) {} class DaytonaFilesystem (line 25) | class DaytonaFilesystem { method constructor (line 27) | constructor(public sandbox: unknown) {} class N8nSandboxServiceSandbox (line 33) | class N8nSandboxServiceSandbox { method constructor (line 35) | constructor(public opts: Record) {} class N8nSandboxFilesystem (line 41) | class N8nSandboxFilesystem { method constructor (line 43) | constructor(public sandbox: unknown) {} type MockWithOpts (line 52) | interface MockWithOpts { type MockLocalSandboxCtor (line 56) | type MockLocalSandboxCtor = new (opts: { type MockLocalFilesystemCtor (line 59) | type MockLocalFilesystemCtor = new (opts: { basePath: string }) => MockW... type MockWorkspaceCtor (line 62) | type MockWorkspaceCtor = new (opts: { type MockDaytonaSandboxCtor (line 66) | type MockDaytonaSandboxCtor = new ( type MockDaytonaFilesystemCtor (line 69) | type MockDaytonaFilesystemCtor = new (sandbox: unknown) => { sandbox: un... type MockN8nSandboxCtor (line 70) | type MockN8nSandboxCtor = new ( type MockN8nFilesystemCtor (line 73) | type MockN8nFilesystemCtor = new (sandbox: unknown) => { sandbox: unknow... FILE: packages/@n8n/instance-ai/src/workspace/__tests__/n8n-sandbox-client.test.ts function createJsonResponse (line 7) | function createJsonResponse(body: unknown, init?: ResponseInit): Response { function bodyToRecord (line 15) | function bodyToRecord(body: unknown): Record { method start (line 88) | start(controller) { FILE: packages/@n8n/instance-ai/src/workspace/__tests__/sandbox-fs.test.ts function createMockWorkspace (line 8) | function createMockWorkspace(overrides?: { FILE: packages/@n8n/instance-ai/src/workspace/builder-sandbox-factory.ts type BuilderWorkspace (line 25) | interface BuilderWorkspace { function cleanupTrackedSandboxProcesses (line 30) | async function cleanupTrackedSandboxProcesses(workspace: Workspace): Pro... class BuilderSandboxFactory (line 56) | class BuilderSandboxFactory { method constructor (line 61) | constructor( method create (line 66) | async create(builderId: string, context: InstanceAiContext): Promise { method getN8nSandboxImageManager (line 91) | private getN8nSandboxImageManager(): N8nSandboxImageManager { method getNodeCatalog (line 99) | private async getNodeCatalog(context: InstanceAiContext): Promise { method deleteFile (line 79) | async deleteFile(path: string, options?: RemoveOptions): Promise { method copyFile (line 84) | async copyFile(src: string, dest: string, _options?: CopyOptions): Pro... method moveFile (line 90) | async moveFile(src: string, dest: string, _options?: CopyOptions): Pro... method mkdir (line 95) | async mkdir(path: string, options?: { recursive?: boolean }): Promise<... method rmdir (line 105) | async rmdir(path: string, options?: RemoveOptions): Promise { method readdir (line 110) | async readdir(path: string, _options?: ListOptions): Promise { method stat (line 130) | async stat(path: string): Promise { FILE: packages/@n8n/instance-ai/src/workspace/n8n-sandbox-client.ts type N8nSandboxServiceErrorPayload (line 5) | interface N8nSandboxServiceErrorPayload { class N8nSandboxServiceError (line 10) | class N8nSandboxServiceError extends Error { method constructor (line 11) | constructor( type N8nSandboxRecord (line 22) | interface N8nSandboxRecord { type N8nSandboxFileEntry (line 32) | interface N8nSandboxFileEntry { type N8nSandboxFileStat (line 41) | interface N8nSandboxFileStat { type N8nSandboxExecResult (line 51) | interface N8nSandboxExecResult { type ExecEvent (line 82) | type ExecEvent = z.infer; type CreateSandboxResponse (line 95) | type CreateSandboxResponse = z.infer; type FileEntryResponse (line 105) | type FileEntryResponse = z.infer; type FileStatResponse (line 116) | type FileStatResponse = z.infer; type N8nSandboxClientOptions (line 119) | interface N8nSandboxClientOptions { class DockerfileStepsBuilder (line 125) | class DockerfileStepsBuilder { method run (line 129) | run(command: string | string[]): this { method build (line 137) | build(): string[] { type CreateSandboxOptions (line 143) | interface CreateSandboxOptions { type N8nSandboxExecRequest (line 148) | interface N8nSandboxExecRequest { type ExecExitMeta (line 159) | interface ExecExitMeta { function normalizeBaseUrl (line 167) | function normalizeBaseUrl(baseUrl?: string): string { function mapSandboxRecord (line 171) | function mapSandboxRecord(payload: CreateSandboxResponse): N8nSandboxRec... function asBuffer (line 182) | function asBuffer(content: FileContent): Buffer { function parseExecEvent (line 215) | function parseExecEvent(line: string): ExecEvent { class N8nSandboxClient (line 230) | class N8nSandboxClient { method constructor (line 233) | constructor(private readonly options: N8nSandboxClientOptions) { method createSandbox (line 237) | async createSandbox(options: CreateSandboxOptions = {}): Promise { method deleteSandbox (line 258) | async deleteSandbox(id: string): Promise { method deleteImage (line 262) | async deleteImage(id: string): Promise { method exec (line 266) | async exec(id: string, request: N8nSandboxExecRequest): Promise { method writeFile (line 296) | async writeFile(id: string, path: string, content: FileContent, overwr... method appendFile (line 306) | async appendFile(id: string, path: string, content: FileContent): Prom... method deleteFile (line 316) | async deleteFile( method copyFile (line 332) | async copyFile( method moveFile (line 349) | async moveFile( method mkdir (line 365) | async mkdir(id: string, path: string, recursive = false): Promise { method listFiles (line 373) | async listFiles( method stat (line 394) | async stat(id: string, path: string): Promise { method readExecResult (line 409) | private async readExecResult( method requireExecExitMeta (line 457) | private requireExecExitMeta(exitMeta: ExecExitMeta | null): ExecExitMe... method expectSuccess (line 465) | private async expectSuccess(responsePromise: Promise): Promi... method requestJson (line 472) | private async requestJson( method request (line 490) | private async request( method toError (line 522) | private async toError(response: Response): Promise { FILE: packages/@n8n/instance-ai/src/workspace/n8n-sandbox-filesystem.ts function getParentDirectory (line 18) | function getParentDirectory(path: string): string | null { class N8nSandboxFilesystem (line 24) | class N8nSandboxFilesystem extends MastraFilesystem { method constructor (line 33) | constructor(private readonly sandbox: N8nSandboxServiceSandbox) { method getClientAndSandboxId (line 38) | private async getClientAndSandboxId() { method readFile (line 46) | async readFile(path: string, options?: ReadOptions): Promise { method deleteFile (line 74) | async deleteFile(path: string, options?: RemoveOptions): Promise { method copyFile (line 83) | async copyFile(src: string, dest: string, options?: CopyOptions): Prom... method moveFile (line 94) | async moveFile(src: string, dest: string, options?: CopyOptions): Prom... method mkdir (line 104) | async mkdir(path: string, options?: { recursive?: boolean }): Promise<... method rmdir (line 110) | async rmdir(path: string, options?: RemoveOptions): Promise { method readdir (line 114) | async readdir(path: string, _options?: ListOptions): Promise { method stat (line 139) | async stat(path: string): Promise { FILE: packages/@n8n/instance-ai/src/workspace/n8n-sandbox-image-manager.ts function b64 (line 9) | function b64(content: string): string { constant ROOT (line 13) | const ROOT = N8N_SANDBOX_WORKSPACE_ROOT; class N8nSandboxImageManager (line 15) | class N8nSandboxImageManager { method getDockerfile (line 18) | getDockerfile(): DockerfileStepsBuilder { FILE: packages/@n8n/instance-ai/src/workspace/n8n-sandbox-sandbox.ts type N8nSandboxServiceSandboxOptions (line 13) | interface N8nSandboxServiceSandboxOptions { function shellEscape (line 21) | function shellEscape(value: string): string { function toShellCommand (line 25) | function toShellCommand(command: string, args: string[] = []): string { class N8nSandboxServiceSandbox (line 31) | class N8nSandboxServiceSandbox extends MastraSandbox { method constructor (line 44) | constructor(private readonly options: N8nSandboxServiceSandboxOptions) { method id (line 53) | get id(): string { method start (line 57) | override async start(): Promise { method destroy (line 69) | override async destroy(): Promise { method getInfo (line 74) | override async getInfo(): Promise { method executeCommand (line 92) | override async executeCommand( method getClient (line 121) | getClient(): N8nSandboxClient { method requireSandboxId (line 125) | private requireSandboxId(): string { FILE: packages/@n8n/instance-ai/src/workspace/sandbox-fs.ts function runInSandbox (line 19) | async function runInSandbox( function writeFileViaSandbox (line 47) | async function writeFileViaSandbox( function readFileViaSandbox (line 71) | async function readFileViaSandbox( function escapeSingleQuotes (line 84) | function escapeSingleQuotes(s: string): string { FILE: packages/@n8n/instance-ai/src/workspace/sandbox-setup.ts constant WORKSPACE_DIR (line 30) | const WORKSPACE_DIR = 'workspace'; constant N8N_SANDBOX_HOME (line 33) | const N8N_SANDBOX_HOME = '/home/user'; constant N8N_SANDBOX_WORKSPACE_ROOT (line 36) | const N8N_SANDBOX_WORKSPACE_ROOT = `${N8N_SANDBOX_HOME}/${WORKSPACE_DIR}`; constant PACKAGE_JSON (line 38) | const PACKAGE_JSON = JSON.stringify( constant BUILD_MJS (line 58) | const BUILD_MJS = `const filePath = process.argv[2] || './src/workflow.ts'; constant TSCONFIG_JSON (line 80) | const TSCONFIG_JSON = JSON.stringify( function formatNodeCatalogLine (line 105) | function formatNodeCatalogLine(node: SearchableNodeDescription): string { function buildBatchWriteScript (line 124) | function buildBatchWriteScript(root: string, files: Map)... function getWorkspaceRoot (line 163) | async function getWorkspaceRoot(workspace: Workspace): Promise { function setupSandboxWorkspace (line 182) | async function setupSandboxWorkspace( FILE: packages/@n8n/instance-ai/src/workspace/snapshot-manager.ts function b64 (line 18) | function b64(s: string): string { class SnapshotManager (line 22) | class SnapshotManager { method constructor (line 25) | constructor(private readonly baseImage?: string) {} method ensureImage (line 28) | ensureImage(): Image { method invalidate (line 52) | invalidate(): void { FILE: packages/@n8n/json-schema-to-zod/src/parsers/parse-all-of.ts function parseAllOf (line 26) | function parseAllOf( FILE: packages/@n8n/json-schema-to-zod/src/parsers/parse-object.ts function parseObjectProperties (line 10) | function parseObjectProperties(objectSchema: JsonSchemaObject & { type: ... function parseObject (line 44) | function parseObject( FILE: packages/@n8n/json-schema-to-zod/src/types.ts type Serializable (line 3) | type Serializable = type JsonSchema (line 11) | type JsonSchema = JsonSchemaObject | boolean; type JsonSchemaObject (line 12) | type JsonSchemaObject = { type ParserSelector (line 69) | type ParserSelector = (schema: JsonSchemaObject, refs: Refs) => ZodTypeAny; type ParserOverride (line 70) | type ParserOverride = (schema: JsonSchemaObject, refs: Refs) => ZodTypeA... type JsonSchemaToZodOptions (line 72) | type JsonSchemaToZodOptions = { type Refs (line 79) | type Refs = JsonSchemaToZodOptions & { FILE: packages/@n8n/json-schema-to-zod/src/utils/extend-schema.ts function extendSchemaWithMessage (line 5) | function extendSchemaWithMessage< FILE: packages/@n8n/json-schema-to-zod/test/extend-expect.ts method toMatchZod (line 4) | toMatchZod(this: jest.MatcherContext, actual: z.ZodTypeAny, expected: z.... FILE: packages/@n8n/json-schema-to-zod/test/jest.d.ts type Matchers (line 2) | interface Matchers { FILE: packages/@n8n/local-gateway/src/main/daemon-controller.ts type DaemonControllerEvents (line 12) | interface DaemonControllerEvents { class DaemonController (line 16) | class DaemonController extends EventEmitter { method getSnapshot (line 23) | getSnapshot(): StatusSnapshot { method isRunning (line 31) | isRunning(): boolean { method start (line 35) | start(config: GatewayConfig, confirmConnect: (url: string) => boolean)... method disconnectClient (line 80) | async disconnectClient(): Promise { method stop (line 90) | async stop(): Promise { method setStatus (line 118) | private setStatus(status: DaemonStatus): void { FILE: packages/@n8n/local-gateway/src/main/index.ts function confirmConnect (line 41) | function confirmConnect(url: string): boolean { function restartDaemon (line 59) | function restartDaemon(): void { function onDisconnect (line 82) | function onDisconnect(): void { FILE: packages/@n8n/local-gateway/src/main/ipc-handlers.ts function registerIpcHandlers (line 7) | function registerIpcHandlers( FILE: packages/@n8n/local-gateway/src/main/settings-store.ts constant DEFAULTS (line 12) | const DEFAULTS: AppSettings = { type StoredData (line 25) | interface StoredData extends AppSettings { class SettingsStore (line 29) | class SettingsStore { method constructor (line 32) | constructor() { method get (line 39) | get(): AppSettings { method set (line 53) | set(partial: Partial): void { method getLastConnectedUrl (line 62) | getLastConnectedUrl(): string | null { method setLastConnectedUrl (line 66) | setLastConnectedUrl(url: string | null): void { method toGatewayConfig (line 71) | toGatewayConfig(): GatewayConfig { method getStorePath (line 92) | getStorePath(): string { FILE: packages/@n8n/local-gateway/src/main/settings-window.ts function openSettingsWindow (line 5) | function openSettingsWindow(preloadPath: string, rendererPath: string): ... function notifySettingsWindow (line 34) | function notifySettingsWindow(channel: string, ...args: unknown[]): void { FILE: packages/@n8n/local-gateway/src/main/tray.ts constant STATUS_LABELS (line 8) | const STATUS_LABELS: Record = { function createNativeImage (line 16) | function createNativeImage(status: DaemonStatus): Electron.NativeImage { function buildStatusLabel (line 50) | function buildStatusLabel(snapshot: StatusSnapshot): string { function buildMenu (line 57) | function buildMenu( function createTray (line 101) | function createTray( FILE: packages/@n8n/local-gateway/src/renderer/settings.ts type LogLevel (line 3) | type LogLevel = 'silent' | 'error' | 'warn' | 'info' | 'debug'; type Window (line 6) | interface Window { constant STATUS_TEXT (line 18) | const STATUS_TEXT: Record = { function updateStatusBadge (line 26) | function updateStatusBadge(snapshot: StatusSnapshot): void { function readForm (line 39) | function readForm(): Partial { function populateForm (line 70) | function populateForm(settings: AppSettings): void { function setRestartNotice (line 86) | function setRestartNotice(visible: boolean): void { function setButtonsState (line 91) | function setButtonsState(dirty: boolean): void { function saveSettings (line 96) | async function saveSettings(initial: AppSettings): Promise { FILE: packages/@n8n/local-gateway/src/shared/types.ts type LogLevel (line 1) | type LogLevel = 'silent' | 'error' | 'warn' | 'info' | 'debug'; type DaemonStatus (line 3) | type DaemonStatus = 'stopped' | 'starting' | 'waiting' | 'connected' | '... type AppSettings (line 5) | interface AppSettings { type StatusSnapshot (line 17) | interface StatusSnapshot { FILE: packages/@n8n/mcp-browser-extension/src/__tests__/relayConnection.test.ts function targetIdForTab (line 11) | function targetIdForTab(chromeTabId: number): string { function mockTarget (line 59) | function mockTarget(chromeTabId: number): { class MockWebSocket (line 112) | class MockWebSocket { method send (line 125) | send(data: string): void { method close (line 129) | close(code?: number, reason?: string): void { FILE: packages/@n8n/mcp-browser-extension/src/background.ts type ConnectionState (line 13) | interface ConnectionState { constant SETTINGS_KEY (line 23) | const SETTINGS_KEY = 'tabManagementSettings'; constant DEFAULT_SETTINGS (line 25) | const DEFAULT_SETTINGS: TabManagementSettings = { function loadSettings (line 30) | async function loadSettings(): Promise { constant CONNECT_PAGE (line 39) | const CONNECT_PAGE = '/dist/connect.html'; constant RELAY_URL_KEY (line 40) | const RELAY_URL_KEY = 'pendingRelayUrl'; type GetTabsMessage (line 46) | interface GetTabsMessage { type ConnectMessage (line 50) | interface ConnectMessage { type DisconnectMessage (line 56) | interface DisconnectMessage { type GetStatusMessage (line 60) | interface GetStatusMessage { type UpdateSettingsMessage (line 64) | interface UpdateSettingsMessage { type GetSettingsMessage (line 69) | interface GetSettingsMessage { type GetRelayUrlMessage (line 73) | interface GetRelayUrlMessage { type ClearRelayUrlMessage (line 77) | interface ClearRelayUrlMessage { type ExtensionMessage (line 81) | type ExtensionMessage = function handleMessage (line 106) | async function handleMessage(message: ExtensionMessage): Promise { function getEligibleTabs (line 153) | async function getEligibleTabs(): Promise { function connectToRelay (line 307) | async function connectToRelay( function disconnect (line 373) | function disconnect(): void { function broadcastStatusChange (line 383) | function broadcastStatusChange(): void { function updateBadge (line 395) | function updateBadge(tabCount: number): void { function openOrFocusConnectTab (line 409) | async function openOrFocusConnectTab(): Promise { FILE: packages/@n8n/mcp-browser-extension/src/logger.ts type LogLevel (line 3) | type LogLevel = 'silent' | 'error' | 'warn' | 'info' | 'debug'; constant LEVEL_RANK (line 5) | const LEVEL_RANK: Record = { function configureLogger (line 15) | function configureLogger(options: { level?: LogLevel }): void { function isEnabled (line 19) | function isEnabled(level: LogLevel): boolean { function devTimestamp (line 25) | function devTimestamp(): string { function toPrintable (line 31) | function toPrintable(metadata: Record): string { function devDebugLine (line 40) | function devDebugLine(level: string, message: string, meta: Record { method addTab (line 128) | async addTab(chromeTabId: number, title: string, url: string): Promise... method removeTab (line 147) | removeTab(chromeTabId: number): void { method setSettings (line 176) | setSettings(settings: TabManagementSettings): void { method getControlledIds (line 181) | getControlledIds(): Array<{ targetId: string; chromeTabId: number }> { method isControlledTab (line 189) | isControlledTab(chromeTabId: number): boolean { method isTabCreationAllowed (line 193) | isTabCreationAllowed(): boolean { method isAgentCreatedTab (line 197) | isAgentCreatedTab(chromeTabId: number): boolean { method markAsAgentCreated (line 201) | markAsAgentCreated(chromeTabId: number): void { method close (line 205) | close(message: string): void { method handleClose (line 214) | private handleClose(): void { method resolveTargetIds (line 244) | private async resolveTargetIds(chromeTabIds: number[]): Promise { method onDebuggerEvent (line 327) | private onDebuggerEvent(source: chrome.debugger.Debuggee, method: stri... method onDebuggerDetach (line 338) | private onDebuggerDetach(source: chrome.debugger.Debuggee, reason: str... method onMessage (line 367) | private onMessage(event: MessageEvent): void { method onMessageAsync (line 371) | private async onMessageAsync(event: MessageEvent): Promise { method handleCommand (line 394) | private async handleCommand(message: ProtocolCommand): Promise { method resolveTab (line 418) | private resolveTab(id?: string): { id: string; entry: TabEntry } { method handleForwardCDPCommand (line 435) | private async handleForwardCDPCommand(params: Record)... method handleCreateTab (line 463) | private async handleCreateTab(params: Record): Promis... method handleCloseTab (line 491) | private async handleCloseTab(params: Record): Promise... method handleAttachTab (line 532) | private async handleAttachTab(params: Record): Promis... method handleListTabs (line 542) | private async handleListTabs(): Promise { method sendError (line 562) | private sendError(code: number, message: string): void { method sendMessage (line 566) | private sendMessage(message: ProtocolResponse): void { FILE: packages/@n8n/mcp-browser/src/adapters/playwright.ts type SnapshotForAIResult (line 45) | interface SnapshotForAIResult { type PlaywrightPagePrivate (line 52) | interface PlaywrightPagePrivate extends Page { type PageState (line 63) | interface PageState { constant BROWSER_BRIDGE_EXTENSION_ID (line 78) | const BROWSER_BRIDGE_EXTENSION_ID = 'agklaocphkdbepcjccjpnbcglmpebhpo'; class PlaywrightAdapter (line 84) | class PlaywrightAdapter { method constructor (line 95) | constructor(config: ResolvedConfig) { method launch (line 103) | async launch(config: ConnectConfig): Promise { method close (line 171) | async close(): Promise { method newPage (line 193) | async newPage(url?: string): Promise { method closePage (line 210) | async closePage(pageId: string): Promise { method focusPage (line 222) | async focusPage(pageId: string): Promise { method listPages (line 227) | async listPages(): Promise { method listTabs (line 246) | async listTabs(): Promise { method listTabSessionIds (line 262) | listTabSessionIds(): string[] { method listTabIds (line 267) | async listTabIds(): Promise { method navigate (line 282) | async navigate( method back (line 296) | async back(pageId: string): Promise { method forward (line 302) | async forward(pageId: string): Promise { method reload (line 308) | async reload( method click (line 325) | async click(pageId: string, target: ElementTarget, options?: ClickOpti... method type (line 335) | async type( method select (line 355) | async select(pageId: string, target: ElementTarget, values: string[]):... method hover (line 361) | async hover(pageId: string, target: ElementTarget): Promise { method press (line 367) | async press(pageId: string, keys: string): Promise { method drag (line 372) | async drag(pageId: string, from: ElementTarget, to: ElementTarget): Pr... method scroll (line 379) | async scroll(pageId: string, target?: ElementTarget, options?: ScrollO... method upload (line 392) | async upload(pageId: string, target: ElementTarget | undefined, files:... method dialog (line 410) | async dialog(pageId: string, action: 'accept' | 'dismiss', text?: stri... method screenshot (line 452) | async screenshot( method snapshot (line 473) | async snapshot(pageId: string, target?: ElementTarget): Promise { method evaluate (line 512) | async evaluate(pageId: string, script: string): Promise { method getConsole (line 517) | async getConsole(pageId: string, level?: string, clear?: boolean): Pro... method getConsoleSummary (line 545) | getConsoleSummary(pageId: string): { errors: number; warnings: number } { method pdf (line 555) | async pdf( method getNetwork (line 569) | async getNetwork(pageId: string, filter?: string, clear?: boolean): Pr... method wait (line 589) | async wait(pageId: string, options: WaitOptions): Promise { method getCookies (line 626) | async getCookies(pageId: string, url?: string): Promise { method setCookies (line 643) | async setCookies(pageId: string, cookies: Cookie[]): Promise { method clearCookies (line 660) | async clearCookies(pageId: string): Promise { method getStorage (line 665) | async getStorage(pageId: string, kind: 'local' | 'session'): Promise(pageId: string, action: () => Promise): ... method getModalStates (line 766) | getModalStates(pageId: string): ModalState[] { method getContent (line 797) | async getContent(pageId: string, selector?: string): Promise<{ html: s... method resolveRef (line 813) | async resolveRef(pageId: string, ref: string): Promise { method requireContext (line 833) | private requireContext(): BrowserContext { method requirePage (line 838) | private requirePage(pageId: string): PageState { method ensurePage (line 849) | private async ensurePage(pageId: string): Promise { method findPageState (line 898) | private findPageState(page: Page): PageState | undefined { method trackPage (line 905) | private trackPage(page: Page, explicitId?: string): PageState { method getPageUrl (line 967) | getPageUrl(pageId: string): string | undefined { method resolveLocator (line 977) | private async resolveLocator(pageId: string, target: ElementTarget): P... method globToRegex (line 985) | private globToRegex(pattern: string): RegExp { FILE: packages/@n8n/mcp-browser/src/browser-discovery.ts class BrowserDiscovery (line 12) | class BrowserDiscovery { method discover (line 15) | discover(): DiscoveredBrowsers { method discoverMacOS (line 43) | private discoverMacOS(): DiscoveredBrowsers { method discoverLinux (line 109) | private discoverLinux(): DiscoveredBrowsers { method discoverWindows (line 159) | private discoverWindows(): DiscoveredBrowsers { method whichSync (line 223) | private whichSync(binary: string): string | undefined { function getInstallInstructions (line 270) | function getInstallInstructions( function getExtensionInstallInstructions (line 281) | function getExtensionInstallInstructions(): string { function getDefaultDiscovery (line 295) | function getDefaultDiscovery(): BrowserDiscovery { FILE: packages/@n8n/mcp-browser/src/cdp-relay-protocol.ts constant PROTOCOL_VERSION (line 10) | const PROTOCOL_VERSION = 1; type ExtensionCommands (line 16) | interface ExtensionCommands { type ExtensionEvents (line 58) | interface ExtensionEvents { type ExtensionRequest (line 88) | interface ExtensionRequest { type ExtensionResponse (line 94) | interface ExtensionResponse { type CDPCommand (line 102) | interface CDPCommand { type CDPResponse (line 109) | interface CDPResponse { FILE: packages/@n8n/mcp-browser/src/cdp-relay.ts type CDPRelayServerOptions (line 33) | interface CDPRelayServerOptions { type WaitForExtensionOptions (line 38) | interface WaitForExtensionOptions { class CDPRelayServer (line 43) | class CDPRelayServer { method constructor (line 70) | constructor(options?: CDPRelayServerOptions) { method listen (line 93) | async listen(): Promise { method cdpEndpoint (line 105) | cdpEndpoint(port: number): string { method extensionEndpoint (line 110) | extensionEndpoint(port: number): string { method waitForExtension (line 115) | async waitForExtension(options?: WaitForExtensionOptions): Promise { method deactivateTab (line 235) | deactivateTab(id: string): void { method onConnection (line 246) | private onConnection(ws: WebSocket, req: http.IncomingMessage): void { method handlePlaywrightConnection (line 264) | private handlePlaywrightConnection(ws: WebSocket): void { method handlePlaywrightMessage (line 294) | private async handlePlaywrightMessage(message: CDPCommand): Promise { method handleTabOpened (line 480) | private handleTabOpened(id: string, title: string, url: string): void { method handleTabClosed (line 490) | private handleTabClosed(id: string): void { method sendToPlaywright (line 509) | private sendToPlaywright(message: CDPResponse): void { method handleExtensionConnection (line 523) | private handleExtensionConnection(ws: WebSocket): void { method closeExtensionConnection (line 581) | private closeExtensionConnection(reason: string): void { method resetState (line 588) | private resetState(): void { method closePlaywrightConnection (line 602) | private closePlaywrightConnection(reason: string): void { class ExtensionConnection (line 615) | class ExtensionConnection { method constructor (line 629) | constructor(ws: WebSocket) { method send (line 642) | async send( method close (line 689) | close(reason: string): void { method handleMessage (line 695) | private handleMessage(data: unknown): void { method handleClose (line 724) | private handleClose(): void { FILE: packages/@n8n/mcp-browser/src/connection.ts class BrowserConnection (line 14) | class BrowserConnection { method constructor (line 18) | constructor(userConfig?: Partial) { method connect (line 58) | async connect(overrideBrowser?: BrowserName): Promise { method disconnect (line 88) | async disconnect(): Promise { method getConnection (line 101) | getConnection(): ConnectionState { method isConnected (line 106) | get isConnected(): boolean { method shutdown (line 110) | async shutdown(): Promise { method getResolvedConfig (line 114) | getResolvedConfig(): ResolvedConfig { method getAvailableBrowsers (line 122) | getAvailableBrowsers(): BrowserName[] { method requireBrowserAvailable (line 128) | private requireBrowserAvailable(browser: BrowserName): void { method createAdapter (line 137) | private async createAdapter() { FILE: packages/@n8n/mcp-browser/src/errors.ts class McpBrowserError (line 1) | class McpBrowserError extends Error { method constructor (line 2) | constructor( class NotConnectedError (line 11) | class NotConnectedError extends McpBrowserError { method constructor (line 12) | constructor() { class AlreadyConnectedError (line 17) | class AlreadyConnectedError extends McpBrowserError { method constructor (line 18) | constructor() { class PageNotFoundError (line 26) | class PageNotFoundError extends McpBrowserError { method constructor (line 27) | constructor(readonly pageId: string) { class StaleRefError (line 35) | class StaleRefError extends McpBrowserError { method constructor (line 36) | constructor(readonly ref: string) { class UnsupportedOperationError (line 44) | class UnsupportedOperationError extends McpBrowserError { method constructor (line 45) | constructor( class BrowserNotAvailableError (line 56) | class BrowserNotAvailableError extends McpBrowserError { method constructor (line 57) | constructor( class BrowserExecutableNotFoundError (line 72) | class BrowserExecutableNotFoundError extends McpBrowserError { method constructor (line 73) | constructor(readonly browser: string) { type ExtensionNotConnectedPhase (line 82) | type ExtensionNotConnectedPhase = 'browser_not_launched' | 'extension_mi... class ExtensionNotConnectedError (line 84) | class ExtensionNotConnectedError extends McpBrowserError { method constructor (line 85) | constructor( FILE: packages/@n8n/mcp-browser/src/logger.ts type LogLevel (line 5) | type LogLevel = 'silent' | 'error' | 'warn' | 'info' | 'debug'; constant LEVEL_RANK (line 7) | const LEVEL_RANK: Record = { function configureLogger (line 17) | function configureLogger(options: { level?: LogLevel }): void { function isEnabled (line 21) | function isEnabled(level: LogLevel): boolean { function devTimestamp (line 27) | function devTimestamp(): string { function toPrintable (line 33) | function toPrintable(metadata: Record): string { constant LEVEL_COLORS (line 42) | const LEVEL_COLORS: Record string> = { function colorFor (line 49) | function colorFor(level: string): (s: string) => string { function devDebugLine (line 53) | function devDebugLine(level: string, message: string, meta: Record): BrowserToolkit { FILE: packages/@n8n/mcp-browser/src/tools/inspection.ts function createInspectionTools (line 8) | function createInspectionTools(connection: BrowserConnection): ToolDefin... function browserSnapshot (line 37) | function browserSnapshot(connection: BrowserConnection): ToolDefinition { function browserScreenshot (line 65) | function browserScreenshot(connection: BrowserConnection): ToolDefinition { function browserContent (line 105) | function browserContent(connection: BrowserConnection): ToolDefinition { function browserEvaluate (line 160) | function browserEvaluate(connection: BrowserConnection): ToolDefinition { function browserConsole (line 201) | function browserConsole(connection: BrowserConnection): ToolDefinition { function browserPdf (line 232) | function browserPdf(connection: BrowserConnection): ToolDefinition { function browserNetwork (line 273) | function browserNetwork(connection: BrowserConnection): ToolDefinition { FILE: packages/@n8n/mcp-browser/src/tools/interaction.ts function createInteractionTools (line 13) | function createInteractionTools(connection: BrowserConnection): ToolDefi... function browserClick (line 52) | function browserClick(connection: BrowserConnection): ToolDefinition { function browserType (line 95) | function browserType(connection: BrowserConnection): ToolDefinition { function browserSelect (line 134) | function browserSelect(connection: BrowserConnection): ToolDefinition { function browserDrag (line 165) | function browserDrag(connection: BrowserConnection): ToolDefinition { function browserHover (line 195) | function browserHover(connection: BrowserConnection): ToolDefinition { function browserPress (line 225) | function browserPress(connection: BrowserConnection): ToolDefinition { function browserScroll (line 265) | function browserScroll(connection: BrowserConnection): ToolDefinition { function browserUpload (line 306) | function browserUpload(connection: BrowserConnection): ToolDefinition { function browserDialog (line 339) | function browserDialog(connection: BrowserConnection): ToolDefinition { FILE: packages/@n8n/mcp-browser/src/tools/navigation.ts function createNavigationTools (line 13) | function createNavigationTools(connection: BrowserConnection): ToolDefin... function browserNavigate (line 34) | function browserNavigate(connection: BrowserConnection): ToolDefinition { function browserBack (line 59) | function browserBack(connection: BrowserConnection): ToolDefinition { function browserForward (line 83) | function browserForward(connection: BrowserConnection): ToolDefinition { function browserReload (line 108) | function browserReload(connection: BrowserConnection): ToolDefinition { FILE: packages/@n8n/mcp-browser/src/tools/response-envelope.ts function resolvePageContext (line 14) | function resolvePageContext( function enrichResponse (line 32) | async function enrichResponse( function buildErrorResponse (line 96) | async function buildErrorResponse( FILE: packages/@n8n/mcp-browser/src/tools/schemas.ts type ElementTargetInput (line 26) | type ElementTargetInput = z.infer; function withSnapshotEnvelope (line 73) | function withSnapshotEnvelope(shape: T) { FILE: packages/@n8n/mcp-browser/src/tools/session.ts function createSessionTools (line 9) | function createSessionTools(connection: BrowserConnection): ToolDefiniti... function browserConnect (line 37) | function browserConnect( function browserDisconnect (line 79) | function browserDisconnect( FILE: packages/@n8n/mcp-browser/src/tools/state.ts function createStateTools (line 8) | function createStateTools(connection: BrowserConnection): ToolDefinition... function browserCookies (line 57) | function browserCookies(connection: BrowserConnection): ToolDefinition { function browserStorage (line 120) | function browserStorage(connection: BrowserConnection): ToolDefinition { FILE: packages/@n8n/mcp-browser/src/tools/tabs.ts function createTabTools (line 8) | function createTabTools(connection: BrowserConnection): ToolDefinition[] { function tabOpen (line 22) | function tabOpen(connection: BrowserConnection): ToolDefinition { function tabList (line 57) | function tabList(connection: BrowserConnection): ToolDefinition { function tabFocus (line 86) | function tabFocus(connection: BrowserConnection): ToolDefinition { function tabClose (line 118) | function tabClose(connection: BrowserConnection): ToolDefinition { FILE: packages/@n8n/mcp-browser/src/tools/test-helpers.ts function textOf (line 11) | function textOf(result: CallToolResult): string { function structuredOf (line 18) | function structuredOf(result: CallToolResult): Record { function findTool (line 24) | function findTool(tools: ToolDefinition[], name: string): ToolDefinition { constant TOOL_CONTEXT (line 32) | const TOOL_CONTEXT: ToolContext = { dir: '/test' }; function createMockAdapter (line 35) | function createMockAdapter() { type MockAdapter (line 109) | type MockAdapter = ReturnType; function createMockConnection (line 112) | function createMockConnection(adapter?: MockAdapter) { FILE: packages/@n8n/mcp-browser/src/tools/wait.ts function createWaitTools (line 8) | function createWaitTools(connection: BrowserConnection): ToolDefinition[] { function browserWait (line 30) | function browserWait(connection: BrowserConnection): ToolDefinition { FILE: packages/@n8n/mcp-browser/src/types.ts type BrowserName (line 10) | type BrowserName = (typeof chromiumBrowsers)[number]; type Config (line 28) | type Config = z.input; type ResolvedBrowserInfo (line 30) | interface ResolvedBrowserInfo { type ResolvedConfig (line 36) | interface ResolvedConfig { type ConnectConfig (line 45) | interface ConnectConfig { type PageInfo (line 49) | interface PageInfo { type ConnectionState (line 55) | interface ConnectionState { type ConnectResult (line 61) | interface ConnectResult { type ElementTarget (line 70) | type ElementTarget = { ref: string } | { selector: string }; type ModalState (line 76) | interface ModalState { type NavigateResult (line 88) | interface NavigateResult { type SnapshotResult (line 94) | interface SnapshotResult { type ConsoleEntry (line 99) | interface ConsoleEntry { type ErrorEntry (line 105) | interface ErrorEntry { type NetworkEntry (line 111) | interface NetworkEntry { type Cookie (line 119) | interface Cookie { type ClickOptions (line 134) | interface ClickOptions { type TypeOptions (line 140) | interface TypeOptions { type ScrollOptions (line 146) | interface ScrollOptions { type ScreenshotOptions (line 151) | interface ScreenshotOptions { type WaitOptions (line 155) | interface WaitOptions { type ToolContext (line 170) | interface ToolContext { type ToolDefinition (line 175) | interface ToolDefinition { type AffectedResource (line 187) | interface AffectedResource { type BrowserToolkit (line 193) | interface BrowserToolkit { type BrowserConnection (line 201) | type BrowserConnection = BrowserConnectionType; type PlaywrightAdapter (line 202) | type PlaywrightAdapter = PlaywrightAdapterType; type BrowserInfo (line 208) | interface BrowserInfo { type DiscoveredBrowsers (line 213) | interface DiscoveredBrowsers { type DiscoveryReport (line 220) | interface DiscoveryReport { FILE: packages/@n8n/mcp-browser/src/utils.ts function expandHome (line 12) | function expandHome(p: string): string { function generateId (line 20) | function generateId(prefix: string): string { function formatCallToolResult (line 25) | function formatCallToolResult(data: Record): CallToolRe... function formatImageResponse (line 33) | function formatImageResponse( function toError (line 47) | function toError(value: unknown): Error { function formatErrorResponse (line 53) | function formatErrorResponse(error: McpBrowserError): CallToolResult { FILE: packages/@n8n/node-cli/src/commands/build.ts class Build (line 11) | class Build extends Command { method run (line 16) | async run(): Promise { function runTscBuild (line 45) | async function runTscBuild(): Promise { function copyStaticFiles (line 54) | async function copyStaticFiles() { FILE: packages/@n8n/node-cli/src/commands/cloud-support.ts class CloudSupport (line 11) | class CloudSupport extends Command { method run (line 27) | async run(): Promise { method enableCloudSupport (line 43) | private async enableCloudSupport(workingDir: string): Promise { method disableCloudSupport (line 58) | private async disableCloudSupport(workingDir: string): Promise { method updateEslintConfig (line 94) | private async updateEslintConfig(workingDir: string, enableCloud: bool... method updateStrictMode (line 109) | private async updateStrictMode(workingDir: string, enableStrict: boole... method showCloudSupportStatus (line 117) | private async showCloudSupportStatus(workingDir: string): Promise { FILE: packages/@n8n/node-cli/src/commands/dev/index.ts class Dev (line 20) | class Dev extends Command { method run (line 40) | async run(): Promise { FILE: packages/@n8n/node-cli/src/commands/dev/utils.ts type CommandOutput (line 7) | interface CommandOutput { constant ANSI (line 15) | const ANSI = { constant CONFIG (line 24) | const CONFIG = { function calculatePanelHeight (line 35) | function calculatePanelHeight(numPanels: number, headerLines: number): n... function stripScreenControlCodes (line 59) | function stripScreenControlCodes(str: string): string { function getStatusDisplay (line 69) | function getStatusDisplay(output: CommandOutput) { function getVisibleLength (line 87) | function getVisibleLength(str: string): number { function truncateLine (line 92) | function truncateLine(line: string, maxWidth: number): string { function processStreamData (line 120) | function processStreamData(data: Buffer, outputLines: string[]): void { function sleep (line 139) | async function sleep(ms: number): Promise { function createSpinner (line 143) | function createSpinner(text: string | (() => string)): () => string { function getOpenCommand (line 155) | function getOpenCommand(url: string): string { function openUrl (line 167) | function openUrl(url: string): void { type CommandConfig (line 175) | interface CommandConfig { type KeyHandler (line 185) | interface KeyHandler { type CommandsConfig (line 191) | interface CommandsConfig { type RenderState (line 198) | interface RenderState { function renderPanel (line 202) | function renderPanel(output: CommandOutput, terminalWidth: number, panel... function renderUI (line 225) | function renderUI(outputs: CommandOutput[], helpText?: string, headerTex... function doRender (line 252) | function doRender( function setupKeyboardInput (line 266) | function setupKeyboardInput( function handleCommandCompletion (line 288) | async function handleCommandCompletion( function restoreTerminal (line 307) | function restoreTerminal(): void { function printAllCommandOutputs (line 314) | function printAllCommandOutputs(outputs: CommandOutput[], headerText?: s... function killProcess (line 339) | async function killProcess(proc: ChildProcess, graceful: boolean): Promi... function runCommands (line 389) | function runCommands(config: CommandsConfig): void { function readPackageName (line 557) | async function readPackageName(): Promise { function createOpenN8nHandler (line 563) | function createOpenN8nHandler(): KeyHandler { function buildHelpText (line 572) | function buildHelpText(hasN8n: boolean, isN8nReady: boolean): string { FILE: packages/@n8n/node-cli/src/commands/lint.ts class Lint (line 13) | class Lint extends Command { method run (line 21) | async run(): Promise { method checkStrictMode (line 64) | private async checkStrictMode(): Promise { method verifyEslintConfig (line 78) | private async verifyEslintConfig(workingDir: string): Promise { method handleLintErrors (line 120) | private async handleLintErrors(eslintOutput: string): Promise { method containsCloudOnlyErrors (line 135) | private containsCloudOnlyErrors(errorMessage: string): boolean { FILE: packages/@n8n/node-cli/src/commands/new/index.ts class New (line 24) | class New extends Command { method run (line 54) | async run(): Promise { FILE: packages/@n8n/node-cli/src/commands/prerelease.ts class Prerelease (line 5) | class Prerelease extends Command { method run (line 12) | async run(): Promise { FILE: packages/@n8n/node-cli/src/commands/release.ts class Release (line 8) | class Release extends Command { method run (line 42) | async run(): Promise { FILE: packages/@n8n/node-cli/src/configs/eslint.ts function createConfig (line 9) | function createConfig(supportCloud = true): ConfigArray { FILE: packages/@n8n/node-cli/src/template/core.ts type TemplateData (line 8) | type TemplateData = { type Require (line 22) | type Require = T & { [P in K]-?: T[P] }; type Template (line 23) | type Template = { type TemplateWithRun (line 31) | type TemplateWithRun = Require( function copyDefaultTemplateFilesToDestination (line 44) | async function copyDefaultTemplateFilesToDestination(data: TemplateData) { function templateStaticFiles (line 52) | async function templateStaticFiles(data: TemplateData) { function createTemplate (line 72) | function createTemplate( FILE: packages/@n8n/node-cli/src/template/templates/declarative/custom/ast.ts function updateNodeAst (line 10) | function updateNodeAst({ function updateCredentialAst (line 72) | function updateCredentialAst({ function addCredentialToNode (line 130) | function addCredentialToNode({ FILE: packages/@n8n/node-cli/src/template/templates/declarative/custom/template.ts function renameNode (line 42) | async function renameNode(data: TemplateData, oldN... function addCredential (line 62) | async function addCredential(data: TemplateData) { FILE: packages/@n8n/node-cli/src/template/templates/declarative/custom/template/nodes/Example/Example.node.ts class Example (line 5) | class Example implements INodeType { FILE: packages/@n8n/node-cli/src/template/templates/declarative/custom/types.ts type CustomTemplateConfig (line 1) | type CustomTemplateConfig = type CredentialType (line 8) | type CredentialType = CustomTemplateConfig['credentialType']; FILE: packages/@n8n/node-cli/src/template/templates/declarative/github-issues/template/credentials/GithubIssuesApi.credentials.ts class GithubIssuesApi (line 9) | class GithubIssuesApi implements ICredentialType { FILE: packages/@n8n/node-cli/src/template/templates/declarative/github-issues/template/credentials/GithubIssuesOAuth2Api.credentials.ts class GithubIssuesOAuth2Api (line 3) | class GithubIssuesOAuth2Api implements ICredentialType { FILE: packages/@n8n/node-cli/src/template/templates/declarative/github-issues/template/nodes/GithubIssues/GithubIssues.node.ts class GithubIssues (line 8) | class GithubIssues implements INodeType { FILE: packages/@n8n/node-cli/src/template/templates/declarative/github-issues/template/nodes/GithubIssues/listSearch/getIssues.ts type IssueSearchItem (line 8) | type IssueSearchItem = { type IssueSearchResponse (line 14) | type IssueSearchResponse = { function getIssues (line 19) | async function getIssues( FILE: packages/@n8n/node-cli/src/template/templates/declarative/github-issues/template/nodes/GithubIssues/listSearch/getRepositories.ts type RepositorySearchItem (line 8) | type RepositorySearchItem = { type RepositorySearchResponse (line 13) | type RepositorySearchResponse = { function getRepositories (line 18) | async function getRepositories( FILE: packages/@n8n/node-cli/src/template/templates/declarative/github-issues/template/nodes/GithubIssues/listSearch/getUsers.ts type UserSearchItem (line 8) | type UserSearchItem = { type UserSearchResponse (line 13) | type UserSearchResponse = { function getUsers (line 18) | async function getUsers( FILE: packages/@n8n/node-cli/src/template/templates/declarative/github-issues/template/nodes/GithubIssues/shared/transport.ts function githubApiRequest (line 11) | async function githubApiRequest( FILE: packages/@n8n/node-cli/src/template/templates/declarative/github-issues/template/nodes/GithubIssues/shared/utils.ts function parseLinkHeader (line 1) | function parseLinkHeader(header?: string): { [rel: string]: string } { FILE: packages/@n8n/node-cli/src/template/templates/index.ts type TemplateMap (line 23) | type TemplateMap = typeof templates; type TemplateType (line 24) | type TemplateType = keyof TemplateMap; type TemplateName (line 25) | type TemplateName = keyof TemplateMap[T]; function getTemplate (line 27) | function getTemplate>( function isTemplateType (line 34) | function isTemplateType(val: unknown): val is TemplateType { function isTemplateName (line 38) | function isTemplateName( FILE: packages/@n8n/node-cli/src/template/templates/programmatic/ai/memory-custom/template/nodes/ExampleChatMemory/ExampleChatMemory.node.ts type MemoryOptions (line 6) | type MemoryOptions = { class ExampleChatMemory (line 10) | class ExampleChatMemory implements INodeType { method supplyData (line 70) | async supplyData(this: ISupplyDataFunctions, itemIndex: number) { FILE: packages/@n8n/node-cli/src/template/templates/programmatic/ai/memory-custom/template/nodes/ExampleChatMemory/memory.ts class InMemoryChatHistory (line 8) | class InMemoryChatHistory extends BaseChatHistory { method constructor (line 11) | constructor(private sessionId: string) { method getMessages (line 15) | async getMessages(): Promise { method addMessage (line 20) | async addMessage(message: Message): Promise { method clear (line 26) | async clear(): Promise { FILE: packages/@n8n/node-cli/src/template/templates/programmatic/ai/model-ai-custom-example/template/credentials/ExampleApi.credentials.ts class ExampleApi (line 10) | class ExampleApi implements ICredentialType { method authenticate (line 42) | async authenticate( FILE: packages/@n8n/node-cli/src/template/templates/programmatic/ai/model-ai-custom-example/template/nodes/ExampleChatModel/ExampleChatModel.node.ts type ModelOptions (line 13) | type ModelOptions = { class ExampleChatModel (line 17) | class ExampleChatModel implements INodeType { method supplyData (line 57) | async supplyData(this: ISupplyDataFunctions, itemIndex: number) { FILE: packages/@n8n/node-cli/src/template/templates/programmatic/ai/model-ai-custom-example/template/nodes/ExampleChatModel/model.ts type OpenAITool (line 18) | type OpenAITool = type OpenAIToolChoice (line 30) | type OpenAIToolChoice = 'auto' | 'required' | 'none' | { type: 'function... type ResponsesInputItem (line 32) | type ResponsesInputItem = type OpenAIResponsesRequest (line 48) | interface OpenAIResponsesRequest { type OpenAIResponsesResponse (line 63) | interface OpenAIResponsesResponse { type ResponsesOutputItem (line 87) | type ResponsesOutputItem = type OpenAIStreamEvent (line 113) | interface OpenAIStreamEvent { function genericMessagesToResponsesInput (line 140) | function genericMessagesToResponsesInput(messages: Message[]): { function genericToolToResponsesTool (line 238) | function genericToolToResponsesTool(tool: Tool): OpenAITool { function parseResponsesOutput (line 258) | function parseResponsesOutput(output: ResponsesOutputItem[]): { function parseTokenUsage (line 291) | function parseTokenUsage( type OpenAIChatModelConfig (line 313) | interface OpenAIChatModelConfig extends ChatModelConfig { type RequestConfig (line 320) | interface RequestConfig { class OpenAIChatModel (line 335) | class OpenAIChatModel extends BaseChatModel { method constructor (line 338) | constructor( method getTools (line 347) | private getTools(config?: OpenAIChatModelConfig) { method generate (line 353) | async generate(messages: Message[], config?: OpenAIChatModelConfig): P... method stream (line 432) | async *stream(messages: Message[], config?: OpenAIChatModelConfig): As... FILE: packages/@n8n/node-cli/src/template/templates/programmatic/ai/model-ai-custom/template/credentials/ExampleApi.credentials.ts class ExampleApi (line 10) | class ExampleApi implements ICredentialType { method authenticate (line 44) | async authenticate( FILE: packages/@n8n/node-cli/src/template/templates/programmatic/ai/model-ai-custom/template/nodes/ExampleChatModel/ExampleChatModel.node.ts type ModelOptions (line 6) | type ModelOptions = { class ExampleChatModel (line 10) | class ExampleChatModel implements INodeType { method supplyData (line 72) | async supplyData(this: ISupplyDataFunctions, itemIndex: number) { FILE: packages/@n8n/node-cli/src/template/templates/programmatic/ai/model-ai-custom/template/nodes/ExampleChatModel/model.ts type ModelConfig (line 10) | interface ModelConfig extends ChatModelConfig { type ProviderResponse (line 14) | interface ProviderResponse { type RequestConfig (line 24) | interface RequestConfig { class CustomChatModel (line 39) | class CustomChatModel extends BaseChatModel { method constructor (line 42) | constructor( method generate (line 51) | async generate(messages: Message[], config?: ModelConfig): Promise { FILE: packages/@n8n/node-cli/src/template/templates/shared/credentials/apiKey.credentials.ts class ExampleApi (line 8) | class ExampleApi implements ICredentialType { FILE: packages/@n8n/node-cli/src/template/templates/shared/credentials/basicAuth.credentials.ts class ExampleApi (line 8) | class ExampleApi implements ICredentialType { FILE: packages/@n8n/node-cli/src/template/templates/shared/credentials/bearer.credentials.ts class ExampleApi (line 8) | class ExampleApi implements ICredentialType { FILE: packages/@n8n/node-cli/src/template/templates/shared/credentials/custom.credentials.ts class ExampleApi (line 8) | class ExampleApi implements ICredentialType { FILE: packages/@n8n/node-cli/src/template/templates/shared/credentials/oauth2AuthorizationCode.credentials.ts class ExampleOAuth2Api (line 3) | class ExampleOAuth2Api implements ICredentialType { FILE: packages/@n8n/node-cli/src/template/templates/shared/credentials/oauth2ClientCredentials.credentials.ts class ExampleOAuth2Api (line 3) | class ExampleOAuth2Api implements ICredentialType { FILE: packages/@n8n/node-cli/src/test-utils/command-tester.ts function isValidCommand (line 7) | function isValidCommand(commandName: string): commandName is keyof typeo... type LogLevel (line 11) | type LogLevel = 'success' | 'warning' | 'error' | 'info'; type CommandResult (line 13) | interface CommandResult { class CommandTester (line 17) | class CommandTester { method run (line 18) | static async run(commandLine: string): Promise { FILE: packages/@n8n/node-cli/src/test-utils/matchers.ts function stripAnsiCodes (line 10) | function stripAnsiCodes(text: string): string { function createLogMatcher (line 16) | function createLogMatcher(logLevel: 'success' | 'warning' | 'error') { method toHaveFile (line 36) | toHaveFile(received: string, filename: string) { method toHaveFileEqual (line 48) | async toHaveFileEqual(received: string, filename: string, expectedConten... method toHaveFileContaining (line 85) | async toHaveFileContaining(received: string, filename: string, text: str... method toHaveFileMatchingPattern (line 109) | async toHaveFileMatchingPattern(received: string, filename: string, patt... method toNotHaveFile (line 133) | toNotHaveFile(received: string, filename: string) { method toHaveAskedAllQuestions (line 145) | toHaveAskedAllQuestions(received: typeof MockPrompt) { method toHaveAskedQuestion (line 163) | toHaveAskedQuestion(received: typeof MockPrompt, question: string) { type Assertion (line 178) | interface Assertion { FILE: packages/@n8n/node-cli/src/test-utils/mock-child-process.ts type MockChildProcess (line 4) | interface MockChildProcess extends EventEmitter { type MockSpawnOptions (line 9) | interface MockSpawnOptions { type CommandMockConfig (line 17) | interface CommandMockConfig { function createMockProcess (line 23) | function createMockProcess(): ChildProcess { function emitProcessEvents (line 32) | function emitProcessEvents(mockProcess: MockChildProcess, options: MockS... function mockSpawn (line 63) | function mockSpawn( type ExecSyncMockConfig (line 107) | interface ExecSyncMockConfig { function mockExecSync (line 112) | function mockExecSync(configs: ExecSyncMockConfig[]): void { FILE: packages/@n8n/node-cli/src/test-utils/mock-prompts.ts type PromptConfig (line 3) | interface PromptConfig { type PromptAnswer (line 10) | type PromptAnswer = T | 'CANCEL'; type QuestionAnswerPair (line 12) | interface QuestionAnswerPair { class MockPrompt (line 17) | class MockPrompt { method setup (line 21) | static setup(pairs: QuestionAnswerPair[]): void { method reset (line 32) | static reset(): void { method getAskedQuestions (line 41) | static getAskedQuestions(): string[] { method setupMocks (line 45) | private static setupMocks(): void { FILE: packages/@n8n/node-cli/src/test-utils/package-setup.ts type PackageSetupOptions (line 5) | interface PackageSetupOptions { constant DEFAULT_PACKAGE_CONFIG (line 10) | const DEFAULT_PACKAGE_CONFIG: N8nPackageJson = { constant DEFAULT_ESLINT_CONFIG (line 19) | const DEFAULT_ESLINT_CONFIG = function setupTestPackage (line 22) | async function setupTestPackage( FILE: packages/@n8n/node-cli/src/test-utils/temp-fs.ts function createTempDir (line 6) | async function createTempDir(): Promise { type TmpDirFixture (line 12) | interface TmpDirFixture { FILE: packages/@n8n/node-cli/src/utils/child-process.ts class ChildProcessError (line 5) | class ChildProcessError extends Error { method constructor (line 6) | constructor( function runCommand (line 15) | async function runCommand( FILE: packages/@n8n/node-cli/src/utils/command-suggestions.ts type ExecCommandType (line 5) | type ExecCommandType = 'cli' | 'script'; function getExecCommand (line 7) | async function getExecCommand(type: ExecCommandType = 'cli'): Promise { FILE: packages/@n8n/node-cli/src/utils/filesystem.ts function folderExists (line 7) | async function folderExists(dir: string) { function copyFolder (line 16) | async function copyFolder({ function delayAtLeast (line 47) | async function delayAtLeast(promise: Promise, minMs: number): Prom... function writeFileSafe (line 53) | async function writeFileSafe( function ensureFolder (line 61) | async function ensureFolder(dir: string) { function renameFilesInDirectory (line 65) | async function renameFilesInDirectory( function renameDirectory (line 86) | async function renameDirectory(oldDirPath: string, newDirName: string): ... function createSymlink (line 93) | async function createSymlink(target: string, linkPath: string): Promise<... FILE: packages/@n8n/node-cli/src/utils/git.ts type GitUser (line 5) | type GitUser = { function tryReadGitUser (line 10) | function tryReadGitUser(): GitUser { function initGit (line 38) | async function initGit(dir: string): Promise { FILE: packages/@n8n/node-cli/src/utils/json.ts function jsonParse (line 1) | function jsonParse(data: string): T | null { FILE: packages/@n8n/node-cli/src/utils/package-manager.ts type PackageManager (line 3) | type PackageManager = 'npm' | 'yarn' | 'pnpm'; function detectPackageManagerFromUserAgent (line 5) | function detectPackageManagerFromUserAgent(): PackageManager | null { function detectPackageManagerFromLockFiles (line 15) | async function detectPackageManagerFromLockFiles(): Promise { FILE: packages/@n8n/node-cli/src/utils/package.ts type N8nPackageJson (line 8) | type N8nPackageJson = { function updatePackageJson (line 18) | async function updatePackageJson( function getPackageJson (line 35) | async function getPackageJson(dirPath: string) { function isN8nNodePackage (line 42) | async function isN8nNodePackage(dirPath = process.cwd()) { function getPackageJsonNodes (line 48) | async function getPackageJsonNodes(dirPath: string) { function setNodesPackageJson (line 53) | async function setNodesPackageJson(dirPath: string, nodes: string[]) { function addCredentialPackageJson (line 61) | async function addCredentialPackageJson(dirPath: string, credential: str... FILE: packages/@n8n/node-cli/src/utils/prompts.ts function withCancelHandler (line 9) | async function withCancelHandler(prompt: Promise): Promis... function ensureN8nPackage (line 20) | async function ensureN8nPackage(commandName: string) { function getCliVersion (line 39) | async function getCliVersion(): Promise { function getCommandHeader (line 50) | async function getCommandHeader(commandName: string): Promise { function printCommandHeader (line 55) | async function printCommandHeader(commandName: string): Promise { FILE: packages/@n8n/node-cli/src/utils/validation.ts function isNodeErrnoException (line 15) | function isNodeErrnoException(error: unknown): error is NodeJS.ErrnoExce... function isEnoentError (line 19) | function isEnoentError(error: unknown): boolean { FILE: packages/@n8n/nodes-langchain/credentials/AnthropicApi.credentials.ts class AnthropicApi (line 9) | class AnthropicApi implements ICredentialType { method authenticate (line 81) | async authenticate( FILE: packages/@n8n/nodes-langchain/credentials/AzureAiSearchApi.credentials.ts class AzureAiSearchApi (line 9) | class AzureAiSearchApi implements ICredentialType { FILE: packages/@n8n/nodes-langchain/credentials/AzureEntraCognitiveServicesOAuth2Api.credentials.ts class AzureEntraCognitiveServicesOAuth2Api (line 5) | class AzureEntraCognitiveServicesOAuth2Api implements ICredentialType { FILE: packages/@n8n/nodes-langchain/credentials/AzureOpenAiApi.credentials.ts class AzureOpenAiApi (line 3) | class AzureOpenAiApi implements ICredentialType { FILE: packages/@n8n/nodes-langchain/credentials/ChatHubVectorStorePGVectorApi.credentials.ts class ChatHubVectorStorePGVectorApi (line 3) | class ChatHubVectorStorePGVectorApi implements ICredentialType { FILE: packages/@n8n/nodes-langchain/credentials/ChatHubVectorStorePineconeApi.credentials.ts class ChatHubVectorStorePineconeApi (line 3) | class ChatHubVectorStorePineconeApi implements ICredentialType { FILE: packages/@n8n/nodes-langchain/credentials/ChatHubVectorStoreQdrantApi.credentials.ts class ChatHubVectorStoreQdrantApi (line 3) | class ChatHubVectorStoreQdrantApi implements ICredentialType { FILE: packages/@n8n/nodes-langchain/credentials/ChromaCloudApi.credentials.ts class ChromaCloudApi (line 8) | class ChromaCloudApi implements ICredentialType { FILE: packages/@n8n/nodes-langchain/credentials/ChromaSelfHostedApi.credentials.ts class ChromaSelfHostedApi (line 8) | class ChromaSelfHostedApi implements ICredentialType { FILE: packages/@n8n/nodes-langchain/credentials/CohereApi.credentials.ts class CohereApi (line 8) | class CohereApi implements ICredentialType { FILE: packages/@n8n/nodes-langchain/credentials/DeepSeekApi.credentials.ts class DeepSeekApi (line 8) | class DeepSeekApi implements ICredentialType { FILE: packages/@n8n/nodes-langchain/credentials/GooglePalmApi.credentials.ts class GooglePalmApi (line 8) | class GooglePalmApi implements ICredentialType { FILE: packages/@n8n/nodes-langchain/credentials/GroqApi.credentials.ts class GroqApi (line 8) | class GroqApi implements ICredentialType { FILE: packages/@n8n/nodes-langchain/credentials/HuggingFaceApi.credentials.ts class HuggingFaceApi (line 8) | class HuggingFaceApi implements ICredentialType { FILE: packages/@n8n/nodes-langchain/credentials/LemonadeApi.credentials.ts type LemonadeApiCredentialsType (line 9) | type LemonadeApiCredentialsType = { class LemonadeApi (line 14) | class LemonadeApi implements ICredentialType { method authenticate (line 40) | async authenticate( FILE: packages/@n8n/nodes-langchain/credentials/McpOAuth2Api.credentials.ts class McpOAuth2Api (line 3) | class McpOAuth2Api implements ICredentialType { FILE: packages/@n8n/nodes-langchain/credentials/MicrosoftAgent365Api.credentials.ts class MicrosoftAgent365Api (line 3) | class MicrosoftAgent365Api implements ICredentialType { FILE: packages/@n8n/nodes-langchain/credentials/MilvusApi.credentials.ts class MilvusApi (line 8) | class MilvusApi implements ICredentialType { FILE: packages/@n8n/nodes-langchain/credentials/MistralCloudApi.credentials.ts class MistralCloudApi (line 8) | class MistralCloudApi implements ICredentialType { FILE: packages/@n8n/nodes-langchain/credentials/MotorheadApi.credentials.ts class MotorheadApi (line 8) | class MotorheadApi implements ICredentialType { FILE: packages/@n8n/nodes-langchain/credentials/OllamaApi.credentials.ts class OllamaApi (line 8) | class OllamaApi implements ICredentialType { FILE: packages/@n8n/nodes-langchain/credentials/OpenRouterApi.credentials.ts class OpenRouterApi (line 8) | class OpenRouterApi implements ICredentialType { FILE: packages/@n8n/nodes-langchain/credentials/PineconeApi.credentials.ts class PineconeApi (line 8) | class PineconeApi implements ICredentialType { FILE: packages/@n8n/nodes-langchain/credentials/QdrantApi.credentials.ts class QdrantApi (line 8) | class QdrantApi implements ICredentialType { FILE: packages/@n8n/nodes-langchain/credentials/SearXngApi.credentials.ts class SearXngApi (line 3) | class SearXngApi implements ICredentialType { FILE: packages/@n8n/nodes-langchain/credentials/SerpApi.credentials.ts class SerpApi (line 8) | class SerpApi implements ICredentialType { FILE: packages/@n8n/nodes-langchain/credentials/VercelAiGatewayApi.credentials.ts class VercelAiGatewayApi (line 8) | class VercelAiGatewayApi implements ICredentialType { FILE: packages/@n8n/nodes-langchain/credentials/WeaviateApi.credentials.ts class WeaviateApi (line 3) | class WeaviateApi implements ICredentialType { FILE: packages/@n8n/nodes-langchain/credentials/WolframAlphaApi.credentials.ts class WolframAlphaApi (line 8) | class WolframAlphaApi implements ICredentialType { FILE: packages/@n8n/nodes-langchain/credentials/XAiApi.credentials.ts class XAiApi (line 8) | class XAiApi implements ICredentialType { FILE: packages/@n8n/nodes-langchain/credentials/XataApi.credentials.ts class XataApi (line 8) | class XataApi implements ICredentialType { FILE: packages/@n8n/nodes-langchain/credentials/ZepApi.credentials.ts class ZepApi (line 8) | class ZepApi implements ICredentialType { FILE: packages/@n8n/nodes-langchain/nodes/Guardrails/Guardrails.node.ts class Guardrails (line 10) | class Guardrails extends VersionedNodeType { method constructor (line 11) | constructor() { FILE: packages/@n8n/nodes-langchain/nodes/Guardrails/actions/checks/jailbreak.ts constant JAILBREAK_PROMPT (line 7) | const JAILBREAK_PROMPT = `You are a security system designed to detect a... FILE: packages/@n8n/nodes-langchain/nodes/Guardrails/actions/checks/keywords.ts type KeywordsConfig (line 4) | interface KeywordsConfig { constant WORD_CHAR_CLASS (line 9) | const WORD_CHAR_CLASS = '[\\p{L}\\p{N}_]'; FILE: packages/@n8n/nodes-langchain/nodes/Guardrails/actions/checks/nsfw.ts constant NSFW_SYSTEM_PROMPT (line 4) | const NSFW_SYSTEM_PROMPT = ` FILE: packages/@n8n/nodes-langchain/nodes/Guardrails/actions/checks/pii.ts type PIIEntity (line 21) | enum PIIEntity { type PIIConfig (line 81) | type PIIConfig = { type CustomRegexConfig (line 86) | type CustomRegexConfig = { type PiiDetectionResult (line 93) | interface PiiDetectionResult { type PiiAnalyzerResult (line 101) | interface PiiAnalyzerResult { constant PII_NAME_MAP (line 106) | const PII_NAME_MAP: Record = { constant DEFAULT_PII_PATTERNS (line 148) | const DEFAULT_PII_PATTERNS: Record = { function detectPii (line 214) | function detectPii(text: string, config: PIIConfig): PiiDetectionResult { FILE: packages/@n8n/nodes-langchain/nodes/Guardrails/actions/checks/secretKeys.ts type SecretKeysConfig (line 11) | type SecretKeysConfig = { constant COMMON_KEY_PREFIXES (line 19) | const COMMON_KEY_PREFIXES = [ constant ALLOWED_EXTENSIONS (line 41) | const ALLOWED_EXTENSIONS = [ constant CONFIGS (line 93) | const CONFIGS: Record< function entropy (line 125) | function entropy(s: string): number { function charDiversity (line 145) | function charDiversity(s: string): number { function containsAllowedPattern (line 165) | function containsAllowedPattern(text: string): boolean { function isSecretCandidate (line 188) | function isSecretCandidate( function detectSecretKeys (line 231) | function detectSecretKeys( FILE: packages/@n8n/nodes-langchain/nodes/Guardrails/actions/checks/topicalAlignment.ts constant TOPICAL_ALIGNMENT_SYSTEM_PROMPT (line 4) | const TOPICAL_ALIGNMENT_SYSTEM_PROMPT = `You are a content analysis syst... FILE: packages/@n8n/nodes-langchain/nodes/Guardrails/actions/checks/urls.ts type UrlsConfig (line 5) | type UrlsConfig = { function ipToInt (line 15) | function ipToInt(ip: string): number { function detectUrls (line 26) | function detectUrls(text: string): string[] { function validateUrlSecurity (line 133) | function validateUrlSecurity( function isUrlAllowed (line 191) | function isUrlAllowed(parsedUrl: URL, allowList: string[], allowSubdomai... FILE: packages/@n8n/nodes-langchain/nodes/Guardrails/actions/execute.ts function execute (line 8) | async function execute(this: IExecuteFunctions): Promise = Record... type LLMConfig (line 23) | type LLMConfig = { type CheckFn (line 30) | type CheckFn = Record = { type CustomRegex (line 43) | type CustomRegex = { type GuardrailsOptions (line 48) | interface GuardrailsOptions { type GuardrailUserResult (line 87) | interface GuardrailUserResult { class GuardrailError (line 99) | class GuardrailError extends Error { method constructor (line 100) | constructor( type StageGuardRails (line 109) | interface StageGuardRails { type GroupedGuardrailResults (line 113) | type GroupedGuardrailResults = { FILE: packages/@n8n/nodes-langchain/nodes/Guardrails/description.ts constant THRESHOLD_OPTION (line 10) | const THRESHOLD_OPTION: INodeProperties = { FILE: packages/@n8n/nodes-langchain/nodes/Guardrails/helpers/base.ts type RunStageGuardrailsOptions (line 8) | type RunStageGuardrailsOptions = { function runStageGuardrails (line 26) | async function runStageGuardrails({ FILE: packages/@n8n/nodes-langchain/nodes/Guardrails/helpers/configureNodeInputs.ts constant LLM_CHECKS (line 3) | const LLM_CHECKS = ['nsfw', 'topicalAlignment', 'custom', 'jailbreak'] a... FILE: packages/@n8n/nodes-langchain/nodes/Guardrails/helpers/model.ts constant LLM_SYSTEM_RULES (line 18) | const LLM_SYSTEM_RULES = `Only respond with the json object and nothing ... function getChatModel (line 39) | async function getChatModel(this: IExecuteFunctions): Promise) { FILE: packages/@n8n/nodes-langchain/nodes/Guardrails/v1/GuardrailsV1.node.ts class GuardrailsV1 (line 14) | class GuardrailsV1 implements INodeType { method constructor (line 17) | constructor(baseDescription: INodeTypeBaseDescription) { method execute (line 40) | async execute(this: IExecuteFunctions): Promise { FILE: packages/@n8n/nodes-langchain/nodes/Guardrails/v2/GuardrailsV2.node.ts class GuardrailsV2 (line 14) | class GuardrailsV2 implements INodeType { method constructor (line 17) | constructor(baseDescription: INodeTypeBaseDescription) { method execute (line 59) | async execute(this: IExecuteFunctions): Promise { FILE: packages/@n8n/nodes-langchain/nodes/ModelSelector/ModelSelector.node.ts type ModeleSelectionRule (line 20) | interface ModeleSelectionRule { function getCallbacksArray (line 43) | function getCallbacksArray( class ModelSelector (line 56) | class ModelSelector implements INodeType { method getModels (line 144) | async getModels(this: ILoadOptionsFunctions) { method supplyData (line 155) | async supplyData(this: ISupplyDataFunctions, itemIndex: number): Promi... FILE: packages/@n8n/nodes-langchain/nodes/ModelSelector/helpers.ts function configuredInputs (line 53) | function configuredInputs(parameters: INodeParameters): INodeInputConfig... FILE: packages/@n8n/nodes-langchain/nodes/ToolExecutor/ToolExecutor.node.ts class ToolExecutor (line 26) | class ToolExecutor implements INodeType { method execute (line 70) | async execute( FILE: packages/@n8n/nodes-langchain/nodes/ToolExecutor/utils/executeTool.ts function executeTool (line 6) | async function executeTool(tool: Tool, query: string | object): Promise<... FILE: packages/@n8n/nodes-langchain/nodes/agents/Agent/Agent.node.ts class Agent (line 8) | class Agent extends VersionedNodeType { method constructor (line 9) | constructor() { FILE: packages/@n8n/nodes-langchain/nodes/agents/Agent/AgentTool.node.ts class AgentTool (line 7) | class AgentTool extends VersionedNodeType { method constructor (line 8) | constructor() { FILE: packages/@n8n/nodes-langchain/nodes/agents/Agent/V1/AgentV1.node.ts function getInputs (line 37) | function getInputs( class AgentV1 (line 269) | class AgentV1 implements INodeType { method constructor (line 272) | constructor(baseDescription: INodeTypeBaseDescription) { method execute (line 466) | async execute(this: IExecuteFunctions): Promise { FILE: packages/@n8n/nodes-langchain/nodes/agents/Agent/V2/AgentToolV2.node.ts class AgentToolV2 (line 17) | class AgentToolV2 implements INodeType { method constructor (line 19) | constructor(baseDescription: INodeTypeBaseDescription) { method execute (line 99) | async execute(this: IExecuteFunctions | ISupplyDataFunctions): Promise... FILE: packages/@n8n/nodes-langchain/nodes/agents/Agent/V2/AgentV2.node.ts class AgentV2 (line 21) | class AgentV2 implements INodeType { method constructor (line 24) | constructor(baseDescription: INodeTypeBaseDescription) { method execute (line 141) | async execute(this: IExecuteFunctions): Promise { FILE: packages/@n8n/nodes-langchain/nodes/agents/Agent/V2/utils.ts function getInputs (line 11) | function getInputs( FILE: packages/@n8n/nodes-langchain/nodes/agents/Agent/V3/AgentToolV3.node.ts class AgentToolV3 (line 20) | class AgentToolV3 implements INodeType { method constructor (line 22) | constructor(baseDescription: INodeTypeBaseDescription) { method execute (line 97) | async execute( FILE: packages/@n8n/nodes-langchain/nodes/agents/Agent/V3/AgentV3.node.ts class AgentV3 (line 25) | class AgentV3 implements INodeType { method constructor (line 28) | constructor(baseDescription: INodeTypeBaseDescription) { method execute (line 147) | async execute( FILE: packages/@n8n/nodes-langchain/nodes/agents/Agent/agents/ConversationalAgent/execute.ts function conversationalAgentExecute (line 15) | async function conversationalAgentExecute( FILE: packages/@n8n/nodes-langchain/nodes/agents/Agent/agents/ConversationalAgent/prompt.ts constant SYSTEM_MESSAGE (line 1) | const SYSTEM_MESSAGE = `Assistant is a large language model trained by O... constant HUMAN_MESSAGE (line 9) | const HUMAN_MESSAGE = `TOOLS FILE: packages/@n8n/nodes-langchain/nodes/agents/Agent/agents/OpenAiFunctionsAgent/execute.ts function openAiFunctionsAgentExecute (line 15) | async function openAiFunctionsAgentExecute( FILE: packages/@n8n/nodes-langchain/nodes/agents/Agent/agents/OpenAiFunctionsAgent/prompt.ts constant SYSTEM_MESSAGE (line 1) | const SYSTEM_MESSAGE = 'You are a helpful AI assistant.'; FILE: packages/@n8n/nodes-langchain/nodes/agents/Agent/agents/PlanAndExecuteAgent/execute.ts function planAndExecuteAgentExecute (line 18) | async function planAndExecuteAgentExecute( FILE: packages/@n8n/nodes-langchain/nodes/agents/Agent/agents/PlanAndExecuteAgent/prompt.ts constant DEFAULT_STEP_EXECUTOR_HUMAN_CHAT_MESSAGE_TEMPLATE (line 1) | const DEFAULT_STEP_EXECUTOR_HUMAN_CHAT_MESSAGE_TEMPLATE = `Previous step... FILE: packages/@n8n/nodes-langchain/nodes/agents/Agent/agents/ReActAgent/execute.ts function reActAgentAgentExecute (line 20) | async function reActAgentAgentExecute( FILE: packages/@n8n/nodes-langchain/nodes/agents/Agent/agents/ReActAgent/prompt.ts constant PREFIX (line 1) | const PREFIX = constant SUFFIX_CHAT (line 4) | const SUFFIX_CHAT = constant SUFFIX (line 7) | const SUFFIX = `Begin! constant HUMAN_MESSAGE_TEMPLATE (line 12) | const HUMAN_MESSAGE_TEMPLATE = '{input}\n\n{agent_scratchpad}'; FILE: packages/@n8n/nodes-langchain/nodes/agents/Agent/agents/SqlAgent/execute.ts constant BLOCKED_SQL_OPERATIONS (line 31) | const BLOCKED_SQL_OPERATIONS = new Set([ function detectBlockedSqlKeyword (line 43) | function detectBlockedSqlKeyword(sql: string): string | undefined { function sqlAgentAgentExecute (line 55) | async function sqlAgentAgentExecute( FILE: packages/@n8n/nodes-langchain/nodes/agents/Agent/agents/SqlAgent/other/handlers/mysql.ts function getMysqlDataSource (line 4) | async function getMysqlDataSource(this: IExecuteFunctions): Promise; function executeBatch (line 38) | async function executeBatch( FILE: packages/@n8n/nodes-langchain/nodes/agents/Agent/agents/ToolsAgent/V3/helpers/finalizeResult.ts function finalizeResult (line 21) | function finalizeResult( FILE: packages/@n8n/nodes-langchain/nodes/agents/Agent/agents/ToolsAgent/V3/helpers/prepareItemContext.ts type ItemContext (line 21) | type ItemContext = { function prepareItemContext (line 40) | async function prepareItemContext( FILE: packages/@n8n/nodes-langchain/nodes/agents/Agent/agents/ToolsAgent/V3/helpers/runAgent.ts type RunAgentResult (line 24) | type RunAgentResult = AgentResult | EngineRequest; function isExecuteFunctions (line 26) | function isExecuteFunctions( function runAgent (line 43) | async function runAgent( FILE: packages/@n8n/nodes-langchain/nodes/agents/Agent/agents/ToolsAgent/V3/types.ts type IntermediateStep (line 7) | type IntermediateStep = { type TracingMetadataEntry (line 19) | type TracingMetadataEntry = { type AgentOptions (line 30) | type AgentOptions = { FILE: packages/@n8n/nodes-langchain/nodes/agents/Agent/agents/ToolsAgent/common.ts function getOutputParserSchema (line 25) | function getOutputParserSchema( function isTextFile (line 38) | function isTextFile(mimeType: string): boolean { function isImageFile (line 49) | function isImageFile(mimeType: string): boolean { function extractBinaryMessages (line 64) | async function extractBinaryMessages( function fixEmptyContentMessage (line 144) | function fixEmptyContentMessage( function handleAgentFinishOutput (line 199) | function handleAgentFinishOutput( function handleParsedStepOutput (line 255) | function handleParsedStepOutput( function getChatModel (line 342) | async function getChatModel( function getOptionalMemory (line 376) | async function getOptionalMemory( function getTools (line 392) | async function getTools( function prepareMessages (line 422) | async function prepareMessages( function preparePrompt (line 469) | function preparePrompt(messages: BaseMessagePromptTemplateLike[]): ChatP... FILE: packages/@n8n/nodes-langchain/nodes/agents/Agent/agents/ToolsAgent/prompt.ts constant SYSTEM_MESSAGE (line 1) | const SYSTEM_MESSAGE = 'You are a helpful assistant'; FILE: packages/@n8n/nodes-langchain/nodes/agents/Agent/agents/utils.ts function extractParsedOutput (line 7) | async function extractParsedOutput( function checkForStructuredTools (line 24) | async function checkForStructuredTools( FILE: packages/@n8n/nodes-langchain/nodes/agents/Agent/test/ToolsAgent/ToolsAgentV2.test.ts method toJSON (line 617) | toJSON() { FILE: packages/@n8n/nodes-langchain/nodes/agents/Agent/test/ToolsAgent/commons.test.ts function getFakeOutputParser (line 32) | function getFakeOutputParser(returnSchema?: ZodType): N8nOutputParser { function createMockOutputParser (line 38) | function createMockOutputParser(parseReturnValue?: Record { FILE: packages/@n8n/nodes-langchain/nodes/agents/OpenAiAssistant/utils.ts function formatToOpenAIFunction (line 14) | function formatToOpenAIFunction( function formatToOpenAITool (line 24) | function formatToOpenAITool(tool: Tool): OpenAIClient.Chat.ChatCompletio... function formatToOpenAIAssistantTool (line 36) | function formatToOpenAIAssistantTool(tool: Tool): OpenAIClient.Beta.Assi... FILE: packages/@n8n/nodes-langchain/nodes/chains/ChainLLM/ChainLlm.node.ts class ChainLlm (line 23) | class ChainLlm implements INodeType { method execute (line 68) | async execute(this: IExecuteFunctions): Promise { FILE: packages/@n8n/nodes-langchain/nodes/chains/ChainLLM/methods/chainExecutor.ts class NaiveJsonOutputParser (line 16) | class NaiveJsonOutputParser< method parse (line 19) | async parse(text: string): Promise { function isModelWithResponseFormat (line 34) | function isModelWithResponseFormat( function isModelInThinkingMode (line 45) | function isModelInThinkingMode( function isModelWithFormat (line 60) | function isModelWithFormat( function getOutputParserForLLM (line 69) | function getOutputParserForLLM( function executeSimpleChain (line 95) | async function executeSimpleChain({ function withBuiltInTools (line 118) | function withBuiltInTools(llm: BaseChatModel | BaseLanguageModel) { function prepareLlm (line 126) | function prepareLlm( function executeChain (line 140) | async function executeChain({ FILE: packages/@n8n/nodes-langchain/nodes/chains/ChainLLM/methods/config.ts function getInputs (line 21) | function getInputs(parameters: IDataObject) { FILE: packages/@n8n/nodes-langchain/nodes/chains/ChainLLM/methods/imageUtils.ts class UnsupportedMimeTypeError (line 10) | class UnsupportedMimeTypeError extends OperationalError {} function dataUriFromImageData (line 15) | function dataUriFromImageData(binaryData: IBinaryData, bufferData: Buffe... function createImageMessage (line 27) | async function createImageMessage({ FILE: packages/@n8n/nodes-langchain/nodes/chains/ChainLLM/methods/processItem.ts function getChatModel (line 11) | async function getChatModel( FILE: packages/@n8n/nodes-langchain/nodes/chains/ChainLLM/methods/promptUtils.ts function buildQueryTemplate (line 23) | function buildQueryTemplate(formatInstructions?: string): PromptTemplate { function processMessageTemplates (line 34) | async function processMessageTemplates({ function finalizePromptTemplate (line 75) | async function finalizePromptTemplate({ function createPromptTemplate (line 120) | async function createPromptTemplate({ FILE: packages/@n8n/nodes-langchain/nodes/chains/ChainLLM/methods/responseFormatter.ts function formatResponse (line 6) | function formatResponse(response: unknown, returnUnwrappedObject: boolea... FILE: packages/@n8n/nodes-langchain/nodes/chains/ChainLLM/methods/types.ts type MessageTemplate (line 10) | interface MessageTemplate { type PromptParams (line 22) | interface PromptParams { type ChainExecutionParams (line 34) | interface ChainExecutionParams { FILE: packages/@n8n/nodes-langchain/nodes/chains/ChainRetrievalQA/ChainRetrievalQa.node.ts class ChainRetrievalQa (line 20) | class ChainRetrievalQa implements INodeType { method execute (line 186) | async execute(this: IExecuteFunctions): Promise { FILE: packages/@n8n/nodes-langchain/nodes/chains/ChainRetrievalQA/constants.ts constant SYSTEM_PROMPT_TEMPLATE (line 3) | const SYSTEM_PROMPT_TEMPLATE = `You are an assistant for question-answer... constant LEGACY_INPUT_TEMPLATE_KEY (line 9) | const LEGACY_INPUT_TEMPLATE_KEY = 'question'; constant INPUT_TEMPLATE_KEY (line 10) | const INPUT_TEMPLATE_KEY = 'input'; FILE: packages/@n8n/nodes-langchain/nodes/chains/ChainRetrievalQA/test/ChainRetrievalQa.node.test.ts method getExecutionCancelSignal (line 18) | getExecutionCancelSignal() { method getNodeParameter (line 21) | getNodeParameter(parameter: string) { method getNode (line 24) | getNode() { method getInputConnectionData (line 29) | getInputConnectionData(type: NodeConnectionType) { method getInputData (line 38) | getInputData() { method getWorkflow (line 41) | getWorkflow() { method getExecutionId (line 46) | getExecutionId() { method continueOnFail (line 49) | continueOnFail() { class ErrorLLM (line 203) | class ErrorLLM extends FakeLLM { method _call (line 204) | async _call(): Promise { method _call (line 271) | async _call(): Promise { class ErrorLLM (line 270) | class ErrorLLM extends FakeLLM { method _call (line 204) | async _call(): Promise { method _call (line 271) | async _call(): Promise { FILE: packages/@n8n/nodes-langchain/nodes/chains/ChainSummarization/ChainSummarization.node.ts class ChainSummarization (line 7) | class ChainSummarization extends VersionedNodeType { method constructor (line 8) | constructor() { FILE: packages/@n8n/nodes-langchain/nodes/chains/ChainSummarization/V1/ChainSummarizationV1.node.ts class ChainSummarizationV1 (line 19) | class ChainSummarizationV1 implements INodeType { method constructor (line 22) | constructor(baseDescription: INodeTypeBaseDescription) { method execute (line 163) | async execute(this: IExecuteFunctions): Promise { FILE: packages/@n8n/nodes-langchain/nodes/chains/ChainSummarization/V2/ChainSummarizationV2.node.ts function getInputs (line 18) | function getInputs(parameters: IDataObject) { class ChainSummarizationV2 (line 53) | class ChainSummarizationV2 implements INodeType { method constructor (line 56) | constructor(baseDescription: INodeTypeBaseDescription) { method execute (line 326) | async execute(this: IExecuteFunctions): Promise { FILE: packages/@n8n/nodes-langchain/nodes/chains/ChainSummarization/V2/processItem.ts function processItem (line 13) | async function processItem( FILE: packages/@n8n/nodes-langchain/nodes/chains/ChainSummarization/helpers.ts type ChainTypeOptions (line 3) | interface ChainTypeOptions { function getChainPromptsArgs (line 10) | function getChainPromptsArgs( FILE: packages/@n8n/nodes-langchain/nodes/chains/ChainSummarization/prompt.ts constant REFINE_PROMPT_TEMPLATE (line 1) | const REFINE_PROMPT_TEMPLATE = `Your job is to produce a final summary constant DEFAULT_PROMPT_TEMPLATE (line 14) | const DEFAULT_PROMPT_TEMPLATE = `Write a concise summary of the following: FILE: packages/@n8n/nodes-langchain/nodes/chains/InformationExtractor/InformationExtractor.node.ts class InformationExtractor (line 28) | class InformationExtractor implements INodeType { method execute (line 226) | async execute(this: IExecuteFunctions): Promise { FILE: packages/@n8n/nodes-langchain/nodes/chains/InformationExtractor/constants.ts constant SYSTEM_PROMPT_TEMPLATE (line 1) | const SYSTEM_PROMPT_TEMPLATE = `You are an expert extraction algorithm. FILE: packages/@n8n/nodes-langchain/nodes/chains/InformationExtractor/helpers.ts function makeAttributeSchema (line 5) | function makeAttributeSchema(attributeDefinition: AttributeDefinition, r... function makeZodSchemaFromAttributes (line 27) | function makeZodSchemaFromAttributes(attributes: AttributeDefinition[]) { FILE: packages/@n8n/nodes-langchain/nodes/chains/InformationExtractor/processItem.ts function processItem (line 11) | async function processItem( FILE: packages/@n8n/nodes-langchain/nodes/chains/InformationExtractor/test/InformationExtraction.node.test.ts function formatFakeLlmResponse (line 41) | function formatFakeLlmResponse(object: Record) { method getNodeParameter (line 53) | getNodeParameter(parameter: string) { method getNode (line 56) | getNode() { method getInputConnectionData (line 61) | getInputConnectionData() { method getInputData (line 64) | getInputData() { method getWorkflow (line 67) | getWorkflow() { method getExecutionId (line 72) | getExecutionId() { method continueOnFail (line 75) | continueOnFail() { FILE: packages/@n8n/nodes-langchain/nodes/chains/InformationExtractor/test/processItem.test.ts function formatFakeLlmResponse (line 43) | function formatFakeLlmResponse(object: Record) { FILE: packages/@n8n/nodes-langchain/nodes/chains/InformationExtractor/types.ts type AttributeDefinition (line 1) | interface AttributeDefinition { FILE: packages/@n8n/nodes-langchain/nodes/chains/SentimentAnalysis/SentimentAnalysis.node.ts constant DEFAULT_SYSTEM_PROMPT_TEMPLATE (line 19) | const DEFAULT_SYSTEM_PROMPT_TEMPLATE = constant DEFAULT_CATEGORIES (line 22) | const DEFAULT_CATEGORIES = 'Positive, Neutral, Negative'; class SentimentAnalysis (line 32) | class SentimentAnalysis implements INodeType { method execute (line 150) | async execute(this: IExecuteFunctions): Promise { FILE: packages/@n8n/nodes-langchain/nodes/chains/TextClassifier/TextClassifier.node.ts constant SYSTEM_PROMPT_TEMPLATE (line 18) | const SYSTEM_PROMPT_TEMPLATE = class TextClassifier (line 31) | class TextClassifier implements INodeType { method execute (line 178) | async execute(this: IExecuteFunctions): Promise { FILE: packages/@n8n/nodes-langchain/nodes/chains/TextClassifier/constants.ts constant SYSTEM_PROMPT_TEMPLATE (line 1) | const SYSTEM_PROMPT_TEMPLATE = FILE: packages/@n8n/nodes-langchain/nodes/chains/TextClassifier/processItem.ts function processItem (line 11) | async function processItem( FILE: packages/@n8n/nodes-langchain/nodes/code/Code.node.ts function transformLegacyLangchainImport (line 66) | function transformLegacyLangchainImport(moduleName: string): string { function transformLegacyLangchainCode (line 121) | function transformLegacyLangchainCode(code: string): string { method resolve (line 151) | resolve(moduleName, parentDirname) { function getSandbox (line 162) | function getSandbox( class Code (line 204) | class Code implements INodeType { method execute (line 379) | async execute(this: IExecuteFunctions): Promise { method supplyData (line 437) | async supplyData(this: ISupplyDataFunctions, itemIndex: number): Promi... FILE: packages/@n8n/nodes-langchain/nodes/document_loaders/DocumentBinaryInputLoader/DocumentBinaryInputLoader.node.ts class DocumentBinaryInputLoader (line 24) | class DocumentBinaryInputLoader implements INodeType { method supplyData (line 186) | async supplyData(this: ISupplyDataFunctions): Promise { FILE: packages/@n8n/nodes-langchain/nodes/document_loaders/DocumentDefaultDataLoader/DocumentDefaultDataLoader.node.ts function getInputs (line 22) | function getInputs(parameters: IDataObject) { class DocumentDefaultDataLoader (line 39) | class DocumentDefaultDataLoader implements INodeType { method supplyData (line 329) | async supplyData(this: ISupplyDataFunctions, itemIndex: number): Promi... FILE: packages/@n8n/nodes-langchain/nodes/document_loaders/DocumentGithubLoader/DocumentGithubLoader.node.ts function getInputs (line 17) | function getInputs(parameters: IDataObject) { class DocumentGithubLoader (line 34) | class DocumentGithubLoader implements INodeType { method supplyData (line 145) | async supplyData(this: ISupplyDataFunctions, itemIndex: number): Promi... FILE: packages/@n8n/nodes-langchain/nodes/document_loaders/DocumentJSONInputLoader/DocumentJsonInputLoader.node.ts class DocumentJsonInputLoader (line 17) | class DocumentJsonInputLoader implements INodeType { method supplyData (line 89) | async supplyData(this: ISupplyDataFunctions): Promise { FILE: packages/@n8n/nodes-langchain/nodes/embeddings/EmbeddingsAwsBedrock/EmbeddingsAwsBedrock.node.ts class EmbeddingsAwsBedrock (line 15) | class EmbeddingsAwsBedrock implements INodeType { method supplyData (line 108) | async supplyData(this: ISupplyDataFunctions, itemIndex: number): Promi... FILE: packages/@n8n/nodes-langchain/nodes/embeddings/EmbeddingsAzureOpenAi/EmbeddingsAzureOpenAi.node.ts class EmbeddingsAzureOpenAi (line 11) | class EmbeddingsAzureOpenAi implements INodeType { method supplyData (line 122) | async supplyData(this: ISupplyDataFunctions, itemIndex: number): Promi... FILE: packages/@n8n/nodes-langchain/nodes/embeddings/EmbeddingsCohere/EmbeddingsCohere.node.ts class EmbeddingsCohere (line 12) | class EmbeddingsCohere implements INodeType { method supplyData (line 101) | async supplyData(this: ISupplyDataFunctions, itemIndex: number): Promi... FILE: packages/@n8n/nodes-langchain/nodes/embeddings/EmbeddingsGoogleGemini/EmbeddingsGoogleGemini.node.ts class EmbeddingsGoogleGemini (line 12) | class EmbeddingsGoogleGemini implements INodeType { method supplyData (line 117) | async supplyData(this: ISupplyDataFunctions, itemIndex: number): Promi... FILE: packages/@n8n/nodes-langchain/nodes/embeddings/EmbeddingsGoogleVertex/EmbeddingsGoogleVertex.node.ts class EmbeddingsGoogleVertex (line 15) | class EmbeddingsGoogleVertex implements INodeType { method gcpProjectsList (line 18) | async gcpProjectsList(this: ILoadOptionsFunctions) { method supplyData (line 130) | async supplyData(this: ISupplyDataFunctions, itemIndex: number): Promi... FILE: packages/@n8n/nodes-langchain/nodes/embeddings/EmbeddingsHuggingFaceInference/EmbeddingsHuggingFaceInference.node.ts class EmbeddingsHuggingFaceInference (line 15) | class EmbeddingsHuggingFaceInference implements INodeType { method supplyData (line 93) | async supplyData(this: ISupplyDataFunctions, itemIndex: number): Promi... function isValidHFProviderOrPolicy (line 119) | function isValidHFProviderOrPolicy(provider: unknown): provider is Infer... FILE: packages/@n8n/nodes-langchain/nodes/embeddings/EmbeddingsLemonade/EmbeddingsLemonade.node.ts class EmbeddingsLemonade (line 16) | class EmbeddingsLemonade implements INodeType { method supplyData (line 49) | async supplyData(this: ISupplyDataFunctions, itemIndex: number): Promi... FILE: packages/@n8n/nodes-langchain/nodes/embeddings/EmbeddingsMistralCloud/EmbeddingsMistralCloud.node.ts class EmbeddingsMistralCloud (line 13) | class EmbeddingsMistralCloud implements INodeType { method supplyData (line 136) | async supplyData(this: ISupplyDataFunctions, itemIndex: number): Promi... FILE: packages/@n8n/nodes-langchain/nodes/embeddings/EmbeddingsOllama/EmbeddingsOllama.node.ts class EmbeddingsOllama (line 14) | class EmbeddingsOllama implements INodeType { method supplyData (line 47) | async supplyData(this: ISupplyDataFunctions, itemIndex: number): Promi... FILE: packages/@n8n/nodes-langchain/nodes/embeddings/EmbeddingsOpenAI/EmbeddingsOpenAi.node.ts class EmbeddingsOpenAi (line 77) | class EmbeddingsOpenAi implements INodeType { method supplyData (line 232) | async supplyData(this: ISupplyDataFunctions, itemIndex: number): Promi... FILE: packages/@n8n/nodes-langchain/nodes/embeddings/test/EmbeddingsAzureOpenAi.test.ts class MockProxyAgent (line 11) | class MockProxyAgent {} FILE: packages/@n8n/nodes-langchain/nodes/embeddings/test/EmbeddingsOpenAi.test.ts class MockProxyAgent (line 13) | class MockProxyAgent {} FILE: packages/@n8n/nodes-langchain/nodes/llms/LMChatAnthropic/LmChatAnthropic.node.ts constant MIN_THINKING_BUDGET (line 74) | const MIN_THINKING_BUDGET = 1024; constant DEFAULT_MAX_TOKENS (line 75) | const DEFAULT_MAX_TOKENS = 4096; class LmChatAnthropic (line 76) | class LmChatAnthropic implements INodeType { method supplyData (line 269) | async supplyData(this: ISupplyDataFunctions, itemIndex: number): Promi... FILE: packages/@n8n/nodes-langchain/nodes/llms/LMChatAnthropic/methods/searchModels.ts type AnthropicModel (line 7) | interface AnthropicModel { function searchModels (line 14) | async function searchModels( FILE: packages/@n8n/nodes-langchain/nodes/llms/LMChatLemonade/LmChatLemonade.node.ts class LmChatLemonade (line 20) | class LmChatLemonade implements INodeType { method supplyData (line 59) | async supplyData(this: ISupplyDataFunctions, itemIndex: number): Promi... FILE: packages/@n8n/nodes-langchain/nodes/llms/LMChatOllama/LmChatOllama.node.ts class LmChatOllama (line 19) | class LmChatOllama implements INodeType { method supplyData (line 58) | async supplyData(this: ISupplyDataFunctions, itemIndex: number): Promi... FILE: packages/@n8n/nodes-langchain/nodes/llms/LMChatOpenAi/LmChatOpenAi.node.ts constant INCLUDE_JSON_WARNING (line 29) | const INCLUDE_JSON_WARNING: INodeProperties = { class LmChatOpenAi (line 68) | class LmChatOpenAi implements INodeType { method supplyData (line 737) | async supplyData(this: ISupplyDataFunctions, itemIndex: number): Promi... FILE: packages/@n8n/nodes-langchain/nodes/llms/LMChatOpenAi/methods/loadModels.ts function searchModels (line 10) | async function searchModels( FILE: packages/@n8n/nodes-langchain/nodes/llms/LMChatOpenAi/types.ts type BuiltInTools (line 3) | type BuiltInTools = { type ModelOptions (line 19) | type ModelOptions = { type PromptOptions (line 44) | type PromptOptions = { type TextOptions (line 50) | type TextOptions = { type ChatResponseRequest (line 58) | type ChatResponseRequest = OpenAIClient.Responses.ResponseCreateParamsNo... FILE: packages/@n8n/nodes-langchain/nodes/llms/LMCohere/LmCohere.node.ts class LmCohere (line 16) | class LmCohere implements INodeType { method supplyData (line 95) | async supplyData(this: ISupplyDataFunctions, itemIndex: number): Promi... FILE: packages/@n8n/nodes-langchain/nodes/llms/LMLemonade/LmLemonade.node.ts class LmLemonade (line 19) | class LmLemonade implements INodeType { method supplyData (line 58) | async supplyData(this: ISupplyDataFunctions, itemIndex: number): Promi... FILE: packages/@n8n/nodes-langchain/nodes/llms/LMOllama/LmOllama.node.ts class LmOllama (line 17) | class LmOllama implements INodeType { method supplyData (line 56) | async supplyData(this: ISupplyDataFunctions, itemIndex: number): Promi... FILE: packages/@n8n/nodes-langchain/nodes/llms/LMOpenAi/LmOpenAi.node.ts type LmOpenAiOptions (line 16) | type LmOpenAiOptions = { class LmOpenAi (line 27) | class LmOpenAi implements INodeType { method openAiModelSearch (line 204) | async openAiModelSearch(this: ILoadOptionsFunctions) { method supplyData (line 234) | async supplyData(this: ISupplyDataFunctions, itemIndex: number): Promi... FILE: packages/@n8n/nodes-langchain/nodes/llms/LMOpenHuggingFaceInference/LmOpenHuggingFaceInference.node.ts class LmOpenHuggingFaceInference (line 16) | class LmOpenHuggingFaceInference implements INodeType { method supplyData (line 137) | async supplyData(this: ISupplyDataFunctions, itemIndex: number): Promi... FILE: packages/@n8n/nodes-langchain/nodes/llms/LmChatAwsBedrock/LmChatAwsBedrock.node.ts class LmChatAwsBedrock (line 20) | class LmChatAwsBedrock implements INodeType { method supplyData (line 228) | async supplyData(this: ISupplyDataFunctions, itemIndex: number): Promi... FILE: packages/@n8n/nodes-langchain/nodes/llms/LmChatAzureOpenAi/LmChatAzureOpenAi.node.ts class LmChatAzureOpenAi (line 22) | class LmChatAzureOpenAi implements INodeType { method supplyData (line 76) | async supplyData(this: ISupplyDataFunctions, itemIndex: number): Promi... FILE: packages/@n8n/nodes-langchain/nodes/llms/LmChatAzureOpenAi/credentials/N8nOAuth2TokenCredential.ts class N8nOAuth2TokenCredential (line 11) | class N8nOAuth2TokenCredential implements TokenCredential { method constructor (line 12) | constructor( method getToken (line 20) | async getToken(): Promise { method getDeploymentDetails (line 54) | async getDeploymentDetails() { FILE: packages/@n8n/nodes-langchain/nodes/llms/LmChatAzureOpenAi/credentials/api-key.ts function setupApiKeyAuthentication (line 8) | async function setupApiKeyAuthentication( FILE: packages/@n8n/nodes-langchain/nodes/llms/LmChatAzureOpenAi/credentials/oauth2.ts constant AZURE_OPENAI_SCOPE (line 10) | const AZURE_OPENAI_SCOPE = 'https://cognitiveservices.azure.com/.default'; function setupOAuth2Authentication (line 14) | async function setupOAuth2Authentication( FILE: packages/@n8n/nodes-langchain/nodes/llms/LmChatAzureOpenAi/types.ts type AzureOpenAIConfig (line 9) | interface AzureOpenAIConfig { type AzureOpenAIApiKeyConfig (line 18) | interface AzureOpenAIApiKeyConfig extends AzureOpenAIConfig { type AzureOpenAIOptions (line 25) | interface AzureOpenAIOptions { type AzureOpenAIBaseModelConfig (line 39) | interface AzureOpenAIBaseModelConfig { type AzureOpenAIApiKeyModelConfig (line 48) | interface AzureOpenAIApiKeyModelConfig extends AzureOpenAIBaseModelConfig { type AzureOpenAIOAuth2ModelConfig (line 56) | interface AzureOpenAIOAuth2ModelConfig extends AzureOpenAIBaseModelConfig { type AuthenticationType (line 64) | const enum AuthenticationType { type AzureOpenAIErrorType (line 72) | const enum AzureOpenAIErrorType { type TokenData (line 82) | type TokenData = OAuth2CredentialData['oauthTokenData'] & { type AzureEntraCognitiveServicesOAuth2ApiCredential (line 86) | type AzureEntraCognitiveServicesOAuth2ApiCredential = OAuth2CredentialDa... FILE: packages/@n8n/nodes-langchain/nodes/llms/LmChatCohere/LmChatCohere.node.ts function tokensUsageParser (line 16) | function tokensUsageParser(result: LLMResult): { class LmChatCohere (line 41) | class LmChatCohere implements INodeType { method supplyData (line 155) | async supplyData(this: ISupplyDataFunctions, itemIndex: number): Promi... FILE: packages/@n8n/nodes-langchain/nodes/llms/LmChatDeepSeek/LmChatDeepSeek.node.ts class LmChatDeepSeek (line 19) | class LmChatDeepSeek implements INodeType { method supplyData (line 214) | async supplyData(this: ISupplyDataFunctions, itemIndex: number): Promi... FILE: packages/@n8n/nodes-langchain/nodes/llms/LmChatGoogleGemini/LmChatGoogleGemini.node.ts function errorDescriptionMapper (line 19) | function errorDescriptionMapper(error: NodeError) { class LmChatGoogleGemini (line 26) | class LmChatGoogleGemini implements INodeType { method supplyData (line 129) | async supplyData(this: ISupplyDataFunctions, itemIndex: number): Promi... FILE: packages/@n8n/nodes-langchain/nodes/llms/LmChatGoogleVertex/LmChatGoogleVertex.node.ts class LmChatGoogleVertex (line 25) | class LmChatGoogleVertex implements INodeType { method gcpProjectsList (line 101) | async gcpProjectsList(this: ILoadOptionsFunctions) { method supplyData (line 131) | async supplyData(this: ISupplyDataFunctions, itemIndex: number): Promi... FILE: packages/@n8n/nodes-langchain/nodes/llms/LmChatGoogleVertex/error-handling.ts type ErrorLike (line 1) | interface ErrorLike { type ErrorContext (line 6) | interface ErrorContext { function makeErrorFromStatus (line 10) | function makeErrorFromStatus(statusCode: number, context?: ErrorContext)... FILE: packages/@n8n/nodes-langchain/nodes/llms/LmChatGroq/LmChatGroq.node.ts class LmChatGroq (line 16) | class LmChatGroq implements INodeType { method supplyData (line 134) | async supplyData(this: ISupplyDataFunctions, itemIndex: number): Promi... FILE: packages/@n8n/nodes-langchain/nodes/llms/LmChatMistralCloud/LmChatMistralCloud.node.ts class LmChatMistralCloud (line 20) | class LmChatMistralCloud implements INodeType { method supplyData (line 180) | async supplyData(this: ISupplyDataFunctions, itemIndex: number): Promi... function isModelWithJSONOutput (line 215) | function isModelWithJSONOutput(modelName: string): boolean { FILE: packages/@n8n/nodes-langchain/nodes/llms/LmChatOpenRouter/LmChatOpenRouter.node.ts type OpenAIToolCall (line 20) | interface OpenAIToolCall { type OpenAIChoice (line 24) | interface OpenAIChoice { function isOpenAIResponseWithChoices (line 28) | function isOpenAIResponseWithChoices(json: unknown): json is { choices: ... function createOpenRouterFetch (line 45) | function createOpenRouterFetch(baseFetch: typeof globalThis.fetch): type... class LmChatOpenRouter (line 85) | class LmChatOpenRouter implements INodeType { method supplyData (line 279) | async supplyData(this: ISupplyDataFunctions, itemIndex: number): Promi... FILE: packages/@n8n/nodes-langchain/nodes/llms/LmChatOpenRouter/test/LmChatOpenRouter.test.ts function jsonResponse (line 179) | function jsonResponse(body: unknown): Response { function setupFetchWrapper (line 191) | async function setupFetchWrapper(mockFetch: jest.Mock): Promise { FILE: packages/@n8n/nodes-langchain/nodes/mcp/McpClientTool/loadOptions.ts function getTools (line 12) | async function getTools(this: ILoadOptionsFunctions): Promise { method recreateStreamableHttpTransport (line 405) | private async recreateStreamableHttpTransport( method setupHandlers (line 432) | private setupHandlers(server: Server): void { FILE: packages/@n8n/nodes-langchain/nodes/mcp/McpTrigger/McpTrigger.node.ts constant MCP_SSE_SETUP_PATH (line 10) | const MCP_SSE_SETUP_PATH = 'sse'; constant MCP_SSE_MESSAGES_PATH (line 11) | const MCP_SSE_MESSAGES_PATH = 'messages'; class McpTrigger (line 13) | class McpTrigger extends Node { method webhook (line 140) | async webhook(context: IWebhookFunctions): Promise { function createMockRequest (line 35) | function createMockRequest( function createMockRequestWithSessionId (line 81) | function createMockRequestWithSessionId( function createValidToolCallMessage (line 95) | function createValidToolCallMessage( function createListToolsMessage (line 114) | function createListToolsMessage(id: string | number = 1): string { function createMockRequestWithHeaderSessionId (line 125) | function createMockRequestWithHeaderSessionId( FILE: packages/@n8n/nodes-langchain/nodes/mcp/McpTrigger/__tests__/helpers/mock-langchain.ts function createMockTool (line 7) | function createMockTool( function createMockTools (line 43) | function createMockTools(toolNames: string[]): Array> { FILE: packages/@n8n/nodes-langchain/nodes/mcp/McpTrigger/__tests__/helpers/mock-logger.ts function createMockLogger (line 6) | function createMockLogger(): jest.Mocked { FILE: packages/@n8n/nodes-langchain/nodes/mcp/McpTrigger/__tests__/helpers/mock-mcp-sdk.ts function createMockServer (line 8) | function createMockServer(): jest.Mocked { function createMockTransport (line 21) | function createMockTransport( FILE: packages/@n8n/nodes-langchain/nodes/mcp/McpTrigger/execution/DirectExecutionStrategy.ts class DirectExecutionStrategy (line 5) | class DirectExecutionStrategy implements ExecutionStrategy { method executeTool (line 6) | async executeTool( FILE: packages/@n8n/nodes-langchain/nodes/mcp/McpTrigger/execution/ExecutionCoordinator.ts class ExecutionCoordinator (line 7) | class ExecutionCoordinator { method constructor (line 10) | constructor(strategy?: ExecutionStrategy) { method executeTool (line 14) | async executeTool( method setStrategy (line 22) | setStrategy(strategy: ExecutionStrategy): void { method getStrategy (line 26) | getStrategy(): ExecutionStrategy { method isQueueMode (line 30) | isQueueMode(): boolean { FILE: packages/@n8n/nodes-langchain/nodes/mcp/McpTrigger/execution/ExecutionStrategy.ts type ExecutionContext (line 3) | interface ExecutionContext { type ExecutionStrategy (line 8) | interface ExecutionStrategy { FILE: packages/@n8n/nodes-langchain/nodes/mcp/McpTrigger/execution/PendingCallsManager.ts type PendingCall (line 1) | interface PendingCall { class PendingCallsManager (line 9) | class PendingCallsManager { method waitForResult (line 12) | async waitForResult( method resolve (line 35) | resolve(callId: string, result: unknown): boolean { method reject (line 46) | reject(callId: string, error: Error): boolean { method get (line 57) | get(callId: string): PendingCall | undefined { method has (line 61) | has(callId: string): boolean { method remove (line 65) | remove(callId: string): void { method cleanupBySessionId (line 69) | cleanupBySessionId(sessionId: string): void { FILE: packages/@n8n/nodes-langchain/nodes/mcp/McpTrigger/execution/QueuedExecutionStrategy.ts constant DEFAULT_TIMEOUT_MS (line 6) | const DEFAULT_TIMEOUT_MS = 120000; class QueuedExecutionStrategy (line 8) | class QueuedExecutionStrategy implements ExecutionStrategy { method constructor (line 9) | constructor( method executeTool (line 14) | async executeTool( method resolveToolCall (line 24) | resolveToolCall(callId: string, result: unknown): boolean { method rejectToolCall (line 28) | rejectToolCall(callId: string, error: Error): boolean { method getPendingCallsManager (line 32) | getPendingCallsManager(): PendingCallsManager { FILE: packages/@n8n/nodes-langchain/nodes/mcp/McpTrigger/protocol/MessageFormatter.ts class MessageFormatter (line 3) | class MessageFormatter { method formatToolResult (line 4) | static formatToolResult(result: unknown): McpToolResult { method formatError (line 25) | static formatError(error: Error): McpToolResult { FILE: packages/@n8n/nodes-langchain/nodes/mcp/McpTrigger/protocol/MessageParser.ts class MessageParser (line 10) | class MessageParser { method parse (line 11) | static parse(body: string): JSONRPCMessage | undefined { method isToolCall (line 20) | static isToolCall(body: string): boolean { method isListToolsRequest (line 30) | static isListToolsRequest(body: string): boolean { method getRequestId (line 40) | static getRequestId(message: unknown): string | undefined { method extractToolCallInfo (line 49) | static extractToolCallInfo(body: string): McpToolCallInfo | undefined { FILE: packages/@n8n/nodes-langchain/nodes/mcp/McpTrigger/protocol/__tests__/MessageFormatter.test.ts class CustomError (line 159) | class CustomError extends Error { method constructor (line 160) | constructor(message: string) { FILE: packages/@n8n/nodes-langchain/nodes/mcp/McpTrigger/protocol/types.ts type McpToolCallInfo (line 3) | interface McpToolCallInfo { type McpToolResult (line 9) | interface McpToolResult { constant MCP_LIST_TOOLS_REQUEST_MARKER (line 17) | const MCP_LIST_TOOLS_REQUEST_MARKER = { _listToolsRequest: true } as const; FILE: packages/@n8n/nodes-langchain/nodes/mcp/McpTrigger/session/InMemorySessionStore.ts class InMemorySessionStore (line 5) | class InMemorySessionStore implements SessionStore { method register (line 11) | async register(sessionId: string): Promise { method validate (line 16) | async validate(sessionId: string): Promise { method unregister (line 21) | async unregister(sessionId: string): Promise { method getTools (line 26) | getTools(sessionId: string): Tool[] | undefined { method setTools (line 30) | setTools(sessionId: string, tools: Tool[]): void { method clearTools (line 34) | clearTools(sessionId: string): void { FILE: packages/@n8n/nodes-langchain/nodes/mcp/McpTrigger/session/RedisSessionStore.ts type RedisPublisher (line 5) | interface RedisPublisher { class RedisSessionStore (line 11) | class RedisSessionStore implements SessionStore { method constructor (line 14) | constructor( method register (line 20) | async register(sessionId: string): Promise { method validate (line 24) | async validate(sessionId: string): Promise { method unregister (line 29) | async unregister(sessionId: string): Promise { method getTools (line 34) | getTools(sessionId: string): Tool[] | undefined { method setTools (line 38) | setTools(sessionId: string, tools: Tool[]): void { method clearTools (line 42) | clearTools(sessionId: string): void { FILE: packages/@n8n/nodes-langchain/nodes/mcp/McpTrigger/session/SessionManager.ts type SessionInfo (line 7) | interface SessionInfo { class SessionManager (line 13) | class SessionManager { method constructor (line 16) | constructor(private store: SessionStore) {} method registerSession (line 18) | async registerSession( method destroySession (line 32) | async destroySession(sessionId: string): Promise { method getSession (line 37) | getSession(sessionId: string): SessionInfo | undefined { method getTransport (line 41) | getTransport(sessionId: string): McpTransport | undefined { method getServer (line 45) | getServer(sessionId: string): Server | undefined { method isSessionValid (line 49) | async isSessionValid(sessionId: string): Promise { method getTools (line 53) | getTools(sessionId: string): Tool[] | undefined { method setTools (line 57) | setTools(sessionId: string, tools: Tool[]): void { method setStore (line 61) | setStore(store: SessionStore): void { method getStore (line 65) | getStore(): SessionStore { FILE: packages/@n8n/nodes-langchain/nodes/mcp/McpTrigger/session/SessionStore.ts type SessionStore (line 3) | interface SessionStore { FILE: packages/@n8n/nodes-langchain/nodes/mcp/McpTrigger/transport/SSETransport.ts class SSETransport (line 7) | class SSETransport extends SSEServerTransport implements McpTransport { method constructor (line 10) | constructor( method send (line 17) | async send(message: JSONRPCMessage): Promise { method handleRequest (line 22) | async handleRequest( FILE: packages/@n8n/nodes-langchain/nodes/mcp/McpTrigger/transport/StreamableHttpTransport.ts type WebStandardTransportInternal (line 8) | interface WebStandardTransportInternal { type StreamableHTTPTransportInternal (line 13) | interface StreamableHTTPTransportInternal { function getWebStandardTransport (line 17) | function getWebStandardTransport(transport: unknown): WebStandardTranspo... class StreamableHttpTransport (line 27) | class StreamableHttpTransport extends StreamableHTTPServerTransport impl... method constructor (line 32) | constructor(options: StreamableHTTPServerTransportOptions, response: C... method markAsInitialized (line 37) | markAsInitialized(sessionId: string): void { method send (line 49) | async send(message: JSONRPCMessage): Promise { method handleRequest (line 54) | async handleRequest( FILE: packages/@n8n/nodes-langchain/nodes/mcp/McpTrigger/transport/Transport.ts type CompressionResponse (line 5) | type CompressionResponse = Response & { type TransportType (line 9) | type TransportType = 'sse' | 'streamableHttp'; type McpTransport (line 11) | interface McpTransport { FILE: packages/@n8n/nodes-langchain/nodes/mcp/McpTrigger/transport/TransportFactory.ts type StreamableHttpOptions (line 7) | interface StreamableHttpOptions { class TransportFactory (line 12) | class TransportFactory { method createSSE (line 13) | createSSE(postUrl: string, response: CompressionResponse): SSETransport { method createStreamableHttp (line 17) | createStreamableHttp( method recreateStreamableHttp (line 30) | recreateStreamableHttp( FILE: packages/@n8n/nodes-langchain/nodes/mcp/shared/types.ts type McpTool (line 3) | type McpTool = { name: string; description?: string; inputSchema: JSONSc... type McpServerTransport (line 5) | type McpServerTransport = 'sse' | 'httpStreamable'; type McpAuthenticationOption (line 7) | type McpAuthenticationOption = FILE: packages/@n8n/nodes-langchain/nodes/mcp/shared/utils.ts function getAllTools (line 18) | async function getAllTools(client: Client, cursor?: string): Promise { function errorHasCode (line 47) | function errorHasCode(error: unknown, code: number): boolean { function isUnauthorizedError (line 58) | function isUnauthorizedError(error: unknown): boolean { function isForbiddenError (line 62) | function isForbiddenError(error: unknown): boolean { type OnUnauthorizedHandler (line 66) | type OnUnauthorizedHandler = ( type ConnectMcpClientError (line 70) | type ConnectMcpClientError = function mapToNodeOperationError (line 75) | function mapToNodeOperationError( function connectMcpClient (line 98) | async function connectMcpClient({ function headersToRecord (line 164) | function headersToRecord(headers: HeadersInit | undefined): Record { class MemoryBufferWindow (line 74) | class MemoryBufferWindow implements INodeType { method supplyData (line 156) | async supplyData(this: ISupplyDataFunctions, itemIndex: number): Promi... FILE: packages/@n8n/nodes-langchain/nodes/memory/MemoryChatRetriever/MemoryChatRetriever.node.ts function simplifyMessages (line 12) | function simplifyMessages(messages: BaseMessage[]) { class MemoryChatRetriever (line 35) | class MemoryChatRetriever implements INodeType { method execute (line 90) | async execute(this: IExecuteFunctions): Promise { FILE: packages/@n8n/nodes-langchain/nodes/memory/MemoryManager/MemoryManager.node.ts type MessageRole (line 13) | type MessageRole = 'ai' | 'system' | 'user'; type MessageRecord (line 14) | interface MessageRecord { function simplifyMessages (line 20) | function simplifyMessages(messages: BaseMessage[]): Array { FILE: packages/@n8n/nodes-langchain/nodes/memory/MemoryManager/test/MemoryManager.execute.test.ts type MockMemory (line 18) | interface MockMemory { function createMockMemory (line 25) | function createMockMemory(messages: BaseMessage[] = []): MockMemory { function createMockContext (line 35) | function createMockContext() { FILE: packages/@n8n/nodes-langchain/nodes/memory/MemoryMongoDbChat/MemoryMongoDbChat.node.ts class MemoryMongoDbChat (line 22) | class MemoryMongoDbChat implements INodeType { method supplyData (line 81) | async supplyData(this: ISupplyDataFunctions, itemIndex: number): Promi... FILE: packages/@n8n/nodes-langchain/nodes/memory/MemoryMotorhead/MemoryMotorhead.node.ts class MemoryMotorhead (line 15) | class MemoryMotorhead implements INodeType { method supplyData (line 99) | async supplyData(this: ISupplyDataFunctions, itemIndex: number): Promi... FILE: packages/@n8n/nodes-langchain/nodes/memory/MemoryPostgresChat/MemoryPostgresChat.node.ts class MemoryPostgresChat (line 25) | class MemoryPostgresChat implements INodeType { method supplyData (line 88) | async supplyData(this: ISupplyDataFunctions, itemIndex: number): Promi... FILE: packages/@n8n/nodes-langchain/nodes/memory/MemoryRedisChat/MemoryRedisChat.node.ts class MemoryRedisChat (line 25) | class MemoryRedisChat implements INodeType { method supplyData (line 112) | async supplyData(this: ISupplyDataFunctions, itemIndex: number): Promi... FILE: packages/@n8n/nodes-langchain/nodes/memory/MemoryXata/MemoryXata.node.ts class MemoryXata (line 22) | class MemoryXata implements INodeType { method supplyData (line 103) | async supplyData(this: ISupplyDataFunctions, itemIndex: number): Promi... FILE: packages/@n8n/nodes-langchain/nodes/memory/MemoryZep/MemoryZep.node.ts class WhiteSpaceTrimmedZepCloudMemory (line 21) | class WhiteSpaceTrimmedZepCloudMemory extends ZepCloudMemory { method loadMemoryVariables (line 22) | override async loadMemoryVariables(values: InputValues): Promise | IDataObject, level... class RetrieverWorkflow (line 38) | class RetrieverWorkflow implements INodeType { method supplyData (line 295) | async supplyData(this: ISupplyDataFunctions, itemIndex: number): Promi... FILE: packages/@n8n/nodes-langchain/nodes/text_splitters/TextSplitterCharacterTextSplitter/TextSplitterCharacterTextSplitter.node.ts class TextSplitterCharacterTextSplitter (line 13) | class TextSplitterCharacterTextSplitter implements INodeType { method supplyData (line 68) | async supplyData(this: ISupplyDataFunctions, itemIndex: number): Promi... FILE: packages/@n8n/nodes-langchain/nodes/text_splitters/TextSplitterRecursiveCharacterTextSplitter/TextSplitterRecursiveCharacterTextSplitter.node.ts class TextSplitterRecursiveCharacterTextSplitter (line 33) | class TextSplitterRecursiveCharacterTextSplitter implements INodeType { method supplyData (line 97) | async supplyData(this: ISupplyDataFunctions, itemIndex: number): Promi... FILE: packages/@n8n/nodes-langchain/nodes/text_splitters/TextSplitterTokenSplitter/TextSplitterTokenSplitter.node.ts class TextSplitterTokenSplitter (line 13) | class TextSplitterTokenSplitter implements INodeType { method supplyData (line 62) | async supplyData(this: ISupplyDataFunctions, itemIndex: number): Promi... FILE: packages/@n8n/nodes-langchain/nodes/text_splitters/TextSplitterTokenSplitter/TokenTextSplitter.ts class TokenTextSplitter (line 15) | class TokenTextSplitter extends TextSplitter implements TokenTextSplitte... method lc_name (line 16) | static lc_name() { method constructor (line 28) | constructor(fields?: Partial) { method splitText (line 36) | async splitText(text: string): Promise { FILE: packages/@n8n/nodes-langchain/nodes/tools/ToolCalculator/ToolCalculator.node.ts function getTool (line 15) | function getTool(ctx: ISupplyDataFunctions | IExecuteFunctions): Calcula... class ToolCalculator (line 21) | class ToolCalculator implements INodeType { method supplyData (line 55) | async supplyData(this: ISupplyDataFunctions): Promise { method execute (line 61) | async execute(this: IExecuteFunctions): Promise { FILE: packages/@n8n/nodes-langchain/nodes/tools/ToolCode/ToolCode.node.ts function getTool (line 46) | function getTool( class ToolCode (line 168) | class ToolCode implements INodeType { method supplyData (line 321) | async supplyData(this: ISupplyDataFunctions, itemIndex: number): Promi... method execute (line 326) | async execute(this: IExecuteFunctions): Promise { FILE: packages/@n8n/nodes-langchain/nodes/tools/ToolHttpRequest/ToolHttpRequest.node.ts class ToolHttpRequest (line 39) | class ToolHttpRequest implements INodeType { method supplyData (line 257) | async supplyData(this: ISupplyDataFunctions, itemIndex: number): Promi... FILE: packages/@n8n/nodes-langchain/nodes/tools/ToolHttpRequest/interfaces.ts type ToolParameter (line 1) | type ToolParameter = { type PlaceholderDefinition (line 10) | type PlaceholderDefinition = { type ParametersValues (line 16) | type ParametersValues = Array<{ type ParameterInputType (line 22) | type ParameterInputType = 'keypair' | 'json' | 'model'; type SendIn (line 23) | type SendIn = 'body' | 'qs' | 'path' | 'headers'; FILE: packages/@n8n/nodes-langchain/nodes/tools/ToolHttpRequest/utils.ts function isBinary (line 148) | function isBinary(data: unknown) { function prepareParameters (line 417) | function prepareParameters( constant MODEL_INPUT_DESCRIPTION (line 482) | const MODEL_INPUT_DESCRIPTION = { function makeParameterZodSchema (line 793) | function makeParameterZodSchema(parameter: ToolParameter) { function makeToolInputSchema (line 819) | function makeToolInputSchema(parameters: ToolParameter[]): DynamicZodObj... FILE: packages/@n8n/nodes-langchain/nodes/tools/ToolSearXng/ToolSearXng.node.ts type Options (line 14) | type Options = { function getTool (line 21) | async function getTool(ctx: ISupplyDataFunctions | IExecuteFunctions, it... class ToolSearXng (line 34) | class ToolSearXng implements INodeType { method supplyData (line 123) | async supplyData(this: ISupplyDataFunctions, itemIndex: number): Promi... method execute (line 129) | async execute(this: IExecuteFunctions): Promise { FILE: packages/@n8n/nodes-langchain/nodes/tools/ToolSerpApi/ToolSerpApi.node.ts function getTool (line 15) | async function getTool(ctx: ISupplyDataFunctions | IExecuteFunctions, it... class ToolSerpApi (line 23) | class ToolSerpApi implements INodeType { method supplyData (line 126) | async supplyData(this: ISupplyDataFunctions, itemIndex: number): Promi... method execute (line 132) | async execute(this: IExecuteFunctions): Promise { FILE: packages/@n8n/nodes-langchain/nodes/tools/ToolThink/ToolThink.node.ts function getTool (line 15) | async function getTool( class ToolThink (line 39) | class ToolThink implements INodeType { method supplyData (line 85) | async supplyData(this: ISupplyDataFunctions, itemIndex: number): Promi... method execute (line 93) | async execute(this: IExecuteFunctions): Promise { FILE: packages/@n8n/nodes-langchain/nodes/tools/ToolVectorStore/ToolVectorStore.node.ts function getTool (line 17) | async function getTool( class ToolVectorStore (line 51) | class ToolVectorStore implements INodeType { method supplyData (line 140) | async supplyData(this: ISupplyDataFunctions, itemIndex: number): Promi... method execute (line 148) | async execute(this: IExecuteFunctions): Promise { FILE: packages/@n8n/nodes-langchain/nodes/tools/ToolWikipedia/ToolWikipedia.node.ts function getTool (line 15) | function getTool(ctx: ISupplyDataFunctions | IExecuteFunctions): Wikiped... class ToolWikipedia (line 23) | class ToolWikipedia implements INodeType { method supplyData (line 56) | async supplyData(this: ISupplyDataFunctions): Promise { method execute (line 62) | async execute(this: IExecuteFunctions): Promise { FILE: packages/@n8n/nodes-langchain/nodes/tools/ToolWolframAlpha/ToolWolframAlpha.node.ts class ToolWolframAlpha (line 14) | class ToolWolframAlpha implements INodeType { method supplyData (line 53) | async supplyData(this: ISupplyDataFunctions): Promise { method execute (line 61) | async execute(this: IExecuteFunctions): Promise { FILE: packages/@n8n/nodes-langchain/nodes/tools/ToolWorkflow/ToolWorkflow.node.ts class ToolWorkflow (line 7) | class ToolWorkflow extends VersionedNodeType { method constructor (line 8) | constructor() { FILE: packages/@n8n/nodes-langchain/nodes/tools/ToolWorkflow/v1/ToolWorkflowV1.node.ts class ToolWorkflowV1 (line 29) | class ToolWorkflowV1 implements INodeType { method constructor (line 32) | constructor(baseDescription: INodeTypeBaseDescription) { method supplyData (line 39) | async supplyData(this: ISupplyDataFunctions, itemIndex: number): Promi... FILE: packages/@n8n/nodes-langchain/nodes/tools/ToolWorkflow/v2/ToolWorkflowV2.node.ts function getTool (line 18) | async function getTool( class ToolWorkflowV2 (line 41) | class ToolWorkflowV2 implements INodeType { method constructor (line 44) | constructor(baseDescription: INodeTypeBaseDescription) { method supplyData (line 55) | async supplyData(this: ISupplyDataFunctions, itemIndex: number): Promi... method execute (line 59) | async execute(this: IExecuteFunctions): Promise { FILE: packages/@n8n/nodes-langchain/nodes/tools/ToolWorkflow/v2/ToolWorkflowV2.test.ts function createMockClonedContext (line 20) | function createMockClonedContext( function createMockContext (line 34) | function createMockContext(overrides?: Partial): I... FILE: packages/@n8n/nodes-langchain/nodes/tools/ToolWorkflow/v2/methods/localResourceMapping.ts function loadSubWorkflowInputs (line 4) | async function loadSubWorkflowInputs( FILE: packages/@n8n/nodes-langchain/nodes/tools/ToolWorkflow/v2/utils/WorkflowToolService.ts function isNodeExecutionData (line 32) | function isNodeExecutionData(data: unknown): data is INodeExecutionData[] { class WorkflowToolService (line 40) | class WorkflowToolService { method constructor (line 52) | constructor( method createTool (line 63) | async createTool({ method handleToolResponse (line 219) | private handleToolResponse(response: unknown): string { method executeSubWorkflow (line 248) | private async executeSubWorkflow( method runFunction (line 289) | private async runFunction( method getSubWorkflowInfo (line 322) | private async getSubWorkflowInfo( method prepareRawData (line 360) | private prepareRawData( method prepareWorkflowItems (line 383) | private async prepareWorkflowItems( method createStructuredTool (line 412) | private createStructuredTool( FILE: packages/@n8n/nodes-langchain/nodes/trigger/ChatTrigger/Chat.node.ts class Chat (line 36) | class Chat implements INodeType { method onMessage (line 206) | async onMessage( method execute (line 305) | async execute(this: IExecuteFunctions): Promise { FILE: packages/@n8n/nodes-langchain/nodes/trigger/ChatTrigger/ChatTrigger.node.ts constant CHAT_TRIGGER_PATH_IDENTIFIER (line 28) | const CHAT_TRIGGER_PATH_IDENTIFIER = 'chat'; class ChatTrigger (line 216) | class ChatTrigger extends Node { method handleFormData (line 699) | private async handleFormData(context: IWebhookFunctions) { method webhook (line 762) | async webhook(ctx: IWebhookFunctions): Promise { FILE: packages/@n8n/nodes-langchain/nodes/trigger/ChatTrigger/GenericFunctions.ts function validateAuth (line 7) | async function validateAuth(context: IWebhookFunctions) { FILE: packages/@n8n/nodes-langchain/nodes/trigger/ChatTrigger/error.ts class ChatTriggerAuthorizationError (line 3) | class ChatTriggerAuthorizationError extends ApplicationError { method constructor (line 4) | constructor( FILE: packages/@n8n/nodes-langchain/nodes/trigger/ChatTrigger/templates.ts function sanitizeUserInput (line 5) | function sanitizeUserInput(input: string): string { function getSanitizedInitialMessages (line 18) | function getSanitizedInitialMessages(initialMessages: string): string[] { function getSanitizedI18nConfig (line 27) | function getSanitizedI18nConfig(config: Record): Record<... function getSanitizedCustomCss (line 36) | function getSanitizedCustomCss(customCss: string): string { function createPage (line 43) | function createPage({ FILE: packages/@n8n/nodes-langchain/nodes/trigger/ChatTrigger/types.ts type AuthenticationChatOption (line 5) | type AuthenticationChatOption = 'none' | 'basicAuth' | 'n8nUserAuth'; type LoadPreviousSessionChatOption (line 6) | type LoadPreviousSessionChatOption = (typeof validOptions)[number]; function isValidLoadPreviousSessionOption (line 8) | function isValidLoadPreviousSessionOption(value: unknown): value is Load... function assertValidLoadPreviousSessionOption (line 12) | function assertValidLoadPreviousSessionOption( FILE: packages/@n8n/nodes-langchain/nodes/trigger/ChatTrigger/util.ts function configureWaitTillDate (line 20) | function configureWaitTillDate(context: IExecuteFunctions) { function getChatMessage (line 129) | function getChatMessage(ctx: IExecuteFunctions): ChatNodeMessage { FILE: packages/@n8n/nodes-langchain/nodes/trigger/ManualChatTrigger/ManualChatTrigger.node.ts class ManualChatTrigger (line 9) | class ManualChatTrigger implements INodeType { method trigger (line 62) | async trigger(this: ITriggerFunctions): Promise { FILE: packages/@n8n/nodes-langchain/nodes/vector_store/ChatHubVectorStorePGVector/ChatHubVectorStorePGVector.node.ts type ChatHubVectorStorePGVectorApiCredentials (line 25) | type ChatHubVectorStorePGVectorApiCredentials = PostgresNodeCredentials & { function deleteDocuments (line 40) | async function deleteDocuments( function chatHubVectorStorePGVectorApiConnectionTest (line 80) | async function chatHubVectorStorePGVectorApiConnectionTest( class ChatHubVectorStorePGVector (line 120) | class ChatHubVectorStorePGVector extends createVectorStoreNode({ method getVectorStoreClient (line 145) | async getVectorStoreClient(context, filter, embeddings, itemIndex) { method populateVectorStore (line 173) | async populateVectorStore(context, embeddings, documents, itemIndex) { method releaseVectorStoreClient (line 194) | releaseVectorStoreClient(vectorStore) { FILE: packages/@n8n/nodes-langchain/nodes/vector_store/ChatHubVectorStorePinecone/ChatHubVectorStorePinecone.node.ts type ChatHubVectorStorePineconeApiCredentials (line 22) | type ChatHubVectorStorePineconeApiCredentials = { function chatHubVectorStorePineconeApiConnectionTest (line 50) | async function chatHubVectorStorePineconeApiConnectionTest( function deleteDocuments (line 79) | async function deleteDocuments( class ChatHubVectorStorePinecone (line 107) | class ChatHubVectorStorePinecone extends createVectorStoreNode( type ValidatedCredentials (line 167) | interface ValidatedCredentials { function getValidatedCredentials (line 172) | async function getValidatedCredentials( function clearAzureSearchIndex (line 202) | async function clearAzureSearchIndex( function getAzureAISearchClient (line 234) | async function getAzureAISearchClient( function getQueryType (line 331) | function getQueryType( type AzureMetadataAttribute (line 349) | interface AzureMetadataAttribute { function transformDocumentsForAzure (line 363) | function transformDocumentsForAzure( class VectorStoreAzureAISearch (line 395) | class VectorStoreAzureAISearch extends createVectorStoreNode({ method beforeInsert (line 415) | async beforeInsert(context, _embeddings, itemIndex) { method getVectorStoreClient (line 418) | async getVectorStoreClient(context, _filter, embeddings, itemIndex) { method populateVectorStore (line 469) | async populateVectorStore(context, embeddings, documents, itemIndex) { FILE: packages/@n8n/nodes-langchain/nodes/vector_store/VectorStoreChromaDB/VectorStoreChromaDB.node.test.ts class Chroma (line 17) | class Chroma { method constructor (line 21) | constructor(...args: unknown[]) { method getVectorStoreClient (line 43) | async getVectorStoreClient(...args: unknown[]) { method populateVectorStore (line 46) | async populateVectorStore(...args: unknown[]) { method chromaCollectionsSearch (line 49) | async chromaCollectionsSearch(...args: unknown[]) { FILE: packages/@n8n/nodes-langchain/nodes/vector_store/VectorStoreChromaDB/VectorStoreChromaDB.node.ts type ChromaError (line 19) | interface ChromaError extends Error { function getCredentialType (line 31) | function getCredentialType( function getChromaClient (line 60) | async function getChromaClient( function getChromaLibConfig (line 122) | async function getChromaLibConfig( class ExtendedChroma (line 191) | class ExtendedChroma extends Chroma { method ensureCollection (line 192) | async ensureCollection(): Promise { method similaritySearchVectorWithScore (line 233) | async similaritySearchVectorWithScore( class VectorStoreChromaDB (line 310) | class VectorStoreChromaDB extends createVectorStoreNode({ method chromaCollectionsSearch (line 342) | async chromaCollectionsSearch(this: ILoadOptionsFunctions) { method getVectorStoreClient (line 391) | async getVectorStoreClient(context, _filter, embeddings, itemIndex) { method populateVectorStore (line 411) | async populateVectorStore(context, embeddings, documents, itemIndex) { FILE: packages/@n8n/nodes-langchain/nodes/vector_store/VectorStoreInMemory/VectorStoreInMemory.node.ts constant DEFAULT_MEMORY_KEY (line 35) | const DEFAULT_MEMORY_KEY = 'vector_store_key'; function getMemoryKey (line 37) | function getMemoryKey(context: IExecuteFunctions | ISupplyDataFunctions,... class VectorStoreInMemory (line 54) | class VectorStoreInMemory extends createVectorStoreNode { FILE: packages/@n8n/nodes-langchain/nodes/vector_store/VectorStoreInMemoryLoad/VectorStoreInMemoryLoad.node.ts class VectorStoreInMemoryLoad (line 13) | class VectorStoreInMemoryLoad implements INodeType { method supplyData (line 61) | async supplyData(this: ISupplyDataFunctions, itemIndex: number): Promi... FILE: packages/@n8n/nodes-langchain/nodes/vector_store/VectorStoreMilvus/VectorStoreMilvus.node.ts class VectorStoreMilvus (line 30) | class VectorStoreMilvus extends createVectorStoreNode({ method getVectorStoreClient (line 49) | async getVectorStoreClient(context, _filter, embeddings, itemIndex): P... method populateVectorStore (line 67) | async populateVectorStore(context, embeddings, documents, itemIndex): ... FILE: packages/@n8n/nodes-langchain/nodes/vector_store/VectorStoreMongoDBAtlas/VectorStoreMongoDBAtlas.node.ts constant MONGODB_CREDENTIALS (line 19) | const MONGODB_CREDENTIALS = 'mongoDb'; constant MONGODB_COLLECTION_NAME (line 20) | const MONGODB_COLLECTION_NAME = 'mongoCollection'; constant VECTOR_INDEX_NAME (line 21) | const VECTOR_INDEX_NAME = 'vectorIndexName'; constant EMBEDDING_NAME (line 22) | const EMBEDDING_NAME = 'embedding'; constant METADATA_FIELD_NAME (line 23) | const METADATA_FIELD_NAME = 'metadata_field'; constant PRE_FILTER_NAME (line 24) | const PRE_FILTER_NAME = 'preFilter'; constant POST_FILTER_NAME (line 25) | const POST_FILTER_NAME = 'postFilterPipeline'; type IFunctionsContext (line 155) | type IFunctionsContext = IExecuteFunctions | ISupplyDataFunctions | ILoa... function createMongoClient (line 164) | async function createMongoClient( function getDatabase (line 188) | async function getDatabase(context: IFunctionsContext, client: MongoClie... function getCollections (line 198) | async function getCollections(this: ILoadOptionsFunctions) { function getParameter (line 223) | function getParameter(key: string, context: IFunctionsContext, itemIndex... function getFilterValue (line 238) | function getFilterValue( class ExtendedMongoDBAtlasVectorSearch (line 265) | class ExtendedMongoDBAtlasVectorSearch extends MongoDBAtlasVectorSearch { method constructor (line 270) | constructor( method similaritySearchVectorWithScore (line 283) | async similaritySearchVectorWithScore(query: number[], k: number) { class VectorStoreMongoDBAtlas (line 292) | class VectorStoreMongoDBAtlas extends createVectorStoreNode({ method getVectorStoreClient (line 313) | async getVectorStoreClient(context, _filter, embeddings, itemIndex) { method populateVectorStore (line 365) | async populateVectorStore(context, embeddings, documents, itemIndex) { method releaseVectorStoreClient (line 396) | releaseVectorStoreClient(vectorStore) { FILE: packages/@n8n/nodes-langchain/nodes/vector_store/VectorStorePGVector/VectorStorePGVector.node.ts type CollectionOptions (line 14) | type CollectionOptions = { type ColumnOptions (line 20) | type ColumnOptions = { class ExtendedPGVectorStore (line 187) | class ExtendedPGVectorStore extends PGVectorStore { method initialize (line 188) | static async initialize( method similaritySearchVectorWithScore (line 204) | async similaritySearchVectorWithScore( class VectorStorePGVector (line 214) | class VectorStorePGVector extends createVectorStoreNode({ method getVectorStoreClient (line 74) | async getVectorStoreClient(context, filter, embeddings, itemIndex) { method populateVectorStore (line 96) | async populateVectorStore(context, embeddings, documents, itemIndex) { FILE: packages/@n8n/nodes-langchain/nodes/vector_store/VectorStorePineconeInsert/VectorStorePineconeInsert.node.ts class VectorStorePineconeInsert (line 19) | class VectorStorePineconeInsert implements INodeType { method execute (line 98) | async execute(this: IExecuteFunctions): Promise { FILE: packages/@n8n/nodes-langchain/nodes/vector_store/VectorStorePineconeLoad/VectorStorePineconeLoad.node.ts class VectorStorePineconeLoad (line 19) | class VectorStorePineconeLoad implements INodeType { method supplyData (line 86) | async supplyData(this: ISupplyDataFunctions, itemIndex: number): Promi... FILE: packages/@n8n/nodes-langchain/nodes/vector_store/VectorStoreQdrant/Qdrant.utils.ts type QdrantCredential (line 4) | type QdrantCredential = { function parseQdrantUrl (line 9) | function parseQdrantUrl(url: string): { protocol: string; host: string; ... function createQdrantClient (line 28) | function createQdrantClient(credentials: QdrantCredential): QdrantClient { FILE: packages/@n8n/nodes-langchain/nodes/vector_store/VectorStoreQdrant/VectorStoreQdrant.node.test.ts class QdrantVectorStore (line 7) | class QdrantVectorStore { method constructor (line 11) | constructor(...args: unknown[]) { method getVectorStoreClient (line 30) | async getVectorStoreClient(...args: unknown[]) { method populateVectorStore (line 33) | async populateVectorStore(...args: unknown[]) { FILE: packages/@n8n/nodes-langchain/nodes/vector_store/VectorStoreQdrant/VectorStoreQdrant.node.ts class ExtendedQdrantVectorStore (line 13) | class ExtendedQdrantVectorStore extends QdrantVectorStore { method fromExistingCollection (line 16) | static async fromExistingCollection( method similaritySearch (line 25) | async similaritySearch(query: string, k: number, filter?: IDataObject,... class VectorStoreQdrant (line 97) | class VectorStoreQdrant extends createVectorStoreNode { FILE: packages/@n8n/nodes-langchain/nodes/vector_store/VectorStoreSupabaseLoad/VectorStoreSupabaseLoad.node.ts class VectorStoreSupabaseLoad (line 19) | class VectorStoreSupabaseLoad implements INodeType { method supplyData (line 84) | async supplyData(this: ISupplyDataFunctions, itemIndex: number): Promi... FILE: packages/@n8n/nodes-langchain/nodes/vector_store/VectorStoreWeaviate/VectorStoreWeaviate.node.ts type WeaviateLibArgs (line 20) | type WeaviateLibArgs = OriginalWeaviateLibArgs & { class ExtendedWeaviateVectorStore (line 30) | class ExtendedWeaviateVectorStore extends WeaviateStore { method fromExistingCollection (line 34) | static async fromExistingCollection( method similaritySearchVectorWithScore (line 60) | async similaritySearchVectorWithScore(query: number[], k: number, filt... class VectorStoreWeaviate (line 283) | class VectorStoreWeaviate extends createVectorStoreNode { FILE: packages/@n8n/nodes-langchain/nodes/vector_store/VectorStoreZepLoad/VectorStoreZepLoad.node.ts class VectorStoreZepLoad (line 15) | class VectorStoreZepLoad implements INodeType { method supplyData (line 91) | async supplyData(this: ISupplyDataFunctions, itemIndex: number): Promi... FILE: packages/@n8n/nodes-langchain/nodes/vector_store/shared/chatHub.ts constant CHAT_HUB_INSERT_METADATA_KEYS (line 8) | const CHAT_HUB_INSERT_METADATA_KEYS = new Set(['loc', 'fileName', 'agent... constant CHAT_HUB_RETRIEVE_METADATA_KEYS (line 14) | const CHAT_HUB_RETRIEVE_METADATA_KEYS = new Set(['loc', 'fileName']); function filterChatHubMetadata (line 20) | function filterChatHubMetadata( function filterChatHubInsertDocuments (line 32) | function filterChatHubInsertDocuments( FILE: packages/@n8n/nodes-langchain/nodes/vector_store/shared/methods/listSearch.ts function pineconeIndexSearch (line 10) | async function pineconeIndexSearch(this: ILoadOptionsFunctions) { function supabaseTableNameSearch (line 27) | async function supabaseTableNameSearch(this: ILoadOptionsFunctions) { function qdrantCollectionsSearch (line 58) | async function qdrantCollectionsSearch(this: ILoadOptionsFunctions) { function milvusCollectionsSearch (line 73) | async function milvusCollectionsSearch(this: ILoadOptionsFunctions) { function weaviateCollectionsSearch (line 95) | async function weaviateCollectionsSearch(this: ILoadOptionsFunctions) { FILE: packages/@n8n/nodes-langchain/nodes/vector_store/shared/userScoped.ts function getUserScopedSlot (line 13) | function getUserScopedSlot( function ensureUserId (line 22) | function ensureUserId( FILE: packages/@n8n/nodes-langchain/nodes/vendors/Anthropic/Anthropic.node.ts class Anthropic (line 7) | class Anthropic implements INodeType { method execute (line 14) | async execute(this: IExecuteFunctions) { FILE: packages/@n8n/nodes-langchain/nodes/vendors/Anthropic/actions/document/analyze.operation.ts function execute (line 101) | async function execute(this: IExecuteFunctions, i: number): Promise; FILE: packages/@n8n/nodes-langchain/nodes/vendors/Anthropic/actions/prompt/generate.operation.ts function execute (line 37) | async function execute(this: IExecuteFunctions, i: number): Promise; FILE: packages/@n8n/nodes-langchain/nodes/vendors/GoogleGemini/actions/router.ts function router (line 12) | async function router(this: IExecuteFunctions) { FILE: packages/@n8n/nodes-langchain/nodes/vendors/GoogleGemini/actions/text/message.operation.ts function getToolCalls (line 343) | function getToolCalls(response: GenerateContentResponse) { function execute (line 347) | async function execute(this: IExecuteFunctions, i: number): Promise { FILE: packages/@n8n/nodes-langchain/nodes/vendors/Microsoft/langchain-utils.ts function invokeAgent (line 21) | async function invokeAgent( function prepareMessages (line 116) | async function prepareMessages(options: { FILE: packages/@n8n/nodes-langchain/nodes/vendors/Microsoft/microsoft-utils.ts type MicrosoftAgent365Credentials (line 42) | type MicrosoftAgent365Credentials = { type ActivityInfo (line 48) | type ActivityInfo = { type McpToolCallLog (line 65) | type McpToolCallLog = { type ActivityCapture (line 75) | type ActivityCapture = { function extractActivityInfo (line 82) | function extractActivityInfo(activity: Activity): ActivityInfo { constant MS_TENANT_ID_HEADER (line 129) | const MS_TENANT_ID_HEADER = 'x-ms-tenant-id'; constant MAX_MCP_TOOL_NAME_LENGTH (line 130) | const MAX_MCP_TOOL_NAME_LENGTH = 64; function buildMcpToolName (line 132) | function buildMcpToolName(serverName: string, toolName: string): string { function isMicrosoftObservabilityEnabled (line 142) | function isMicrosoftObservabilityEnabled(): boolean { function createMicrosoftAgentApplication (line 149) | function createMicrosoftAgentApplication(credentials: MicrosoftAgent365C... function getMicrosoftMcpTools (line 169) | async function getMicrosoftMcpTools( function disposeActivityResources (line 379) | async function disposeActivityResources( function configureAdapterProcessCallback (line 397) | function configureAdapterProcessCallback( FILE: packages/@n8n/nodes-langchain/nodes/vendors/Ollama/Ollama.node.ts class Ollama (line 7) | class Ollama implements INodeType { method execute (line 14) | async execute(this: IExecuteFunctions) { FILE: packages/@n8n/nodes-langchain/nodes/vendors/Ollama/actions/image/analyze.operation.ts type MessageOptions (line 336) | interface MessageOptions { function execute (line 372) | async function execute(this: IExecuteFunctions, i: number): Promise; FILE: packages/@n8n/nodes-langchain/nodes/vendors/Ollama/actions/router.ts function router (line 7) | async function router(this: IExecuteFunctions) { FILE: packages/@n8n/nodes-langchain/nodes/vendors/Ollama/actions/text/message.operation.ts type MessageOptions (line 335) | interface MessageOptions { function execute (line 371) | async function execute(this: IExecuteFunctions, i: number): Promise & { type ChatTool (line 26) | type ChatTool = type ChatResponseRequest (line 36) | type ChatResponseRequest = Omit< type ChatCompletion (line 51) | type ChatCompletion = { type ThreadMessage (line 80) | type ThreadMessage = { type ExternalApiCallOptions (line 99) | type ExternalApiCallOptions = { type VideoJob (line 108) | type VideoJob = { FILE: packages/@n8n/nodes-langchain/nodes/vendors/OpenAi/helpers/modelFiltering.ts function shouldIncludeModel (line 9) | function shouldIncludeModel(modelId: string, isCustomAPI: boolean): bool... FILE: packages/@n8n/nodes-langchain/nodes/vendors/OpenAi/helpers/polling.ts function pollUntilAvailable (line 4) | async function pollUntilAvailable( FILE: packages/@n8n/nodes-langchain/nodes/vendors/OpenAi/helpers/utils.ts function formatToOpenAIFunction (line 17) | function formatToOpenAIFunction( function formatToOpenAITool (line 27) | function formatToOpenAITool(tool: Tool): OpenAIClient.Chat.ChatCompletio... function formatToOpenAIAssistantTool (line 39) | function formatToOpenAIAssistantTool(tool: Tool): OpenAIClient.Beta.Assi... function formatToOpenAIResponsesTool (line 66) | function formatToOpenAIResponsesTool(tool: Tool): OpenAIClient.Responses... function getChatMessages (line 88) | async function getChatMessages(memory: BufferWindowMemory): Promise; FILE: packages/@n8n/nodes-langchain/nodes/vendors/OpenAi/v1/actions/router.ts function router (line 16) | async function router(this: IExecuteFunctions) { FILE: packages/@n8n/nodes-langchain/nodes/vendors/OpenAi/v1/actions/text/classify.operation.ts function execute (line 53) | async function execute(this: IExecuteFunctions, i: number): Promise; FILE: packages/@n8n/nodes-langchain/nodes/vendors/OpenAi/v2/actions/router.ts function router (line 17) | async function router(this: IExecuteFunctions) { FILE: packages/@n8n/nodes-langchain/nodes/vendors/OpenAi/v2/actions/text/classify.operation.ts function execute (line 58) | async function execute(this: IExecuteFunctions, i: number): Promise; FILE: packages/@n8n/nodes-langchain/types/zod.types.ts type DynamicZodObject (line 4) | type DynamicZodObject = z.ZodObject; FILE: packages/@n8n/nodes-langchain/utils/N8nTool.ts class N8nTool (line 49) | class N8nTool extends DynamicStructuredTool { method constructor (line 50) | constructor( method asDynamicTool (line 57) | asDynamicTool(): DynamicTool { FILE: packages/@n8n/nodes-langchain/utils/agent-execution/buildResponseMetadata.ts function buildResponseMetadata (line 17) | function buildResponseMetadata( FILE: packages/@n8n/nodes-langchain/utils/agent-execution/buildSteps.ts type ProviderMetadata (line 16) | interface ProviderMetadata { function extractProviderMetadata (line 34) | function extractProviderMetadata(metadata?: RequestResponseMetadata): Pr... function buildAnthropicContentBlocks (line 84) | function buildAnthropicContentBlocks( function buildMessageContent (line 132) | function buildMessageContent( function resolveToolName (line 156) | function resolveToolName(tool: EngineResult): s... type ProcessedToolResponse (line 171) | interface ProcessedToolResponse { function buildGeminiAdditionalKwargs (line 193) | function buildGeminiAdditionalKwargs( function buildIndividualAIMessage (line 218) | function buildIndividualAIMessage( function buildSharedGeminiAIMessage (line 261) | function buildSharedGeminiAIMessage( function buildObservation (line 284) | function buildObservation(toolData: { function buildSteps (line 317) | function buildSteps( FILE: packages/@n8n/nodes-langchain/utils/agent-execution/createEngineRequests.ts function hasGatedToolNodeName (line 16) | function hasGatedToolNodeName( function extractHitlMetadata (line 25) | function extractHitlMetadata( function extractThinkingMetadata (line 43) | function extractThinkingMetadata( function createEngineRequests (line 190) | function createEngineRequests( FILE: packages/@n8n/nodes-langchain/utils/agent-execution/memoryManagement.ts function extractToolCallId (line 25) | function extractToolCallId( function buildMessagesFromSteps (line 77) | function buildMessagesFromSteps(steps: ToolCallData[]): BaseMessage[] { function buildToolContext (line 138) | function buildToolContext(steps: ToolCallData[]): string { function cleanupOrphanedMessages (line 154) | function cleanupOrphanedMessages(chatHistory: BaseMessage[]): BaseMessag... function loadMemory (line 201) | async function loadMemory( function saveToMemory (line 253) | async function saveToMemory( FILE: packages/@n8n/nodes-langchain/utils/agent-execution/processEventStream.ts function processEventStream (line 20) | async function processEventStream( FILE: packages/@n8n/nodes-langchain/utils/agent-execution/processHitlResponses.ts type HitlMetadata (line 9) | type HitlMetadata = NonNullable; type HitlProcessingResult (line 14) | interface HitlProcessingResult { function isHitlActionResponse (line 26) | function isHitlActionResponse( function isApprovalData (line 38) | function isApprovalData(data: unknown): data is { approved: boolean } { function getActionJsonResponse (line 47) | function getActionJsonResponse(actionResponse: ExecuteNodeResult { FILE: packages/@n8n/nodes-langchain/utils/agent-execution/test/serializeIntermediateSteps.test.ts method toJSON (line 12) | toJSON() { method _getType (line 109) | _getType() { method toJSON (line 135) | toJSON() { FILE: packages/@n8n/nodes-langchain/utils/agent-execution/types.ts type ToolCallRequest (line 9) | type ToolCallRequest = { type ToolCallData (line 30) | type ToolCallData = { type AgentResult (line 45) | type AgentResult = { type ThinkingContentBlock (line 57) | type ThinkingContentBlock = { type RedactedThinkingContentBlock (line 66) | type RedactedThinkingContentBlock = { type ToolUseContentBlock (line 74) | type ToolUseContentBlock = { type GeminiThoughtSignatureBlock (line 84) | type GeminiThoughtSignatureBlock = { type ContentBlock (line 91) | type ContentBlock = type GoogleThinkingMetadata (line 100) | type GoogleThinkingMetadata = { type AnthropicThinkingMetadata (line 108) | type AnthropicThinkingMetadata = { type HitlMetadata (line 120) | type HitlMetadata = { type ThinkingMetadata (line 132) | type ThinkingMetadata = { type RequestResponseMetadata (line 140) | type RequestResponseMetadata = { type ToolMetadata (line 161) | interface ToolMetadata extends Record { function isThinkingBlock (line 175) | function isThinkingBlock(block: unknown): block is ThinkingContentBlock { function isRedactedThinkingBlock (line 191) | function isRedactedThinkingBlock(block: unknown): block is RedactedThink... function isGeminiThoughtSignatureBlock (line 205) | function isGeminiThoughtSignatureBlock( FILE: packages/@n8n/nodes-langchain/utils/helpers.ts function getPromptInputByType (line 17) | function getPromptInputByType(options: { function getSessionId (line 52) | function getSessionId( function serializeChatHistory (line 107) | function serializeChatHistory(chatHistory: BaseMessage[]): string { function escapeSingleCurlyBrackets (line 121) | function escapeSingleCurlyBrackets(text?: string): string | undefined { function mergeCustomHeaders (line 232) | function mergeCustomHeaders( function unwrapNestedOutput (line 254) | function unwrapNestedOutput(output: Record): Record { method constructor (line 10) | constructor(options: { numberOfItems?: number; separator?: string }) { method parse (line 26) | async parse(text: string): Promise { method getFormatInstructions (line 42) | getFormatInstructions(): string { method getSchema (line 57) | getSchema() { FILE: packages/@n8n/nodes-langchain/utils/output_parsers/N8nOutputFixingParser.ts class N8nOutputFixingParser (line 12) | class N8nOutputFixingParser extends BaseOutputParser { method constructor (line 15) | constructor( method getRetryChain (line 24) | getRetryChain() { method parse (line 35) | async parse(completion: string, callbacks?: Callbacks) { method getFormatInstructions (line 88) | getFormatInstructions() { method getSchema (line 92) | getSchema() { FILE: packages/@n8n/nodes-langchain/utils/output_parsers/N8nOutputParser.ts type N8nOutputParser (line 8) | type N8nOutputParser = function getOptionalOutputParser (line 15) | async function getOptionalOutputParser( FILE: packages/@n8n/nodes-langchain/utils/output_parsers/N8nStructuredOutputParser.ts constant STRUCTURED_OUTPUT_KEY (line 11) | const STRUCTURED_OUTPUT_KEY = '__structured__output'; constant STRUCTURED_OUTPUT_OBJECT_KEY (line 12) | const STRUCTURED_OUTPUT_OBJECT_KEY = '__structured__output__object'; constant STRUCTURED_OUTPUT_ARRAY_KEY (line 13) | const STRUCTURED_OUTPUT_ARRAY_KEY = '__structured__output__array'; class N8nStructuredOutputParser (line 15) | class N8nStructuredOutputParser extends StructuredOutputParser< method constructor (line 18) | constructor( method parse (line 27) | async parse( method fromZodJsonSchema (line 127) | static async fromZodJsonSchema( method getSchema (line 171) | getSchema() { FILE: packages/@n8n/nodes-langchain/utils/output_parsers/prompt.ts constant NAIVE_FIX_TEMPLATE (line 3) | const NAIVE_FIX_TEMPLATE = `Instructions: constant NAIVE_FIX_PROMPT (line 20) | const NAIVE_FIX_PROMPT = PromptTemplate.fromTemplate(NAIVE_FIX_TEMPLATE); FILE: packages/@n8n/nodes-langchain/utils/schemaParsing.ts function makeAllPropertiesRequired (line 9) | function makeAllPropertiesRequired(schema: JSONSchema7): JSONSchema7 { function generateSchemaFromExample (line 36) | function generateSchemaFromExample( function convertJsonSchemaToZod (line 51) | function convertJsonSchemaToZod(s... function throwIfToolSchema (line 55) | function throwIfToolSchema(ctx: IExecuteFunctions, error: Error) { FILE: packages/@n8n/nodes-langchain/utils/tracing.ts type TracingConfig (line 5) | interface TracingConfig { type TracingMetadataEntry (line 9) | type TracingMetadataEntry = { function buildTracingMetadata (line 19) | function buildTracingMetadata( function getTracingConfig (line 83) | function getTracingConfig( FILE: packages/@n8n/permissions/src/constants.ee.ts constant DEFAULT_OPERATIONS (line 1) | const DEFAULT_OPERATIONS = ['create', 'read', 'update', 'delete', 'list'... constant RESOURCES (line 3) | const RESOURCES = { constant API_KEY_RESOURCES (line 66) | const API_KEY_RESOURCES = { constant PROJECT_OWNER_ROLE_SLUG (line 83) | const PROJECT_OWNER_ROLE_SLUG = 'project:personalOwner'; constant PROJECT_ADMIN_ROLE_SLUG (line 84) | const PROJECT_ADMIN_ROLE_SLUG = 'project:admin'; constant PROJECT_EDITOR_ROLE_SLUG (line 85) | const PROJECT_EDITOR_ROLE_SLUG = 'project:editor'; constant PROJECT_VIEWER_ROLE_SLUG (line 86) | const PROJECT_VIEWER_ROLE_SLUG = 'project:viewer'; constant PROJECT_CHAT_USER_ROLE_SLUG (line 87) | const PROJECT_CHAT_USER_ROLE_SLUG = 'project:chatUser'; constant PERSONAL_SPACE_PUBLISHING_SETTING (line 88) | const PERSONAL_SPACE_PUBLISHING_SETTING = { constant PERSONAL_SPACE_SHARING_SETTING (line 92) | const PERSONAL_SPACE_SHARING_SETTING = { constant EXTERNAL_SECRETS_SYSTEM_ROLES_ENABLED_SETTING (line 97) | const EXTERNAL_SECRETS_SYSTEM_ROLES_ENABLED_SETTING = { FILE: packages/@n8n/permissions/src/public-api-permissions.ee.ts constant OWNER_API_KEY_SCOPES (line 9) | const OWNER_API_KEY_SCOPES: ApiKeyScope[] = [ constant ADMIN_API_KEY_SCOPES (line 65) | const ADMIN_API_KEY_SCOPES: ApiKeyScope[] = OWNER_API_KEY_SCOPES; constant MEMBER_API_KEY_SCOPES (line 67) | const MEMBER_API_KEY_SCOPES: ApiKeyScope[] = [ constant CHAT_USER_API_KEY_SCOPES (line 105) | const CHAT_USER_API_KEY_SCOPES: ApiKeyScope[] = []; constant API_KEY_SCOPES_FOR_IMPLICIT_PERSONAL_PROJECT (line 113) | const API_KEY_SCOPES_FOR_IMPLICIT_PERSONAL_PROJECT: ApiKeyScope[] = [ constant MAP_ROLE_SCOPES (line 147) | const MAP_ROLE_SCOPES: Record = { FILE: packages/@n8n/permissions/src/roles/all-roles.ts constant ROLE_NAMES (line 19) | const ROLE_NAMES: Record = { constant ROLE_DESCRIPTIONS (line 37) | const ROLE_DESCRIPTIONS: Record = { constant ALL_ROLES (line 72) | const ALL_ROLES: AllRolesMap = Object.freeze({ FILE: packages/@n8n/permissions/src/roles/role-maps.ee.ts constant GLOBAL_SCOPE_MAP (line 36) | const GLOBAL_SCOPE_MAP: Record = { constant PROJECT_SCOPE_MAP (line 43) | const PROJECT_SCOPE_MAP: Record = { constant CREDENTIALS_SHARING_SCOPE_MAP (line 51) | const CREDENTIALS_SHARING_SCOPE_MAP: Record = { constant SECRETS_PROVIDER_CONNECTION_SHARING_SCOPE_MAP (line 61) | const SECRETS_PROVIDER_CONNECTION_SHARING_SCOPE_MAP: Record< constant ALL_ROLE_MAPS (line 69) | const ALL_ROLE_MAPS = { FILE: packages/@n8n/permissions/src/roles/scopes/credential-sharing-scopes.ee.ts constant CREDENTIALS_SHARING_OWNER_SCOPES (line 3) | const CREDENTIALS_SHARING_OWNER_SCOPES: Scope[] = [ constant CREDENTIALS_SHARING_USER_SCOPES (line 12) | const CREDENTIALS_SHARING_USER_SCOPES: Scope[] = ['credential:read']; FILE: packages/@n8n/permissions/src/roles/scopes/global-scopes.ee.ts constant GLOBAL_OWNER_SCOPES (line 3) | const GLOBAL_OWNER_SCOPES: Scope[] = [ constant GLOBAL_ADMIN_SCOPES (line 140) | const GLOBAL_ADMIN_SCOPES = GLOBAL_OWNER_SCOPES.concat(); constant GLOBAL_MEMBER_SCOPES (line 142) | const GLOBAL_MEMBER_SCOPES: Scope[] = [ constant GLOBAL_CHAT_USER_SCOPES (line 173) | const GLOBAL_CHAT_USER_SCOPES: Scope[] = [ FILE: packages/@n8n/permissions/src/roles/scopes/project-scopes.ee.ts constant REGULAR_PROJECT_ADMIN_SCOPES (line 9) | const REGULAR_PROJECT_ADMIN_SCOPES: Scope[] = [ constant PERSONAL_PROJECT_OWNER_SCOPES (line 55) | const PERSONAL_PROJECT_OWNER_SCOPES: Scope[] = [ constant PROJECT_EDITOR_SCOPES (line 92) | const PROJECT_EDITOR_SCOPES: Scope[] = [ constant PROJECT_VIEWER_SCOPES (line 128) | const PROJECT_VIEWER_SCOPES: Scope[] = [ constant PROJECT_CHAT_USER_SCOPES (line 145) | const PROJECT_CHAT_USER_SCOPES: Scope[] = ['workflow:execute-chat']; FILE: packages/@n8n/permissions/src/roles/scopes/secrets-provider-connection-sharing-scopes.ee.ts constant SECRETS_PROVIDER_CONNECTION_SHARING_OWNER_SCOPES (line 4) | const SECRETS_PROVIDER_CONNECTION_SHARING_OWNER_SCOPES: Scope[] = [ constant SECRETS_PROVIDER_CONNECTION_SHARING_USER_SCOPES (line 14) | const SECRETS_PROVIDER_CONNECTION_SHARING_USER_SCOPES: Scope[] = [ FILE: packages/@n8n/permissions/src/roles/scopes/workflow-sharing-scopes.ee.ts constant WORKFLOW_SHARING_OWNER_SCOPES (line 3) | const WORKFLOW_SHARING_OWNER_SCOPES: Scope[] = [ constant WORKFLOW_SHARING_EDITOR_SCOPES (line 16) | const WORKFLOW_SHARING_EDITOR_SCOPES: Scope[] = [ FILE: packages/@n8n/permissions/src/schemas.ee.ts constant ALL_SCOPES_LOOKUP_SET (line 71) | const ALL_SCOPES_LOOKUP_SET = new Set(ALL_SCOPES as string[]); type Role (line 91) | type Role = z.infer; FILE: packages/@n8n/permissions/src/scope-information.ts function buildResourceScopes (line 4) | function buildResourceScopes() { function buildApiKeyScopes (line 14) | function buildApiKeyScopes() { constant ALL_SCOPES (line 22) | const ALL_SCOPES = buildResourceScopes(); constant ALL_API_KEY_SCOPES (line 24) | const ALL_API_KEY_SCOPES = buildApiKeyScopes(); FILE: packages/@n8n/permissions/src/types.ee.ts type ScopeInformation (line 19) | type ScopeInformation = { type Resource (line 25) | type Resource = keyof typeof RESOURCES; type ResourceScope (line 28) | type ResourceScope< type WildcardScope (line 34) | type WildcardScope = `${Resource}:*` | '*'; type AllScopesObject (line 39) | type AllScopesObject = { type Scope (line 44) | type Scope = AllScopesObject[Resource] | WildcardScope; type ScopeLevels (line 46) | type ScopeLevels = { type MaskLevels (line 52) | type MaskLevels = { type ScopeOptions (line 56) | type ScopeOptions = { mode: 'oneOf' | 'allOf' }; type RoleNamespace (line 58) | type RoleNamespace = z.infer; type GlobalRole (line 59) | type GlobalRole = z.infer; type AssignableGlobalRole (line 60) | type AssignableGlobalRole = z.infer; type CredentialSharingRole (line 61) | type CredentialSharingRole = z.infer; type WorkflowSharingRole (line 62) | type WorkflowSharingRole = z.infer; type SecretsProviderConnectionSharingRole (line 63) | type SecretsProviderConnectionSharingRole = z.infer< type TeamProjectRole (line 66) | type TeamProjectRole = z.infer; type ProjectRole (line 67) | type ProjectRole = z.infer; type AssignableProjectRole (line 68) | type AssignableProjectRole = z.infer; function isAssignableProjectRoleSlug (line 78) | function isAssignableProjectRoleSlug(slug: string): slug is AssignablePr... type AllRoleTypes (line 83) | type AllRoleTypes = type AllRolesMap (line 90) | type AllRolesMap = { type DbScope (line 98) | type DbScope = { type DbRole (line 102) | type DbRole = { type AuthPrincipal (line 111) | type AuthPrincipal = { type PublicApiKeyResources (line 116) | type PublicApiKeyResources = keyof typeof API_KEY_RESOURCES; type ApiKeyResourceScope (line 118) | type ApiKeyResourceScope< type AllApiKeyScopesObject (line 126) | type AllApiKeyScopesObject = { type ApiKeyScope (line 130) | type ApiKeyScope = AllApiKeyScopesObject[PublicApiKeyResources]; function isApiKeyScope (line 132) | function isApiKeyScope(scope: Scope | ApiKeyScope): scope is ApiKeyScope { FILE: packages/@n8n/permissions/src/utilities/__tests__/utils.ts function createBuildInAuthPrincipal (line 5) | function createBuildInAuthPrincipal(role: GlobalRole): AuthPrincipal { function createAuthPrincipal (line 19) | function createAuthPrincipal(role: string, scopes: Scope[] = []): AuthPr... FILE: packages/@n8n/permissions/src/utilities/combine-scopes.ee.ts function combineScopes (line 16) | function combineScopes(userScopes: ScopeLevels, masks?: MaskLevels): Set... FILE: packages/@n8n/permissions/src/utilities/get-resource-permissions.ee.ts type ExtractScopePrefixSuffix (line 4) | type ExtractScopePrefixSuffix = T extends `${infer Prefix}:${infer Su... type ActionBooleans (line 7) | type ActionBooleans = { type PermissionsRecord (line 10) | type PermissionsRecord = { FILE: packages/@n8n/permissions/src/utilities/get-role-scopes.ee.ts constant COMBINED_ROLE_MAP (line 4) | const COMBINED_ROLE_MAP = Object.fromEntries( function getRoleScopes (line 16) | function getRoleScopes(role: AllRoleTypes, filters?: Resource[]): Scope[] { function getAuthPrincipalScopes (line 30) | function getAuthPrincipalScopes(user: AuthPrincipal, filters?: Resource[... FILE: packages/@n8n/permissions/src/utilities/static-roles-with-scope.ee.ts function staticRolesWithScope (line 13) | function staticRolesWithScope(namespace: RoleNamespace, scopes: Scope | ... FILE: packages/@n8n/scan-community-package/scanner/scanner.mjs constant TEMP_DIR (line 16) | const TEMP_DIR = tmp.dirSync({ unsafeCleanup: true }).name; function isContainedWithin (line 23) | function isContainedWithin(parentPath, childPath) { function safeJoinPath (line 41) | function safeJoinPath(parentPath, ...paths) { FILE: packages/@n8n/stylelint-config/src/rules/css-var-naming.test.ts function lintCSS (line 11) | async function lintCSS(code: string) { FILE: packages/@n8n/stylelint-config/src/rules/css-var-naming.ts constant PROPERTY_VOCABULARY (line 17) | const PROPERTY_VOCABULARY = new Set([ constant STANDALONE_PROPERTIES (line 65) | const STANDALONE_PROPERTIES = new Set([ constant STATES (line 75) | const STATES = new Set([ constant VARIANTS (line 90) | const VARIANTS = new Set(['solid', 'outline', 'ghost', 'link', 'soft', '... constant MODES (line 92) | const MODES = new Set(['light', 'dark', 'hc', 'rtl', 'print']); constant MEDIA (line 94) | const MEDIA = new Set(['sm', 'md', 'lg', 'xl', '2xl']); constant DISABLE_CHECK_FOR_NAMESPACES (line 97) | const DISABLE_CHECK_FOR_NAMESPACES = new Set(['reka', 'ag', 'chat']); constant NAMESPACES (line 100) | const NAMESPACES = new Set(['n8n', 'p', ...DISABLE_CHECK_FOR_NAMESPACES]); constant SEMANTIC_VALUES (line 103) | const SEMANTIC_VALUES = new Set([ constant SCALE_VALUES (line 116) | const SCALE_VALUES = new Set([ constant FONT_WEIGHT_VALUES (line 133) | const FONT_WEIGHT_VALUES = new Set(['regular', 'medium', 'semibold', 'bo... constant BASIC_PATTERN (line 137) | const BASIC_PATTERN = /^--[a-z0-9]+(?:-[a-z0-9]+)*(?:--[a-z0-9]+(?:-[a-z... type ValidationResult (line 139) | interface ValidationResult { function shouldSkip (line 144) | function shouldSkip(variable: string) { function validateCssVariable (line 154) | function validateCssVariable(variable: string): ValidationResult { FILE: packages/@n8n/syslog-client/src/client.ts class SyslogClient (line 49) | class SyslogClient extends EventEmitter { method constructor (line 78) | constructor(target?: string, options?: ClientOptions) { method log (line 129) | log( method logInternal (line 162) | private logInternal(message: string, options: LogOptions, errorCb: Sys... method sendMessage (line 197) | private sendMessage( method getTransport (line 233) | private getTransport( method createTcpTransport (line 279) | private createTcpTransport( method createTlsTransport (line 310) | private createTlsTransport( method setupSocketHandlers (line 337) | private setupSocketHandlers( method onSocketConnected (line 365) | private onSocketConnected( method createUdpTransport (line 377) | private createUdpTransport( method close (line 420) | close(): this { method onClose (line 438) | private onClose(): this { method onError (line 453) | private onError(error: Error): this { method isStreamSocket (line 468) | private isStreamSocket(transport: TransportConnection): transport is n... method isUdpSocket (line 475) | private isUdpSocket(transport: TransportConnection): transport is dgra... method getTransportName (line 483) | private getTransportName(): string { method normalizeError (line 501) | private normalizeError(error: unknown): Error { FILE: packages/@n8n/syslog-client/src/constants.ts type Transport (line 7) | enum Transport { type Facility (line 17) | enum Facility { type Severity (line 47) | enum Severity { FILE: packages/@n8n/syslog-client/src/errors.ts class SyslogClientError (line 7) | class SyslogClientError extends Error { method constructor (line 8) | constructor( class ValidationError (line 29) | class ValidationError extends SyslogClientError { method constructor (line 30) | constructor( method fromZod (line 39) | static fromZod(message: string, zodErrors: ZodIssue[]) { class ConnectionError (line 52) | class ConnectionError extends SyslogClientError { method constructor (line 53) | constructor(message: string, cause?: Error) { class TransportError (line 63) | class TransportError extends SyslogClientError { method constructor (line 64) | constructor( class TimeoutError (line 78) | class TimeoutError extends SyslogClientError { method constructor (line 79) | constructor(message: string = 'Connection timed out') { FILE: packages/@n8n/syslog-client/src/factory.ts function createClient (line 25) | function createClient(target?: string, options?: ClientOptions): SyslogC... FILE: packages/@n8n/syslog-client/src/schemas.ts type ValidatedClientOptions (line 51) | type ValidatedClientOptions = z.infer; type ValidatedLogOptions (line 56) | type ValidatedLogOptions = z.infer; FILE: packages/@n8n/syslog-client/src/types.ts type SyslogCallback (line 10) | type SyslogCallback = (error?: Error) => void; type DateFormatter (line 16) | type DateFormatter = (date: Date) => string; type ClientOptions (line 21) | interface ClientOptions { type LogOptions (line 92) | interface LogOptions { type ResolvedLogOptions (line 134) | interface ResolvedLogOptions { type TransportConnection (line 147) | type TransportConnection = dgram.Socket | net.Socket | tls.TLSSocket; FILE: packages/@n8n/syslog-client/test/setup.ts constant SYSLOG_UDP_PORT (line 9) | let SYSLOG_UDP_PORT = 0; constant SYSLOG_TCP_PORT (line 10) | let SYSLOG_TCP_PORT = 0; constant SYSLOG_TLS_PORT (line 11) | let SYSLOG_TLS_PORT = 0; constant TLS_PRIVATE_KEY (line 33) | const TLS_PRIVATE_KEY = fs.readFileSync(path.join(__dirname, 'fixtures',... constant TLS_CERTIFICATE (line 34) | const TLS_CERTIFICATE = fs.readFileSync( constant WRONG_CERTIFICATE (line 38) | const WRONG_CERTIFICATE = fs.readFileSync( FILE: packages/@n8n/task-runner-python/src/config/health_check_config.py class HealthCheckConfig (line 15) | class HealthCheckConfig: method from_env (line 21) | def from_env(cls): FILE: packages/@n8n/task-runner-python/src/config/security_config.py class SecurityConfig (line 5) | class SecurityConfig: FILE: packages/@n8n/task-runner-python/src/config/sentry_config.py class SentryConfig (line 15) | class SentryConfig: method enabled (line 24) | def enabled(self) -> bool: method from_env (line 28) | def from_env(cls): FILE: packages/@n8n/task-runner-python/src/config/task_runner_config.py function parse_allowlist (line 28) | def parse_allowlist(allowlist_str: str, list_name: str) -> set[str]: class TaskRunnerConfig (line 48) | class TaskRunnerConfig: method is_auto_shutdown_enabled (line 62) | def is_auto_shutdown_enabled(self) -> bool: method from_env (line 66) | def from_env(cls): FILE: packages/@n8n/task-runner-python/src/env.py function read_env (line 5) | def read_env(env_name: str) -> str | None: function read_str_env (line 22) | def read_str_env(env_name: str, default: str) -> str: function read_int_env (line 29) | def read_int_env(env_name: str, default: int) -> int: function read_bool_env (line 41) | def read_bool_env(env_name: str, default: bool) -> bool: function read_float_env (line 48) | def read_float_env(env_name: str, default: float) -> float: FILE: packages/@n8n/task-runner-python/src/errors/configuration_error.py class ConfigurationError (line 1) | class ConfigurationError(Exception): method __init__ (line 4) | def __init__(self, message: str = "Configuration error"): FILE: packages/@n8n/task-runner-python/src/errors/invalid_pipe_msg_content_error.py class InvalidPipeMsgContentError (line 1) | class InvalidPipeMsgContentError(Exception): method __init__ (line 2) | def __init__(self, message: str): FILE: packages/@n8n/task-runner-python/src/errors/invalid_pipe_msg_length_error.py class InvalidPipeMsgLengthError (line 1) | class InvalidPipeMsgLengthError(Exception): method __init__ (line 2) | def __init__(self, length: int): FILE: packages/@n8n/task-runner-python/src/errors/no_idle_timeout_handler_error.py class NoIdleTimeoutHandlerError (line 1) | class NoIdleTimeoutHandlerError(Exception): method __init__ (line 4) | def __init__(self, timeout: int): FILE: packages/@n8n/task-runner-python/src/errors/security_violation_error.py class SecurityViolationError (line 1) | class SecurityViolationError(Exception): method __init__ (line 4) | def __init__( FILE: packages/@n8n/task-runner-python/src/errors/task_cancelled_error.py class TaskCancelledError (line 1) | class TaskCancelledError(Exception): method __init__ (line 4) | def __init__(self): FILE: packages/@n8n/task-runner-python/src/errors/task_killed_error.py class TaskKilledError (line 1) | class TaskKilledError(Exception): method __init__ (line 10) | def __init__(self): FILE: packages/@n8n/task-runner-python/src/errors/task_missing_error.py class TaskMissingError (line 1) | class TaskMissingError(Exception): method __init__ (line 9) | def __init__(self, task_id: str): FILE: packages/@n8n/task-runner-python/src/errors/task_result_missing_error.py class TaskResultMissingError (line 1) | class TaskResultMissingError(Exception): method __init__ (line 8) | def __init__(self): FILE: packages/@n8n/task-runner-python/src/errors/task_result_read_error.py class TaskResultReadError (line 1) | class TaskResultReadError(Exception): method __init__ (line 2) | def __init__(self, original_error: Exception | None = None): FILE: packages/@n8n/task-runner-python/src/errors/task_runtime_error.py class TaskRuntimeError (line 7) | class TaskRuntimeError(Exception): method __init__ (line 10) | def __init__(self, task_error_info: "TaskErrorInfo"): FILE: packages/@n8n/task-runner-python/src/errors/task_subprocess_failed_error.py class TaskSubprocessFailedError (line 1) | class TaskSubprocessFailedError(Exception): method __init__ (line 4) | def __init__(self, exit_code: int, original_error: Exception | None = ... FILE: packages/@n8n/task-runner-python/src/errors/task_timeout_error.py class TaskTimeoutError (line 1) | class TaskTimeoutError(Exception): method __init__ (line 2) | def __init__(self, task_timeout: int): FILE: packages/@n8n/task-runner-python/src/errors/websocket_connection_error.py class WebsocketConnectionError (line 1) | class WebsocketConnectionError(ConnectionError): method __init__ (line 7) | def __init__(self, broker_uri: str): FILE: packages/@n8n/task-runner-python/src/health_check_server.py class HealthCheckServer (line 12) | class HealthCheckServer: method __init__ (line 13) | def __init__(self): method start (line 17) | async def start(self, config: HealthCheckConfig) -> None: method stop (line 33) | async def stop(self) -> None: method _handle_request (line 40) | async def _handle_request( FILE: packages/@n8n/task-runner-python/src/import_validation.py function validate_module_import (line 7) | def validate_module_import( FILE: packages/@n8n/task-runner-python/src/logs.py class ColorFormatter (line 17) | class ColorFormatter(logging.Formatter): method __init__ (line 18) | def __init__(self, *args, **kwargs): method format (line 26) | def format(self, record): function setup_logging (line 52) | def setup_logging(): FILE: packages/@n8n/task-runner-python/src/main.py function main (line 16) | async def main(): FILE: packages/@n8n/task-runner-python/src/message_serde.py function _get_node_mode (line 34) | def _get_node_mode(node_mode_str: str) -> NodeMode: function _parse_task_settings (line 40) | def _parse_task_settings(d: dict) -> BrokerTaskSettings: function _parse_task_offer_accept (line 75) | def _parse_task_offer_accept(d: dict) -> BrokerTaskOfferAccept: function _parse_task_cancel (line 85) | def _parse_task_cancel(d: dict) -> BrokerTaskCancel: function _parse_rpc_response (line 95) | def _parse_rpc_response(d: dict) -> BrokerRpcResponse: class MessageSerde (line 117) | class MessageSerde: method deserialize_broker_message (line 121) | def deserialize_broker_message(data: str) -> BrokerMessage: method serialize_runner_message (line 131) | def serialize_runner_message(message: RunnerMessage) -> str: method _snake_to_camel_case (line 139) | def _snake_to_camel_case(snake_case_str: str) -> str: FILE: packages/@n8n/task-runner-python/src/message_types/broker.py class BrokerInfoRequest (line 16) | class BrokerInfoRequest: class BrokerRunnerRegistered (line 21) | class BrokerRunnerRegistered: class BrokerTaskOfferAccept (line 26) | class BrokerTaskOfferAccept: class TaskSettings (line 40) | class TaskSettings: class BrokerTaskSettings (line 53) | class BrokerTaskSettings: class BrokerTaskCancel (line 60) | class BrokerTaskCancel: class BrokerRpcResponse (line 67) | class BrokerRpcResponse: class BrokerDrain (line 75) | class BrokerDrain: FILE: packages/@n8n/task-runner-python/src/message_types/pipe.py class TaskErrorInfo (line 8) | class TaskErrorInfo(TypedDict): class PipeResultMessage (line 15) | class PipeResultMessage(TypedDict): class PipeErrorMessage (line 20) | class PipeErrorMessage(TypedDict): FILE: packages/@n8n/task-runner-python/src/message_types/runner.py class RunnerInfo (line 16) | class RunnerInfo: class RunnerTaskOffer (line 23) | class RunnerTaskOffer: class RunnerTaskAccepted (line 31) | class RunnerTaskAccepted: class RunnerTaskRejected (line 37) | class RunnerTaskRejected: class RunnerTaskDone (line 44) | class RunnerTaskDone: class RunnerTaskError (line 51) | class RunnerTaskError: class RunnerRpcCall (line 58) | class RunnerRpcCall: FILE: packages/@n8n/task-runner-python/src/nanoid.py function nanoid (line 13) | def nanoid() -> str: FILE: packages/@n8n/task-runner-python/src/pipe_reader.py class PipeReader (line 18) | class PipeReader(threading.Thread): method __init__ (line 21) | def __init__(self, read_fd: int, read_conn: PipeConnection): method run (line 29) | def run(self): method _read_exact_bytes (line 47) | def _read_exact_bytes(fd: int, n: int) -> bytes: method _validate_pipe_message (line 63) | def _validate_pipe_message(self, msg) -> PipeMessage: FILE: packages/@n8n/task-runner-python/src/sentry.py class TaskRunnerSentry (line 14) | class TaskRunnerSentry: method __init__ (line 15) | def __init__(self, config: SentryConfig): method init (line 19) | def init(self) -> None: method shutdown (line 68) | def shutdown(self) -> None: method _filter_out_ignored_errors (line 74) | def _filter_out_ignored_errors(self, event: Any, hint: Any) -> Any | N... method _is_from_user_code (line 96) | def _is_from_user_code(self, exception: dict[str, Any]): function setup_sentry (line 103) | def setup_sentry(sentry_config: SentryConfig) -> TaskRunnerSentry | None: FILE: packages/@n8n/task-runner-python/src/shutdown.py class Shutdown (line 12) | class Shutdown: method __init__ (line 15) | def __init__( method start_shutdown (line 33) | async def start_shutdown(self, custom_timeout: int | None = None): method wait_for_shutdown (line 57) | async def wait_for_shutdown(self) -> int: method _register_handler (line 61) | def _register_handler(self, sig: signal.Signals): method start_auto_shutdown (line 75) | async def start_auto_shutdown(self): method _perform_shutdown (line 79) | async def _perform_shutdown(self): FILE: packages/@n8n/task-runner-python/src/task_analyzer.py class SecurityValidator (line 29) | class SecurityValidator(ast.NodeVisitor): method __init__ (line 32) | def __init__(self, security_config: SecurityConfig): method visit_Import (line 39) | def visit_Import(self, node: ast.Import) -> None: method visit_ImportFrom (line 47) | def visit_ImportFrom(self, node: ast.ImportFrom) -> None: method visit_Name (line 57) | def visit_Name(self, node: ast.Name) -> None: method visit_Attribute (line 63) | def visit_Attribute(self, node: ast.Attribute) -> None: method visit_Call (line 78) | def visit_Call(self, node: ast.Call) -> None: method visit_Subscript (line 107) | def visit_Subscript(self, node: ast.Subscript) -> None: method visit_Constant (line 136) | def visit_Constant(self, node: ast.Constant) -> None: method visit_MatchClass (line 144) | def visit_MatchClass(self, node: ast.MatchClass) -> None: method _check_format_string (line 155) | def _check_format_string(self, s: str, lineno: int) -> None: method _validate_import (line 182) | def _validate_import(self, module_path: str, lineno: int) -> None: method _add_violation (line 204) | def _add_violation(self, lineno: int, message: str) -> None: class TaskAnalyzer (line 208) | class TaskAnalyzer: method __init__ (line 211) | def __init__(self, security_config: SecurityConfig): method validate (line 222) | def validate(self, code: str) -> None: method _raise_security_error (line 247) | def _raise_security_error(self, violations: CachedViolations) -> None: method _to_cache_key (line 252) | def _to_cache_key(self, code: str) -> CacheKey: method _set_in_cache (line 256) | def _set_in_cache(self, cache_key: CacheKey, violations: CachedViolati... FILE: packages/@n8n/task-runner-python/src/task_executor.py class TaskExecutor (line 53) | class TaskExecutor: method create_process (line 57) | def create_process( method execute_process (line 89) | def execute_process( method stop_process (line 167) | def stop_process(process: ForkServerProcess | None): method _all_items (line 185) | def _all_items( method _per_item (line 224) | def _per_item( method _wrap_code (line 280) | def _wrap_code(raw_code: str) -> str: method _extract_json_data_per_item (line 285) | def _extract_json_data_per_item(user_output): method _put_result (line 298) | def _put_result(write_fd: int, result: Items, print_args: PrintArgs): method _put_error (line 317) | def _put_error( method _create_custom_print (line 355) | def _create_custom_print(print_args: PrintArgs): method _format_print_args (line 380) | def _format_print_args(*args) -> list[str]: method _truncate_print_args (line 406) | def _truncate_print_args(print_args: PrintArgs) -> PrintArgs: method _filter_builtins (line 424) | def _filter_builtins(security_config: SecurityConfig): method _sanitize_sys_modules (line 441) | def _sanitize_sys_modules(security_config: SecurityConfig): method _create_safe_import (line 479) | def _create_safe_import(security_config: SecurityConfig): method _write_bytes (line 499) | def _write_bytes(fd: int, data: bytes): FILE: packages/@n8n/task-runner-python/src/task_runner.py class TaskOffer (line 65) | class TaskOffer: method has_expired (line 70) | def has_expired(self) -> bool: class TaskRunner (line 74) | class TaskRunner: method __init__ (line 75) | def __init__( method running_tasks_count (line 113) | def running_tasks_count(self) -> int: method start (line 116) | async def start(self) -> None: method _cancel_coroutine (line 149) | async def _cancel_coroutine(self, coroutine: asyncio.Task | None) -> N... method stop (line 159) | async def stop(self) -> None: method _wait_for_tasks (line 175) | async def _wait_for_tasks(self): method _terminate_tasks (line 193) | async def _terminate_tasks(self): method _listen_for_messages (line 214) | async def _listen_for_messages(self) -> None: method _handle_message (line 229) | async def _handle_message(self, message: BrokerMessage) -> None: method _handle_info_request (line 248) | async def _handle_info_request(self) -> None: method _handle_drain (line 252) | async def _handle_drain(self) -> None: method _handle_runner_registered (line 257) | async def _handle_runner_registered(self) -> None: method _handle_task_offer_accept (line 263) | async def _handle_task_offer_accept(self, message: BrokerTaskOfferAcce... method _handle_task_settings (line 292) | async def _handle_task_settings(self, message: BrokerTaskSettings) -> ... method _execute_task (line 312) | async def _execute_task(self, task_id: str, task_settings: TaskSetting... method _handle_task_cancel (line 382) | async def _handle_task_cancel(self, message: BrokerTaskCancel) -> None: method _send_rpc_message (line 403) | async def _send_rpc_message(self, task_id: str, method_name: str, para... method _send_message (line 410) | async def _send_message(self, message: RunnerMessage) -> None: method _get_duration (line 419) | def _get_duration(self, start_time: float) -> str: method _get_result_size (line 430) | def _get_result_size(self, size_bytes: int) -> str: method _send_offers_loop (line 440) | async def _send_offers_loop(self) -> None: method _send_offers (line 450) | async def _send_offers(self) -> None: method _reset_idle_timer (line 486) | def _reset_idle_timer(self): method _idle_timer_coroutine (line 499) | async def _idle_timer_coroutine(self): FILE: packages/@n8n/task-runner-python/src/task_state.py class TaskStatus (line 6) | class TaskStatus(Enum): class TaskState (line 13) | class TaskState: method __init__ (line 22) | def __init__(self, task_id: str): method context (line 31) | def context(self): FILE: packages/@n8n/task-runner-python/tests/fixtures/local_task_broker.py class ActiveTask (line 21) | class ActiveTask: class LocalTaskBroker (line 25) | class LocalTaskBroker: method __init__ (line 26) | def __init__(self): method start (line 39) | async def start(self) -> None: method get_url (line 48) | def get_url(self) -> str: method stop (line 51) | async def stop(self) -> None: method websocket_handler (line 62) | async def websocket_handler(self, request: web.Request) -> web_ws.WebS... method _message_sender (line 92) | async def _message_sender(self, connection_id: str, ws: web_ws.WebSock... method _handle_message (line 97) | async def _handle_message(self, connection_id: str, message: Websocket... method send_to_connection (line 133) | async def send_to_connection(self, connection_id: str, message: Websoc... method send_task (line 137) | async def send_task( method cancel_task (line 158) | async def cancel_task(self, task_id: TaskId, reason: str): method wait_for_msg (line 168) | async def wait_for_msg( method get_messages_of_type (line 186) | def get_messages_of_type(self, msg_type: str) -> list[WebsocketMessage]: method get_task_rpc_messages (line 189) | def get_task_rpc_messages(self, task_id: TaskId) -> list[dict]: FILE: packages/@n8n/task-runner-python/tests/fixtures/task_runner_manager.py class TaskRunnerManager (line 23) | class TaskRunnerManager: method __init__ (line 26) | def __init__( method start (line 40) | async def start(self): method is_running (line 72) | def is_running(self) -> bool: method get_health_check_url (line 75) | def get_health_check_url(self) -> str: method stop (line 78) | async def stop(self) -> None: method _read_stdout (line 91) | async def _read_stdout(self): method _read_stderr (line 101) | async def _read_stderr(self): method _wait_for_health_check_port (line 111) | async def _wait_for_health_check_port(self, timeout: float = 5.0): FILE: packages/@n8n/task-runner-python/tests/integration/conftest.py function broker (line 15) | async def broker(): function manager (line 23) | async def manager(broker): function manager_with_stdlib_wildcard (line 31) | async def manager_with_stdlib_wildcard(broker): function manager_with_env_access_blocked (line 44) | async def manager_with_env_access_blocked(broker): function manager_with_env_access_allowed (line 58) | async def manager_with_env_access_allowed(broker): function create_task_settings (line 71) | def create_task_settings( function wait_for_task_done (line 85) | async def wait_for_task_done(broker, task_id: str, timeout: float = TASK... function wait_for_task_error (line 93) | async def wait_for_task_error( function get_browser_console_msgs (line 103) | def get_browser_console_msgs(broker: LocalTaskBroker, task_id: str) -> l... FILE: packages/@n8n/task-runner-python/tests/integration/test_execution.py function test_all_items_with_success (line 19) | async def test_all_items_with_success(broker, manager): function test_all_items_with_error (line 50) | async def test_all_items_with_error(broker, manager): function test_all_items_with_continue_on_fail (line 63) | async def test_all_items_with_continue_on_fail(broker, manager): function test_per_item_with_success (line 82) | async def test_per_item_with_success(broker, manager): function test_per_item_with_explicit_json_and_binary (line 104) | async def test_per_item_with_explicit_json_and_binary(broker, manager): function test_per_item_with_binary_only (line 123) | async def test_per_item_with_binary_only(broker, manager): function test_per_item_with_filtering (line 138) | async def test_per_item_with_filtering(broker, manager): function test_per_item_with_continue_on_fail (line 165) | async def test_per_item_with_continue_on_fail(broker, manager): function test_cannot_access_builtins_via_globals (line 192) | async def test_cannot_access_builtins_via_globals(broker, manager): function test_cannot_access_builtins_via_locals (line 210) | async def test_cannot_access_builtins_via_locals(broker, manager): function test_cancel_during_execution (line 231) | async def test_cancel_during_execution(broker, manager): function test_timeout_during_execution (line 254) | async def test_timeout_during_execution(broker, manager): function test_stdlib_submodules_with_wildcard (line 270) | async def test_stdlib_submodules_with_wildcard(broker, manager_with_stdl... function test_cannot_bypass_import_restrictions_via_builtins_dict (line 286) | async def test_cannot_bypass_import_restrictions_via_builtins_dict(broke... function test_cannot_bypass_import_restrictions_via_builtins_spec_loader (line 304) | async def test_cannot_bypass_import_restrictions_via_builtins_spec_loader( function test_cannot_bypass_import_restrictions_via_sys_builtins_spec_leader (line 323) | async def test_cannot_bypass_import_restrictions_via_sys_builtins_spec_l... function test_cannot_bypass_import_restrictions_via_format_string (line 341) | async def test_cannot_bypass_import_restrictions_via_format_string(broke... function test_env_blocked_by_default_all_items (line 362) | async def test_env_blocked_by_default_all_items( function test_env_blocked_by_default_per_item (line 388) | async def test_env_blocked_by_default_per_item(broker, manager_with_env_... function test_env_accessible_when_allowed_all_items (line 411) | async def test_env_accessible_when_allowed_all_items( function test_env_accessible_when_allowed_per_item (line 434) | async def test_env_accessible_when_allowed_per_item( FILE: packages/@n8n/task-runner-python/tests/integration/test_health_check.py function test_health_check_server_responds (line 12) | async def test_health_check_server_responds(broker, manager): function test_health_check_server_ressponds_mid_execution (line 26) | async def test_health_check_server_ressponds_mid_execution(broker, manag... FILE: packages/@n8n/task-runner-python/tests/integration/test_rpc.py function test_print_basic_types (line 14) | async def test_print_basic_types(broker, manager): function test_print_complex_types (line 57) | async def test_print_complex_types(broker, manager): function test_print_edge_cases (line 85) | async def test_print_edge_cases(broker, manager): FILE: packages/@n8n/task-runner-python/tests/unit/test_env.py class TestReadEnv (line 10) | class TestReadEnv: method test_returns_direct_env_var_when_exists (line 11) | def test_returns_direct_env_var_when_exists(self): method test_returns_none_when_no_env_var (line 16) | def test_returns_none_when_no_env_var(self): method test_reads_from_file_when_file_env_var_exists (line 21) | def test_reads_from_file_when_file_env_var_exists(self): method test_strips_whitespace_from_file_content (line 30) | def test_strips_whitespace_from_file_content(self): method test_direct_env_var_takes_precedence_over_file (line 39) | def test_direct_env_var_takes_precedence_over_file(self): method test_raises_error_when_file_not_found (line 51) | def test_raises_error_when_file_not_found(self): method test_handles_empty_file (line 57) | def test_handles_empty_file(self): method test_handles_multiline_file_content (line 66) | def test_handles_multiline_file_content(self): method test_handles_unicode_content (line 75) | def test_handles_unicode_content(self): method test_raises_error_with_permission_denied (line 84) | def test_raises_error_with_permission_denied(self): class TestReadStrEnv (line 100) | class TestReadStrEnv: method test_returns_string_from_direct_env (line 101) | def test_returns_string_from_direct_env(self): method test_returns_string_from_file (line 106) | def test_returns_string_from_file(self): method test_returns_default_when_not_set (line 115) | def test_returns_default_when_not_set(self): method test_handles_empty_string_from_env (line 120) | def test_handles_empty_string_from_env(self): class TestReadIntEnv (line 126) | class TestReadIntEnv: method test_returns_int_from_direct_env (line 127) | def test_returns_int_from_direct_env(self): method test_returns_int_from_file (line 132) | def test_returns_int_from_file(self): method test_returns_default_when_not_set (line 141) | def test_returns_default_when_not_set(self): method test_raises_error_for_invalid_int (line 146) | def test_raises_error_for_invalid_int(self): method test_handles_negative_numbers (line 152) | def test_handles_negative_numbers(self): class TestReadBoolEnv (line 158) | class TestReadBoolEnv: method test_returns_true_for_true_string (line 159) | def test_returns_true_for_true_string(self): method test_returns_false_for_false_string (line 164) | def test_returns_false_for_false_string(self): method test_returns_true_from_file (line 169) | def test_returns_true_from_file(self): method test_returns_default_when_not_set (line 178) | def test_returns_default_when_not_set(self): class TestReadFloatEnv (line 184) | class TestReadFloatEnv: method test_returns_float_from_direct_env (line 185) | def test_returns_float_from_direct_env(self): method test_returns_float_from_file (line 190) | def test_returns_float_from_file(self): method test_returns_default_when_not_set (line 199) | def test_returns_default_when_not_set(self): method test_raises_error_for_invalid_float (line 204) | def test_raises_error_for_invalid_float(self): method test_handles_negative_numbers (line 210) | def test_handles_negative_numbers(self): method test_handles_integer_values (line 215) | def test_handles_integer_values(self): method test_handles_zero (line 220) | def test_handles_zero(self): FILE: packages/@n8n/task-runner-python/tests/unit/test_sentry.py function sentry_config (line 21) | def sentry_config(): function disabled_sentry_config (line 33) | def disabled_sentry_config(): class TestTaskRunnerSentry (line 44) | class TestTaskRunnerSentry: method test_init_configures_sentry_correctly (line 45) | def test_init_configures_sentry_correctly(self, sentry_config): method test_shutdown_flushes_sentry (line 73) | def test_shutdown_flushes_sentry(self, sentry_config): method test_filter_out_ignored_errors (line 85) | def test_filter_out_ignored_errors(self, sentry_config, error_type): method test_filter_out_syntax_error_subclasses (line 94) | def test_filter_out_syntax_error_subclasses(self, sentry_config): method test_filter_out_errors_by_type_name (line 103) | def test_filter_out_errors_by_type_name(self, sentry_config): method test_filter_out_user_code_errors_from_executors (line 123) | def test_filter_out_user_code_errors_from_executors(self, sentry_config): method test_allows_non_user_code_errors (line 150) | def test_allows_non_user_code_errors(self, sentry_config): method test_handles_malformed_exception_data (line 172) | def test_handles_malformed_exception_data(self, sentry_config): class TestSetupSentry (line 188) | class TestSetupSentry: method test_returns_none_when_disabled (line 189) | def test_returns_none_when_disabled(self, disabled_sentry_config): method test_initializes_sentry_when_enabled (line 194) | def test_initializes_sentry_when_enabled(self, mock_sentry_class, sent... method test_handles_import_error (line 205) | def test_handles_import_error(self, mock_sentry_class, sentry_config, ... method test_handles_general_exception (line 217) | def test_handles_general_exception(self, mock_sentry_class, sentry_con... class TestSentryConfig (line 229) | class TestSentryConfig: method test_enabled_returns_true_with_dsn (line 230) | def test_enabled_returns_true_with_dsn(self, sentry_config): method test_enabled_returns_false_without_dsn (line 233) | def test_enabled_returns_false_without_dsn(self, disabled_sentry_config): method test_from_env_creates_config_from_environment (line 247) | def test_from_env_creates_config_from_environment(self): method test_from_env_uses_defaults_when_missing (line 258) | def test_from_env_uses_defaults_when_missing(self): FILE: packages/@n8n/task-runner-python/tests/unit/test_task_analyzer.py class TestTaskAnalyzer (line 9) | class TestTaskAnalyzer: method analyzer (line 11) | def analyzer(self) -> TaskAnalyzer: class TestImportValidation (line 33) | class TestImportValidation(TestTaskAnalyzer): method test_allowed_standard_imports (line 34) | def test_allowed_standard_imports(self, analyzer: TaskAnalyzer) -> None: method test_blocked_dangerous_imports (line 48) | def test_blocked_dangerous_imports(self, analyzer: TaskAnalyzer) -> None: method test_blocked_relative_imports (line 61) | def test_blocked_relative_imports(self, analyzer: TaskAnalyzer) -> None: class TestAttributeAccessValidation (line 73) | class TestAttributeAccessValidation(TestTaskAnalyzer): method test_all_blocked_attributes_are_blocked (line 74) | def test_all_blocked_attributes_are_blocked(self, analyzer: TaskAnalyz... method test_all_blocked_names_are_blocked (line 81) | def test_all_blocked_names_are_blocked(self, analyzer: TaskAnalyzer) -... method test_loader_access_attempts_blocked (line 88) | def test_loader_access_attempts_blocked(self, analyzer: TaskAnalyzer) ... method test_spec_access_attempts_blocked (line 100) | def test_spec_access_attempts_blocked(self, analyzer: TaskAnalyzer) ->... method test_dunder_name_attempts_blocked (line 113) | def test_dunder_name_attempts_blocked(self, analyzer: TaskAnalyzer) ->... method test_allowed_attribute_access (line 126) | def test_allowed_attribute_access(self, analyzer: TaskAnalyzer) -> None: method test_name_mangled_attributes_blocked (line 139) | def test_name_mangled_attributes_blocked(self, analyzer: TaskAnalyzer)... method test_objclass_attribute_blocked (line 153) | def test_objclass_attribute_blocked(self, analyzer: TaskAnalyzer) -> N... method test_attribute_error_obj_blocked (line 166) | def test_attribute_error_obj_blocked(self, analyzer: TaskAnalyzer) -> ... class TestDynamicImportDetection (line 179) | class TestDynamicImportDetection(TestTaskAnalyzer): method test_various_dynamic_import_patterns (line 180) | def test_various_dynamic_import_patterns(self, analyzer: TaskAnalyzer)... method test_allowed_modules_via_dynamic_import (line 191) | def test_allowed_modules_via_dynamic_import(self, analyzer: TaskAnalyz... class TestFormatStringAttacks (line 203) | class TestFormatStringAttacks(TestTaskAnalyzer): method test_dangerous_format_patterns_blocked (line 204) | def test_dangerous_format_patterns_blocked(self, analyzer: TaskAnalyze... method test_safe_format_strings_allowed (line 223) | def test_safe_format_strings_allowed(self, analyzer: TaskAnalyzer) -> ... method test_escaped_braces_allowed (line 236) | def test_escaped_braces_allowed(self, analyzer: TaskAnalyzer) -> None: method test_fstring_blocked_attributes_detected (line 246) | def test_fstring_blocked_attributes_detected(self, analyzer: TaskAnaly... class TestMatchPatternValidation (line 258) | class TestMatchPatternValidation(TestTaskAnalyzer): method test_match_pattern_with_blocked_attributes_blocked (line 259) | def test_match_pattern_with_blocked_attributes_blocked( method test_safe_match_patterns_allowed (line 290) | def test_safe_match_patterns_allowed(self, analyzer: TaskAnalyzer) -> ... class TestAllowAll (line 320) | class TestAllowAll(TestTaskAnalyzer): method test_allow_all_bypasses_validation (line 321) | def test_allow_all_bypasses_validation(self) -> None: FILE: packages/@n8n/task-runner-python/tests/unit/test_task_executor.py class TestTaskExecutorProcessExitHandling (line 16) | class TestTaskExecutorProcessExitHandling: method test_sigterm_raises_task_cancelled_error (line 17) | def test_sigterm_raises_task_cancelled_error(self): method test_sigkill_raises_task_killed_error (line 35) | def test_sigkill_raises_task_killed_error(self): method test_other_non_zero_exit_code_raises_task_subprocess_failed_error (line 53) | def test_other_non_zero_exit_code_raises_task_subprocess_failed_error(... method test_zero_exit_code_with_empty_pipe_raises_task_result_read_error (line 73) | def test_zero_exit_code_with_empty_pipe_raises_task_result_read_error(... class TestTaskExecutorPipeCommunication (line 94) | class TestTaskExecutorPipeCommunication: method test_successful_result_communication (line 96) | def test_successful_result_communication(self, mock_os_read): method test_successful_error_communication (line 127) | def test_successful_error_communication(self, mock_os_read): class TestTaskExecutorLowLevelIO (line 166) | class TestTaskExecutorLowLevelIO: method test_read_exact_bytes_single_read (line 168) | def test_read_exact_bytes_single_read(self, mock_os_read): method test_read_exact_bytes_multiple_reads (line 178) | def test_read_exact_bytes_multiple_reads(self, mock_os_read): method test_read_exact_bytes_eof_error (line 187) | def test_read_exact_bytes_eof_error(self, mock_os_read): method test_write_bytes_write_failure (line 194) | def test_write_bytes_write_failure(self, mock_os_write): FILE: packages/@n8n/task-runner-python/tests/unit/test_task_runner.py class TestTaskRunnerConnectionRetry (line 12) | class TestTaskRunnerConnectionRetry: method config (line 14) | def config(self): method test_connection_failure_logs_warning_not_crash (line 30) | async def test_connection_failure_logs_warning_not_crash(self, config): method test_auth_failure_raises_without_retry (line 53) | async def test_auth_failure_raises_without_retry(self, config): class TestTaskRunnerDrain (line 75) | class TestTaskRunnerDrain: method config (line 77) | def config(self): method test_drain_stops_sending_offers (line 93) | async def test_drain_stops_sending_offers(self, config): FILE: packages/@n8n/task-runner/src/__tests__/node-types.test.ts constant SINGLE_VERSIONED (line 5) | const SINGLE_VERSIONED = { name: 'single-versioned', version: 1 }; constant SINGLE_UNVERSIONED (line 7) | const SINGLE_UNVERSIONED = { name: 'single-unversioned' }; constant MULTI_VERSIONED (line 9) | const MULTI_VERSIONED = { name: 'multi-versioned', version: [1, 2] }; constant SPLIT_VERSIONED (line 11) | const SPLIT_VERSIONED = [ constant TYPES (line 16) | const TYPES: INodeTypeDescription[] = [ FILE: packages/@n8n/task-runner/src/config/base-runner-config.ts class HealthcheckServerConfig (line 3) | @Config class BaseRunnerConfig (line 16) | class BaseRunnerConfig { FILE: packages/@n8n/task-runner/src/config/js-runner-config.ts class JsRunnerConfig (line 4) | class JsRunnerConfig { FILE: packages/@n8n/task-runner/src/config/main-config.ts class MainConfig (line 8) | class MainConfig { FILE: packages/@n8n/task-runner/src/config/sentry-config.ts class SentryConfig (line 4) | class SentryConfig { FILE: packages/@n8n/task-runner/src/data-request/data-request-response-reconstruct.ts class DataRequestResponseReconstruct (line 9) | class DataRequestResponseReconstruct { method reconstructConnectionInputItems (line 13) | reconstructConnectionInputItems( method reconstructExecuteData (line 37) | reconstructExecuteData( FILE: packages/@n8n/task-runner/src/health-check-server.ts class HealthCheckServer (line 4) | class HealthCheckServer { method start (line 10) | async start(host: string, port: number) { method stop (line 30) | async stop() { FILE: packages/@n8n/task-runner/src/js-task-runner/__tests__/require-resolver-global-modules.test.ts function runRequireTest (line 67) | function runRequireTest(env: Record): { FILE: packages/@n8n/task-runner/src/js-task-runner/__tests__/task-runner.test.ts class TestRunner (line 8) | class TestRunner extends TaskRunner {} FILE: packages/@n8n/task-runner/src/js-task-runner/built-ins-parser/__tests__/built-ins-parser.test.ts method getByName (line 217) | getByName() { method getByNameAndVersion (line 220) | getByNameAndVersion() { method getKnownTypes (line 223) | getKnownTypes() { FILE: packages/@n8n/task-runner/src/js-task-runner/built-ins-parser/acorn-helpers.ts function isLiteral (line 10) | function isLiteral(node?: Node): node is Literal { function isIdentifier (line 14) | function isIdentifier(node?: Node): node is Identifier { function isMemberExpression (line 18) | function isMemberExpression(node?: Node): node is MemberExpression { function isVariableDeclarator (line 22) | function isVariableDeclarator(node?: Node): node is VariableDeclarator { function isAssignmentExpression (line 26) | function isAssignmentExpression(node?: Node): node is AssignmentExpressi... FILE: packages/@n8n/task-runner/src/js-task-runner/built-ins-parser/built-ins-parser-state.ts class BuiltInsParserState (line 7) | class BuiltInsParserState { method constructor (line 20) | constructor(opts: Partial = {}) { method markNeedsAllNodes (line 27) | markNeedsAllNodes() { method markNodeAsNeeded (line 33) | markNodeAsNeeded(nodeName: string) { method markEnvAsNeeded (line 41) | markEnvAsNeeded() { method markInputAsNeeded (line 45) | markInputAsNeeded() { method markExecutionAsNeeded (line 49) | markExecutionAsNeeded() { method markPrevNodeAsNeeded (line 53) | markPrevNodeAsNeeded() { method toDataRequestParams (line 57) | toDataRequestParams( method newNeedsAllDataState (line 71) | static newNeedsAllDataState() { FILE: packages/@n8n/task-runner/src/js-task-runner/built-ins-parser/built-ins-parser.ts class BuiltInsParser (line 20) | class BuiltInsParser { method parseUsedBuiltIns (line 24) | parseUsedBuiltIns(code: string): Result { method identifyBuiltInsByWalkingAst (line 34) | private identifyBuiltInsByWalkingAst(ast: Program) { method visitDollarCallExpression (line 68) | private visitDollarCallExpression( method visitDollarItemsCallExpression (line 98) | private visitDollarItemsCallExpression(node: CallExpression, state: Bu... method handlePrevNodeCall (line 121) | private handlePrevNodeCall(_node: CallExpression, state: BuiltInsParse... method isPairedItemProperty (line 191) | private isPairedItemProperty( FILE: packages/@n8n/task-runner/src/js-task-runner/errors/disallowed-module.error.ts class DisallowedModuleError (line 3) | class DisallowedModuleError extends UserError { method constructor (line 4) | constructor(moduleName: string) { FILE: packages/@n8n/task-runner/src/js-task-runner/errors/error-like.ts type ErrorLike (line 1) | interface ErrorLike { function isErrorLike (line 6) | function isErrorLike(value: unknown): value is ErrorLike { FILE: packages/@n8n/task-runner/src/js-task-runner/errors/execution-error.ts class ExecutionError (line 4) | class ExecutionError extends SerializableError { method constructor (line 13) | constructor(error: ErrorLike, itemIndex?: number) { method populateFromStack (line 34) | private populateFromStack() { method toLineNumberDisplay (line 62) | private toLineNumberDisplay(stackRows: string[]) { method toErrorDetailsAndType (line 92) | private toErrorDetailsAndType(messageRow?: string) { FILE: packages/@n8n/task-runner/src/js-task-runner/errors/serializable-error.ts function makeSerializable (line 5) | function makeSerializable(error: Error) { method constructor (line 27) | constructor(message: string) { FILE: packages/@n8n/task-runner/src/js-task-runner/errors/task-cancelled-error.ts class TaskCancelledError (line 3) | class TaskCancelledError extends ApplicationError { method constructor (line 4) | constructor(reason: string) { FILE: packages/@n8n/task-runner/src/js-task-runner/errors/timeout-error.ts class TimeoutError (line 3) | class TimeoutError extends ApplicationError { method constructor (line 6) | constructor(taskTimeout: number) { FILE: packages/@n8n/task-runner/src/js-task-runner/errors/unsupported-function.error.ts class UnsupportedFunctionError (line 7) | class UnsupportedFunctionError extends ApplicationError { method constructor (line 8) | constructor(functionName: string) { FILE: packages/@n8n/task-runner/src/js-task-runner/js-task-runner.ts type RpcCallObject (line 53) | interface RpcCallObject { type RunnerExecutionMode (line 64) | type RunnerExecutionMode = 'runCode' | CodeExecutionMode; type JSExecSettings (line 66) | interface JSExecSettings { type JsTaskData (line 77) | interface JsTaskData { type GlobalFunctionWithPrototype (line 97) | type GlobalFunctionWithPrototype = ((...args: unknown[]) => unknown) & { type CustomConsole (line 101) | type CustomConsole = { class JsTaskRunner (line 105) | class JsTaskRunner extends TaskRunner { method constructor (line 139) | constructor(config: MainConfig, name = 'JS Task Runner') { method preventPrototypePollution (line 171) | private preventPrototypePollution(allowedExternalModules: Set ... method executeTask (line 217) | async executeTask( method validateTaskSettings (line 269) | private validateTaskSettings(settings: JSExecSettings) { method getNativeVariables (line 277) | private getNativeVariables() { method runCode (line 304) | async runCode(settings: JSExecSettings, abortSignal: AbortSignal): Pro... method runForAllItems (line 343) | private async runForAllItems( method runForEachItem (line 404) | private async runForEachItem( method createDataProxy (line 500) | private createDataProxy(data: JsTaskData, workflow: Workflow, itemInde... method extractJsonData (line 533) | private extractJsonData(result: INodeExecutionData) { method toExecutionErrorIfNeeded (line 546) | private toExecutionErrorIfNeeded(error: unknown): Error { method reconstructTaskData (line 558) | private reconstructTaskData( method requestNodeTypeIfNeeded (line 579) | private async requestNodeTypeIfNeeded( method buildRpcCallObject (line 608) | private buildRpcCallObject(taskId: string) { method buildCustomConsole (line 628) | private buildCustomConsole(taskId: string): CustomConsole { method buildContext (line 658) | buildContext( method createVmExecutableCode (line 677) | private createVmExecutableCode(code: string) { method runDirectly (line 709) | private async runDirectly(code: string, context: Context): Promise<... FILE: packages/@n8n/task-runner/src/js-task-runner/obj-utils.ts function isObject (line 1) | function isObject(maybe: unknown): maybe is object { FILE: packages/@n8n/task-runner/src/js-task-runner/require-resolver.ts type RequireResolverOpts (line 6) | type RequireResolverOpts = { type RequireResolver (line 20) | type RequireResolver = (request: string) => unknown; function createRequireResolver (line 22) | function createRequireResolver({ FILE: packages/@n8n/task-runner/src/message-types.ts type InfoRequest (line 12) | interface InfoRequest { type RunnerRegistered (line 16) | interface RunnerRegistered { type TaskOfferAccept (line 20) | interface TaskOfferAccept { type TaskCancel (line 26) | interface TaskCancel { type TaskSettings (line 32) | interface TaskSettings { type RPCResponse (line 38) | interface RPCResponse { type TaskDataResponse (line 46) | interface TaskDataResponse { type NodeTypes (line 53) | interface NodeTypes { type Drain (line 61) | interface Drain { type All (line 65) | type All = type TaskReady (line 78) | interface TaskReady { type TaskDone (line 84) | interface TaskDone { type TaskError (line 90) | interface TaskError { type RequestExpired (line 96) | interface RequestExpired { type TaskDataRequest (line 102) | interface TaskDataRequest { type NodeTypesRequest (line 109) | interface NodeTypesRequest { type RPC (line 116) | interface RPC { type All (line 124) | type All = type TaskSettings (line 137) | interface TaskSettings { type TaskCancel (line 143) | interface TaskCancel { type TaskDataResponse (line 149) | interface TaskDataResponse { type NodeTypesResponse (line 156) | interface NodeTypesResponse { type RPCResponse (line 163) | interface RPCResponse { type TaskRequest (line 171) | interface TaskRequest { type All (line 177) | type All = type Info (line 189) | interface Info { type TaskAccepted (line 195) | interface TaskAccepted { type TaskRejected (line 200) | interface TaskRejected { type TaskDeferred (line 207) | interface TaskDeferred { type TaskDone (line 212) | interface TaskDone { type TaskError (line 218) | interface TaskError { type TaskOffer (line 224) | interface TaskOffer { type TaskDataRequest (line 231) | interface TaskDataRequest { type NodeTypesRequest (line 238) | interface NodeTypesRequest { type RPC (line 257) | interface RPC { type All (line 265) | type All = FILE: packages/@n8n/task-runner/src/node-types.ts type VersionedTypes (line 12) | type VersionedTypes = Map; constant DEFAULT_NODETYPE_VERSION (line 14) | const DEFAULT_NODETYPE_VERSION = 1; class TaskRunnerNodeTypes (line 16) | class TaskRunnerNodeTypes implements INodeTypes { method constructor (line 19) | constructor(nodeTypes: INodeTypeDescription[]) { method parseNodeTypes (line 23) | private parseNodeTypes(nodeTypes: INodeTypeDescription[]): Map { type TaskRunnerOpts (line 55) | interface TaskRunnerOpts extends BaseRunnerConfig { method constructor (line 97) | constructor(opts: TaskRunnerOpts) { method resetIdleTimer (line 140) | private resetIdleTimer() { method startTaskOffers (line 173) | private startTaskOffers() { method deleteStaleOffers (line 181) | deleteStaleOffers() { method sendOffers (line 189) | sendOffers() { method send (line 217) | send(message: RunnerMessage.ToBroker.All) { method onMessage (line 221) | onMessage(message: BrokerMessage.ToRunner.All) { method processDataResponse (line 257) | processDataResponse(requestId: string, data: unknown) { method processNodeTypesResponse (line 267) | processNodeTypesResponse(requestId: string, nodeTypes: unknown) { method hasOpenTaskSlots (line 280) | hasOpenTaskSlots() { method offerAccepted (line 284) | offerAccepted(offerId: string, taskId: string) { method taskCancelled (line 323) | async taskCancelled(taskId: string, reason: string) { method taskTimedOut (line 346) | async taskTimedOut(taskId: string) { method receivedSettings (line 383) | async receivedSettings(taskId: string, settings: unknown) { method executeTask (line 413) | async executeTask(_taskParams: TaskParams, _signal: AbortSignal): Promis... method requestNodeTypes (line 417) | async requestNodeTypes( method requestData (line 446) | async requestData( method makeRpcCall (line 475) | async makeRpcCall(taskId: string, name: RunnerMessage.ToBroker.RPC['name... method handleRpcResponse (line 503) | handleRpcResponse( method stop (line 520) | async stop() { method clearIdleTimer (line 531) | clearIdleTimer() { method closeConnection (line 536) | private async closeConnection() { method waitUntilAllTasksAreDone (line 546) | private async waitUntilAllTasksAreDone(maxWaitTimeInMs = 30_000) { method taskExecutionSucceeded (line 559) | private async taskExecutionSucceeded(taskState: TaskState, data: TaskRes... method taskExecutionFailed (line 584) | private async taskExecutionFailed(taskState: TaskState, error: unknown) { method cancelTaskRequests (line 615) | private cancelTaskRequests(taskId: string, reason: string) { method finishTask (line 634) | private finishTask(taskState: TaskState) { FILE: packages/@n8n/task-runner/src/task-state.ts type TaskStatus (line 3) | type TaskStatus = type TaskStateOpts (line 9) | type TaskStateOpts = { class TaskState (line 64) | class TaskState { method constructor (line 75) | constructor(opts: TaskStateOpts) { method cleanup (line 81) | cleanup() { method toJSON (line 87) | toJSON() { method caseOf (line 104) | async caseOf( FILE: packages/@n8n/utils/src/assert.ts function assert (line 4) | function assert(condition: unknown, message?: string): asserts condition { FILE: packages/@n8n/utils/src/event-bus.ts type CallbackFn (line 2) | type CallbackFn = (...args: any[]) => any; type Payloads (line 4) | type Payloads = { type Listener (line 8) | type Listener = (payload: Payload) => void; type EventBus (line 11) | interface EventBus = Record(processEvent: (event: T) => Promise) { FILE: packages/@n8n/utils/src/files/path.ts function isWindowsFilePath (line 4) | function isWindowsFilePath(str: string) { FILE: packages/@n8n/utils/src/files/sanitize.ts constant INVALID_CHARS_REGEX (line 3) | const INVALID_CHARS_REGEX = /[<>:"/\\|?*\u0000-\u001F\u007F-\u009F]/g; constant ZERO_WIDTH_CHARS_REGEX (line 4) | const ZERO_WIDTH_CHARS_REGEX = /[\u200B-\u200D\u2060\uFEFF]/g; constant UNICODE_SPACES_REGEX (line 5) | const UNICODE_SPACES_REGEX = /[\u00A0\u2000-\u200A]/g; constant LEADING_TRAILING_DOTS_SPACES_REGEX (line 6) | const LEADING_TRAILING_DOTS_SPACES_REGEX = /^[\s.]+|[\s.]+$/g; constant WINDOWS_RESERVED_NAMES (line 9) | const WINDOWS_RESERVED_NAMES = new Set([ constant DEFAULT_FALLBACK_NAME (line 34) | const DEFAULT_FALLBACK_NAME = 'untitled'; constant MAX_FILENAME_LENGTH (line 35) | const MAX_FILENAME_LENGTH = 200; FILE: packages/@n8n/utils/src/retry.ts type RetryFn (line 1) | type RetryFn = () => boolean | Promise; function retry (line 15) | async function retry( FILE: packages/@n8n/utils/src/search/reRankSearchResults.ts function reRankSearchResults (line 1) | function reRankSearchResults( FILE: packages/@n8n/utils/src/search/sublimeSearch.ts constant SEQUENTIAL_BONUS (line 6) | const SEQUENTIAL_BONUS = 60; constant SEPARATOR_BONUS (line 7) | const SEPARATOR_BONUS = 38; constant CAMEL_BONUS (line 8) | const CAMEL_BONUS = 30; constant FIRST_LETTER_BONUS (line 9) | const FIRST_LETTER_BONUS = 15; constant LEADING_LETTER_PENALTY (line 11) | const LEADING_LETTER_PENALTY = -20; constant MAX_LEADING_LETTER_PENALTY (line 12) | const MAX_LEADING_LETTER_PENALTY = -200; constant UNMATCHED_LETTER_PENALTY (line 13) | const UNMATCHED_LETTER_PENALTY = -5; constant DEFAULT_KEYS (line 15) | const DEFAULT_KEYS = [ function fuzzyMatchSimple (line 25) | function fuzzyMatchSimple(pattern: string, target: string): boolean { function fuzzyMatchRecursive (line 41) | function fuzzyMatchRecursive( function fuzzyMatch (line 182) | function fuzzyMatch(pattern: string, target: string): { matched: boolean... function getValue (line 205) | function getValue(obj: T, prop: string): unknown { function sublimeSearch (line 222) | function sublimeSearch( FILE: packages/@n8n/utils/src/string/truncate.ts function truncateBeforeLast (line 11) | function truncateBeforeLast( FILE: packages/@n8n/workflow-sdk/scripts/create-workflows-zip.ts constant REAL_WORKFLOWS_DIR (line 14) | const REAL_WORKFLOWS_DIR = path.resolve(__dirname, '../test-fixtures/rea... constant ZIP_PATH (line 15) | const ZIP_PATH = path.join(REAL_WORKFLOWS_DIR, 'public_published_templat... constant MANIFEST_PATH (line 16) | const MANIFEST_PATH = path.join(REAL_WORKFLOWS_DIR, 'manifest.json'); function createWorkflowsZip (line 18) | function createWorkflowsZip(): void { FILE: packages/@n8n/workflow-sdk/scripts/extract-workflows.ts constant FIXTURES_DIR (line 15) | const FIXTURES_DIR = path.resolve(__dirname, '../test-fixtures/real-work... constant ZIP_FILE (line 16) | const ZIP_FILE = path.join(FIXTURES_DIR, 'public_published_templates.zip'); function main (line 18) | function main() { FILE: packages/@n8n/workflow-sdk/scripts/fetch-test-workflows.ts constant OUTPUT_DIR (line 21) | const OUTPUT_DIR = path.resolve(__dirname, '../test-fixtures/real-workfl... type WorkflowResponse (line 23) | interface WorkflowResponse { type SearchResult (line 38) | interface SearchResult { function searchWorkflows (line 43) | async function searchWorkflows(page: number, rows: number = 100): Promis... function fetchWorkflow (line 61) | async function fetchWorkflow(id: number): Promise(mockFn: jest.Mock): T { method toJSON (line 63) | toJSON() { FILE: packages/@n8n/workflow-sdk/src/ast-interpreter/interpreter.ts type SDKFunctions (line 31) | type SDKFunctions = Record unknown>; class SDKInterpreter (line 37) | class SDKInterpreter { method constructor (line 46) | constructor(sdkFunctions: SDKFunctions, sourceCode: string) { method generateSafeName (line 52) | private generateSafeName(name: string): string { method interpret (line 66) | interpret(ast: ESTree.Program): unknown { method visitVariableDeclaration (line 92) | private visitVariableDeclaration(node: ESTree.VariableDeclaration): vo... method evaluate (line 139) | private evaluate(node: ESTree.Expression | ESTree.SpreadElement | null... method evaluateNode (line 158) | private evaluateNode(node: ESTree.Expression | ESTree.SpreadElement): ... method visitCallExpression (line 196) | private visitCallExpression(node: ESTree.CallExpression): unknown { method visitMemberExpression (line 306) | private visitMemberExpression(node: ESTree.MemberExpression): unknown { method visitObjectExpression (line 348) | private visitObjectExpression(node: ESTree.ObjectExpression): Record { function interpretSDKCode (line 757) | function interpretSDKCode(code: string, sdkFunctions: SDKFunctions): unk... FILE: packages/@n8n/workflow-sdk/src/ast-interpreter/parser.ts function parseSDKCode (line 20) | function parseSDKCode(code: string): Program { FILE: packages/@n8n/workflow-sdk/src/ast-interpreter/validators.ts constant ALLOWED_SDK_FUNCTIONS (line 12) | const ALLOWED_SDK_FUNCTIONS = new Set([ constant AUTO_RENAMEABLE_SDK_FUNCTIONS (line 49) | const AUTO_RENAMEABLE_SDK_FUNCTIONS = new Set([ function isAutoRenameableSDKFunction (line 66) | function isAutoRenameableSDKFunction(name: string): boolean { constant ALLOWED_METHODS (line 73) | const ALLOWED_METHODS = new Set([ constant DANGEROUS_GLOBALS (line 101) | const DANGEROUS_GLOBALS = new Set([ constant ALLOWED_NODE_TYPES (line 175) | const ALLOWED_NODE_TYPES = new Set([ constant FORBIDDEN_NODE_TYPES (line 212) | const FORBIDDEN_NODE_TYPES: Record = { function validateNodeType (line 241) | function validateNodeType(node: Node, sourceCode: string): void { function validateIdentifier (line 259) | function validateIdentifier( function validateCallExpression (line 278) | function validateCallExpression(node: CallExpression, sourceCode: string... function validateMemberExpression (line 306) | function validateMemberExpression(node: MemberExpression, sourceCode: st... function isAllowedSDKFunction (line 343) | function isAllowedSDKFunction(name: string): boolean { function isAllowedMethod (line 350) | function isAllowedMethod(name: string): boolean { constant SAFE_JSON_METHODS (line 358) | const SAFE_JSON_METHODS: Record unknown>... function getSafeJSONMethod (line 367) | function getSafeJSONMethod( constant SAFE_STRING_METHODS (line 378) | const SAFE_STRING_METHODS: Record = { constant AI_CONNECTION_TO_BUILDER (line 26) | const AI_CONNECTION_TO_BUILDER: Record = { constant AI_ALWAYS_ARRAY_TYPES (line 42) | const AI_ALWAYS_ARRAY_TYPES = new Set(['ai_tool']); constant AI_OPTIONAL_ARRAY_TYPES (line 47) | const AI_OPTIONAL_ARRAY_TYPES = new Set([ FILE: packages/@n8n/workflow-sdk/src/codegen/deferred-connections.test.ts function createSemanticNode (line 14) | function createSemanticNode( function createBuildContext (line 43) | function createBuildContext(graph: SemanticGraph) { FILE: packages/@n8n/workflow-sdk/src/codegen/deferred-connections.ts type DeferredConnectionContext (line 26) | interface DeferredConnectionContext { type DeferredConnectionParams (line 35) | interface DeferredConnectionParams { function createDeferredConnection (line 48) | function createDeferredConnection( function findMergeInputIndex (line 68) | function findMergeInputIndex( function registerDeferredMerge (line 98) | function registerDeferredMerge( function isDeferredMerge (line 112) | function isDeferredMerge(mergeName: string, ctx: DeferredConnectionConte... function addDeferredMergeDownstream (line 123) | function addDeferredMergeDownstream( FILE: packages/@n8n/workflow-sdk/src/codegen/execution-schema-jsdoc.ts function schemaToOutputSample (line 12) | function schemaToOutputSample( constant MAX_OUTPUT_VALUE_LENGTH (line 40) | const MAX_OUTPUT_VALUE_LENGTH = 200; function parseSchemaValue (line 42) | function parseSchemaValue(field: Schema): unknown { function getDefaultForType (line 72) | function getDefaultForType(type: string): unknown { function generateSchemaJSDoc (line 95) | function generateSchemaJSDoc(nodeName: string, schema: Schema): string { function schemaTypeToTs (line 111) | function schemaTypeToTs(type: string): string { function formatSampleValue (line 124) | function formatSampleValue(value: string): string { FILE: packages/@n8n/workflow-sdk/src/codegen/execution-status.test.ts type ExecutionResultData (line 6) | type ExecutionResultData = IRunExecutionData['resultData']; function mockTaskData (line 9) | function mockTaskData(overrides: Record = {}) { function mockError (line 20) | function mockError(message: string): Record { FILE: packages/@n8n/workflow-sdk/src/codegen/execution-status.ts type ExecutionResultData (line 3) | type ExecutionResultData = IRunExecutionData['resultData']; type NodeExecutionStatus (line 8) | interface NodeExecutionStatus { function buildNodeExecutionStatus (line 17) | function buildNodeExecutionStatus( function formatExecutionStatusJSDoc (line 46) | function formatExecutionStatusJSDoc(data?: ExecutionResultData): string { function hasNodeErrors (line 61) | function hasNodeErrors(data: ExecutionResultData): boolean { FILE: packages/@n8n/workflow-sdk/src/codegen/expression-annotator.ts function buildExpressionAnnotations (line 11) | function buildExpressionAnnotations( function formatResolvedValue (line 35) | function formatResolvedValue(value: unknown): string { FILE: packages/@n8n/workflow-sdk/src/codegen/graph-annotator.ts function detectCycles (line 16) | function detectCycles(graph: SemanticGraph): void { function collectReachable (line 79) | function collectReachable( function findConvergenceNodes (line 104) | function findConvergenceNodes(graph: SemanticGraph): void { function annotateGraph (line 157) | function annotateGraph(graph: SemanticGraph): void { FILE: packages/@n8n/workflow-sdk/src/codegen/index.ts type GenerateWorkflowCodeOptions (line 38) | interface GenerateWorkflowCodeOptions { function isOptionsObject (line 69) | function isOptionsObject( function generateWorkflowCode (line 96) | function generateWorkflowCode(input: WorkflowJSON | GenerateWorkflowCode... FILE: packages/@n8n/workflow-sdk/src/codegen/merge-pattern.test.ts function createMockNode (line 15) | function createMockNode( function createMockContext (line 34) | function createMockContext(nodes: SemanticNode[]): BuildContext { FILE: packages/@n8n/workflow-sdk/src/codegen/merge-pattern.ts function hasOutputsOutsideMerge (line 24) | function hasOutputsOutsideMerge(node: SemanticNode, mergeNode: SemanticN... function findDirectMergeInFanOut (line 52) | function findDirectMergeInFanOut( function detectMergePattern (line 118) | function detectMergePattern( function findMergeInputIndex (line 169) | function findMergeInputIndex( FILE: packages/@n8n/workflow-sdk/src/codegen/node-type-utils.ts function isTriggerType (line 10) | function isTriggerType(type: string): boolean { function isStickyNote (line 17) | function isStickyNote(type: string): boolean { function isMergeType (line 24) | function isMergeType(type: string): boolean { function generateDefaultNodeName (line 32) | function generateDefaultNodeName(type: string): string { FILE: packages/@n8n/workflow-sdk/src/codegen/output-utils.ts type OutputTargetInfo (line 14) | interface OutputTargetInfo { function getAllOutputTargets (line 24) | function getAllOutputTargets(node: SemanticNode): string[] { function hasMultipleOutputSlots (line 41) | function hasMultipleOutputSlots(node: SemanticNode): boolean { function hasConsecutiveOutputSlots (line 62) | function hasConsecutiveOutputSlots(node: SemanticNode): boolean { function hasNonZeroOutputIndex (line 92) | function hasNonZeroOutputIndex(node: SemanticNode): boolean { function getOutputTargetsByIndex (line 107) | function getOutputTargetsByIndex(node: SemanticNode): Map = {}): NodeJSON { FILE: packages/@n8n/workflow-sdk/src/codegen/semantic-registry.ts type CompositeType (line 15) | type CompositeType = 'ifElse' | 'switchCase' | 'merge' | 'splitInBatches'; type NodeSemantics (line 20) | interface NodeSemantics { constant NODE_SEMANTICS (line 34) | const NODE_SEMANTICS: Record = { function hasErrorOutput (line 76) | function hasErrorOutput(node: NodeJSON): boolean { function getErrorOutputIndex (line 85) | function getErrorOutputIndex(type: string, node: NodeJSON): number { function getOutputName (line 105) | function getOutputName(type: string, index: number, node: NodeJSON): str... function getInputName (line 137) | function getInputName(type: string, index: number, node: NodeJSON): stri... function getCompositeType (line 158) | function getCompositeType(type: string): CompositeType | undefined { function getNodeSemantics (line 169) | function getNodeSemantics( function isCycleOutput (line 199) | function isCycleOutput(type: string, outputName: string): boolean { FILE: packages/@n8n/workflow-sdk/src/codegen/sib-merge-handler.test.ts function createMockNode (line 10) | function createMockNode( function createMockContext (line 29) | function createMockContext(nodes: SemanticNode[]): BuildContext { FILE: packages/@n8n/workflow-sdk/src/codegen/sib-merge-handler.ts type SibMergePattern (line 16) | interface SibMergePattern { function detectSibMergePattern (line 38) | function detectSibMergePattern( function buildSibMergeExplicitConnections (line 122) | function buildSibMergeExplicitConnections( FILE: packages/@n8n/workflow-sdk/src/codegen/string-utils.ts function escapeString (line 9) | function escapeString(str: string): string { function needsQuoting (line 24) | function needsQuoting(key: string): boolean { function formatKey (line 32) | function formatKey(key: string): string { function escapeRegexChars (line 39) | function escapeRegexChars(str: string): string { function isPlaceholderValue (line 47) | function isPlaceholderValue(value: unknown): boolean { function extractPlaceholderHint (line 55) | function extractPlaceholderHint(value: string): string { FILE: packages/@n8n/workflow-sdk/src/codegen/subnode-generator.test.ts function createSemanticNode (line 10) | function createSemanticNode( function createGenerationContext (line 42) | function createGenerationContext(graph: SemanticGraph) { FILE: packages/@n8n/workflow-sdk/src/codegen/subnode-generator.ts function formatCredentials (line 28) | function formatCredentials( type SubnodeGeneratorOptions (line 59) | interface SubnodeGeneratorOptions { type SubnodeGenerationContext (line 67) | interface SubnodeGenerationContext { function getVarName (line 76) | function getVarName(nodeName: string, ctx: SubnodeGenerationContext): st... type FormatValueContext (line 85) | interface FormatValueContext { function containsExpressionAnnotation (line 94) | function containsExpressionAnnotation(value: unknown, ctx?: FormatValueC... function formatValue (line 114) | function formatValue(value: unknown, ctx?: FormatValueContext): string { function generateSubnodeConfigParts (line 208) | function generateSubnodeConfigParts( function generateSubnodeCall (line 251) | function generateSubnodeCall( function generateSubnodesConfig (line 281) | function generateSubnodesConfig( function generateSubnodesConfigInline (line 300) | function generateSubnodesConfigInline( function generateSubnodesConfigWithVarRefs (line 356) | function generateSubnodesConfigWithVarRefs( FILE: packages/@n8n/workflow-sdk/src/codegen/types.ts constant AI_CONNECTION_TYPES (line 13) | const AI_CONNECTION_TYPES = [ type AiConnectionType (line 26) | type AiConnectionType = (typeof AI_CONNECTION_TYPES)[number]; type SubnodeConnection (line 31) | interface SubnodeConnection { type SemanticConnection (line 43) | interface SemanticConnection { type SourceInfo (line 53) | interface SourceInfo { type NodeAnnotations (line 63) | interface NodeAnnotations { type SemanticNode (line 75) | interface SemanticNode { type SemanticGraph (line 95) | interface SemanticGraph { type ExpressionValue (line 107) | interface ExpressionValue { FILE: packages/@n8n/workflow-sdk/src/codegen/variable-names.test.ts function createContext (line 159) | function createContext() { FILE: packages/@n8n/workflow-sdk/src/codegen/variable-names.ts constant RESERVED_KEYWORDS (line 8) | const RESERVED_KEYWORDS = new Set([ type VarNameContext (line 93) | interface VarNameContext { function hashFallbackName (line 102) | function hashFallbackName(nodeName: string): string { function toVarName (line 115) | function toVarName(nodeName: string): string { function getVarName (line 151) | function getVarName(nodeName: string, ctx: VarNameContext): string { function getUniqueVarName (line 162) | function getUniqueVarName(nodeName: string, ctx: VarNameContext): string { FILE: packages/@n8n/workflow-sdk/src/constants/node-types.ts constant NODE_TYPES (line 5) | const NODE_TYPES = { type NodeTypeValue (line 19) | type NodeTypeValue = (typeof NODE_TYPES)[keyof typeof NODE_TYPES]; function isIfNodeType (line 24) | function isIfNodeType(type: string): type is typeof NODE_TYPES.IF { function isSwitchNodeType (line 31) | function isSwitchNodeType(type: string): type is typeof NODE_TYPES.SWITCH { function isMergeNodeType (line 38) | function isMergeNodeType(type: string): type is typeof NODE_TYPES.MERGE { function isStickyNoteType (line 45) | function isStickyNoteType(type: string): type is typeof NODE_TYPES.STICK... function isSplitInBatchesType (line 52) | function isSplitInBatchesType(type: string): type is typeof NODE_TYPES.S... function isHttpRequestType (line 59) | function isHttpRequestType(type: string): type is typeof NODE_TYPES.HTTP... function isWebhookType (line 66) | function isWebhookType(type: string): type is typeof NODE_TYPES.WEBHOOK { function isDataTableType (line 73) | function isDataTableType(type: string): type is typeof NODE_TYPES.DATA_T... FILE: packages/@n8n/workflow-sdk/src/deterministic-ids.test.ts function generateDeterministicNodeId (line 11) | function generateDeterministicNodeId( FILE: packages/@n8n/workflow-sdk/src/expression/index.ts function parseExpression (line 10) | function parseExpression(expr: string): string { function isExpression (line 18) | function isExpression(value: unknown): boolean { function isPlaceholderLike (line 39) | function isPlaceholderLike(value: unknown): value is { __placeholder: tr... function isNewCredentialLike (line 50) | function isNewCredentialLike(value: unknown): value is { __newCredential... function expr (line 61) | function expr(expression: string): string { function sanitizeFromAIKey (line 95) | function sanitizeFromAIKey(key: string): string { function escapeForQuote (line 112) | function escapeForQuote(str: string, quoteChar: string): string { function getBestQuoteChar (line 122) | function getBestQuoteChar(str: string): string { function escapeArg (line 134) | function escapeArg(arg: string): string { function serializeDefaultValue (line 142) | function serializeDefaultValue(value: string | number | boolean | object... function createFromAIExpression (line 173) | function createFromAIExpression( FILE: packages/@n8n/workflow-sdk/src/generate-types/generate-node-defs-cli.test.ts constant MINIMAL_NODE (line 13) | const MINIMAL_NODE = { function setupNodesJson (line 31) | async function setupNodesJson(dir: string, nodes: unknown[]): Promise { function groupAndAddToolVariants (line 4058) | function groupAndAddToolVariants(nodes: NodeTypeDescription[]): NodeType... FILE: packages/@n8n/workflow-sdk/src/generate-types/generate-zod-schemas.ts constant INDENT (line 34) | const INDENT = ' '; constant CUSTOM_API_CALL_KEY (line 37) | const CUSTOM_API_CALL_KEY = '__CUSTOM_API_CALL__'; function isCustomApiCall (line 39) | function isCustomApiCall(operation: string): boolean { constant GENERIC_AUTH_TYPE_VALUES (line 46) | const GENERIC_AUTH_TYPE_VALUES = [ constant RESERVED_WORDS (line 60) | const RESERVED_WORDS = new Set([ constant AI_TYPE_TO_SCHEMA_FIELD (line 104) | const AI_TYPE_TO_SCHEMA_FIELD: Record< function isPropertyOptional (line 184) | function isPropertyOptional(prop: NodeProperty): boolean { function hasRequiredSubnodeFields (line 195) | function hasRequiredSubnodeFields(aiInputTypes: AIInputTypeInfo[]): bool... function hasConditionalSubnodeFields (line 203) | function hasConditionalSubnodeFields(aiInputTypes: AIInputTypeInfo[]): b... function hasDisplayOptions (line 212) | function hasDisplayOptions(properties: NodeProperty[]): boolean { function toPascalCase (line 224) | function toPascalCase(str: string): string { function toSnakeCase (line 237) | function toSnakeCase(str: string): string { function formatZodLiteral (line 248) | function formatZodLiteral(value: unknown): string { function quotePropertyName (line 268) | function quotePropertyName(name: string): string { function extractDefaultsForDisplayOptions (line 285) | function extractDefaultsForDisplayOptions( function generateResourceLocatorZodSchema (line 334) | function generateResourceLocatorZodSchema(prop: NodeProperty): string { function mapNestedPropertyToZodSchema (line 351) | function mapNestedPropertyToZodSchema(prop: NodeProperty): string { function mapNestedPropertyToZodSchemaInner (line 359) | function mapNestedPropertyToZodSchemaInner(prop: NodeProperty): string { function generateFixedCollectionZodSchema (line 438) | function generateFixedCollectionZodSchema(prop: NodeProperty): string { function generateCollectionZodSchema (line 484) | function generateCollectionZodSchema(prop: NodeProperty): string { function mapPropertyToZodSchema (line 524) | function mapPropertyToZodSchema(prop: NodeProperty): string { function stripExpressionFromZodSchema (line 536) | function stripExpressionFromZodSchema(schema: string): string { function mapPropertyToZodSchemaInner (line 545) | function mapPropertyToZodSchemaInner(prop: NodeProperty): string { function generateSchemaPropertyLine (line 644) | function generateSchemaPropertyLine(prop: NodeProperty, optional: boolea... function stripDiscriminatorKeysFromDisplayOptions (line 664) | function stripDiscriminatorKeysFromDisplayOptions( type MergeableDisplayOptions (line 703) | type MergeableDisplayOptions = { function mergeDisplayOptions (line 716) | function mergeDisplayOptions( function mergePropertiesByName (line 770) | function mergePropertiesByName(properties: NodeProperty[]): Map(values: T[]):... function optionsWithExpression (line 153) | function optionsWithExpression( function multiOptionsSchema (line 170) | function multiOptionsSchema( FILE: packages/@n8n/workflow-sdk/src/merge.test.ts type MergeNode (line 7) | type MergeNode = NodeInstance<'n8n-nodes-base.merge', string, unknown>; type IfNode (line 8) | type IfNode = NodeInstance<'n8n-nodes-base.if', string, unknown>; type SwitchNode (line 9) | type SwitchNode = NodeInstance<'n8n-nodes-base.switch', string, unknown>; type SplitInBatchesNode (line 10) | type SplitInBatchesNode = NodeInstance<'n8n-nodes-base.splitInBatches', ... FILE: packages/@n8n/workflow-sdk/src/pin-data-utils.test.ts function createNode (line 23) | function createNode(overrides: Partial = {}): INode { FILE: packages/@n8n/workflow-sdk/src/pin-data-utils.ts type IsTriggerNodeFn (line 30) | type IsTriggerNodeFn = (node: INode) => boolean; function needsPinData (line 47) | function needsPinData(node: INode, isTriggerNode?: IsTriggerNodeFn): boo... function discoverOutputSchemaForNode (line 78) | function discoverOutputSchemaForNode( function inferSchemasFromRunData (line 118) | function inferSchemasFromRunData( function normalizePinData (line 147) | function normalizePinData(pinData: IPinData): IPinData { FILE: packages/@n8n/workflow-sdk/src/real-workflow.test.ts function writeGeneratedTsFile (line 21) | function writeGeneratedTsFile(id: string, json: WorkflowJSON): void { type TestWorkflow (line 31) | interface TestWorkflow { function loadWorkflowsFromDir (line 38) | function loadWorkflowsFromDir(dir: string, workflows: TestWorkflow[]): v... function loadTestWorkflows (line 73) | function loadTestWorkflows(): TestWorkflow[] { function extractExpressions (line 333) | function extractExpressions(json: WorkflowJSON): string[] { FILE: packages/@n8n/workflow-sdk/src/types/aliases.ts type AnyNode (line 14) | type AnyNode = NodeInstance; type AnyChain (line 20) | type AnyChain = NodeChain; type AnyTrigger (line 26) | type AnyTrigger = TriggerInstance; type NodeParameters (line 32) | type NodeParameters = Record; FILE: packages/@n8n/workflow-sdk/src/types/base.ts type IDataObject (line 18) | interface IDataObject { type BinaryData (line 33) | interface BinaryData { type Item (line 46) | interface Item { type Items (line 54) | type Items = Array>; type CredentialReference (line 63) | interface CredentialReference { type NewCredentialValue (line 71) | interface NewCredentialValue { type PlaceholderValue (line 84) | interface PlaceholderValue { type OnError (line 96) | type OnError = 'stopWorkflow' | 'continueRegularOutput' | 'continueError... type WorkflowSettings (line 105) | interface WorkflowSettings { type GenericValue (line 128) | type GenericValue = string | object | number | boolean | undefined | null; type IConnection (line 134) | interface IConnection { type NodeInputConnections (line 143) | type NodeInputConnections = Array; type INodeConnections (line 148) | interface INodeConnections { type IConnections (line 155) | interface IConnections { function normalizeConnections (line 165) | function normalizeConnections(connections: IConnections): void { function generateUniqueName (line 212) | function generateUniqueName(baseName: string, exists: (name: string) => ... type NodeJSON (line 229) | interface NodeJSON { type WorkflowJSON (line 250) | interface WorkflowJSON { type ConnectionTarget (line 270) | interface ConnectionTarget { type GraphNode (line 279) | interface GraphNode { type DeclaredConnection (line 287) | interface DeclaredConnection { type InputTarget (line 299) | interface InputTarget { type OutputSelector (line 310) | interface OutputSelector { type StickyNoteConfig (line 378) | interface StickyNoteConfig { type SubnodeConfig (line 393) | interface SubnodeConfig { type NodeInstance (line 415) | interface NodeInstance { type SwitchCaseBuilder (line 798) | interface SwitchCaseBuilder { type SplitInBatchesFactoryConfig (line 832) | interface SplitInBatchesFactoryConfig { type SplitInBatchesConfig (line 842) | interface SplitInBatchesConfig extends NodeConfig { type SplitInBatchesBuilder (line 847) | interface SplitInBatchesBuilder { type GeneratePinDataOptions (line 900) | interface GeneratePinDataOptions { type ToJSONOptions (line 905) | interface ToJSONOptions { type WorkflowBuilder (line 913) | interface WorkflowBuilder { type WorkflowBuilderOptions (line 1013) | interface WorkflowBuilderOptions { type WorkflowBuilderStatic (line 1023) | interface WorkflowBuilderStatic { type NodeInput (line 1035) | interface NodeInput< type TriggerInput (line 1050) | interface TriggerInput< type WorkflowFn (line 1062) | type WorkflowFn = WorkflowBuilderStatic; type NodeFn (line 1064) | type NodeFn = ( type TriggerFn (line 1068) | type TriggerFn = ( type StickyFn (line 1072) | type StickyFn = ( type PlaceholderFn (line 1078) | type PlaceholderFn = (hint: string) => PlaceholderValue; type NewCredentialFn (line 1080) | type NewCredentialFn = (name: string, id?: string) => NewCredentialValue; type IfElseFn (line 1082) | type IfElseFn = ( type SwitchCaseFn (line 1090) | type SwitchCaseFn = ( type SplitInBatchesFn (line 1094) | type SplitInBatchesFn = ( type AllItemsContext (line 1107) | interface AllItemsContext { type EachItemContext (line 1129) | interface EachItemContext { type CodeResult (line 1149) | interface CodeResult { type RunOnceForAllItemsFn (line 1155) | type RunOnceForAllItemsFn = ( type RunOnceForEachItemFn (line 1159) | type RunOnceForEachItemFn = ( type FromAIArgumentType (line 1170) | type FromAIArgumentType = 'string' | 'number' | 'boolean' | 'json'; FILE: packages/@n8n/workflow-sdk/src/utils/code-helpers.ts function extractFunctionBody (line 7) | function extractFunctionBody(fn: Function): string { function runOnceForAllItems (line 79) | function runOnceForAllItems( function runOnceForEachItem (line 115) | function runOnceForEachItem( FILE: packages/@n8n/workflow-sdk/src/utils/safe-access.ts function isPlainObject (line 10) | function isPlainObject(value: unknown): value is Record { function getProperty (line 22) | function getProperty(value: unknown, key: string): T | undefined { function hasProperty (line 37) | function hasProperty(value: unknown, key: string): boolean { FILE: packages/@n8n/workflow-sdk/src/utils/trigger-detection.ts constant TRIGGER_NODE_TYPES (line 12) | const TRIGGER_NODE_TYPES = new Set([ function isTriggerNodeType (line 30) | function isTriggerNodeType(type: string): boolean { FILE: packages/@n8n/workflow-sdk/src/validation/display-options.ts type DisplayConditionOperator (line 28) | type DisplayConditionOperator = type DisplayCondition (line 45) | type DisplayCondition = { type DisplayOptions (line 52) | type DisplayOptions = { type DisplayOptionsContext (line 60) | type DisplayOptionsContext = { function isDisplayCondition (line 77) | function isDisplayCondition(value: unknown): value is DisplayCondition { function isRegexPath (line 90) | function isRegexPath(path: string): boolean { function getAllPaths (line 98) | function getAllPaths(obj: unknown, prefix = ''): string[] { function getMatchingPathValues (line 115) | function getMatchingPathValues(context: DisplayOptionsContext, regexPath... function checkConditions (line 156) | function checkConditions(conditions: unknown[], actualValues: unknown[])... function getPropertyValue (line 227) | function getPropertyValue(context: DisplayOptionsContext, propertyName: ... function getRawPropertyValue (line 270) | function getRawPropertyValue(context: DisplayOptionsContext, propertyNam... function isUnselectedResourceLocator (line 285) | function isUnselectedResourceLocator(value: unknown): boolean { function matchesDisplayOptions (line 307) | function matchesDisplayOptions( FILE: packages/@n8n/workflow-sdk/src/validation/index.ts type ValidationErrorCode (line 16) | type ValidationErrorCode = class ValidationError (line 45) | class ValidationError { method constructor (line 53) | constructor( class ValidationWarning (line 71) | class ValidationWarning { method constructor (line 80) | constructor( type ValidationResult (line 100) | interface ValidationResult { type ValidationOptions (line 112) | interface ValidationOptions { function isTriggerNode (line 128) | function isTriggerNode(type: string): boolean { constant AI_CONNECTION_TYPES (line 144) | const AI_CONNECTION_TYPES = [ constant AI_CONNECTION_TO_SUBNODE_FIELD (line 160) | const AI_CONNECTION_TO_SUBNODE_FIELD: Record = { constant AI_ARRAY_TYPES (line 176) | const AI_ARRAY_TYPES = new Set(['ai_tool']); type NodeJSON (line 178) | interface NodeJSON { function reconstructSubnodesFromConnections (line 192) | function reconstructSubnodesFromConnections( function hasAiConnectionToParent (line 255) | function hasAiConnectionToParent(nodeName: string, json: WorkflowJSON): ... function isToolSubnode (line 275) | function isToolSubnode(nodeName: string, json: WorkflowJSON): boolean { function findDisconnectedNodes (line 293) | function findDisconnectedNodes(json: WorkflowJSON): string[] { function validateWorkflow (line 358) | function validateWorkflow( constant AI_CONNECTION_TO_SDK_FUNCTION (line 506) | const AI_CONNECTION_TO_SDK_FUNCTION: Record = { function checkDisplayOptionsMatch (line 522) | function checkDisplayOptionsMatch( function validateSubnodeParameters (line 555) | function validateSubnodeParameters( function buildConditionSummary (line 639) | function buildConditionSummary( function validateParentSupportsInputs (line 663) | function validateParentSupportsInputs( function checkNodeInputIndices (line 741) | function checkNodeInputIndices( FILE: packages/@n8n/workflow-sdk/src/validation/input-resolver.ts function resolveMainInputCount (line 16) | function resolveMainInputCount( FILE: packages/@n8n/workflow-sdk/src/validation/resolve-schema.test.ts function getHttpRequestParametersSchema (line 126) | function getHttpRequestParametersSchema({ function getWebhookParametersSchema (line 348) | function getWebhookParametersSchema({ FILE: packages/@n8n/workflow-sdk/src/validation/resolve-schema.ts function formatValue (line 17) | function formatValue(val: unknown): string { function formatRegexPath (line 65) | function formatRegexPath(path: string): string { function isRegexPath (line 86) | function isRegexPath(path: string): boolean { function formatDisplayOptionsRequirements (line 95) | function formatDisplayOptionsRequirements(displayOptions: DisplayOptions... type ResolveSchemaConfig (line 118) | type ResolveSchemaConfig = { type ResolveSchemaFn (line 129) | type ResolveSchemaFn = (config: ResolveSchemaConfig) => z.ZodTypeAny; function matchesDisplayOptions (line 142) | function matchesDisplayOptions( function resolveSchema (line 150) | function resolveSchema({ FILE: packages/@n8n/workflow-sdk/src/validation/schema-validation-integration.test.ts function requireSchema (line 16) | function requireSchema(nodeType: string, version: number): void { FILE: packages/@n8n/workflow-sdk/src/validation/schema-validator.ts type SchemaOrFactory (line 19) | type SchemaOrFactory = type SchemaValidationResult (line 27) | interface SchemaValidationResult { function getSchemaBaseDirs (line 38) | function getSchemaBaseDirs(): string[] { function setSchemaBaseDirs (line 46) | function setSchemaBaseDirs(dirs: string[]): void { function nodeTypeToPathComponents (line 59) | function nodeTypeToPathComponents(nodeType: string): { pkg: string; node... function versionToString (line 75) | function versionToString(version: number): string { function buildExpectedSchemaName (line 94) | function buildExpectedSchemaName( function buildExpectedFactoryName (line 120) | function buildExpectedFactoryName( function tryLoadSchemaModule (line 138) | function tryLoadSchemaModule(schemaPath: string): Record string; function formatInvalidType (line 503) | function formatInvalidType(issue: ZodIssue, path: string): string { function formatInvalidUnion (line 515) | function formatInvalidUnion(issue: ZodIssue, path: string): string { function formatInvalidLiteral (line 539) | function formatInvalidLiteral(issue: ZodIssue, path: string): string { function formatInvalidEnum (line 548) | function formatInvalidEnum(issue: ZodIssue, path: string): string { function formatTooSmall (line 558) | function formatTooSmall(issue: ZodIssue, path: string): string { function formatTooBig (line 573) | function formatTooBig(issue: ZodIssue, path: string): string { function formatUnrecognizedKeys (line 588) | function formatUnrecognizedKeys(issue: ZodIssue, path: string): string { constant ISSUE_FORMATTERS (line 598) | const ISSUE_FORMATTERS: Partial> = { function formatZodIssue (line 611) | function formatZodIssue(issue: ZodIssue): string { function formatZodErrors (line 626) | function formatZodErrors(issues: ZodIssue[]): Array<{ path: string; mess... function isZodSchema (line 636) | function isZodSchema(value: SchemaOrFactory): value is ZodSchema { function validateNodeConfig (line 653) | function validateNodeConfig( FILE: packages/@n8n/workflow-sdk/src/validation/test-schema-setup.ts constant WORKER_ID (line 20) | const WORKER_ID = process.env.JEST_WORKER_ID ?? '0'; constant SCHEMA_TEST_DIR (line 21) | const SCHEMA_TEST_DIR = path.join(os.tmpdir(), `n8n-schema-tests-${WORKE... constant STAMP_FILE (line 22) | const STAMP_FILE = path.join(SCHEMA_TEST_DIR, '.generator-hash'); function computeGeneratorHash (line 30) | function computeGeneratorHash(): string { function isCacheValid (line 45) | function isCacheValid(): boolean { function setupTestSchemas (line 60) | async function setupTestSchemas(): Promise { function teardownTestSchemas (line 110) | function teardownTestSchemas(): void { FILE: packages/@n8n/workflow-sdk/src/workflow-builder-plugins.test.ts function createMockValidator (line 33) | function createMockValidator( FILE: packages/@n8n/workflow-sdk/src/workflow-builder.integration.test.ts function createNode (line 23) | function createNode(name: string, type = 'n8n-nodes-base.set') { function createTrigger (line 34) | function createTrigger(name: string) { function createIfNode (line 45) | function createIfNode(name: string) { function createSwitchNode (line 68) | function createSwitchNode(name: string) { function createMergeNode (line 82) | function createMergeNode(name: string) { function createSplitInBatchesNode (line 96) | function createSplitInBatchesNode(name: string) { FILE: packages/@n8n/workflow-sdk/src/workflow-builder.ts class WorkflowBuilderImpl (line 40) | class WorkflowBuilderImpl implements WorkflowBuilder { method constructor (line 55) | constructor( method createMutablePluginContext (line 82) | private createMutablePluginContext( method collectPinData (line 119) | private collectPinData( method collectPinDataFromChain (line 137) | private collectPinDataFromChain(chain: NodeChain): Record | undefin... method toJSON (line 443) | toJSON(options?: ToJSONOptions): WorkflowJSON { method addMissingCompositeTargets (line 472) | private addMissingCompositeTargets(): void { method mergeInstanceConnections (line 501) | private mergeInstanceConnections(): void { method regenerateNodeIds (line 540) | regenerateNodeIds(): void { method validate (line 567) | validate(options: ValidationOptions = {}): ValidationResult { method collectValidationIssues (line 615) | private collectValidationIssues( method toString (line 651) | toString(): string { method toFormat (line 655) | toFormat(format: string): T { method generatePinData (line 680) | generatePinData(options?: GeneratePinDataOptions): WorkflowBuilder { method resolveTargetNodeName (line 722) | private resolveTargetNodeName( method addConnectionTargetNodes (line 735) | private addConnectionTargetNodes( method addSingleNodeConnectionTargets (line 783) | private addSingleNodeConnectionTargets( method tryPluginDispatch (line 836) | private tryPluginDispatch( method addNodeWithSubnodes (line 875) | private addNodeWithSubnodes( method handleFanOut (line 889) | private handleFanOut(nodes: unknown[]): WorkflowBuilder { method handleNodeChain (line 942) | private handleNodeChain(chain: NodeChain): WorkflowBuilder { method addBranchToGraph (line 977) | private addBranchToGraph( method _addBranchToGraphInner (line 996) | private _addBranchToGraphInner( function isWorkflowBuilderOptions (line 1168) | function isWorkflowBuilderOptions( function createWorkflow (line 1180) | function createWorkflow( function fromJSON (line 1203) | function fromJSON(json: WorkflowJSON): WorkflowBuilder { FILE: packages/@n8n/workflow-sdk/src/workflow-builder/connection-utils.test.ts function createNode (line 10) | function createNode( function createGraphNode (line 31) | function createGraphNode(instance: NodeInstance... function createMockRegistry (line 39) | function createMockRegistry(): PluginRegistry { FILE: packages/@n8n/workflow-sdk/src/workflow-builder/connection-utils.ts function findMapKeyForNodeId (line 16) | function findMapKeyForNodeId( function resolveTargetNodeName (line 38) | function resolveTargetNodeName( FILE: packages/@n8n/workflow-sdk/src/workflow-builder/constants.ts constant GRID_SIZE (line 8) | const GRID_SIZE = 16; constant DEFAULT_NODE_SIZE (line 11) | const DEFAULT_NODE_SIZE: [number, number] = [GRID_SIZE * 6, GRID_SIZE * 6]; constant CONFIGURATION_NODE_RADIUS (line 12) | const CONFIGURATION_NODE_RADIUS = (GRID_SIZE * 5) / 2; constant CONFIGURATION_NODE_SIZE (line 13) | const CONFIGURATION_NODE_SIZE: [number, number] = [ constant CONFIGURABLE_NODE_SIZE (line 17) | const CONFIGURABLE_NODE_SIZE: [number, number] = [GRID_SIZE * 16, GRID_S... constant NODE_MIN_INPUT_ITEMS_COUNT (line 18) | const NODE_MIN_INPUT_ITEMS_COUNT = 4; constant NODE_X_SPACING (line 21) | const NODE_X_SPACING = GRID_SIZE * 8; constant NODE_Y_SPACING (line 22) | const NODE_Y_SPACING = GRID_SIZE * 6; constant SUBGRAPH_SPACING (line 23) | const SUBGRAPH_SPACING = GRID_SIZE * 8; constant AI_X_SPACING (line 24) | const AI_X_SPACING = GRID_SIZE * 3; constant AI_Y_SPACING (line 25) | const AI_Y_SPACING = GRID_SIZE * 8; constant STICKY_BOTTOM_PADDING (line 26) | const STICKY_BOTTOM_PADDING = GRID_SIZE * 4; constant STICKY_NODE_TYPE (line 28) | const STICKY_NODE_TYPE = 'n8n-nodes-base.stickyNote'; constant NODE_SPACING_X (line 31) | const NODE_SPACING_X = 200; constant DEFAULT_Y (line 32) | const DEFAULT_Y = 300; constant START_X (line 33) | const START_X = 100; FILE: packages/@n8n/workflow-sdk/src/workflow-builder/control-flow-builders/if-else.test.ts type IfNode (line 7) | type IfNode = NodeInstance<'n8n-nodes-base.if', string, unknown>; FILE: packages/@n8n/workflow-sdk/src/workflow-builder/control-flow-builders/if-else.ts type IfElseTarget (line 6) | type IfElseTarget = FILE: packages/@n8n/workflow-sdk/src/workflow-builder/control-flow-builders/next-batch.ts function nextBatch (line 39) | function nextBatch( FILE: packages/@n8n/workflow-sdk/src/workflow-builder/control-flow-builders/split-in-batches.test.ts type SibNode (line 9) | type SibNode = NodeInstance<'n8n-nodes-base.splitInBatches', string, unk... FILE: packages/@n8n/workflow-sdk/src/workflow-builder/control-flow-builders/split-in-batches.ts class SplitInBatchesNodeInstance (line 22) | class SplitInBatchesNodeInstance method constructor (line 31) | constructor(input: SplitInBatchesFactoryConfig) { method update (line 42) | update( method input (line 54) | input(_index: number): InputTarget { method output (line 58) | output(_index: number): OutputSelector<'n8n-nodes-base.splitInBatches'... method to (line 62) | to>( method onError (line 69) | onError>(_handler: T):... method getConnections (line 73) | getConnections(): DeclaredConnection[] { type NodeBatch (line 81) | type NodeBatch = type BranchTarget (line 93) | type BranchTarget = type SplitInBatchesBranches (line 106) | interface SplitInBatchesBranches { class SplitInBatchesBuilderImpl (line 116) | class SplitInBatchesBuilderImpl implements SplitInBatchesBuilder { method constructor (line 128) | constructor(input: SplitInBatchesFactoryConfig) { method onEachBatch (line 136) | onEachBatch(target: BranchTarget): this { method onDone (line 159) | onDone(target: BranchTarget): this { method getAllNodes (line 181) | getAllNodes(): Array> { method getDoneNodes (line 188) | getDoneNodes(): Array> { method getEachNodes (line 195) | getEachNodes(): Array> { method hasLoop (line 202) | hasLoop(): boolean { class SplitInBatchesBuilderWithExistingNode (line 210) | class SplitInBatchesBuilderWithExistingNode implements SplitInBatchesBui... method constructor (line 222) | constructor(existingNode: NodeInstance<'n8n-nodes-base.splitInBatches'... method onEachBatch (line 230) | onEachBatch(target: BranchTarget): this { method onDone (line 253) | onDone(target: BranchTarget): this { method getAllNodes (line 272) | getAllNodes(): Array> { method getDoneNodes (line 276) | getDoneNodes(): Array> { method getEachNodes (line 280) | getEachNodes(): Array> { method hasLoop (line 284) | hasLoop(): boolean { function splitInBatches (line 340) | function splitInBatches( function isSplitInBatchesBuilder (line 372) | function isSplitInBatchesBuilder(value: unknown): value is SplitInBatche... function extractNodesFromTarget (line 379) | function extractNodesFromTarget( function getFirstNodes (line 415) | function getFirstNodes(target: BranchTarget): Array> { method getDoneNodes (line 508) | getDoneNodes(): Array> { method getEachNodes (line 512) | getEachNodes(): Array> { method hasLoop (line 516) | hasLoop(): boolean { function isBranchesConfig (line 524) | function isBranchesConfig(arg: unknown): arg is SplitInBatchesBranches { FILE: packages/@n8n/workflow-sdk/src/workflow-builder/control-flow-builders/switch-case.test.ts type SwitchNode (line 6) | type SwitchNode = NodeInstance<'n8n-nodes-base.switch', string, unknown>; FILE: packages/@n8n/workflow-sdk/src/workflow-builder/control-flow-builders/switch-case.ts type SwitchCaseTarget (line 6) | type SwitchCaseTarget = FILE: packages/@n8n/workflow-sdk/src/workflow-builder/layout-utils.test.ts function makeTarget (line 10) | function makeTarget(node: string, type: string = 'main', index: number =... function createGraphNode (line 15) | function createGraphNode( function makeMainConns (line 35) | function makeMainConns( function makeAiConns (line 44) | function makeAiConns( function isGridAligned (line 55) | function isGridAligned(pos: [number, number]): boolean { FILE: packages/@n8n/workflow-sdk/src/workflow-builder/layout-utils.ts function calculateNodePositions (line 40) | function calculateNodePositions( type BoundingBox (line 113) | interface BoundingBox { function isAiConnectionType (line 124) | function isAiConnectionType(type: string): boolean { function getAiParentNames (line 128) | function getAiParentNames(nodes: ReadonlyMap): Set): Set): NodeInstance>( method input (line 206) | input(index: number): InputTarget { method output (line 218) | output(index: number): OutputSelector { method onTrue (line 233) | onTrue(target: IfElseTarget): IfElseBuilder { method onFalse (line 250) | onFalse(target: IfElseTarget): IfElseBuilder { method onCase (line 267) | onCase(index: number, target: SwitchCaseTarget): SwitchCaseBuilder>(handler: T | ... method getConnections (line 291) | getConnections(): DeclaredConnection[] { class TriggerInstanceImpl (line 299) | class TriggerInstanceImpl>( method input (line 423) | input(index: number): InputTarget { method output (line 431) | output(index: number): OutputSelector { method onFalse (line 458) | onFalse(target: IfElseTarget): IfElseBuilder { method onCase (line 469) | onCase(index: number, target: SwitchCaseTarget): SwitchCaseBuilder>(handler: T | ... method getConnections (line 484) | getConnections(): DeclaredConnection[] { class OutputSelectorImpl (line 506) | class OutputSelectorImpl, outputIndex:... method to (line 518) | to>( function extractNodesFromTarget (line 533) | function extractNodesFromTarget(target: unknown): Array { function isSwitchCaseBuilder (line 612) | function isSwitchCaseBuilder(value: unknown): value is SwitchCaseBuilder... class IfElseBuilderImpl (line 626) | class IfElseBuilderImpl implements IfElseBuilder) { method onTrue (line 639) | onTrue(target: IfElseTarget): IfElseBuilder { method onFalse (line 645) | onFalse(target: IfElseTarget): IfElseBuilder { method onError (line 651) | onError(target: IfElseTarget): IfElseBuilder { method to (line 657) | to>( method _updateAllBranchNodes (line 665) | private _updateAllBranchNodes(): void { class SwitchCaseBuilderImpl (line 693) | class SwitchCaseBuilderImpl implements SwitchCaseBuil... method constructor (line 705) | constructor(switchNode: NodeInstance<'n8n-nodes-base.switch', string, ... method onCase (line 709) | onCase(index: number, target: SwitchCaseTarget): SwitchCaseBuilder>( method _updateAllCaseNodes (line 723) | private _updateAllCaseNodes(): void { function node (line 763) | function node( type IfElseFactoryConfig (line 781) | interface IfElseFactoryConfig { function ifElse (line 802) | function ifElse( type MergeFactoryConfig (line 815) | interface MergeFactoryConfig { function merge (line 837) | function merge( type SwitchCaseFactoryConfig (line 850) | interface SwitchCaseFactoryConfig { function switchCase (line 872) | function switchCase( function trigger (line 897) | function trigger( constant DEFAULT_NODE_WIDTH (line 913) | const DEFAULT_NODE_WIDTH = 200; constant DEFAULT_NODE_HEIGHT (line 914) | const DEFAULT_NODE_HEIGHT = 100; constant STICKY_PADDING (line 915) | const STICKY_PADDING = 50; function calculateNodesBoundingBox (line 920) | function calculateNodesBoundingBox(nodes: Array): NodeInstance<'n8n-nodes-base.stic... method input (line 1023) | input(_index: number): InputTarget { method output (line 1027) | output(_index: number): OutputSelector<'n8n-nodes-base.stickyNote', 'v... method to (line 1031) | to>( method onError (line 1038) | onError>(_handler: T):... method getConnections (line 1042) | getConnections(): DeclaredConnection[] { function sticky (line 1072) | function sticky( class PlaceholderImpl (line 1091) | class PlaceholderImpl implements PlaceholderValue { method constructor (line 1095) | constructor(hint: string) { method toString (line 1099) | toString(): string { method toJSON (line 1103) | toJSON(): string { function placeholder (line 1125) | function placeholder(hint: string): PlaceholderValue { class NewCredentialImpl (line 1134) | class NewCredentialImpl implements NewCredentialValue { method constructor (line 1139) | constructor(name: string, id?: string) { method toJSON (line 1144) | toJSON(): { id: string; name: string } | undefined { function newCredential (line 1176) | function newCredential(name: string, id?: string): NewCredentialValue { function cloneNodeWithId (line 1185) | function cloneNodeWithId( FILE: packages/@n8n/workflow-sdk/src/workflow-builder/node-builders/subnode-builders.ts function generateNodeName (line 64) | function generateNodeName(type: string): string { class SubnodeInstanceImpl (line 81) | class SubnodeInstanceImpl< method constructor (line 96) | constructor( method update (line 112) | update(config: Partial): SubnodeInstanceImpl { method then (line 137) | then>( method to (line 144) | to>( method onError (line 151) | onError>(_handler: T):... method getConnections (line 155) | getConnections(): DeclaredConnection[] { function languageModel (line 182) | function languageModel( function memory (line 209) | function memory( function tool (line 259) | function tool( function outputParser (line 286) | function outputParser( function embedding (line 313) | function embedding( function vectorStore (line 340) | function vectorStore( function retriever (line 367) | function retriever( function documentLoader (line 394) | function documentLoader( function textSplitter (line 421) | function textSplitter( function reranker (line 448) | function reranker( type LanguageModelFn (line 464) | type LanguageModelFn = typeof languageModel; type MemoryFn (line 465) | type MemoryFn = typeof memory; type ToolFn (line 466) | type ToolFn = typeof tool; type OutputParserFn (line 467) | type OutputParserFn = typeof outputParser; type EmbeddingFn (line 468) | type EmbeddingFn = typeof embedding; type VectorStoreFn (line 469) | type VectorStoreFn = typeof vectorStore; type RetrieverFn (line 470) | type RetrieverFn = typeof retriever; type DocumentLoaderFn (line 471) | type DocumentLoaderFn = typeof documentLoader; type TextSplitterFn (line 472) | type TextSplitterFn = typeof textSplitter; type RerankerFn (line 473) | type RerankerFn = typeof reranker; type EmbeddingsFn (line 486) | type EmbeddingsFn = EmbeddingFn; function fromAi (line 525) | function fromAi( type FromAiFn (line 534) | type FromAiFn = typeof fromAi; FILE: packages/@n8n/workflow-sdk/src/workflow-builder/pin-data-utils.test.ts function createNode (line 13) | function createNode(overrides: { FILE: packages/@n8n/workflow-sdk/src/workflow-builder/pin-data-utils.ts function hasNewCredential (line 14) | function hasNewCredential(node: NodeInstance): ... function isHttpRequestOrWebhook (line 49) | function isHttpRequestOrWebhook(type: string): boolean { function isDataTableWithoutTable (line 57) | function isDataTableWithoutTable(node: NodeInstance; method canHandle (line 40) | canHandle(input: unknown): input is IfElseInput { method getHeadNodeName (line 44) | getHeadNodeName(input: IfElseInput): { name: string; id: string } { method collectPinData (line 52) | collectPinData( method addNodes (line 72) | addNodes(input: IfElseInput, ctx: MutablePluginContext): string { FILE: packages/@n8n/workflow-sdk/src/workflow-builder/plugins/composite-handlers/split-in-batches-handler.test.ts function createMockSibNode (line 6) | function createMockSibNode(name = 'Split In Batches'): NodeInstance; method canHandle (line 40) | canHandle(input: unknown): input is SwitchCaseInput { method getHeadNodeName (line 44) | getHeadNodeName(input: SwitchCaseInput): { name: string; id: string } { method collectPinData (line 52) | collectPinData( method addNodes (line 73) | addNodes(input: SwitchCaseInput, ctx: MutablePluginContext): string { FILE: packages/@n8n/workflow-sdk/src/workflow-builder/plugins/defaults.ts function registerDefaultPlugins (line 90) | function registerDefaultPlugins(registry: PluginRegistry): void { FILE: packages/@n8n/workflow-sdk/src/workflow-builder/plugins/registry.test.ts function createMockValidator (line 5) | function createMockValidator(id: string, nodeTypes: string[] = [], prior... function createMockCompositeHandler (line 16) | function createMockCompositeHandler( function createMockSerializer (line 31) | function createMockSerializer(id: string, format: string): SerializerPlu... FILE: packages/@n8n/workflow-sdk/src/workflow-builder/plugins/registry.ts class PluginRegistry (line 33) | class PluginRegistry { method registerValidator (line 43) | registerValidator(plugin: ValidatorPlugin): void { method unregisterValidator (line 53) | unregisterValidator(id: string): void { method getValidators (line 60) | getValidators(): ValidatorPlugin[] { method getValidatorsForNodeType (line 72) | getValidatorsForNodeType(nodeType: string): ValidatorPlugin[] { method registerCompositeHandler (line 87) | registerCompositeHandler(plugin: CompositeHandlerPlugin): void { method unregisterCompositeHandler (line 97) | unregisterCompositeHandler(id: string): void { method getCompositeHandlers (line 104) | getCompositeHandlers(): CompositeHandlerPlugin[] { method findCompositeHandler (line 115) | findCompositeHandler(input: unknown): CompositeHandlerPlugin | undefin... method isCompositeType (line 126) | isCompositeType(target: unknown): boolean { method resolveCompositeHeadName (line 137) | resolveCompositeHeadName(target: unknown, nameMapping?: Map { type ValidatorPlugin (line 201) | interface ValidatorPlugin { type CompositeHandlerPlugin (line 266) | interface CompositeHandlerPlugin { type SerializerContext (line 339) | interface SerializerContext extends PluginContext { type SerializerPlugin (line 378) | interface SerializerPlugin { FILE: packages/@n8n/workflow-sdk/src/workflow-builder/plugins/validators/agent-validator.test.ts function createMockNode (line 6) | function createMockNode( function createGraphNode (line 21) | function createGraphNode(node: NodeInstance): G... function createMockPluginContext (line 29) | function createMockPluginContext(): PluginContext { FILE: packages/@n8n/workflow-sdk/src/workflow-builder/plugins/validators/agent-validator.ts method validateNode (line 24) | validateNode( FILE: packages/@n8n/workflow-sdk/src/workflow-builder/plugins/validators/chain-llm-validator.test.ts function createMockNode (line 6) | function createMockNode( function createGraphNode (line 22) | function createGraphNode(node: NodeInstance): G... function createMockPluginContext (line 30) | function createMockPluginContext(): PluginContext { FILE: packages/@n8n/workflow-sdk/src/workflow-builder/plugins/validators/chain-llm-validator.ts method validateNode (line 26) | validateNode( FILE: packages/@n8n/workflow-sdk/src/workflow-builder/plugins/validators/date-method-validator.test.ts function createMockNode (line 6) | function createMockNode( function createGraphNode (line 21) | function createGraphNode(node: NodeInstance): G... function createMockPluginContext (line 29) | function createMockPluginContext(): PluginContext { FILE: packages/@n8n/workflow-sdk/src/workflow-builder/plugins/validators/date-method-validator.ts method validateNode (line 22) | validateNode( FILE: packages/@n8n/workflow-sdk/src/workflow-builder/plugins/validators/disconnected-node-validator.ts constant AI_CONNECTION_TYPES (line 29) | const AI_CONNECTION_TYPES = [ function isConnectedSubnode (line 46) | function isConnectedSubnode(graphNode: GraphNode): boolean { function getTargetNodeName (line 64) | function getTargetNodeName(target: unknown): string | undefined { function findNodesWithIncomingConnections (line 111) | function findNodesWithIncomingConnections( method validateWorkflow (line 181) | validateWorkflow(ctx: PluginContext): ValidationIssue[] { FILE: packages/@n8n/workflow-sdk/src/workflow-builder/plugins/validators/expression-path-validator.test.ts function createMockNode (line 6) | function createMockNode( function conn (line 26) | function conn(node: string, index: number): ConnectionTarget { function createGraphNode (line 31) | function createGraphNode( function createMockPluginContext (line 42) | function createMockPluginContext( FILE: packages/@n8n/workflow-sdk/src/workflow-builder/plugins/validators/expression-path-validator.ts function resolveTargetNodeName (line 17) | function resolveTargetNodeName(target: unknown): string | undefined { function findPredecessors (line 46) | function findPredecessors(nodeName: string, nodes: ReadonlyMap): Record): G... function createMockPluginContext (line 29) | function createMockPluginContext(): PluginContext { FILE: packages/@n8n/workflow-sdk/src/workflow-builder/plugins/validators/expression-prefix-validator.ts method validateNode (line 24) | validateNode( FILE: packages/@n8n/workflow-sdk/src/workflow-builder/plugins/validators/from-ai-validator.test.ts function createMockNode (line 6) | function createMockNode( function createGraphNode (line 21) | function createGraphNode(node: NodeInstance): G... function createMockPluginContext (line 29) | function createMockPluginContext(): PluginContext { FILE: packages/@n8n/workflow-sdk/src/workflow-builder/plugins/validators/from-ai-validator.ts method validateNode (line 23) | validateNode( FILE: packages/@n8n/workflow-sdk/src/workflow-builder/plugins/validators/http-request-validator.test.ts function createMockNode (line 6) | function createMockNode( function createGraphNode (line 21) | function createGraphNode(node: NodeInstance): G... function createMockPluginContext (line 29) | function createMockPluginContext(): PluginContext { FILE: packages/@n8n/workflow-sdk/src/workflow-builder/plugins/validators/http-request-validator.ts method validateNode (line 28) | validateNode( FILE: packages/@n8n/workflow-sdk/src/workflow-builder/plugins/validators/max-nodes-validator.ts method validateWorkflow (line 25) | validateWorkflow(ctx: PluginContext): ValidationIssue[] { FILE: packages/@n8n/workflow-sdk/src/workflow-builder/plugins/validators/merge-node-validator.test.ts function createMockNode (line 6) | function createMockNode(type: string, name: string): NodeInstance = new Map... FILE: packages/@n8n/workflow-sdk/src/workflow-builder/plugins/validators/merge-node-validator.ts method validateNode (line 28) | validateNode( FILE: packages/@n8n/workflow-sdk/src/workflow-builder/plugins/validators/missing-trigger-validator.ts method validateWorkflow (line 27) | validateWorkflow(ctx: PluginContext): ValidationIssue[] { FILE: packages/@n8n/workflow-sdk/src/workflow-builder/plugins/validators/no-nodes-validator.ts method validateWorkflow (line 24) | validateWorkflow(ctx: PluginContext): ValidationIssue[] { FILE: packages/@n8n/workflow-sdk/src/workflow-builder/plugins/validators/set-node-validator.test.ts function createMockNode (line 6) | function createMockNode( function createGraphNode (line 21) | function createGraphNode(node: NodeInstance): G... function createMockPluginContext (line 29) | function createMockPluginContext(): PluginContext { FILE: packages/@n8n/workflow-sdk/src/workflow-builder/plugins/validators/set-node-validator.ts method validateNode (line 30) | validateNode( FILE: packages/@n8n/workflow-sdk/src/workflow-builder/plugins/validators/subnode-connection-validator.ts constant SUBNODE_TYPE_PATTERNS (line 28) | const SUBNODE_TYPE_PATTERNS: Array<{ function getRequiredSubnodeInfo (line 47) | function getRequiredSubnodeInfo( function hasAiConnectionOfType (line 67) | function hasAiConnectionOfType(graphNode: GraphNode, connectionType: str... method validateWorkflow (line 93) | validateWorkflow(ctx: PluginContext): ValidationIssue[] { FILE: packages/@n8n/workflow-sdk/src/workflow-builder/plugins/validators/tool-node-validator.test.ts function createMockNode (line 6) | function createMockNode( function createGraphNode (line 21) | function createGraphNode(node: NodeInstance): G... function createMockPluginContext (line 29) | function createMockPluginContext(options?: PluginContext['validationOpti... FILE: packages/@n8n/workflow-sdk/src/workflow-builder/plugins/validators/tool-node-validator.ts method validateNode (line 23) | validateNode( FILE: packages/@n8n/workflow-sdk/src/workflow-builder/string-utils.ts constant JS_METHODS (line 12) | const JS_METHODS = new Set([ function filterMethodsFromPath (line 45) | function filterMethodsFromPath(fieldPath: string[]): string[] { function parseVersion (line 56) | function parseVersion(version: string | number | undefined): number { function isPlaceholderValue (line 66) | function isPlaceholderValue(value: unknown): boolean { function isResourceLocatorLike (line 76) | function isResourceLocatorLike(obj: unknown): obj is Record, baseName: str... function addSingleSubnode (line 39) | function addSingleSubnode( function addSubnodeOrArray (line 89) | function addSubnodeOrArray( function addSubnodeFlat (line 124) | function addSubnodeFlat( function processSubnodes (line 143) | function processSubnodes( function addNodeWithSubnodes (line 176) | function addNodeWithSubnodes( FILE: packages/@n8n/workflow-sdk/src/workflow-builder/type-guards.ts function getObjectProperty (line 10) | function getObjectProperty(obj: object, key: string): T { function isSplitInBatchesBuilder (line 17) | function isSplitInBatchesBuilder(value: unknown): boolean { type SplitInBatchesBuilderShape (line 43) | interface SplitInBatchesBuilderShape { function extractSplitInBatchesBuilder (line 63) | function extractSplitInBatchesBuilder(value: unknown): SplitInBatchesBui... function isSwitchCaseComposite (line 84) | function isSwitchCaseComposite(value: unknown): boolean { function isIfElseComposite (line 92) | function isIfElseComposite(value: unknown): boolean { FILE: packages/@n8n/workflow-sdk/src/workflow-builder/validation-helpers.ts function containsExpression (line 11) | function containsExpression(value: unknown): boolean { function containsMalformedExpression (line 21) | function containsMalformedExpression(value: unknown): boolean { function isSensitiveHeader (line 31) | function isSensitiveHeader(name: string): boolean { function isCredentialFieldName (line 46) | function isCredentialFieldName(name: string): boolean { function isToolNode (line 67) | function isToolNode(type: string): boolean { constant TOOLS_WITHOUT_PARAMETERS (line 74) | const TOOLS_WITHOUT_PARAMETERS = new Set([ function containsFromAI (line 86) | function containsFromAI(value: unknown): boolean { function isTriggerNode (line 102) | function isTriggerNode(type: string): boolean { function findMissingExpressionPrefixes (line 109) | function findMissingExpressionPrefixes( function hasLuxonToISOStringMisuse (line 144) | function hasLuxonToISOStringMisuse(value: string): boolean { function findInvalidDateMethods (line 166) | function findInvalidDateMethods( function extractExpressions (line 197) | function extractExpressions(params: unknown): Array<{ expression: string... function parseExpression (line 225) | function parseExpression(expr: string): { function hasPath (line 257) | function hasPath(shape: Record, path: string[]): boolean { FILE: packages/@n8n/workflow-sdk/src/workflow-builder/workflow-import.ts type ParsedWorkflow (line 24) | interface ParsedWorkflow { function parseWorkflowJSON (line 38) | function parseWorkflowJSON(json: WorkflowJSON): ParsedWorkflow { FILE: packages/cli/scripts/build.mjs constant ROOT_DIR (line 11) | const ROOT_DIR = path.resolve(__dirname, '..'); constant SPEC_FILENAME (line 12) | const SPEC_FILENAME = 'openapi.yml'; constant SPEC_THEME_FILENAME (line 13) | const SPEC_THEME_FILENAME = 'swagger-theme.css'; function generateUserManagementEmailTemplates (line 26) | function generateUserManagementEmailTemplates() { function createPublicApiDirectory (line 44) | function createPublicApiDirectory() { function copySwaggerTheme (line 52) | function copySwaggerTheme() { function bundleOpenApiSpecs (line 61) | function bundleOpenApiSpecs() { function generateTimezoneData (line 77) | function generateTimezoneData() { FILE: packages/cli/src/__tests__/abstract-server.test.ts class TestServer (line 24) | class TestServer extends AbstractServer { method configure (line 25) | async configure() {} FILE: packages/cli/src/__tests__/active-executions.test.ts constant FAKE_EXECUTION_ID (line 32) | const FAKE_EXECUTION_ID = '15'; constant FAKE_SECOND_EXECUTION_ID (line 33) | const FAKE_SECOND_EXECUTION_ID = '20'; FILE: packages/cli/src/__tests__/command-registry.test.ts class TestCommand (line 23) | class TestCommand { FILE: packages/cli/src/__tests__/controller.registry.test.ts class TestController (line 61) | @RestController('/test') method unlimited (line 65) | unlimited() { method rateLimited (line 70) | rateLimited() { method bodyKeyed (line 110) | bodyKeyed(@Body _body: TestBodyDto) { method numericKeyed (line 218) | numericKeyed(@Body _body: TestNumericDto) { method bodyKeyed (line 258) | bodyKeyed(@Body _body: { email: string }) { method noAuth (line 292) | noAuth() { method auth (line 297) | auth() { method sharing (line 322) | sharing() { method args (line 350) | args(req: express.Request, res: express.Response, @Param('id') id: str... class TestBodyDto (line 95) | class TestBodyDto extends Z.class({ class TestController (line 99) | @RestController('/test') method unlimited (line 65) | unlimited() { method rateLimited (line 70) | rateLimited() { method bodyKeyed (line 110) | bodyKeyed(@Body _body: TestBodyDto) { method numericKeyed (line 218) | numericKeyed(@Body _body: TestNumericDto) { method bodyKeyed (line 258) | bodyKeyed(@Body _body: { email: string }) { method noAuth (line 292) | noAuth() { method auth (line 297) | auth() { method sharing (line 322) | sharing() { method args (line 350) | args(req: express.Request, res: express.Response, @Param('id') id: str... class TestNumericDto (line 203) | class TestNumericDto extends Z.class({ class TestController (line 207) | @RestController('/test') method unlimited (line 65) | unlimited() { method rateLimited (line 70) | rateLimited() { method bodyKeyed (line 110) | bodyKeyed(@Body _body: TestBodyDto) { method numericKeyed (line 218) | numericKeyed(@Body _body: TestNumericDto) { method bodyKeyed (line 258) | bodyKeyed(@Body _body: { email: string }) { method noAuth (line 292) | noAuth() { method auth (line 297) | auth() { method sharing (line 322) | sharing() { method args (line 350) | args(req: express.Request, res: express.Response, @Param('id') id: str... class TestController (line 249) | @RestController('/test') method unlimited (line 65) | unlimited() { method rateLimited (line 70) | rateLimited() { method bodyKeyed (line 110) | bodyKeyed(@Body _body: TestBodyDto) { method numericKeyed (line 218) | numericKeyed(@Body _body: TestNumericDto) { method bodyKeyed (line 258) | bodyKeyed(@Body _body: { email: string }) { method noAuth (line 292) | noAuth() { method auth (line 297) | auth() { method sharing (line 322) | sharing() { method args (line 350) | args(req: express.Request, res: express.Response, @Param('id') id: str... class TestController (line 288) | @RestController('/test') method unlimited (line 65) | unlimited() { method rateLimited (line 70) | rateLimited() { method bodyKeyed (line 110) | bodyKeyed(@Body _body: TestBodyDto) { method numericKeyed (line 218) | numericKeyed(@Body _body: TestNumericDto) { method bodyKeyed (line 258) | bodyKeyed(@Body _body: { email: string }) { method noAuth (line 292) | noAuth() { method auth (line 297) | auth() { method sharing (line 322) | sharing() { method args (line 350) | args(req: express.Request, res: express.Response, @Param('id') id: str... class TestController (line 317) | @RestController('/test') method unlimited (line 65) | unlimited() { method rateLimited (line 70) | rateLimited() { method bodyKeyed (line 110) | bodyKeyed(@Body _body: TestBodyDto) { method numericKeyed (line 218) | numericKeyed(@Body _body: TestNumericDto) { method bodyKeyed (line 258) | bodyKeyed(@Body _body: { email: string }) { method noAuth (line 292) | noAuth() { method auth (line 297) | auth() { method sharing (line 322) | sharing() { method args (line 350) | args(req: express.Request, res: express.Response, @Param('id') id: str... class TestController (line 346) | @RestController('/test') method unlimited (line 65) | unlimited() { method rateLimited (line 70) | rateLimited() { method bodyKeyed (line 110) | bodyKeyed(@Body _body: TestBodyDto) { method numericKeyed (line 218) | numericKeyed(@Body _body: TestNumericDto) { method bodyKeyed (line 258) | bodyKeyed(@Body _body: { email: string }) { method noAuth (line 292) | noAuth() { method auth (line 297) | auth() { method sharing (line 322) | sharing() { method args (line 350) | args(req: express.Request, res: express.Response, @Param('id') id: str... class PublicController (line 369) | @RootLevelController('/public') method info (line 373) | info() { class RootController (line 378) | @RootLevelController() method ping (line 382) | ping() { FILE: packages/cli/src/__tests__/credentials-helper.test.ts method authenticate (line 248) | async authenticate( FILE: packages/cli/src/__tests__/license.test.ts constant MOCK_SERVER_URL (line 13) | const MOCK_SERVER_URL = 'https://server.com/v1'; constant MOCK_RENEW_OFFSET (line 14) | const MOCK_RENEW_OFFSET = 259200; constant MOCK_INSTANCE_ID (line 15) | const MOCK_INSTANCE_ID = 'instance-id'; constant MOCK_ACTIVATION_KEY (line 16) | const MOCK_ACTIVATION_KEY = 'activation-key'; constant MOCK_FEATURE_FLAG (line 17) | const MOCK_FEATURE_FLAG = 'feat:sharing'; constant MOCK_MAIN_PLAN_ID (line 18) | const MOCK_MAIN_PLAN_ID = '1b765dc4-d39d-4ffe-9885-c56dd67c4b26'; function makeDateWithHourOffset (line 20) | function makeDateWithHourOffset(offsetInHours: number): Date { FILE: packages/cli/src/__tests__/load-nodes-and-credentials.test.ts class Push (line 20) | @Service() FILE: packages/cli/src/__tests__/manual-execution.service.test.ts method getTriggerNodes (line 34) | getTriggerNodes() { method getNode (line 51) | getNode(nodeName: string) { method getNode (line 71) | getNode(nodeName: string) { method getTriggerNodes (line 96) | getTriggerNodes() { FILE: packages/cli/src/__tests__/node-types.test.ts method getNodeType (line 41) | getNodeType(version) { FILE: packages/cli/src/__tests__/project.test-data.ts type RawProjectData (line 5) | type RawProjectData = Pick { method setupErrorHandlers (line 109) | private async setupErrorHandlers() { method setupCommonMiddlewares (line 117) | private setupCommonMiddlewares() { method setupDevMiddlewares (line 125) | private setupDevMiddlewares() { method setupPushServer (line 129) | protected setupPushServer() {} method markAsReady (line 132) | markAsReady() { method setupHealthCheck (line 136) | private setupHealthCheck() { method init (line 164) | async init(): Promise { method start (line 223) | async start(): Promise { method onShutdown (line 314) | onShutdown(): void { FILE: packages/cli/src/activation-errors.service.ts class ActivationErrorsService (line 6) | class ActivationErrorsService { method constructor (line 9) | constructor(private readonly cacheService: CacheService) {} method register (line 11) | async register(workflowId: string, errorMessage: string) { method deregister (line 15) | async deregister(workflowId: string) { method get (line 19) | async get(workflowId: string) { method getAll (line 27) | async getAll() { method clearAll (line 35) | async clearAll() { FILE: packages/cli/src/active-executions.ts class ActiveExecutions (line 35) | class ActiveExecutions { method constructor (line 46) | constructor( method has (line 55) | has(executionId: string) { method add (line 62) | async add( method attachWorkflowExecution (line 167) | attachWorkflowExecution(executionId: string, workflowExecution: PCance... method attachResponsePromise (line 171) | attachResponsePromise( method resolveResponsePromise (line 178) | resolveResponsePromise(executionId: string, response: IExecuteResponse... method sendChunk (line 184) | sendChunk(executionId: string, chunkText: StructuredChunk): void { method stopExecution (line 193) | stopExecution(executionId: string, cancellationError: ExecutionCancell... method finalizeExecution (line 223) | finalizeExecution(executionId: string, fullRunData?: IRun) { method resolveExecutionResponsePromise (line 245) | resolveExecutionResponsePromise(executionId: string) { method getPostExecutePromise (line 263) | async getPostExecutePromise(executionId: string): Promise | undefined { method has (line 112) | has(authMethod: string): boolean { FILE: packages/cli/src/auth/auth.service.ts type AuthJwtPayload (line 20) | interface AuthJwtPayload { type IssuedJWT (line 31) | interface IssuedJWT extends AuthJwtPayload { type PasswordResetToken (line 35) | interface PasswordResetToken { type CreateAuthMiddlewareOptions (line 40) | interface CreateAuthMiddlewareOptions { class AuthService (line 58) | class AuthService { method constructor (line 62) | constructor( method createAuthMiddleware (line 99) | createAuthMiddleware({ method getCookieToken (line 162) | getCookieToken(req: Request) { method getBrowserId (line 171) | getBrowserId(req: Request) { method getMethod (line 179) | getMethod(req: Request) { method getEndpoint (line 183) | getEndpoint(req: Request) { method clearCookie (line 187) | clearCookie(res: Response) { method invalidateToken (line 191) | async invalidateToken(req: AuthenticatedRequest) { method issueCookie (line 207) | issueCookie(res: Response, user: User, usedMfa: boolean, browserId?: s... method issueJWT (line 225) | issueJWT(user: User, usedMfa: boolean = false, browserId?: string) { method validateCookieToken (line 242) | async validateCookieToken(token: string): Promise { method authenticateUserBasedOnToken (line 248) | async authenticateUserBasedOnToken( method validateBrowserId (line 279) | private validateBrowserId( method validateToken (line 296) | private async validateToken(token: string): Promise<{ method resolveJwt (line 327) | async resolveJwt( method generatePasswordResetToken (line 347) | generatePasswordResetToken(user: User, expiresIn: TimeUnitValue = '20m... method generatePasswordResetUrl (line 352) | generatePasswordResetUrl(user: User) { method resolvePasswordResetToken (line 362) | async resolvePasswordResetToken(token: string): Promise { method constructor (line 16) | constructor( method handleLogin (line 23) | async handleLogin(email: string, password: string): Promise { method deleteMany (line 93) | async deleteMany(locations: BinaryData.FileLocation[]) { method deleteManyByFileId (line 107) | async deleteManyByFileId(ids: string[]) { method copyByFileId (line 113) | async copyByFileId(targetLocation: BinaryData.FileLocation, sourceFile... method copyByFilePath (line 129) | async copyByFilePath( method rename (line 163) | async rename(oldFileId: string, newFileId: string) { method toSource (line 169) | private toSource(location: BinaryData.FileLocation): { FILE: packages/cli/src/chat/__tests__/chat-execution-manager.test.ts function makeChatToolExecution (line 192) | function makeChatToolExecution(runDataEntry: object = {}) { FILE: packages/cli/src/chat/__tests__/utils.test.ts function makeExecution (line 514) | function makeExecution(lastNodeExecuted: string, startData?: object): IE... function makeExecutionData (line 525) | function makeExecutionData(toolNodeName: string): IExecuteData { function makeToolExecutorExecution (line 635) | function makeToolExecutorExecution( FILE: packages/cli/src/chat/chat-execution-manager.ts class ChatExecutionManager (line 28) | class ChatExecutionManager { method constructor (line 29) | constructor( method runWorkflow (line 36) | async runWorkflow(execution: IExecutionResponse, message: ChatMessage) { method cancelExecution (line 45) | async cancelExecution(executionId: string) { method findExecution (line 58) | async findExecution(executionId: string) { method checkIfExecutionExists (line 64) | async checkIfExecutionExists(executionId: string) { method getWorkflow (line 68) | private getWorkflow(execution: IExecutionResponse) { method mapFilesToBinaryData (line 82) | private async mapFilesToBinaryData(context: ExecuteContext, files: Cha... method runNode (line 97) | private async runNode(execution: IExecutionResponse, message: ChatMess... method getRunData (line 145) | private async getRunData(execution: IExecutionResponse, message: ChatM... FILE: packages/cli/src/chat/chat-server.ts type ExpressApplication (line 13) | interface ExpressApplication extends Application { class ChatServer (line 18) | class ChatServer { method constructor (line 21) | constructor(private readonly chatService: ChatService) {} method setup (line 23) | setup(server: HttpServer, app: Application) { method attachToApp (line 39) | private attachToApp(req: ChatRequest, ws: WebSocket, app: ExpressAppli... method shutdown (line 51) | shutdown() { FILE: packages/cli/src/chat/chat-service.ts constant CHECK_FOR_RESPONSE_INTERVAL (line 30) | const CHECK_FOR_RESPONSE_INTERVAL = 3000; constant DRAIN_TIMEOUT (line 31) | const DRAIN_TIMEOUT = 50; constant HEARTBEAT_INTERVAL (line 32) | const HEARTBEAT_INTERVAL = 30 * 1000; constant HEARTBEAT_TIMEOUT (line 33) | const HEARTBEAT_TIMEOUT = 60 * 1000; constant N8N_CONTINUE (line 38) | const N8N_CONTINUE = 'n8n|continue'; constant N8N_HEARTBEAT (line 42) | const N8N_HEARTBEAT = 'n8n|heartbeat'; constant N8N_HEARTBEAT_ACK (line 46) | const N8N_HEARTBEAT_ACK = 'n8n|heartbeat-ack'; function closeConnection (line 48) | function closeConnection(ws: WebSocket) { class ChatService (line 63) | class ChatService { method constructor (line 67) | constructor( method startSession (line 78) | async startSession(req: ChatRequest) { method processWaitingExecution (line 138) | private async processWaitingExecution( method processSuccessExecution (line 168) | private processSuccessExecution(session: Session) { method waitForChatResponseOrContinue (line 173) | private waitForChatResponseOrContinue(execution: IExecutionResponse, s... method pollAndProcessChatResponses (line 182) | private pollAndProcessChatResponses(sessionKey: string) { method incomingMessageHandler (line 229) | private incomingMessageHandler(sessionKey: string) { method resumeExecution (line 258) | private async resumeExecution(executionId: string, message: ChatMessag... method getExecutionOrCleanupSession (line 264) | private async getExecutionOrCleanupSession(executionId: string, sessio... method stringifyRawData (line 290) | private stringifyRawData(data: RawData) { method cleanupSession (line 299) | private cleanupSession(session: Session, sessionKey: string) { method parseChatMessage (line 305) | private parseChatMessage(message: string): ChatMessage { method checkHeartbeats (line 327) | private async checkHeartbeats() { method shouldResumeOnMessage (line 355) | private async shouldResumeOnMessage(executionId: string) { method shutdown (line 371) | shutdown() { FILE: packages/cli/src/chat/chat-service.types.ts type ChatRequest (line 5) | interface ChatRequest extends IncomingMessage { type Session (line 15) | type Session = { type ChatMessage (line 41) | type ChatMessage = z.infer; FILE: packages/cli/src/chat/utils.ts constant AI_TOOL (line 12) | const AI_TOOL = 'ai_tool'; function redirectIfToolExecutor (line 25) | function redirectIfToolExecutor( function getOriginalDestinationNodeName (line 50) | function getOriginalDestinationNodeName( function getSendMessageFromToolNode (line 59) | function getSendMessageFromToolNode( function getToolExecutorSendMessage (line 82) | function getToolExecutorSendMessage(executionData: IExecutionResponse['d... function getMessage (line 104) | function getMessage(execution: IExecutionResponse) { function getLastNodeExecuted (line 133) | function getLastNodeExecuted(execution: IExecutionResponse) { function shouldResumeImmediately (line 161) | function shouldResumeImmediately(lastNode: INode) { function getLastNodeMessage (line 187) | function getLastNodeMessage(execution: IExecutionResponse, lastNode: INo... FILE: packages/cli/src/collaboration/__tests__/collaboration.state.test.ts method constructor (line 11) | constructor() { FILE: packages/cli/src/collaboration/collaboration.message.ts type CollaborationMessage (line 3) | type CollaborationMessage = type WorkflowOpenedMessage (line 54) | type WorkflowOpenedMessage = z.infer; type WorkflowClosedMessage (line 56) | type WorkflowClosedMessage = z.infer; type WriteAccessRequestedMessage (line 58) | type WriteAccessRequestedMessage = z.infer; FILE: packages/cli/src/collaboration/collaboration.service.ts class CollaborationService (line 31) | class CollaborationService { method constructor (line 32) | constructor( method init (line 41) | init() { method isTransientError (line 67) | private isTransientError(error: unknown): error is NodeJS.ErrnoExcepti... method handleUserMessage (line 76) | async handleUserMessage(userId: User['id'], clientId: string, msg: unk... method handleWorkflowOpened (line 92) | private async handleWorkflowOpened( method handleWorkflowClosed (line 108) | private async handleWorkflowClosed( method sendWorkflowUsersChangedMessage (line 131) | private async sendWorkflowUsersChangedMessage(workflowId: Workflow['id... method handleWriteAccessRequested (line 153) | private async handleWriteAccessRequested( method handleWriteAccessReleaseRequested (line 181) | private async handleWriteAccessReleaseRequested( method handleWriteAccessHeartbeat (line 198) | private async handleWriteAccessHeartbeat( method sendWriteAccessAcquiredMessage (line 209) | private async sendWriteAccessAcquiredMessage( method sendWriteAccessReleasedMessage (line 230) | private async sendWriteAccessReleasedMessage(workflowId: Workflow['id'... method broadcastWorkflowUpdate (line 245) | async broadcastWorkflowUpdate(workflowId: Workflow['id'], updatedByUse... method getWriteLock (line 266) | async getWriteLock( method validateWriteLock (line 282) | async validateWriteLock( FILE: packages/cli/src/collaboration/collaboration.state.ts type WorkflowCacheHash (line 11) | type WorkflowCacheHash = Record; type CacheEntry (line 12) | interface CacheEntry { class CollaborationState (line 28) | class CollaborationState { method constructor (line 35) | constructor(private readonly cache: CacheService) {} method addCollaborator (line 40) | async addCollaborator(workflowId: Workflow['id'], userId: User['id'], ... method removeCollaborator (line 52) | async removeCollaborator(workflowId: Workflow['id'], clientId: string) { method getCollaborators (line 58) | async getCollaborators(workflowId: Workflow['id']): Promise> { method run (line 31) | async run() { method catch (line 64) | async catch(error: Error) { FILE: packages/cli/src/commands/base-command.ts method init (line 84) | async init(): Promise { method stopProcess (line 182) | protected async stopProcess() { method initCommunityPackages (line 186) | protected async initCommunityPackages() { method initCrashJournal (line 197) | protected async initCrashJournal() { method exitSuccessFully (line 201) | protected async exitSuccessFully() { method exitWithCrash (line 213) | protected async exitWithCrash(message: string, error: unknown) { method log (line 219) | protected log(message: string) { method error (line 223) | protected error(message: string) { method initBinaryDataService (line 227) | async initBinaryDataService() { method initDataDeduplicationService (line 271) | protected async initDataDeduplicationService() { method initExternalHooks (line 276) | async initExternalHooks() { method initLicense (line 281) | async initLicense(): Promise { method initWorkflowHistory (line 307) | initWorkflowHistory() { method cleanupTestRunner (line 311) | async cleanupTestRunner() { method finally (line 315) | async finally(error: Error | undefined) { method onTerminationSignal (line 326) | protected onTerminationSignal(signal: string) { FILE: packages/cli/src/commands/db/__tests__/revert.test.ts class TestMigration (line 44) | class TestMigration implements IrreversibleMigration { method up (line 47) | async up() {} method up (line 80) | async up() {} method up (line 147) | async up() {} method down (line 149) | async down() {} method up (line 182) | async up() {} method down (line 184) | async down() {} class TestMigration (line 77) | class TestMigration implements IrreversibleMigration { method up (line 47) | async up() {} method up (line 80) | async up() {} method up (line 147) | async up() {} method down (line 149) | async down() {} method up (line 182) | async up() {} method down (line 184) | async down() {} class TestMigration (line 144) | class TestMigration implements ReversibleMigration { method up (line 47) | async up() {} method up (line 80) | async up() {} method up (line 147) | async up() {} method down (line 149) | async down() {} method up (line 182) | async up() {} method down (line 184) | async down() {} class TestMigration (line 177) | class TestMigration implements ReversibleMigration { method up (line 47) | async up() {} method up (line 80) | async up() {} method up (line 147) | async up() {} method down (line 149) | async down() {} method up (line 182) | async up() {} method down (line 184) | async down() {} FILE: packages/cli/src/commands/db/revert.ts function main (line 14) | async function main( class DbRevertMigrationCommand (line 66) | class DbRevertMigrationCommand { method constructor (line 69) | constructor(private readonly logger: Logger) {} method run (line 71) | async run() { method catch (line 91) | async catch(error: Error) { method finally (line 96) | protected async finally(error: Error | undefined) { FILE: packages/cli/src/commands/execute-batch.ts type ISkipList (line 30) | interface ISkipList { class ExecuteBatch (line 111) | class ExecuteBatch extends BaseCommand> { method stopProcess (line 142) | async stopProcess(skipExit: boolean | number = false) { method formatJsonOutput (line 158) | private formatJsonOutput(data: object) { method shouldBeConsideredAsWarning (line 162) | private shouldBeConsideredAsWarning(errorMessage: string) { method init (line 190) | async init() { method run (line 200) | async run() { method mergeResults (line 368) | mergeResults(results: IResult, retryResults: IResult) { method runTests (line 408) | private async runTests(allWorkflows: IWorkflowBase[]): Promise { method setOutput (line 532) | setOutput(key: string, value: any) { method updateStatus (line 539) | updateStatus() { method initializeLogs (line 580) | initializeLogs() { method startThread (line 593) | async startThread(workflowData: IWorkflowBase): Promise> { method init (line 34) | async init() { method run (line 43) | async run() { method catch (line 135) | async catch(error: Error) { FILE: packages/cli/src/commands/export/credentials.ts class ExportCredentialsCommand (line 56) | class ExportCredentialsCommand extends BaseCommand> { method run (line 27) | async run() { method writeNodesJSON (line 47) | private writeNodesJSON(filePath: string, nodes: INodeTypeBaseDescripti... FILE: packages/cli/src/commands/export/workflow.ts class ExportWorkflowsCommand (line 55) | class ExportWorkflowsCommand extends BaseCommand { method catch (line 105) | async catch(error: Error) { method reportSuccess (line 112) | private reportSuccess(total: number) { method storeCredential (line 118) | private async storeCredential(credential: Partial, ... method checkRelations (line 139) | private async checkRelations( method readCredentials (line 191) | private async readCredentials(path: string, separate: boolean): Promis... method getCredentialOwner (line 233) | private async getCredentialOwner(credentialsId: string) { method credentialExists (line 253) | private async credentialExists(credentialId: string) { method getProject (line 257) | private async getProject(userId?: string, projectId?: string) { FILE: packages/cli/src/commands/import/entities.ts class ImportEntitiesCommand (line 45) | class ImportEntitiesCommand extends BaseCommand { method checkRelations (line 132) | private async checkRelations(workflows: IWorkflowBase[], projectId?: s... method catch (line 176) | async catch(error: Error) { method reportSuccess (line 181) | private reportSuccess(total: number) { method getWorkflowOwner (line 185) | private async getWorkflowOwner(workflowId: WorkflowId) { method workflowExists (line 205) | private async workflowExists(workflowId: WorkflowId) { method readWorkflows (line 209) | private async readWorkflows( method getProject (line 255) | private async getProject(userId?: string, projectId?: string) { FILE: packages/cli/src/commands/ldap/reset.ts class Reset (line 61) | class Reset extends BaseCommand> { method run (line 62) | async run(): Promise { method getProject (line 141) | async getProject(userId?: string, projectId?: string) { method catch (line 167) | async catch(error: Error): Promise { method getOwner (line 172) | private async getOwner() { FILE: packages/cli/src/commands/license/clear.ts class ClearLicenseCommand (line 12) | class ClearLicenseCommand extends BaseCommand { method run (line 13) | async run() { method catch (line 23) | async catch(error: Error) { FILE: packages/cli/src/commands/license/info.ts class LicenseInfoCommand (line 12) | class LicenseInfoCommand extends BaseCommand { method run (line 13) | async run() { method catch (line 20) | async catch(error: Error) { FILE: packages/cli/src/commands/list/workflow.ts class ListWorkflowCommand (line 22) | class ListWorkflowCommand extends BaseCommand> { method run (line 19) | async run(): Promise { method catch (line 52) | async catch(error: Error) { method reportSuccess (line 57) | private reportSuccess(email: string) { method reportUserDoesNotExistError (line 61) | private reportUserDoesNotExistError(email: string) { FILE: packages/cli/src/commands/publish/workflow.ts class PublishWorkflowCommand (line 24) | class PublishWorkflowCommand extends BaseCommand> { method openBrowser (line 69) | private openBrowser() { method stopProcess (line 84) | async stopProcess() { method generateConfigTags (line 123) | private generateConfigTags() { method generateStaticAssets (line 144) | private async generateStaticAssets() { method init (line 189) | async init() { method initOrchestration (line 286) | async initOrchestration() { method ensureMultiMainLicensed (line 322) | private async ensureMultiMainLicensed() { method run (line 341) | async run() { method catch (line 409) | async catch(error: Error) { method runEnqueuedExecutions (line 420) | private async runEnqueuedExecutions() { FILE: packages/cli/src/commands/ttwf/generate.ts class TTWFGenerateCommand (line 72) | class TTWFGenerateCommand extends BaseCommand { method constructor (line 6) | constructor(private maxWorkers: number) {} method execute (line 8) | async execute(task: () => Promise): Promise { method processQueue (line 41) | private processQueue() { FILE: packages/cli/src/commands/unpublish/workflow.ts class UnpublishWorkflowCommand (line 19) | class UnpublishWorkflowCommand extends BaseCommand { method getInstanceOwner (line 59) | async getInstanceOwner(): Promise { method catch (line 77) | async catch(error: Error): Promise { FILE: packages/cli/src/commands/webhook.ts class Webhook (line 20) | class Webhook extends BaseCommand { method stopProcess (line 30) | async stopProcess() { method init (line 44) | async init() { method run (line 90) | async run() { method catch (line 103) | async catch(error: Error) { method initOrchestration (line 107) | async initOrchestration() { FILE: packages/cli/src/commands/worker.ts class Worker (line 32) | class Worker extends BaseCommand> { method stopProcess (line 52) | async stopProcess() { method constructor (line 64) | constructor() { method init (line 74) | async init() { method initEventBus (line 129) | async initEventBus() { method initOrchestration (line 142) | async initOrchestration() { method setConcurrency (line 152) | async setConcurrency() { method initScalingService (line 166) | async initScalingService() { method run (line 175) | async run() { method catch (line 210) | async catch(error: Error) { FILE: packages/cli/src/concurrency/concurrency-capacity-reservation.ts class ConcurrencyCapacityReservation (line 18) | class ConcurrencyCapacityReservation { method constructor (line 21) | constructor(private readonly concurrencyControlService: ConcurrencyCon... method reserve (line 23) | async reserve(capacityFor: CapacityTarget) { method release (line 30) | release() { FILE: packages/cli/src/concurrency/concurrency-control.service.ts constant CLOUD_TEMP_PRODUCTION_LIMIT (line 15) | const CLOUD_TEMP_PRODUCTION_LIMIT = 999; constant CLOUD_TEMP_REPORTABLE_THRESHOLDS (line 16) | const CLOUD_TEMP_REPORTABLE_THRESHOLDS = [5, 10, 20, 50, 100, 200]; type ConcurrencyQueueType (line 18) | type ConcurrencyQueueType = 'production' | 'evaluation'; type CapacityTarget (line 20) | interface CapacityTarget { class ConcurrencyControlService (line 26) | class ConcurrencyControlService { method constructor (line 37) | constructor( method has (line 106) | has(executionId: string) { method throttle (line 121) | async throttle({ mode, executionId }: CapacityTarget) { method release (line 130) | release({ mode }: { mode: WorkflowExecuteMode }) { method remove (line 139) | remove({ mode, executionId }: CapacityTarget) { method removeAll (line 150) | async removeAll(executionIdsToCancel: string[]) { method disable (line 170) | disable() { method logInit (line 178) | private logInit() { method isUnlimited (line 191) | private isUnlimited(mode: WorkflowExecuteMode) { method shouldReport (line 195) | private shouldReport(capacity: number) { method getQueue (line 202) | private getQueue(mode: WorkflowExecuteMode) { FILE: packages/cli/src/concurrency/concurrency-queue.ts type ConcurrencyEvents (line 5) | type ConcurrencyEvents = { class ConcurrencyQueue (line 12) | class ConcurrencyQueue extends TypedEmitter { method constructor (line 18) | constructor(private capacity: number) { method enqueue (line 22) | async enqueue(executionId: string) { method currentCapacity (line 35) | get currentCapacity() { method dequeue (line 39) | dequeue() { method remove (line 45) | remove(executionId: string) { method getAll (line 57) | getAll() { method has (line 61) | has(executionId: string) { method resolveNext (line 65) | private resolveNext() { FILE: packages/cli/src/config/index.ts type Config (line 73) | type Config = typeof config; FILE: packages/cli/src/config/types.ts type GetPathSegments (line 18) | type GetPathSegments = Traversable extends Filter type JoinByDotting (line 31) | type JoinByDotting = T extends [infer F] type ToDottedPath (line 41) | type ToDottedPath = JoinByDotting>; type CollectPathsByType (line 43) | type CollectPathsByType = ToDottedPath; type BooleanPath (line 51) | type BooleanPath = CollectPathsByType; type StringLiteralArrayPath (line 53) | type StringLiteralArrayPath = CollectPathsByType; type StringPath (line 55) | type StringPath = CollectPathsByType; type ConfigOptionPath (line 57) | type ConfigOptionPath = type ToReturnType (line 64) | type ToReturnType = T extends NumericPath type ExceptionPaths (line 76) | type ExceptionPaths = { type GetPathSegmentsWithUnions (line 87) | type GetPathSegmentsWithUnions = T extends ReadonlyArray type ToPathUnionPair (line 93) | type ToPathUnionPair = T extends [...infer Path, inf... type ToStringLiteralMap (line 99) | type ToStringLiteralMap = { type StringLiteralMap (line 103) | type StringLiteralMap = ToStringLiteralMap< type ValidKeys (line 111) | type ValidKeys = keyof T extends string type RemoveExcess (line 117) | type RemoveExcess = T extends [...infer Path, 'format' | 'default'] type Config (line 128) | interface Config { FILE: packages/cli/src/constants.ts constant CUSTOM_API_CALL_NAME (line 16) | const CUSTOM_API_CALL_NAME = 'Custom API Call'; constant CUSTOM_API_CALL_KEY (line 17) | const CUSTOM_API_CALL_KEY = '__CUSTOM_API_CALL__'; constant CLI_DIR (line 19) | const CLI_DIR = resolve(__dirname, '..'); constant TEMPLATES_DIR (line 20) | const TEMPLATES_DIR = join(CLI_DIR, 'templates'); constant NODES_BASE_DIR (line 21) | const NODES_BASE_DIR = dirname(require.resolve('n8n-nodes-base')); constant EDITOR_UI_DIST_DIR (line 22) | const EDITOR_UI_DIST_DIR = join(dirname(require.resolve('n8n-editor-ui')... constant N8N_VERSION (line 26) | const N8N_VERSION = n8nPackageJson.version; constant N8N_RELEASE_DATE (line 27) | const N8N_RELEASE_DATE = statSync(packageJsonPath).mtime; constant STARTING_NODES (line 29) | const STARTING_NODES = [ constant TRIGGER_COUNT_EXCLUDED_NODES (line 34) | const TRIGGER_COUNT_EXCLUDED_NODES = [ constant MCP_TRIGGER_NODE_TYPE (line 39) | const MCP_TRIGGER_NODE_TYPE = '@n8n/n8n-nodes-langchain.mcpTrigger'; constant NODE_PACKAGE_PREFIX (line 41) | const NODE_PACKAGE_PREFIX = 'n8n-nodes-'; constant STARTER_TEMPLATE_NAME (line 43) | const STARTER_TEMPLATE_NAME = `${NODE_PACKAGE_PREFIX}starter`; constant RESPONSE_ERROR_MESSAGES (line 45) | const RESPONSE_ERROR_MESSAGES = { constant AUTH_COOKIE_NAME (line 63) | const AUTH_COOKIE_NAME = 'n8n-auth'; constant OIDC_STATE_COOKIE_NAME (line 64) | const OIDC_STATE_COOKIE_NAME = 'n8n-oidc-state'; constant OIDC_NONCE_COOKIE_NAME (line 65) | const OIDC_NONCE_COOKIE_NAME = 'n8n-oidc-nonce'; constant NPM_COMMAND_TOKENS (line 67) | const NPM_COMMAND_TOKENS = { constant NPM_PACKAGE_STATUS_GOOD (line 75) | const NPM_PACKAGE_STATUS_GOOD = 'OK'; constant UNKNOWN_FAILURE_REASON (line 77) | const UNKNOWN_FAILURE_REASON = 'Unknown failure reason'; constant WORKFLOW_REACTIVATE_INITIAL_TIMEOUT (line 79) | const WORKFLOW_REACTIVATE_INITIAL_TIMEOUT = 1000; constant WORKFLOW_REACTIVATE_MAX_TIMEOUT (line 80) | const WORKFLOW_REACTIVATE_MAX_TIMEOUT = 24 * 60 * 60 * 1000; constant SETTINGS_LICENSE_CERT_KEY (line 82) | const SETTINGS_LICENSE_CERT_KEY = 'license.cert'; constant UM_FIX_INSTRUCTION (line 84) | const UM_FIX_INSTRUCTION = constant TEST_WEBHOOK_TIMEOUT (line 87) | const TEST_WEBHOOK_TIMEOUT = 2 * Time.minutes.toMilliseconds; constant TEST_WEBHOOK_TIMEOUT_BUFFER (line 89) | const TEST_WEBHOOK_TIMEOUT_BUFFER = 30 * Time.seconds.toMilliseconds; constant GENERIC_OAUTH2_CREDENTIALS_WITH_EDITABLE_SCOPE (line 91) | const GENERIC_OAUTH2_CREDENTIALS_WITH_EDITABLE_SCOPE = [ constant ARTIFICIAL_TASK_DATA (line 100) | const ARTIFICIAL_TASK_DATA = { constant TRIMMED_TASK_DATA_CONNECTIONS (line 116) | const TRIMMED_TASK_DATA_CONNECTIONS: ITaskDataConnections = { constant LOWEST_SHUTDOWN_PRIORITY (line 128) | const LOWEST_SHUTDOWN_PRIORITY = 0; constant DEFAULT_SHUTDOWN_PRIORITY (line 129) | const DEFAULT_SHUTDOWN_PRIORITY = 100; constant HIGHEST_SHUTDOWN_PRIORITY (line 131) | const HIGHEST_SHUTDOWN_PRIORITY = 200; constant FREE_AI_CREDITS_CREDENTIAL_NAME (line 142) | const FREE_AI_CREDITS_CREDENTIAL_NAME = 'n8n free OpenAI API credits'; constant STREAM_SEPARATOR (line 144) | const STREAM_SEPARATOR = '⧉⇋⇋➽⌑⧉§§\n'; FILE: packages/cli/src/controller.registry.ts class ControllerRegistry (line 33) | class ControllerRegistry { method constructor (line 34) | constructor( method activate (line 43) | activate(app: Application) { method activateController (line 49) | private activateController(app: Application, controllerClass: Controll... method buildMiddlewares (line 131) | private buildMiddlewares( method createLicenseMiddleware (line 211) | private createLicenseMiddleware(feature: BooleanLicenseFeature): Reque... method createScopedMiddleware (line 221) | private createScopedMiddleware(accessScope: AccessScope): RequestHandl... FILE: packages/cli/src/controllers/__tests__/invitation.controller.test.ts function defaultInvitationController (line 40) | function defaultInvitationController() { FILE: packages/cli/src/controllers/__tests__/user-settings.controller.test.ts constant NOW (line 8) | const NOW = 1717607016208; FILE: packages/cli/src/controllers/active-workflows.controller.ts class ActiveWorkflowsController (line 7) | class ActiveWorkflowsController { method constructor (line 8) | constructor(private readonly activeWorkflowsService: ActiveWorkflowsSe... method getActiveWorkflows (line 11) | async getActiveWorkflows(req: ActiveWorkflowRequest.GetAllActive) { method getActivationError (line 16) | async getActivationError(req: ActiveWorkflowRequest.GetActivationError) { FILE: packages/cli/src/controllers/ai.controller.ts type FlushableResponse (line 32) | type FlushableResponse = Response & { flush: () => void }; class AiController (line 35) | class AiController { method constructor (line 36) | constructor( method build (line 49) | async build( method chat (line 132) | async chat(req: AuthenticatedRequest, res: FlushableResponse, @Body pa... method applySuggestion (line 168) | async applySuggestion( method askAi (line 182) | async askAi( method aiCredits (line 209) | async aiCredits(req: AuthenticatedRequest, _: Response, @Body payload:... method getSessions (line 241) | async getSessions( method getBuilderCredits (line 261) | async getBuilderCredits( method truncateMessages (line 275) | async truncateMessages( method clearSession (line 297) | async clearSession( method updateUsageSettings (line 313) | async updateUsageSettings( FILE: packages/cli/src/controllers/annotation-tags.controller.ee.ts class AnnotationTagsController (line 7) | class AnnotationTagsController { method constructor (line 8) | constructor(private readonly annotationTagService: AnnotationTagServic... method getAll (line 12) | async getAll(req: AnnotationTagsRequest.GetAll) { method createTag (line 20) | async createTag(req: AnnotationTagsRequest.Create) { method updateTag (line 28) | async updateTag(req: AnnotationTagsRequest.Update) { method deleteTag (line 39) | async deleteTag(req: AnnotationTagsRequest.Delete) { FILE: packages/cli/src/controllers/api-keys.controller.ts class ApiKeysController (line 30) | class ApiKeysController { method constructor (line 31) | constructor( method createApiKey (line 41) | async createApiKey( method getApiKeys (line 67) | async getApiKeys(req: AuthenticatedRequest) { method deleteApiKey (line 77) | async deleteApiKey(req: AuthenticatedRequest, _res: Response, @Param('... method updateApiKey (line 90) | async updateApiKey( method getApiKeyScopes (line 107) | async getApiKeyScopes(req: AuthenticatedRequest, _res: Response) { FILE: packages/cli/src/controllers/auth.controller.ts class AuthController (line 39) | class AuthController { method constructor (line 40) | constructor( method login (line 67) | async login( method validateEmailFormat (line 109) | private validateEmailFormat(authMethod: AuthProviderType, emailOrLdapL... method validateSsoRestrictions (line 115) | private validateSsoRestrictions(preliminaryUser: User | undefined): vo... method authenticateWithPassword (line 126) | private async authenticateWithPassword( method validateMfa (line 159) | private async validateMfa( method currentUser (line 187) | async currentUser(req: AuthenticatedRequest): Promise { method resolveSignupToken (line 200) | async resolveSignupToken( method logout (line 273) | async logout(req: AuthenticatedRequest, res: Response) { FILE: packages/cli/src/controllers/binary-data.controller.ts class BinaryDataController (line 15) | class BinaryDataController { method constructor (line 16) | constructor(private readonly binaryDataService: BinaryDataService) {} method get (line 19) | async get( method getSigned (line 36) | async getSigned(_: Request, res: Response, @Query { token }: BinaryDat... method validateBinaryDataId (line 50) | private validateBinaryDataId(binaryDataId: string) { method setContentHeaders (line 74) | private async setContentHeaders( FILE: packages/cli/src/controllers/cta.controller.ts class CtaController (line 12) | class CtaController { method constructor (line 13) | constructor(private readonly ctaService: CtaService) {} method getCta (line 16) | async getCta(req: AuthenticatedRequest, res: express.Response) { FILE: packages/cli/src/controllers/debug.controller.ts class DebugController (line 9) | class DebugController { method constructor (line 10) | constructor( method getMultiMainSetupDetails (line 18) | async getMultiMainSetupDetails() { FILE: packages/cli/src/controllers/dynamic-node-parameters.controller.ts class DynamicNodeParametersController (line 15) | class DynamicNodeParametersController { method constructor (line 16) | constructor(private readonly dynamicNodeParametersService: DynamicNode... method getOptions (line 19) | async getOptions( method getResourceLocatorResults (line 68) | async getResourceLocatorResults( method getResourceMappingFields (line 106) | async getResourceMappingFields( method getLocalResourceMappingFields (line 134) | async getLocalResourceMappingFields( method getActionResult (line 158) | async getActionResult( FILE: packages/cli/src/controllers/dynamic-templates.controller.ts class DynamicTemplatesController (line 8) | class DynamicTemplatesController { method constructor (line 9) | constructor(private readonly dynamicTemplatesService: DynamicTemplates... method get (line 12) | async get(_req: AuthenticatedRequest) { FILE: packages/cli/src/controllers/e2e.controller.ts type UserSetupPayload (line 59) | type UserSetupPayload = { type ResetRequest (line 69) | type ResetRequest = Request< type PushRequest (line 80) | type PushRequest = Request< class E2EController (line 89) | class E2EController { method constructor (line 164) | constructor( method reset (line 195) | async reset(req: ResetRequest) { method pushSend (line 206) | async pushSend(req: PushRequest) { method setFeature (line 212) | setFeature(req: Request<{}, {}, { feature: BooleanLicenseFeature; enab... method setQuota (line 218) | setQuota(req: Request<{}, {}, { feature: NumericLicenseFeature; value:... method setQueueMode (line 224) | async setQueueMode(req: Request<{}, {}, { enabled: boolean }>) { method getEnvFeatureFlags (line 230) | async getEnvFeatureFlags() { method setEnvFeatureFlags (line 235) | async setEnvFeatureFlags(req: Request<{}, {}, { flags: Record; class TranslationController (line 20) | class TranslationController { method constructor (line 21) | constructor( method getCredentialTranslation (line 27) | async getCredentialTranslation(req: TranslationRequest.Credential) { method getNodeTranslationHeaders (line 49) | async getNodeTranslationHeaders() { FILE: packages/cli/src/controllers/user-settings.controller.ts function getNpsSurveyState (line 8) | function getNpsSurveyState(state: unknown): NpsSurveyState | undefined { class UserSettingsController (line 39) | class UserSettingsController { method constructor (line 40) | constructor(private readonly userService: UserService) {} method updateNpsSurvey (line 43) | async updateNpsSurvey(req: NpsSurveyRequest.NpsSurveyUpdate): Promise<... FILE: packages/cli/src/controllers/users.controller.ts class UsersController (line 53) | class UsersController { method constructor (line 54) | constructor( method removeSupplementaryFields (line 79) | private removeSupplementaryFields( method listUsers (line 112) | async listUsers( method getUserPasswordResetLink (line 147) | async getUserPasswordResetLink(req: UserRequest.PasswordResetLink) { method generateInviteLink (line 169) | async generateInviteLink(req: AuthenticatedRequest<{ id: string }, {},... method updateUserSettings (line 197) | async updateUserSettings( method deleteUser (line 218) | async deleteUser(req: UserRequest.Delete) { method changeGlobalRole (line 339) | async changeGlobalRole( FILE: packages/cli/src/controllers/workflow-statistics.controller.ts type WorkflowStatisticsData (line 13) | interface WorkflowStatisticsData { class WorkflowStatisticsController (line 21) | class WorkflowStatisticsController { method constructor (line 22) | constructor( method hasWorkflowAccess (line 33) | async hasWorkflowAccess(req: StatisticsRequest.GetOne, _res: Response,... method getCounts (line 54) | async getCounts(req: StatisticsRequest.GetOne): Promise( method constructor (line 14) | constructor(message: string, hint: string | undefined = undefined) { FILE: packages/cli/src/errors/response-errors/not-implemented.error.ts class NotImplementedError (line 3) | class NotImplementedError extends ResponseError { method constructor (line 4) | constructor(message: string, hint: string | undefined = undefined) { FILE: packages/cli/src/errors/response-errors/scope-forbidden.error.ts class ScopeForbiddenError (line 3) | class ScopeForbiddenError extends ResponseError { method constructor (line 4) | constructor( FILE: packages/cli/src/errors/response-errors/service-unavailable.error.ts class ServiceUnavailableError (line 3) | class ServiceUnavailableError extends ResponseError { method constructor (line 4) | constructor(message: string, errorCode = 503) { FILE: packages/cli/src/errors/response-errors/too-many-requests.error.ts class TooManyRequestsError (line 3) | class TooManyRequestsError extends ResponseError { method constructor (line 4) | constructor(message: string, hint: string | undefined = undefined) { FILE: packages/cli/src/errors/response-errors/transfer-credential.error.ts class TransferCredentialError (line 3) | class TransferCredentialError extends ResponseError { method constructor (line 4) | constructor(message: string) { FILE: packages/cli/src/errors/response-errors/transfer-workflow.error.ts class TransferWorkflowError (line 3) | class TransferWorkflowError extends ResponseError { method constructor (line 4) | constructor(message: string) { FILE: packages/cli/src/errors/response-errors/unauthenticated.error.ts class UnauthenticatedError (line 3) | class UnauthenticatedError extends ResponseError { method constructor (line 4) | constructor(message = 'Unauthenticated', hint?: string) { FILE: packages/cli/src/errors/response-errors/unprocessable.error.ts class UnprocessableRequestError (line 3) | class UnprocessableRequestError extends ResponseError { method constructor (line 4) | constructor(message: string, hint: string | undefined = undefined) { FILE: packages/cli/src/errors/response-errors/webhook-not-found.error.ts class WebhookNotFoundError (line 35) | class WebhookNotFoundError extends NotFoundError { method constructor (line 36) | constructor( FILE: packages/cli/src/errors/response-errors/workflow-validation.error.ts class WorkflowValidationError (line 6) | class WorkflowValidationError extends BadRequestError { method constructor (line 9) | constructor(message: string) { FILE: packages/cli/src/errors/shared-workflow-not-found.error.ts class SharedWorkflowNotFoundError (line 3) | class SharedWorkflowNotFoundError extends UserError {} FILE: packages/cli/src/errors/single-webhook-trigger.error.ts class SingleWebhookTriggerError (line 3) | class SingleWebhookTriggerError extends UserError { method constructor (line 4) | constructor(triggerName: string) { FILE: packages/cli/src/errors/subworkflow-policy-denial.error.ts type Options (line 5) | type Options = { constant SUBWORKFLOW_DENIAL_BASE_DESCRIPTION (line 25) | const SUBWORKFLOW_DENIAL_BASE_DESCRIPTION = class SubworkflowPolicyDenialError (line 28) | class SubworkflowPolicyDenialError extends WorkflowOperationError { method constructor (line 29) | constructor({ FILE: packages/cli/src/errors/unknown-execution-mode.error.ts class UnknownExecutionModeError (line 3) | class UnknownExecutionModeError extends UnexpectedError { method constructor (line 4) | constructor(mode: string) { FILE: packages/cli/src/errors/variable-count-limit-reached.error.ts class VariableCountLimitReachedError (line 3) | class VariableCountLimitReachedError extends UserError {} FILE: packages/cli/src/errors/variable-validation.error.ts class VariableValidationError (line 3) | class VariableValidationError extends UnexpectedError {} FILE: packages/cli/src/errors/workflow-crashed.error.ts class WorkflowCrashedError (line 3) | class WorkflowCrashedError extends WorkflowOperationError { method constructor (line 4) | constructor() { FILE: packages/cli/src/errors/workflow-history-version-not-found.error.ts class WorkflowHistoryVersionNotFoundError (line 3) | class WorkflowHistoryVersionNotFoundError extends UnexpectedError {} FILE: packages/cli/src/errors/workflow-missing-id.error.ts class WorkflowMissingIdError (line 4) | class WorkflowMissingIdError extends UnexpectedError { method constructor (line 5) | constructor(workflow: Workflow | IWorkflowBase) { FILE: packages/cli/src/evaluation.ee/test-runner/__tests__/utils.ee.test.ts type TokenUsage (line 7) | type TokenUsage = { type JsonData (line 13) | type JsonData = { function createRunDataMock (line 19) | function createRunDataMock(nodeConfigs: Record) { FILE: packages/cli/src/evaluation.ee/test-runner/errors.ee.ts class TestCaseExecutionError (line 4) | class TestCaseExecutionError extends UnexpectedError { method constructor (line 7) | constructor(code: TestCaseExecutionErrorCode, extra: Record = {... FILE: packages/cli/src/evaluation.ee/test-runner/evaluation-metrics.ee.ts type EvaluationMetricsAddResultsInfo (line 5) | interface EvaluationMetricsAddResultsInfo { class EvaluationMetrics (line 10) | class EvaluationMetrics { method addResults (line 13) | addResults(result: IDataObject): EvaluationMetricsAddResultsInfo { method getAggregatedMetrics (line 41) | getAggregatedMetrics() { FILE: packages/cli/src/evaluation.ee/test-runner/test-run-cleanup.service.ee.ts class TestRunCleanupService (line 9) | class TestRunCleanupService { method constructor (line 10) | constructor( method cleanupIncompleteRuns (line 19) | async cleanupIncompleteRuns() { FILE: packages/cli/src/evaluation.ee/test-runner/test-runner.service.ee.ts type TestRunMetadata (line 44) | interface TestRunMetadata { type TestCaseExecutionResult (line 49) | interface TestCaseExecutionResult { class TestRunnerService (line 64) | class TestRunnerService { method constructor (line 67) | constructor( method findEvaluationTriggerNode (line 85) | private findEvaluationTriggerNode(workflow: IWorkflowBase) { method validateEvaluationTriggerNode (line 93) | private validateEvaluationTriggerNode(workflow: IWorkflowBase) { method hasModelNodeConnected (line 126) | private hasModelNodeConnected(workflow: IWorkflowBase, targetNodeName:... method validateSetMetricsNodes (line 136) | private validateSetMetricsNodes(workflow: IWorkflowBase) { method validateSetOutputsNodes (line 188) | private validateSetOutputsNodes(workflow: IWorkflowBase) { method validateWorkflowConfiguration (line 215) | private validateWorkflowConfiguration(workflow: IWorkflowBase): void { method runTestCase (line 228) | private async runTestCase( method runDatasetTrigger (line 319) | private async runDatasetTrigger(workflow: IWorkflowBase, metadata: Tes... method getEvaluationNodes (line 399) | static getEvaluationNodes( method getEvaluationMetricsNodes (line 416) | static getEvaluationMetricsNodes(workflow: IWorkflowBase) { method getEvaluationSetOutputsNodes (line 423) | static getEvaluationSetOutputsNodes(workflow: IWorkflowBase) { method extractDatasetTriggerOutput (line 430) | private extractDatasetTriggerOutput(execution: IRun, workflow: IWorkfl... method getEvaluationData (line 452) | private getEvaluationData( method extractUserDefinedMetrics (line 471) | private extractUserDefinedMetrics(execution: IRun, workflow: IWorkflow... method extractPredefinedMetrics (line 489) | private extractPredefinedMetrics(execution: IRun) { method runTest (line 505) | async runTest(user: User, workflowId: string): Promise { method canBeCancelled (line 816) | canBeCancelled(testRun: TestRun) { method cancelTestRunLocally (line 824) | private cancelTestRunLocally(testRunId: string): boolean { method handleCancelTestRunCommand (line 839) | handleCancelTestRunCommand({ testRunId }: { testRunId: string }) { method cancelTestRun (line 849) | async cancelTestRun(testRunId: string) { FILE: packages/cli/src/evaluation.ee/test-runner/utils.ee.ts type TokenUsageValues (line 9) | type TokenUsageValues = { type TokenUsageInfo (line 15) | type TokenUsageInfo = Record<`${string}__${number}` | 'total', TokenUsag... function isRlcValue (line 17) | function isRlcValue(value: NodeParameterValueType): value is INodeParame... function checkNodeParameterNotEmpty (line 23) | function checkNodeParameterNotEmpty(value: NodeParameterValueType) { function extractTokenUsage (line 35) | function extractTokenUsage(executionRunData: IRunData) { FILE: packages/cli/src/evaluation.ee/test-runs.controller.ee.ts class TestRunsController (line 16) | class TestRunsController { method constructor (line 17) | constructor( method assertUserHasAccessToWorkflow (line 25) | private async assertUserHasAccessToWorkflow(workflowId: string, user: ... method getTestRun (line 38) | private async getTestRun(testRunId: string, workflowId: string, user: ... method getMany (line 51) | async getMany(req: TestRunsRequest.GetMany) { method getOne (line 60) | async getOne(req: TestRunsRequest.GetOne) { method getTestCases (line 73) | async getTestCases(req: TestRunsRequest.GetCases) { method delete (line 82) | async delete(req: TestRunsRequest.Delete) { method cancel (line 96) | async cancel(req: TestRunsRequest.Cancel, res: express.Response) { method create (line 113) | async create(req: TestRunsRequest.Create, res: express.Response) { FILE: packages/cli/src/evaluation.ee/test-runs.types.ee.ts type WorkflowId (line 7) | type WorkflowId = { type TestRunId (line 11) | type TestRunId = { type Create (line 16) | type Create = AuthenticatedRequest; type GetMany (line 18) | type GetMany = AuthenticatedRequest { method close (line 158) | async close(): Promise { method putMessage (line 165) | putMessage(msg: EventMessageTypes): void { method confirmMessageSent (line 171) | confirmMessageSent(msgId: string, source?: EventMessageConfirmSource):... method getMessages (line 180) | async getMessages( method readLoggedMessagesFromFile (line 201) | async readLoggedMessagesFromFile( method getLogFileName (line 264) | getLogFileName(counter?: number): string { method getRecoveryInProgressFileName (line 272) | getRecoveryInProgressFileName(): string { method cleanAllLogs (line 276) | cleanAllLogs() { method getMessagesByExecutionId (line 284) | async getMessagesByExecutionId( method readFromFileByExecutionId (line 300) | async readFromFileByExecutionId( method getMessagesAll (line 337) | async getMessagesAll(): Promise { method getMessagesSent (line 341) | async getMessagesSent(): Promise { method getMessagesUnsent (line 345) | async getMessagesUnsent(): Promise { method getUnfinishedExecutions (line 349) | async getUnfinishedExecutions(): Promise { method getEventsSent (line 260) | async getEventsSent(): Promise { method getEventsUnsent (line 266) | async getEventsUnsent(): Promise { method getUnfinishedExecutions (line 272) | async getUnfinishedExecutions(): Promise {} FILE: packages/cli/src/events/events.controller.ts class EventsController (line 8) | class EventsController { method constructor (line 9) | constructor(private readonly eventService: EventService) {} method sessionStarted (line 12) | sessionStarted(req: AuthenticatedRequest) { FILE: packages/cli/src/events/maps/ai.event-map.ts type AiEventPayload (line 1) | type AiEventPayload = { type AiEventMap (line 10) | type AiEventMap = { FILE: packages/cli/src/events/maps/queue-metrics.event-map.ts type QueueMetricsEventMap (line 1) | type QueueMetricsEventMap = { FILE: packages/cli/src/events/maps/relay.event-map.ts type UserLike (line 18) | type UserLike = { type ProjectSummary (line 28) | type ProjectSummary = { type RelayEventMap (line 33) | type RelayEventMap = { FILE: packages/cli/src/events/relays/event-relay.ts class EventRelay (line 7) | class EventRelay { method constructor (line 8) | constructor(readonly eventService: EventService) {} method setupListeners (line 10) | protected setupListeners( FILE: packages/cli/src/events/relays/log-streaming.event-relay.ts type WorkflowExecutedEvent (line 12) | type WorkflowExecutedEvent = RelayEventMap['workflow-executed']; type WorkflowExecutedEventWithUser (line 13) | type WorkflowExecutedEventWithUser = WorkflowExecutedEvent & { user: Use... function hasUser (line 15) | function hasUser(event: WorkflowExecutedEvent): event is WorkflowExecute... class LogStreamingEventRelay (line 20) | class LogStreamingEventRelay extends EventRelay { method constructor (line 21) | constructor( method init (line 29) | init() { method workflowCreated (line 116) | private workflowCreated({ user, workflow }: RelayEventMap['workflow-cr... method workflowDeleted (line 128) | private workflowDeleted({ user, workflowId }: RelayEventMap['workflow-... method workflowArchived (line 136) | private workflowArchived({ user, workflowId }: RelayEventMap['workflow... method workflowUnarchived (line 144) | private workflowUnarchived({ user, workflowId }: RelayEventMap['workfl... method workflowActivated (line 152) | private workflowActivated({ user, workflowId, workflow }: RelayEventMa... method workflowDeactivated (line 165) | private workflowDeactivated({ method workflowSaved (line 183) | private workflowSaved({ user, workflow, settingsChanged }: RelayEventM... method workflowVersionUpdated (line 196) | private workflowVersionUpdated({ method workflowPreExecute (line 217) | private workflowPreExecute({ data, executionId, mode }: RelayEventMap[... method workflowPostExecute (line 243) | private workflowPostExecute(event: RelayEventMap['workflow-post-execut... method workflowExecutedWithUser (line 304) | private workflowExecutedWithUser({ method workflowExecutedWithoutUser (line 323) | private workflowExecutedWithoutUser({ method workflowExecuted (line 340) | private workflowExecuted(event: WorkflowExecutedEvent) { method nodePreExecute (line 352) | private nodePreExecute({ method nodePostExecute (line 372) | private nodePostExecute({ method userDeleted (line 397) | private userDeleted({ user }: RelayEventMap['user-deleted']) { method userInvited (line 405) | private userInvited({ user, targetUserId }: RelayEventMap['user-invite... method userReinvited (line 413) | private userReinvited({ user, targetUserId }: RelayEventMap['user-rein... method userUpdated (line 421) | private userUpdated({ user, fieldsChanged }: RelayEventMap['user-updat... method userMfaEnabled (line 429) | private userMfaEnabled({ user }: RelayEventMap['user-mfa-enabled']) { method userMfaDisabled (line 437) | private userMfaDisabled({ user, disableMethod }: RelayEventMap['user-m... method userSignedUp (line 449) | private userSignedUp({ user }: RelayEventMap['user-signed-up']) { method userLoggedIn (line 457) | private userLoggedIn({ user, authenticationMethod }: RelayEventMap['us... method userLoginFailed (line 464) | private userLoginFailed( method userInviteEmailClick (line 479) | private userInviteEmailClick(event: RelayEventMap['user-invite-email-c... method userPasswordResetEmailClick (line 487) | private userPasswordResetEmailClick({ user }: RelayEventMap['user-pass... method userPasswordResetRequestClick (line 495) | private userPasswordResetRequestClick({ method publicApiKeyCreated (line 509) | private publicApiKeyCreated({ user }: RelayEventMap['public-api-key-cr... method publicApiKeyDeleted (line 517) | private publicApiKeyDeleted({ user }: RelayEventMap['public-api-key-de... method emailFailed (line 529) | private emailFailed({ user, messageType }: RelayEventMap['email-failed... method credentialsCreated (line 541) | private credentialsCreated({ user, ...rest }: RelayEventMap['credentia... method credentialsDeleted (line 549) | private credentialsDeleted({ user, ...rest }: RelayEventMap['credentia... method credentialsShared (line 557) | private credentialsShared({ user, ...rest }: RelayEventMap['credential... method credentialsUpdated (line 565) | private credentialsUpdated({ user, ...rest }: RelayEventMap['credentia... method variableCreated (line 577) | private variableCreated({ user, ...rest }: RelayEventMap['variable-cre... method variableUpdated (line 585) | private variableUpdated({ user, ...rest }: RelayEventMap['variable-upd... method variableDeleted (line 593) | private variableDeleted({ user, ...rest }: RelayEventMap['variable-del... method externalSecretsProviderSettingsSaved (line 604) | private externalSecretsProviderSettingsSaved( method externalSecretsProviderReloaded (line 613) | private externalSecretsProviderReloaded( method externalSecretsConnectionCreated (line 622) | private externalSecretsConnectionCreated( method externalSecretsConnectionUpdated (line 631) | private externalSecretsConnectionUpdated( method externalSecretsConnectionDeleted (line 640) | private externalSecretsConnectionDeleted( method externalSecretsConnectionTested (line 649) | private externalSecretsConnectionTested( method externalSecretsConnectionReloaded (line 658) | private externalSecretsConnectionReloaded( method communityPackageInstalled (line 672) | private communityPackageInstalled({ method communityPackageUpdated (line 683) | private communityPackageUpdated({ user, ...rest }: RelayEventMap['comm... method communityPackageDeleted (line 691) | private communityPackageDeleted({ user, ...rest }: RelayEventMap['comm... method executionThrottled (line 702) | private executionThrottled({ executionId, type }: RelayEventMap['execu... method executionStartedDuringBootup (line 709) | private executionStartedDuringBootup({ method executionCancelled (line 718) | private executionCancelled({ method executionDeleted (line 736) | private executionDeleted({ method executionDataRevealed (line 752) | private executionDataRevealed({ method executionDataRevealFailure (line 767) | private executionDataRevealFailure({ method aiMessagesRetrievedFromMemory (line 794) | private aiMessagesRetrievedFromMemory( method aiMessageAddedToMemory (line 803) | private aiMessageAddedToMemory(payload: RelayEventMap['ai-message-adde... method aiOutputParsed (line 810) | private aiOutputParsed(payload: RelayEventMap['ai-output-parsed']) { method aiDocumentsRetrieved (line 817) | private aiDocumentsRetrieved(payload: RelayEventMap['ai-documents-retr... method aiDocumentEmbedded (line 824) | private aiDocumentEmbedded(payload: RelayEventMap['ai-document-embedde... method aiQueryEmbedded (line 831) | private aiQueryEmbedded(payload: RelayEventMap['ai-query-embedded']) { method aiDocumentProcessed (line 838) | private aiDocumentProcessed(payload: RelayEventMap['ai-document-proces... method aiTextSplitIntoChunks (line 845) | private aiTextSplitIntoChunks(payload: RelayEventMap['ai-text-split']) { method aiToolCalled (line 852) | private aiToolCalled(payload: RelayEventMap['ai-tool-called']) { method aiVectorStoreSearched (line 859) | private aiVectorStoreSearched(payload: RelayEventMap['ai-vector-store-... method aiLlmGeneratedOutput (line 866) | private aiLlmGeneratedOutput(payload: RelayEventMap['ai-llm-generated-... method aiLlmErrored (line 873) | private aiLlmErrored(payload: RelayEventMap['ai-llm-errored']) { method aiVectorStorePopulated (line 880) | private aiVectorStorePopulated(payload: RelayEventMap['ai-vector-store... method aiVectorStoreUpdated (line 887) | private aiVectorStoreUpdated(payload: RelayEventMap['ai-vector-store-u... method runnerTaskRequested (line 898) | private runnerTaskRequested(payload: RelayEventMap['runner-task-reques... method runnerResponseReceived (line 905) | private runnerResponseReceived(payload: RelayEventMap['runner-response... method jobEnqueued (line 916) | private jobEnqueued(payload: RelayEventMap['job-enqueued']) { method jobDequeued (line 923) | private jobDequeued(payload: RelayEventMap['job-dequeued']) { method jobStalled (line 930) | private jobStalled(payload: RelayEventMap['job-stalled']) { method instancePoliciesUpdated (line 942) | private instancePoliciesUpdated({ method tokenExchangeSucceeded (line 981) | private tokenExchangeSucceeded(event: RelayEventMap['token-exchange-su... method tokenExchangeFailed (line 988) | private tokenExchangeFailed(event: RelayEventMap['token-exchange-faile... method embedLogin (line 995) | private embedLogin(event: RelayEventMap['embed-login']) { FILE: packages/cli/src/events/relays/telemetry.event-relay.ts constant MAX_NODE_GRAPH_STRING_SIZE (line 43) | const MAX_NODE_GRAPH_STRING_SIZE = 24 * 1024; function limitNodeGraphStringSize (line 45) | function limitNodeGraphStringSize(nodeGraphString: string): string { class TelemetryEventRelay (line 52) | class TelemetryEventRelay extends EventRelay { method constructor (line 53) | constructor( method init (line 70) | async init() { method teamProjectUpdated (line 161) | private teamProjectUpdated({ method teamProjectDeleted (line 175) | private teamProjectDeleted({ method teamProjectCreated (line 191) | private teamProjectCreated({ userId, role, uiContext }: RelayEventMap[... method sourceControlSettingsUpdated (line 203) | private sourceControlSettingsUpdated({ method sourceControlUserStartedPullUi (line 219) | private sourceControlUserStartedPullUi({ method sourceControlUserFinishedPullUi (line 233) | private sourceControlUserFinishedPullUi({ method sourceControlUserPulledApi (line 243) | private sourceControlUserPulledApi({ method sourceControlUserStartedPushUi (line 253) | private sourceControlUserStartedPushUi({ method sourceControlUserFinishedPushUi (line 271) | private sourceControlUserFinishedPushUi({ method licenseRenewalAttempted (line 291) | private licenseRenewalAttempted({ success }: RelayEventMap['license-re... method licenseCommunityPlusRegistered (line 297) | private licenseCommunityPlusRegistered({ method variableCreated (line 313) | private variableCreated({ user, projectId }: RelayEventMap['variable-c... method variableUpdated (line 320) | private variableUpdated({ user, projectId }: RelayEventMap['variable-u... method variableDeleted (line 327) | private variableDeleted({ user, projectId }: RelayEventMap['variable-d... method externalSecretsProviderSettingsSaved (line 338) | private externalSecretsProviderSettingsSaved({ method externalSecretsProviderReloaded (line 354) | private externalSecretsProviderReloaded({ method externalSecretsConnectionCreated (line 362) | private externalSecretsConnectionCreated({ method externalSecretsConnectionUpdated (line 375) | private externalSecretsConnectionUpdated({ method externalSecretsConnectionDeleted (line 388) | private externalSecretsConnectionDeleted({ method publicApiInvoked (line 405) | private publicApiInvoked({ method publicApiKeyCreated (line 421) | private publicApiKeyCreated(event: RelayEventMap['public-api-key-creat... method publicApiKeyDeleted (line 430) | private publicApiKeyDeleted(event: RelayEventMap['public-api-key-delet... method communityPackageInstalled (line 443) | private communityPackageInstalled({ method communityPackageUpdated (line 467) | private communityPackageUpdated({ method communityPackageDeleted (line 487) | private communityPackageDeleted({ method credentialsCreated (line 509) | private credentialsCreated({ method credentialsShared (line 529) | private credentialsShared({ method credentialsUpdated (line 547) | private credentialsUpdated({ method credentialsDeleted (line 561) | private credentialsDeleted({ method ldapGeneralSyncFinished (line 577) | private ldapGeneralSyncFinished({ method ldapSettingsUpdated (line 591) | private ldapSettingsUpdated({ method ldapLoginSyncFailed (line 621) | private ldapLoginSyncFailed({ error }: RelayEventMap['ldap-login-sync-... method loginFailedDueToLdapDisabled (line 625) | private loginFailedDueToLdapDisabled({ method ssoUserProjectAccessUpdated (line 635) | private ssoUserProjectAccessUpdated({ method ssoUserInstanceRoleUpdated (line 647) | private ssoUserInstanceRoleUpdated({ method workflowCreated (line 658) | private workflowCreated({ method workflowArchived (line 680) | private workflowArchived({ user, workflowId, publicApi }: RelayEventMa... method workflowUnarchived (line 688) | private workflowUnarchived({ method workflowDeleted (line 700) | private workflowDeleted({ user, workflowId, publicApi }: RelayEventMap... method workflowSharingUpdated (line 708) | private workflowSharingUpdated({ method workflowSaved (line 720) | private async workflowSaved({ method workflowPostExecute (line 803) | private async workflowPostExecute({ method serverStarted (line 993) | private async serverStarted() { method getLicenseFeatures (line 1121) | private getLicenseFeatures() { method sessionStarted (line 1172) | private sessionStarted({ pushRef }: RelayEventMap['session-started']) { method instanceStopped (line 1176) | private instanceStopped() { method instanceOwnerSetup (line 1180) | private async instanceOwnerSetup({ userId }: RelayEventMap['instance-o... method firstProductionWorkflowSucceeded (line 1189) | private firstProductionWorkflowSucceeded({ method instanceFirstProductionWorkflowFailed (line 1201) | private instanceFirstProductionWorkflowFailed({ method firstWorkflowDataLoaded (line 1213) | private firstWorkflowDataLoaded({ method userChangedRole (line 1235) | private userChangedRole({ method userRetrievedUser (line 1256) | private userRetrievedUser({ userId, publicApi }: RelayEventMap['user-r... method userRetrievedAllUsers (line 1263) | private userRetrievedAllUsers({ userId, publicApi }: RelayEventMap['us... method userRetrievedExecution (line 1270) | private userRetrievedExecution({ userId, publicApi }: RelayEventMap['u... method userRetrievedAllExecutions (line 1277) | private userRetrievedAllExecutions({ method userRetrievedWorkflow (line 1287) | private userRetrievedWorkflow({ userId, publicApi }: RelayEventMap['us... method userRetrievedWorkflowVersion (line 1294) | private userRetrievedWorkflowVersion({ method userRetrievedAllWorkflows (line 1304) | private userRetrievedAllWorkflows({ method userUpdated (line 1314) | private userUpdated({ user, fieldsChanged }: RelayEventMap['user-updat... method userDeleted (line 1329) | private userDeleted({ method userInvited (line 1354) | private userInvited({ method userSignedUp (line 1370) | private userSignedUp({ user, userType, wasDisabledLdapUser }: RelayEve... method userSubmittedPersonalizationSurvey (line 1391) | private userSubmittedPersonalizationSurvey({ method emailFailed (line 1410) | private emailFailed({ user, messageType, publicApi }: RelayEventMap['e... method userTransactionalEmailSent (line 1418) | private userTransactionalEmailSent({ method detectIdentityExtractorChanges (line 1434) | private detectIdentityExtractorChanges( method hasIdentityExtractors (line 1491) | private hasIdentityExtractors(nodes: INode[]): boolean { method extractIdentityExtractorHooks (line 1506) | private extractIdentityExtractorHooks( method userInviteEmailClick (line 1521) | private userInviteEmailClick({ invitee }: RelayEventMap['user-invite-e... method userPasswordResetEmailClick (line 1527) | private userPasswordResetEmailClick({ user }: RelayEventMap['user-pass... method userPasswordResetRequestClick (line 1533) | private userPasswordResetRequestClick({ method historyCompacted (line 1543) | private historyCompacted({ method instancePoliciesUpdated (line 1574) | private instancePoliciesUpdated({ function getSemanticVersioning (line 1588) | function getSemanticVersioning(versionCli: string): { FILE: packages/cli/src/events/relays/workflow-failure-notification.event-relay.ts class WorkflowFailureNotificationEventRelay (line 14) | class WorkflowFailureNotificationEventRelay extends EventRelay { method constructor (line 15) | constructor( method init (line 24) | init() { method onFirstProductionWorkflowFailed (line 35) | private async onFirstProductionWorkflowFailed( FILE: packages/cli/src/execution-lifecycle/__tests__/restore-binary-data-id.test.ts function toIRun (line 8) | function toIRun(item?: object) { function getDataId (line 26) | function getDataId(run: IRun, kind: 'binary' | 'json') { FILE: packages/cli/src/execution-lifecycle/execute-error-workflow.ts function executeErrorWorkflow (line 22) | function executeErrorWorkflow( FILE: packages/cli/src/execution-lifecycle/execution-lifecycle-hooks.ts class ModulesHooksRegistry (line 48) | @Service() method addHooks (line 50) | addHooks(hooks: ExecutionLifecycleHooks) { type HooksSetupParameters (line 131) | type HooksSetupParameters = { function hookFunctionsWorkflowEvents (line 138) | function hookFunctionsWorkflowEvents(hooks: ExecutionLifecycleHooks, use... function hookFunctionsNodeEvents (line 161) | function hookFunctionsNodeEvents(hooks: ExecutionLifecycleHooks) { function buildRedactableExecution (line 193) | function buildRedactableExecution( function hookFunctionsPush (line 216) | function hookFunctionsPush( function hookFunctionsExternalHooks (line 404) | function hookFunctionsExternalHooks(hooks: ExecutionLifecycleHooks) { function hookFunctionsSaveProgress (line 418) | function hookFunctionsSaveProgress( function hookFunctionsFinalizeExecutionStatus (line 435) | function hookFunctionsFinalizeExecutionStatus(hooks: ExecutionLifecycleH... function hookFunctionsStatistics (line 441) | function hookFunctionsStatistics(hooks: ExecutionLifecycleHooks) { function duplicateBinaryDataToParent (line 454) | async function duplicateBinaryDataToParent( function hookFunctionsSave (line 473) | function hookFunctionsSave( function hookFunctionsSaveWorker (line 589) | function hookFunctionsSaveWorker( function getLifecycleHooksForSubExecutions (line 658) | function getLifecycleHooksForSubExecutions( function getLifecycleHooksForScalingWorker (line 680) | function getLifecycleHooksForScalingWorker( function getLifecycleHooksForScalingMain (line 712) | function getLifecycleHooksForScalingMain( function getLifecycleHooksForRegularMain (line 787) | function getLifecycleHooksForRegularMain( FILE: packages/cli/src/execution-lifecycle/restore-binary-data-id.ts function restoreBinaryDataId (line 23) | async function restoreBinaryDataId( FILE: packages/cli/src/execution-lifecycle/save-execution-progress.ts function saveExecutionProgress (line 7) | async function saveExecutionProgress( FILE: packages/cli/src/execution-lifecycle/shared/shared-hook-functions.ts function determineFinalExecutionStatus (line 12) | function determineFinalExecutionStatus(runData: IRun): ExecutionStatus { function prepareExecutionDataForDbUpdate (line 28) | function prepareExecutionDataForDbUpdate(parameters: { function updateExistingExecutionMetadata (line 76) | async function updateExistingExecutionMetadata( function updateExistingExecution (line 92) | async function updateExistingExecution(parameters: { FILE: packages/cli/src/execution-lifecycle/to-save-settings.ts type ExecutionSaveSettings (line 5) | type ExecutionSaveSettings = { function toSaveSettings (line 20) | function toSaveSettings( FILE: packages/cli/src/executions/__tests__/constants.ts constant OOM_WORKFLOW (line 7) | const OOM_WORKFLOW: Partial = { constant IN_PROGRESS_EXECUTION_DATA (line 48) | const IN_PROGRESS_EXECUTION_DATA = { FILE: packages/cli/src/executions/execution-data/__tests__/db-store.integration.test.ts function createExecution (line 14) | async function createExecution() { FILE: packages/cli/src/executions/execution-data/constants.ts constant EXECUTION_DATA_BUNDLE_VERSION (line 2) | const EXECUTION_DATA_BUNDLE_VERSION = 1; constant EXECUTION_DATA_BUNDLE_FILENAME (line 5) | const EXECUTION_DATA_BUNDLE_FILENAME = 'bundle.json'; FILE: packages/cli/src/executions/execution-data/corrupted-execution-data.error.ts class CorruptedExecutionDataError (line 9) | class CorruptedExecutionDataError extends UnexpectedError { method constructor (line 10) | constructor(ref: ExecutionRef, cause: unknown) { FILE: packages/cli/src/executions/execution-data/db-store.ts class DbStore (line 13) | class DbStore implements ExecutionDataStore { method constructor (line 14) | constructor(private readonly repository: ExecutionDataRepository) {} method write (line 16) | async write({ executionId }: ExecutionRef, payload: ExecutionDataPaylo... method read (line 20) | async read({ executionId }: ExecutionRef): Promise) { method recoverFromLogs (line 98) | async recoverFromLogs(executionId: string, messages: EventMessageTypes... method amend (line 128) | private async amend(executionId: string, messages: EventMessageTypes[]) { method amendWithoutLogs (line 203) | private async amendWithoutLogs(executionId: string) { method toRelevantMessages (line 218) | private toRelevantMessages(messages: EventMessageTypes[]) { method toStoppedAt (line 236) | private toStoppedAt(timestamp: DateTime | undefined, messages: EventMe... method runHooks (line 251) | private async runHooks(execution: IExecutionResponse) { method getAutodeactivationRecipient (line 280) | private async getAutodeactivationRecipient(workflow: WorkflowEntity): ... FILE: packages/cli/src/executions/execution-redaction-proxy.service.ts class ExecutionRedactionServiceProxy (line 10) | class ExecutionRedactionServiceProxy implements ExecutionRedaction { method setExecutionRedaction (line 13) | setExecutionRedaction(executionRedaction: ExecutionRedaction) { method processExecution (line 17) | async processExecution( method processExecutions (line 27) | async processExecutions( FILE: packages/cli/src/executions/execution-redaction.ts type ExecutionRedactionOptions (line 5) | type ExecutionRedactionOptions = { type ExecutionRedaction (line 15) | interface ExecutionRedaction { type RedactableExecution (line 35) | type RedactableExecution = { FILE: packages/cli/src/executions/execution.service.ee.ts class EnterpriseExecutionsService (line 12) | class EnterpriseExecutionsService { method constructor (line 13) | constructor( method findOne (line 19) | async findOne( FILE: packages/cli/src/executions/execution.service.ts class ExecutionService (line 107) | class ExecutionService { method constructor (line 108) | constructor( method findOne (line 128) | async findOne( method getLastSuccessfulExecution (line 170) | async getLastSuccessfulExecution( method retry (line 201) | async retry( method delete (line 359) | async delete(req: ExecutionRequest.Delete, sharedWorkflowIds: string[]) { method createErrorExecution (line 398) | async createErrorExecution( method findRangeWithCount (line 435) | async findRangeWithCount(query: ExecutionSummaries.RangeQuery) { method findLatestCurrentAndCompleted (line 455) | async findLatestCurrentAndCompleted(query: ExecutionSummaries.RangeQue... method getConcurrentExecutionsCount (line 494) | async getConcurrentExecutionsCount() { method isConcurrentExecutionsCountSupported (line 502) | private isConcurrentExecutionsCountSupported(): boolean { method getExecutionsCountForQuery (line 519) | private async getExecutionsCountForQuery(countQuery: ExecutionSummarie... method findAllEnqueuedExecutions (line 536) | async findAllEnqueuedExecutions() { method stop (line 547) | async stop(executionId: string, sharedWorkflowIds: string[]): Promise<... method stopMany (line 580) | async stopMany(query: ExecutionSummaries.StopExecutionFilterQuery, sha... method assertStoppable (line 601) | private assertStoppable(execution: IExecutionResponse) { method stopInRegularMode (line 611) | private async stopInRegularMode(execution: IExecutionResponse) { method stopInScalingMode (line 631) | private async stopInScalingMode(execution: IExecutionResponse) { method addScopes (line 646) | async addScopes(user: User, summaries: ExecutionSummaries.ExecutionSum... method annotate (line 658) | async annotate( method getExecutedVersions (line 696) | async getExecutedVersions( FILE: packages/cli/src/executions/execution.types.ts type GetMany (line 11) | type GetMany = { type DeleteFilter (line 20) | type DeleteFilter = { type StopMany (line 26) | type StopMany = { type ExecutionId (line 32) | type ExecutionId = { type ExecutionUpdatePayload (line 37) | type ExecutionUpdatePayload = { type GetMany (line 42) | type GetMany = AuthenticatedRequest<{}, {}, {}, QueryParams.GetMany> & { type GetOne (line 46) | type GetOne = AuthenticatedRequest; type GetVersions (line 48) | type GetVersions = AuthenticatedRequest<{ workflowId: string }>; type Delete (line 50) | type Delete = AuthenticatedRequest<{}, {}, BodyParams.DeleteFilter>; type Retry (line 52) | type Retry = AuthenticatedRequest; type StopMany (line 55) | type StopMany = AuthenticatedRequest<{}, {}, BodyParams.StopMany>; type Update (line 57) | type Update = AuthenticatedRequest | null { FILE: packages/cli/src/executions/pre-execution-checks/subworkflow-policy-checker.ts type Policy (line 12) | type Policy = WorkflowSettings.CallerPolicy; type DenialPolicy (line 13) | type DenialPolicy = Exclude; class SubworkflowPolicyChecker (line 16) | class SubworkflowPolicyChecker { method constructor (line 17) | constructor( method check (line 28) | async check(subworkflow: Workflow, parentWorkflowId: string, node?: IN... method errorDetails (line 61) | private async errorDetails(subworkflowProject: Project, subworkflow: W... method findPolicy (line 79) | private findPolicy(subworkflow: Workflow): WorkflowSettings.CallerPoli... method findProjects (line 88) | private async findProjects({ method isListed (line 106) | private isListed(subworkflow: Workflow, parentWorkflowId: string) { method logDenial (line 122) | private logDenial({ FILE: packages/cli/src/executions/validation.ts function validateExecutionUpdatePayload (line 11) | function validateExecutionUpdatePayload( FILE: packages/cli/src/external-hooks.ts type Repositories (line 21) | type Repositories = { type ExternalHooksMap (line 28) | type ExternalHooksMap = { type HookNames (line 85) | type HookNames = keyof ExternalHooksMap; type IExternalHooksFileData (line 88) | interface IExternalHooksFileData { class ExternalHooks (line 95) | class ExternalHooks { method constructor (line 102) | constructor( method init (line 119) | async init() { method loadHooks (line 139) | private loadHooks(hookFileData: IExternalHooksFileData) { method hasHook (line 150) | hasHook(hookName: HookName): boolean { method run (line 154) | async run( FILE: packages/cli/src/generic-helpers.ts function validateEntity (line 13) | async function validateEntity( constant DEFAULT_EXECUTIONS_GET_ALL_LIMIT (line 37) | const DEFAULT_EXECUTIONS_GET_ALL_LIMIT = 20; FILE: packages/cli/src/interfaces.ts type ICredentialsTypeData (line 31) | interface ICredentialsTypeData { type ICredentialsOverwrite (line 35) | interface ICredentialsOverwrite { type ITagToImport (line 43) | interface ITagToImport extends ITagBase { type IWorkflowResponse (line 52) | interface IWorkflowResponse extends IWorkflowBase { type IWorkflowVersionMetadata (line 56) | interface IWorkflowVersionMetadata { type IWorkflowToImport (line 63) | interface IWorkflowToImport type IWorkflowWithVersionMetadata (line 82) | type IWorkflowWithVersionMetadata = IWorkflowDb & IWorkflowVersionMetadata; type ICredentialsDecryptedDb (line 88) | type ICredentialsDecryptedDb = ICredentialsBase & ICredentialsDecrypted; type ICredentialsDecryptedResponse (line 90) | type ICredentialsDecryptedResponse = ICredentialsDecryptedDb; type SaveExecutionDataType (line 92) | type SaveExecutionDataType = 'all' | 'none'; type UpdateExecutionPayload (line 95) | type UpdateExecutionPayload = Omit { FILE: packages/cli/src/license.ts constant LICENSE_RENEWAL_DISABLED_WARNING (line 24) | const LICENSE_RENEWAL_DISABLED_WARNING = type FeatureReturnType (line 27) | type FeatureReturnType = Partial< type LicenseRefreshCallback (line 33) | type LicenseRefreshCallback = (cert: string) => void; class License (line 36) | class License implements LicenseProvider { method constructor (line 43) | constructor( method init (line 53) | async init({ method loadCertStr (line 131) | async loadCertStr(): Promise { method onFeatureChange (line 146) | private async onFeatureChange() { method onLicenseRenewed (line 151) | private async onLicenseRenewed() { method broadcastReloadLicenseCommand (line 156) | private async broadcastReloadLicenseCommand() { method saveCertStr (line 163) | async saveCertStr(value: TLicenseBlock): Promise { method onCertRefresh (line 180) | onCertRefresh(refreshCallback: LicenseRefreshCallback): () => void { method notifyRefreshCallbacks (line 190) | private async notifyRefreshCallbacks(): Promise { method activate (line 203) | async activate(activationKey: string, eulaUri?: string, userEmail?: st... method reload (line 213) | async reload(): Promise { method renew (line 222) | async renew() { method clear (line 231) | async clear() { method shutdown (line 241) | async shutdown() { method isLicensed (line 254) | isLicensed(feature: BooleanLicenseFeature) { method isDynamicCredentialsEnabled (line 259) | isDynamicCredentialsEnabled() { method isSharingEnabled (line 264) | isSharingEnabled() { method isLogStreamingEnabled (line 269) | isLogStreamingEnabled() { method isLdapEnabled (line 274) | isLdapEnabled() { method isSamlEnabled (line 279) | isSamlEnabled() { method isAiAssistantEnabled (line 284) | isAiAssistantEnabled() { method isAskAiEnabled (line 289) | isAskAiEnabled() { method isAiCreditsEnabled (line 294) | isAiCreditsEnabled() { method isAdvancedExecutionFiltersEnabled (line 299) | isAdvancedExecutionFiltersEnabled() { method isAdvancedPermissionsLicensed (line 304) | isAdvancedPermissionsLicensed() { method isDebugInEditorLicensed (line 309) | isDebugInEditorLicensed() { method isBinaryDataS3Licensed (line 314) | isBinaryDataS3Licensed() { method isMultiMainLicensed (line 319) | isMultiMainLicensed() { method isVariablesEnabled (line 324) | isVariablesEnabled() { method isSourceControlLicensed (line 329) | isSourceControlLicensed() { method isExternalSecretsEnabled (line 334) | isExternalSecretsEnabled() { method isAPIDisabled (line 339) | isAPIDisabled() { method isWorkerViewLicensed (line 344) | isWorkerViewLicensed() { method isProjectRoleAdminLicensed (line 349) | isProjectRoleAdminLicensed() { method isProjectRoleEditorLicensed (line 354) | isProjectRoleEditorLicensed() { method isProjectRoleViewerLicensed (line 359) | isProjectRoleViewerLicensed() { method isCustomNpmRegistryEnabled (line 364) | isCustomNpmRegistryEnabled() { method isFoldersEnabled (line 369) | isFoldersEnabled() { method getCurrentEntitlements (line 373) | getCurrentEntitlements() { method getValue (line 377) | getValue(feature: T): FeatureReturn... method getManagementJwt (line 381) | getManagementJwt(): string { method getMainPlan (line 391) | getMainPlan(): TEntitlement | undefined { method getConsumerId (line 408) | getConsumerId() { method getUsersLimit (line 415) | getUsersLimit() { method getTriggerLimit (line 420) | getTriggerLimit() { method getVariablesLimit (line 425) | getVariablesLimit() { method getAiCredits (line 430) | getAiCredits() { method getWorkflowHistoryPruneLimit (line 435) | getWorkflowHistoryPruneLimit() { method getTeamProjectLimit (line 443) | getTeamProjectLimit() { method getPlanName (line 447) | getPlanName(): string { method getExpiryDate (line 451) | getExpiryDate(): Date | null { method getTerminationDate (line 459) | getTerminationDate(): Date | null { method getExpiringInDays (line 467) | getExpiringInDays(): number | undefined { method getTerminatingInDays (line 482) | getTerminatingInDays(): number | undefined { method getInfo (line 497) | getInfo(): string { method isWithinUsersLimit (line 506) | isWithinUsersLimit() { method enableAutoRenewals (line 511) | enableAutoRenewals() { method disableAutoRenewals (line 516) | disableAutoRenewals() { method onExpirySoon (line 520) | private onExpirySoon() { FILE: packages/cli/src/license/__tests__/license.service.test.ts class LicenseError (line 38) | class LicenseError extends Error { method constructor (line 39) | constructor(readonly errorId: string) { FILE: packages/cli/src/license/license.controller.ts class LicenseController (line 14) | class LicenseController { method constructor (line 15) | constructor( method getLicenseData (line 22) | async getLicenseData() { method requestEnterpriseTrial (line 28) | async requestEnterpriseTrial(req: AuthenticatedRequest) { method registerCommunityEdition (line 44) | async registerCommunityEdition( method activateLicense (line 60) | async activateLicense(req: LicenseRequest.Activate) { method renewLicense (line 72) | async renewLicense() { method getTokenAndData (line 77) | private async getTokenAndData() { FILE: packages/cli/src/license/license.service.ts class LicenseService (line 24) | class LicenseService { method constructor (line 25) | constructor( method getLicenseData (line 34) | async getLicenseData() { method requestEnterpriseTrial (line 59) | async requestEnterpriseTrial(user: User) { method registerCommunityEdition (line 69) | async registerCommunityEdition({ method getManagementJwt (line 108) | getManagementJwt(): string { method activateLicense (line 116) | async activateLicense( method isEulaRequiredError (line 142) | private isEulaRequiredError( method renewLicense (line 160) | async renewLicense() { method mapErrorMessage (line 175) | private mapErrorMessage(error: Error, action: 'activate' | 'renew') { method isLicenseError (line 189) | private isLicenseError(error: Error): error is Error & { errorId: stri... FILE: packages/cli/src/load-nodes-and-credentials.ts class LoadNodesAndCredentials (line 39) | class LoadNodesAndCredentials { method constructor (line 57) | constructor( method init (line 66) | async init() { method addPostProcessor (line 113) | addPostProcessor(fn: () => Promise) { method releaseTypes (line 117) | releaseTypes() { method collectTypes (line 133) | async collectTypes(): Promise { method isKnownNode (line 148) | isKnownNode(type: string) { method loadedCredentials (line 152) | get loadedCredentials() { method loadedNodes (line 156) | get loadedNodes() { method knownCredentials (line 160) | get knownCredentials() { method knownNodes (line 164) | get knownNodes() { method loadNodesFromNodeModules (line 168) | private async loadNodesFromNodeModules( method resolveIcon (line 215) | resolveIcon(packageName: string, url: string): string | undefined { method resolveSchema (line 238) | resolveSchema({ method getCustomDirectories (line 261) | getCustomDirectories(): string[] { method loadNodesFromCustomDirectories (line 272) | private async loadNodesFromCustomDirectories(): Promise { method loadPackage (line 278) | async loadPackage(packageName: string) { method unloadPackage (line 287) | async unloadPackage(packageName: string) { method supportsProxyAuth (line 298) | private supportsProxyAuth(description: INodeTypeDescription) { method injectCustomApiCallOptions (line 324) | private injectCustomApiCallOptions() { method shouldInjectContextEstablishmentHooks (line 348) | private shouldInjectContextEstablishmentHooks() { method injectContextEstablishmentHooks (line 352) | private injectContextEstablishmentHooks() { method runDirectoryLoader (line 483) | private async runDirectoryLoader( method postProcessLoaders (line 500) | async postProcessLoaders() { method recognizesNode (line 593) | recognizesNode(fullNodeType: string): boolean { method getNode (line 600) | getNode(fullNodeType: string): LoadedClass { method setupHotReload (line 634) | async setupHotReload() { method shouldAddDomainRestrictions (line 718) | private shouldAddDomainRestrictions( method injectDomainRestrictionFields (line 734) | private injectDomainRestrictionFields(properties: INodeProperties[]): ... FILE: packages/cli/src/manual-execution.service.ts class ManualExecutionService (line 26) | class ManualExecutionService { method constructor (line 27) | constructor(private readonly logger: Logger) {} method getExecutionStartNode (line 29) | getExecutionStartNode(data: IWorkflowExecutionDataProcess, workflow: W... method runManually (line 49) | runManually( FILE: packages/cli/src/metrics/license-metrics.service.ts class LicenseMetricsService (line 5) | class LicenseMetricsService { method constructor (line 6) | constructor( method collectUsageMetrics (line 11) | async collectUsageMetrics() { method collectPassthroughData (line 42) | async collectPassthroughData() { FILE: packages/cli/src/metrics/prometheus-metrics.service.ts class PrometheusMetricsService (line 25) | class PrometheusMetricsService { method constructor (line 26) | constructor( method init (line 66) | async init(app: express.Application) { method enableMetric (line 82) | enableMetric(metric: MetricCategory) { method disableMetric (line 86) | disableMetric(metric: MetricCategory) { method disableAllMetrics (line 90) | disableAllMetrics() { method enableLabels (line 96) | enableLabels(labels: MetricLabel[]) { method disableAllLabels (line 102) | disableAllLabels() { method initN8nVersionMetric (line 111) | private initN8nVersionMetric() { method initInstanceRoleMetric (line 127) | private initInstanceRoleMetric() { method updateOnLeaderTakeover (line 137) | updateOnLeaderTakeover() { method updateOnLeaderStepdown (line 142) | updateOnLeaderStepdown() { method initDefaultMetrics (line 150) | private initDefaultMetrics() { method initPssMetric (line 164) | private initPssMetric() { method initRouteMetrics (line 200) | private initRouteMetrics(app: express.Application) { method mountMetricsEndpoint (line 238) | private mountMetricsEndpoint(app: express.Application) { method initCacheMetrics (line 250) | private initCacheMetrics() { method toCounter (line 272) | private toCounter(event: EventMessageTypes) { method initEventBusMetrics (line 296) | private initEventBusMetrics() { method initQueueMetrics (line 308) | private initQueueMetrics() { method initWorkflowExecutionDurationMetric (line 357) | private initWorkflowExecutionDurationMetric() { method initActiveWorkflowCountMetric (line 396) | private initActiveWorkflowCountMetric() { method toLabels (line 422) | private toLabels(event: EventMessageTypes): Record { method buildWorkflowLabels (line 460) | private buildWorkflowLabels(payload: any): Record { method getWorkflowStatistics (line 483) | private async getWorkflowStatistics( method createWorkflowStatisticsGauge (line 531) | private createWorkflowStatisticsGauge( method initWorkflowStatisticsMetrics (line 562) | private initWorkflowStatisticsMetrics() { FILE: packages/cli/src/metrics/types.ts type MetricCategory (line 1) | type MetricCategory = type MetricLabel (line 10) | type MetricLabel = type Includes (line 19) | type Includes = { FILE: packages/cli/src/mfa/constants.ts constant MFA_FEATURE_ENABLED (line 1) | const MFA_FEATURE_ENABLED = 'mfa.enabled'; constant MFA_ENFORCE_SETTING (line 2) | const MFA_ENFORCE_SETTING = 'mfa.enforced'; FILE: packages/cli/src/mfa/mfa.service.ts constant MFA_CACHE_KEY (line 14) | const MFA_CACHE_KEY = 'mfa:enforce'; class MfaService (line 16) | class MfaService { method constructor (line 17) | constructor( method init (line 27) | async init() { method generateRecoveryCodes (line 35) | generateRecoveryCodes(n = 10) { method loadMFASettings (line 39) | private async loadMFASettings() { method enforceMFA (line 45) | async enforceMFA(value: boolean) { method isMFAEnforced (line 60) | async isMFAEnforced() { method saveSecretAndRecoveryCodes (line 68) | async saveSecretAndRecoveryCodes(userId: string, secret: string, recov... method encryptSecretAndRecoveryCodes (line 80) | encryptSecretAndRecoveryCodes(rawSecret: string, rawRecoveryCodes: str... method decryptSecretAndRecoveryCodes (line 89) | private decryptSecretAndRecoveryCodes(mfaSecret: string, mfaRecoveryCo... method getSecretAndRecoveryCodes (line 96) | async getSecretAndRecoveryCodes(userId: string) { method validateMfa (line 103) | async validateMfa( method enableMfa (line 128) | async enableMfa(userId: string) { method disableMfaWithMfaCode (line 137) | async disableMfaWithMfaCode(userId: string, mfaCode: string) { method disableMfaWithRecoveryCode (line 147) | async disableMfaWithRecoveryCode(userId: string, recoveryCode: string) { method disableMfaForUser (line 157) | private async disableMfaForUser(userId: string) { FILE: packages/cli/src/mfa/totp.service.ts class TOTPService (line 5) | class TOTPService { method generateSecret (line 6) | generateSecret(): string { method generateTOTPUri (line 10) | generateTOTPUri({ method verifySecret (line 26) | verifySecret({ method generateTOTP (line 38) | generateTOTP(secret: string) { FILE: packages/cli/src/middlewares/jitter.ts type JitterOptions (line 3) | interface JitterOptions { FILE: packages/cli/src/middlewares/list-query/dtos/base.filter.dto.ts class BaseFilter (line 6) | class BaseFilter { method toFilter (line 7) | protected static async toFilter(rawFilter: string, Filter: typeof Base... method validate (line 23) | private async validate() { FILE: packages/cli/src/middlewares/list-query/dtos/base.select.dto.ts class BaseSelect (line 4) | class BaseSelect { method toSelect (line 7) | protected static toSelect(rawFilter: string, Select: typeof BaseSelect) { FILE: packages/cli/src/middlewares/list-query/dtos/credentials.filter.dto.ts class CredentialsFilter (line 6) | class CredentialsFilter extends BaseFilter { method fromString (line 22) | static async fromString(rawFilter: string) { FILE: packages/cli/src/middlewares/list-query/dtos/credentials.select.dto.ts class CredentialsSelect (line 3) | class CredentialsSelect extends BaseSelect { method selectableFields (line 4) | static get selectableFields() { method fromString (line 12) | static fromString(rawFilter: string) { FILE: packages/cli/src/middlewares/list-query/dtos/pagination.dto.ts class Pagination (line 5) | class Pagination { method fromString (line 6) | static fromString(rawTake: string, rawSkip: string) { FILE: packages/cli/src/middlewares/list-query/dtos/user.filter.dto.ts class UserFilter (line 6) | class UserFilter extends BaseFilter { method fromString (line 27) | static async fromString(rawFilter: string) { FILE: packages/cli/src/middlewares/list-query/dtos/user.select.dto.ts class UserSelect (line 3) | class UserSelect extends BaseSelect { method selectableFields (line 4) | static get selectableFields() { method fromString (line 8) | static fromString(rawFilter: string) { FILE: packages/cli/src/middlewares/list-query/dtos/workflow.filter.dto.ts class WorkflowFilter (line 6) | class WorkflowFilter extends BaseFilter { method fromString (line 55) | static async fromString(rawFilter: string) { FILE: packages/cli/src/middlewares/list-query/dtos/workflow.select.dto.ts class WorkflowSelect (line 3) | class WorkflowSelect extends BaseSelect { method selectableFields (line 4) | static get selectableFields() { method fromString (line 22) | static fromString(rawFilter: string) { FILE: packages/cli/src/middlewares/list-query/dtos/workflow.sort-by.dto.ts class WorkflowSortByParameter (line 5) | class WorkflowSortByParameter implements ValidatorConstraintInterface { method validate (line 6) | validate(text: string, _: ValidationArguments) { method defaultMessage (line 13) | defaultMessage(_: ValidationArguments) { class WorkflowSorting (line 18) | class WorkflowSorting { FILE: packages/cli/src/middlewares/list-query/index.ts type ListQueryMiddleware (line 10) | type ListQueryMiddleware = ( FILE: packages/cli/src/modules/breaking-changes/breaking-changes.controller.ts class BreakingChangesController (line 16) | class BreakingChangesController { method constructor (line 17) | constructor(private readonly service: BreakingChangeService) {} method getLightDetectionResults (line 19) | private getLightDetectionResults( method getDetectionReport (line 36) | async getDetectionReport( method refreshCache (line 48) | async refreshCache( method getDetectionReportForRule (line 63) | async getDetectionReportForRule( FILE: packages/cli/src/modules/breaking-changes/breaking-changes.module.ts class BreakingChangesModule (line 7) | class BreakingChangesModule implements ModuleInterface { method init (line 8) | async init() { FILE: packages/cli/src/modules/breaking-changes/breaking-changes.rule-registry.service.ts class RuleRegistry (line 7) | class RuleRegistry { method constructor (line 10) | constructor(private readonly logger: Logger) { method register (line 14) | register(rule: IBreakingChangeRule): void { method registerAll (line 22) | registerAll(rules: IBreakingChangeRule[]): void { method getRule (line 26) | getRule(id: string): IBreakingChangeRule | undefined { method getRules (line 30) | getRules(version?: string): IBreakingChangeRule[] { FILE: packages/cli/src/modules/breaking-changes/breaking-changes.service.ts type WorkflowMetadata (line 28) | interface WorkflowMetadata { class BreakingChangeService (line 37) | class BreakingChangeService { method constructor (line 46) | constructor( method registerRules (line 57) | registerRules() { method getAllInstanceRulesResults (line 65) | async getAllInstanceRulesResults( method groupNodesByType (line 91) | private groupNodesByType(nodes: INode[]): Map { method aggregateRegularRuleResults (line 102) | private async aggregateRegularRuleResults( method aggregateBatchRuleResults (line 126) | private async aggregateBatchRuleResults( method getAllWorkflowRulesResults (line 174) | private async getAllWorkflowRulesResults( method refreshDetectionResults (line 267) | async refreshDetectionResults( method getDetectionResults (line 274) | async getDetectionResults( method shouldCacheDetection (line 318) | private shouldCacheDetection(durationMs: number): boolean { method detect (line 322) | async detect(targetVersion: BreakingChangeVersion): Promise { FILE: packages/cli/src/modules/breaking-changes/rules/v2/cli-replace-update-workflow-command.rule.ts class CliActivateAllWorkflowsRule (line 11) | class CliActivateAllWorkflowsRule implements IBreakingChangeInstanceRule { method getMetadata (line 14) | getMetadata(): BreakingChangeRuleMetadata { method detect (line 27) | async detect(): Promise { FILE: packages/cli/src/modules/breaking-changes/rules/v2/disabled-nodes.rule.ts class DisabledNodesRule (line 14) | class DisabledNodesRule implements IBreakingChangeWorkflowRule { method getMetadata (line 22) | getMetadata(): BreakingChangeRuleMetadata { method getRecommendations (line 35) | async getRecommendations( method detectWorkflow (line 52) | async detectWorkflow( FILE: packages/cli/src/modules/breaking-changes/rules/v2/dotenv-upgrade.rule.ts class DotenvUpgradeRule (line 14) | class DotenvUpgradeRule implements IBreakingChangeInstanceRule { method getMetadata (line 16) | getMetadata(): BreakingChangeRuleMetadata { method fileExists (line 28) | private async fileExists(path: string): Promise { method detect (line 37) | async detect(): Promise { FILE: packages/cli/src/modules/breaking-changes/rules/v2/file-access.rule.ts class FileAccessRule (line 14) | class FileAccessRule implements IBreakingChangeWorkflowRule { method getMetadata (line 19) | getMetadata(): BreakingChangeRuleMetadata { method getRecommendations (line 31) | async getRecommendations( method detectWorkflow (line 43) | async detectWorkflow( FILE: packages/cli/src/modules/breaking-changes/rules/v2/oauth-callback-auth.rule.ts class OAuthCallbackAuthRule (line 10) | class OAuthCallbackAuthRule implements IBreakingChangeInstanceRule { method getMetadata (line 13) | getMetadata(): BreakingChangeRuleMetadata { method detect (line 26) | async detect(): Promise { FILE: packages/cli/src/modules/breaking-changes/rules/v2/process-env-access.rule.ts class ProcessEnvAccessRule (line 14) | class ProcessEnvAccessRule implements IBreakingChangeWorkflowRule { method getMetadata (line 16) | getMetadata(): BreakingChangeRuleMetadata { method detectWorkflow (line 28) | async detectWorkflow( method getRecommendations (line 77) | async getRecommendations(): Promise { FILE: packages/cli/src/modules/breaking-changes/rules/v2/pyodide-removed.rule.ts class PyodideRemovedRule (line 14) | class PyodideRemovedRule implements IBreakingChangeWorkflowRule { method getMetadata (line 17) | getMetadata(): BreakingChangeRuleMetadata { method getRecommendations (line 30) | async getRecommendations( method detectWorkflow (line 52) | async detectWorkflow( FILE: packages/cli/src/modules/breaking-changes/rules/v2/queue-worker-max-stalled-count.rule.ts class QueueWorkerMaxStalledCountRule (line 10) | class QueueWorkerMaxStalledCountRule implements IBreakingChangeInstanceR... method getMetadata (line 13) | getMetadata(): BreakingChangeRuleMetadata { method detect (line 26) | async detect(): Promise { FILE: packages/cli/src/modules/breaking-changes/rules/v2/removed-nodes.rule.ts class RemovedNodesRule (line 14) | class RemovedNodesRule implements IBreakingChangeWorkflowRule { method getMetadata (line 23) | getMetadata(): BreakingChangeRuleMetadata { method getRecommendations (line 35) | async getRecommendations( method detectWorkflow (line 46) | async detectWorkflow( FILE: packages/cli/src/modules/breaking-changes/rules/v2/settings-file-permissions.rule.ts class SettingsFilePermissionsRule (line 12) | class SettingsFilePermissionsRule implements IBreakingChangeInstanceRule { method constructor (line 13) | constructor(private readonly globalConfig: GlobalConfig) {} method getMetadata (line 17) | getMetadata(): BreakingChangeRuleMetadata { method detect (line 30) | async detect(): Promise { FILE: packages/cli/src/modules/breaking-changes/rules/v2/start-node-removed.rule.ts class StartNodeRemovedRule (line 14) | class StartNodeRemovedRule implements IBreakingChangeWorkflowRule { method getMetadata (line 19) | getMetadata(): BreakingChangeRuleMetadata { method getRecommendations (line 30) | async getRecommendations( method detectWorkflow (line 51) | async detectWorkflow( FILE: packages/cli/src/modules/breaking-changes/rules/v2/task-runner-docker-image.rule.ts class TaskRunnerDockerImageRule (line 12) | class TaskRunnerDockerImageRule implements IBreakingChangeInstanceRule { method constructor (line 13) | constructor(private readonly globalConfig: GlobalConfig) {} method getMetadata (line 17) | getMetadata(): BreakingChangeRuleMetadata { method detect (line 30) | async detect(): Promise { FILE: packages/cli/src/modules/breaking-changes/rules/v2/tunnel-option.rule.ts class TunnelOptionRule (line 10) | class TunnelOptionRule implements IBreakingChangeInstanceRule { method getMetadata (line 13) | getMetadata(): BreakingChangeRuleMetadata { method detect (line 24) | async detect(): Promise { FILE: packages/cli/src/modules/breaking-changes/rules/v2/wait-node-subworkflow.rule.ts type ParentWorkflowInfo (line 18) | interface ParentWorkflowInfo { class WaitNodeSubworkflowRule (line 25) | class WaitNodeSubworkflowRule implements IBreakingChangeBatchWorkflowRule { method getMetadata (line 65) | getMetadata(): BreakingChangeRuleMetadata { method getRecommendations (line 78) | async getRecommendations( method reset (line 95) | reset(): void { method collectWorkflowData (line 100) | async collectWorkflowData( method produceReport (line 136) | async produceReport(): Promise { method findWaitingNodes (line 182) | private findWaitingNodes(nodesGroupedByType: Map): IN... method extractCalledWorkflowId (line 202) | protected extractCalledWorkflowId(node: INode, callerWorkflowId: strin... method isWorkflowItselfExpression (line 237) | private isWorkflowItselfExpression(workflowIdExpression: string): bool... FILE: packages/cli/src/modules/breaking-changes/rules/v2/workflow-hooks-deprecated.rule.ts class WorkflowHooksDeprecatedRule (line 10) | class WorkflowHooksDeprecatedRule implements IBreakingChangeInstanceRule { method getMetadata (line 13) | getMetadata(): BreakingChangeRuleMetadata { method detect (line 26) | async detect(): Promise { FILE: packages/cli/src/modules/breaking-changes/types/detection.types.ts type WorkflowDetectionReport (line 7) | interface WorkflowDetectionReport { type InstanceDetectionReport (line 12) | interface InstanceDetectionReport { type BatchWorkflowDetectionReport (line 22) | interface BatchWorkflowDetectionReport { FILE: packages/cli/src/modules/breaking-changes/types/rule.types.ts type BreakingChangeCategory (line 16) | const enum BreakingChangeCategory { type BreakingChangeRuleMetadata (line 24) | interface BreakingChangeRuleMetadata { type IBreakingChangeInstanceRule (line 33) | interface IBreakingChangeInstanceRule { type IBreakingChangeWorkflowRule (line 39) | interface IBreakingChangeWorkflowRule { type IBreakingChangeBatchWorkflowRule (line 60) | interface IBreakingChangeBatchWorkflowRule { type IBreakingChangeRule (line 88) | type IBreakingChangeRule = FILE: packages/cli/src/modules/chat-hub/__tests__/chat-hub-agent.service.test.ts function makeMullerFile (line 28) | function makeMullerFile(overrides: Partial = {}): E... constant MOCK_SEMANTIC_SEARCH_OPTIONS (line 44) | const MOCK_SEMANTIC_SEARCH_OPTIONS: SemanticSearchOptions = { function makeAgent (line 51) | function makeAgent(overrides: Partial = {}): ChatHubAgent { FILE: packages/cli/src/modules/chat-hub/__tests__/chat-hub-credentials.service.test.ts constant CREDENTIAL_ID (line 19) | const CREDENTIAL_ID = 'credential-id-123'; constant PERSONAL_PROJECT_ID (line 20) | const PERSONAL_PROJECT_ID = 'personal-project-id'; FILE: packages/cli/src/modules/chat-hub/__tests__/chat-hub-execution-store.service.test.ts constant EXECUTION_ID (line 12) | const EXECUTION_ID = '12345678'; constant SESSION_ID (line 13) | const SESSION_ID = 'bbbbbbbb-2222-4000-8000-000000000002'; constant USER_ID (line 14) | const USER_ID = 'cccccccc-3333-4000-8000-000000000003'; constant MESSAGE_ID (line 15) | const MESSAGE_ID = 'dddddddd-4444-4000-8000-000000000004'; constant PREV_MESSAGE_ID (line 16) | const PREV_MESSAGE_ID = 'eeeeeeee-5555-4000-8000-000000000005'; constant WORKFLOW_ID (line 17) | const WORKFLOW_ID = '3qXqnkHzVukVR9Jq'; FILE: packages/cli/src/modules/chat-hub/__tests__/chat-hub-execution-watcher.service.test.ts constant EXECUTION_ID (line 17) | const EXECUTION_ID = '12345678'; constant SESSION_ID (line 18) | const SESSION_ID = 'bbbbbbbb-2222-4000-8000-000000000002'; constant USER_ID (line 19) | const USER_ID = 'cccccccc-3333-4000-8000-000000000003'; constant MESSAGE_ID (line 20) | const MESSAGE_ID = 'dddddddd-4444-4000-8000-000000000004'; constant PREV_MESSAGE_ID (line 21) | const PREV_MESSAGE_ID = 'eeeeeeee-5555-4000-8000-000000000005'; constant WORKFLOW_ID (line 22) | const WORKFLOW_ID = '3qXqnkHzVukVR9Jq'; constant WAITING_MESSAGE_ID (line 23) | const WAITING_MESSAGE_ID = '11111111-1111-4000-8000-000000000007'; constant MOCK_NEW_MESSAGE_ID (line 24) | const MOCK_NEW_MESSAGE_ID = 'aaaaaaaa-1111-4000-8000-000000000001'; FILE: packages/cli/src/modules/chat-hub/__tests__/chat-hub-tool.service.test.ts function makeTool (line 33) | function makeTool(overrides: Partial = {}): ChatHubTool { FILE: packages/cli/src/modules/chat-hub/__tests__/chat-hub-workflow.service.test.ts function getAgentNodeSystemMessage (line 1211) | async function getAgentNodeSystemMessage(agent: ChatHubAgent): Promise { method constructor (line 8) | constructor(dataSource: DataSource) { method createAgent (line 12) | async createAgent( method updateAgent (line 23) | async updateAgent(id: string, updates: Partial, trx?: E... method deleteAgent (line 31) | async deleteAgent(id: string, trx?: EntityManager) { method getManyByUserId (line 36) | async getManyByUserId(userId: string) { method getManyByUserIdWithToolIds (line 43) | async getManyByUserIdWithToolIds(userId: string) { method getOneById (line 52) | async getOneById(id: string, userId: string, trx?: EntityManager) { FILE: packages/cli/src/modules/chat-hub/chat-hub-agent.service.ts class ChatHubAgentService (line 36) | class ChatHubAgentService { method constructor (line 37) | constructor( method getAgentsByUserIdAsModels (line 52) | async getAgentsByUserIdAsModels(userId: string): Promise { method getAgentById (line 82) | async getAgentById(id: string, userId: string, trx?: EntityManager): P... method getAgentByIdAsDto (line 90) | async getAgentByIdAsDto(id: string, userId: string): Promise { method ensureSemanticSearchOptions (line 205) | private async ensureSemanticSearchOptions(): Promise { method deleteEmbeddingsByAgentId (line 288) | private async deleteEmbeddingsByAgentId(userId: string, agentId: strin... method deleteEmbeddingsByKnowledgeId (line 310) | private async deleteEmbeddingsByKnowledgeId( method addFilesToAgent (line 335) | async addFilesToAgent( method runIndexingInBackground (line 361) | private async runIndexingInBackground( method updateKnowledgeItemStatuses (line 385) | private async updateKnowledgeItemStatuses( method deleteAgentFile (line 401) | async deleteAgentFile(agentId: string, user: User, fileKnowledgeId: st... method prepareFilesForIndexing (line 427) | private async prepareFilesForIndexing(files: Express.Multer.File[]): P... FILE: packages/cli/src/modules/chat-hub/chat-hub-credentials.service.ts class ChatHubCredentialsService (line 17) | class ChatHubCredentialsService { method constructor (line 18) | constructor( method ensureCredentialAccess (line 25) | async ensureCredentialAccess(user: User, credentialId: string) { method pickCredentialId (line 38) | private pickCredentialId( method findPersonalProject (line 49) | async findPersonalProject(user: User, trx?: EntityManager) { method findProviderCredential (line 62) | findProviderCredential(provider: ChatHubLLMProvider, credentials: INod... method findWorkflowCredentialAndProject (line 71) | async findWorkflowCredentialAndProject( FILE: packages/cli/src/modules/chat-hub/chat-hub-event-relay.service.ts class ChatHubEventRelay (line 9) | class ChatHubEventRelay { method constructor (line 10) | constructor( method handleUserDeleted (line 27) | private async handleUserDeleted(userId: string): Promise { FILE: packages/cli/src/modules/chat-hub/chat-hub-execution-store.service.ts type ChatHubExecutionContext (line 18) | interface ChatHubExecutionContext { class ChatHubExecutionStore (line 49) | class ChatHubExecutionStore { method constructor (line 58) | constructor( method register (line 79) | async register(context: ChatHubExecutionContext): Promise { method get (line 93) | async get(executionId: string): Promise { method update (line 103) | async update( method remove (line 127) | async remove(executionId: string): Promise { method shutdown (line 140) | shutdown(): void { method getContextKey (line 154) | private getContextKey(executionId: string): string { method getRedisContext (line 158) | private async getRedisContext(executionId: string): Promise { method scheduleCleanup (line 199) | private scheduleCleanup(executionId: string): void { method cancelCleanup (line 211) | private cancelCleanup(executionId: string): void { FILE: packages/cli/src/modules/chat-hub/chat-hub-execution-watcher.service.ts class ChatHubExecutionWatcherService (line 30) | class ChatHubExecutionWatcherService { method constructor (line 31) | constructor( method handleExecutionResumed (line 53) | async handleExecutionResumed(ctx: WorkflowExecuteResumeContext): Promi... method handleWorkflowExecuteAfter (line 116) | async handleWorkflowExecuteAfter(ctx: WorkflowExecuteAfterContext): Pr... method handleWaitingExecution (line 159) | private async handleWaitingExecution( method triggerAutoResume (line 202) | private async triggerAutoResume( method createNextMessage (line 234) | private async createNextMessage( method pushFinalResults (line 256) | private async pushFinalResults( method pushErrorResults (line 279) | private async pushErrorResults( FILE: packages/cli/src/modules/chat-hub/chat-hub-execution.service.ts class ChatHubExecutionService (line 49) | class ChatHubExecutionService { method constructor (line 50) | constructor( method execute (line 66) | async execute(user: User, workflowData: IWorkflowBase, executionData: ... method stop (line 77) | async stop(executionId: string, workflowId: string) { method executeChatWorkflowWithCleanup (line 89) | async executeChatWorkflowWithCleanup( method executeChatWorkflow (line 154) | private async executeChatWorkflow( method executeWithStreaming (line 205) | private async executeWithStreaming( method executeNonStreaming (line 366) | private async executeNonStreaming( method resumeChatExecution (line 445) | async resumeChatExecution( method waitForExecutionCompletion (line 487) | async waitForExecutionCompletion(executionId: string): Promise { method waitForExecutionPoller (line 495) | private async waitForExecutionPoller(executionId: string): Promise { method constructor (line 10) | constructor(dataSource: DataSource) { method createTool (line 14) | async createTool(tool: Partial & Pick, trx?: Ent... method deleteTool (line 30) | async deleteTool(id: string, trx?: EntityManager) { method getManyByUserId (line 35) | async getManyByUserId(userId: string) { method getEnabledByUserId (line 42) | async getEnabledByUserId(userId: string, trx?: EntityManager) { method getOneById (line 50) | async getOneById(id: string, userId: string, trx?: EntityManager) { method getByIds (line 57) | async getByIds(ids: string[], userId: string, trx?: EntityManager) { method getToolsForSession (line 68) | async getToolsForSession(sessionId: string, trx?: EntityManager): Prom... method getToolsForAgent (line 79) | async getToolsForAgent(agentId: string, trx?: EntityManager): Promise<... method getToolIdsForSession (line 90) | async getToolIdsForSession(sessionId: string, trx?: EntityManager): Pr... method getToolIdsForAgent (line 101) | async getToolIdsForAgent(agentId: string, trx?: EntityManager): Promis... method setSessionTools (line 112) | async setSessionTools(sessionId: string, toolIds: string[], trx?: Enti... method setAgentTools (line 122) | async setAgentTools(agentId: string, toolIds: string[], trx?: EntityMa... FILE: packages/cli/src/modules/chat-hub/chat-hub-tool.service.ts class ChatHubToolService (line 20) | class ChatHubToolService { method constructor (line 21) | constructor( method getToolsByUserId (line 29) | async getToolsByUserId(userId: string): Promise { method getEnabledTools (line 33) | async getEnabledTools(userId: string, trx?: EntityManager): Promise { method createChatWorkflow (line 104) | async createChatWorkflow( method createTitleGenerationWorkflow (line 179) | async createTitleGenerationWorkflow( method parseInputModalities (line 245) | parseInputModalities(options?: { method resolveAllowedMimeTypes (line 274) | resolveAllowedMimeTypes(options?: { method resolveWorkflowAttachmentPolicy (line 294) | resolveWorkflowAttachmentPolicy(nodes: INode[]) { method getAttachmentPolicy (line 309) | async getAttachmentPolicy( method getUniqueNodeName (line 356) | private getUniqueNodeName(originalName: string, existingNames: Set { method deleteAttachments (line 152) | async deleteAttachments(attachments: IBinaryData[]): Promise { method getDataUrl (line 158) | async getDataUrl(binaryData: IBinaryData): Promise { method getAsBuffer (line 170) | async getAsBuffer(binaryData: IBinaryData): Promise { method setEnabled (line 44) | async setEnabled(enabled: boolean): Promise { method ensureModelIsAllowed (line 51) | async ensureModelIsAllowed(model: ChatHubConversationModel, trx?: Enti... method getProviderSettings (line 72) | async getProviderSettings( method getAllProviderSettings (line 89) | async getAllProviderSettings(): Promise { FILE: packages/cli/src/modules/chat-hub/chat-hub.types.ts type ModelWithCredentials (line 13) | interface ModelWithCredentials { type BaseMessagePayload (line 22) | interface BaseMessagePayload { type HumanMessagePayload (line 30) | interface HumanMessagePayload extends BaseMessagePayload { type RegenerateMessagePayload (line 37) | interface RegenerateMessagePayload extends BaseMessagePayload { type EditMessagePayload (line 41) | interface EditMessagePayload extends BaseMessagePayload { type ContentBlock (line 50) | type ContentBlock = type MessageRole (line 55) | type MessageRole = 'ai' | 'system' | 'user'; type MessageRecord (line 57) | interface MessageRecord { type ChatTriggerResponseMode (line 69) | type ChatTriggerResponseMode = z.infer; type PreparedChatWorkflow (line 103) | type PreparedChatWorkflow = { type SemanticSearchOptions (line 109) | interface SemanticSearchOptions { FILE: packages/cli/src/modules/chat-hub/chat-message.repository.ts class ChatHubMessageRepository (line 18) | class ChatHubMessageRepository extends Repository { method constructor (line 19) | constructor( method createChatMessage (line 26) | async createChatMessage(message: QueryDeepPartialEntity { method constructor (line 10) | constructor(dataSource: DataSource) { method createChatSession (line 14) | async createChatSession( method updateChatSession (line 26) | async updateChatSession(id: string, updates: Partial,... method deleteChatHubSession (line 31) | async deleteChatHubSession(id: string, trx?: EntityManager) { method getManyByUserId (line 36) | async getManyByUserId(userId: string, limit: number, cursor?: string, ... method existsById (line 72) | async existsById(id: string, userId: string, trx?: EntityManager): Pro... method getOneById (line 77) | async getOneById(id: string, userId: string, trx?: EntityManager) { method deleteAll (line 91) | async deleteAll(trx?: EntityManager) { FILE: packages/cli/src/modules/chat-hub/chat-stream-state.service.ts type StreamState (line 15) | interface StreamState { type BufferedChunk (line 31) | interface BufferedChunk { type StartStreamParams (line 39) | interface StartStreamParams { type StartExecutionParams (line 48) | interface StartExecutionParams { class ChatStreamStateService (line 58) | class ChatStreamStateService { method constructor (line 68) | constructor( method startExecution (line 89) | async startExecution(params: StartExecutionParams): Promise { method endExecution (line 115) | async endExecution(sessionId: ChatSessionId): Promise { method setCurrentMessage (line 131) | async setCurrentMessage(sessionId: ChatSessionId, messageId: ChatMessa... method startStream (line 151) | async startStream(params: StartStreamParams): Promise { method getStreamState (line 177) | async getStreamState(sessionId: ChatSessionId): Promise { method bufferChunk (line 205) | async bufferChunk(sessionId: ChatSessionId, chunk: BufferedChunk): Pro... method getChunksAfter (line 233) | async getChunksAfter( method endStream (line 251) | async endStream(sessionId: ChatSessionId): Promise { method shutdown (line 268) | shutdown(): void { method getStateKey (line 283) | private getStateKey(sessionId: ChatSessionId): string { method getChunksKey (line 287) | private getChunksKey(sessionId: ChatSessionId): string { method getRedisState (line 291) | private async getRedisState(sessionId: ChatSessionId): Promise { method getRedisChunks (line 329) | private async getRedisChunks(sessionId: ChatSessionId): Promise { method sendChunk (line 162) | async sendChunk( method endStream (line 198) | async endStream( method sendError (line 235) | async sendError( method sendErrorDirect (line 272) | async sendErrorDirect( method getPendingChunks (line 308) | async getPendingChunks( method hasActiveStream (line 318) | async hasActiveStream(sessionId: ChatSessionId): Promise { method getCurrentMessageId (line 326) | async getCurrentMessageId(sessionId: ChatSessionId): Promise Promise; function interceptResponseWrites (line 14) | function interceptResponseWrites( type MessageKey (line 96) | type MessageKey = string; type AggregatedMessage (line 100) | type AggregatedMessage = Pick< type Handlers (line 105) | type Handlers = { function createStructuredChunkAggregator (line 113) | function createStructuredChunkAggregator( FILE: packages/cli/src/modules/community-packages/__tests__/community-node-types-utils.test.ts constant AI_SDK_VERSION (line 10) | const AI_SDK_VERSION = 1; FILE: packages/cli/src/modules/community-packages/__tests__/community-packages.service.test.ts type ExecFileCallback (line 42) | type ExecFileCallback = NonNullable[3]>; FILE: packages/cli/src/modules/community-packages/community-node-types-utils.ts type StrapiCommunityNodeType (line 5) | type StrapiCommunityNodeType = { type CommunityNodesMetadata (line 26) | type CommunityNodesMetadata = Pick< constant N8N_VETTED_NODE_TYPES_STAGING_URL (line 31) | const N8N_VETTED_NODE_TYPES_STAGING_URL = 'https://api-staging.n8n.io/ap... constant N8N_VETTED_NODE_TYPES_PRODUCTION_URL (line 32) | const N8N_VETTED_NODE_TYPES_PRODUCTION_URL = 'https://api.n8n.io/api/com... function getUrl (line 34) | function getUrl(environment: 'staging' | 'production'): string { function getCommunityNodeTypes (line 40) | async function getCommunityNodeTypes( function getCommunityNodesMetadata (line 57) | async function getCommunityNodesMetadata( FILE: packages/cli/src/modules/community-packages/community-node-types.controller.ts class CommunityNodeTypesController (line 8) | class CommunityNodeTypesController { method constructor (line 9) | constructor(private readonly communityNodeTypesService: CommunityNodeT... method getCommunityNodeType (line 12) | async getCommunityNodeType(req: Request): Promise { method getCommunityNodeType (line 219) | async getCommunityNodeType(type: string): Promise> { method run (line 44) | async run() { method catch (line 78) | async catch(error: Error) { method uninstallCredential (line 83) | async uninstallCredential(credentialType: string, userId: string) { method findUserById (line 105) | async findUserById(userId: string) { method findCredentialsByType (line 109) | async findCredentialsByType(credentialType: string) { method deleteCredential (line 113) | async deleteCredential(user: User, credentialId: string) { method uninstallPackage (line 117) | async uninstallPackage(packageName: string) { method pruneDependencies (line 141) | async pruneDependencies() { method deleteCommunityNode (line 146) | async deleteCommunityNode(node: InstalledNodes) { method removeCommunityPackage (line 152) | async removeCommunityPackage(packageName: string, communityPackage: In... method findCommunityPackage (line 159) | async findCommunityPackage(packageName: string) { FILE: packages/cli/src/modules/community-packages/community-packages.config.ts class CommunityPackagesConfig (line 5) | class CommunityPackagesConfig { FILE: packages/cli/src/modules/community-packages/community-packages.controller.ts class CommunityPackagesController (line 8) | class CommunityPackagesController { method constructor (line 9) | constructor(private readonly communityPackagesLifecycle: CommunityPack... method installPackage (line 13) | async installPackage(req: NodeRequest.Post) { method getInstalledPackages (line 21) | async getInstalledPackages() { method uninstallPackage (line 27) | async uninstallPackage(req: NodeRequest.Delete) { method updatePackage (line 35) | async updatePackage(req: NodeRequest.Update) { FILE: packages/cli/src/modules/community-packages/community-packages.lifecycle.service.ts type CommunityPackageInstallPresentation (line 37) | type CommunityPackageInstallPresentation = 'ui' | 'publicApi'; type MissingInstalledPackageBehavior (line 39) | type MissingInstalledPackageBehavior = 'badRequest' | 'notFound'; class CommunityPackagesLifecycleService (line 42) | class CommunityPackagesLifecycleService { method constructor (line 43) | constructor( method listInstalledPackages (line 52) | async listInstalledPackages(): Promise { method constructor (line 8) | constructor(dataSource: DataSource) { FILE: packages/cli/src/modules/community-packages/installed-packages.entity.ts class InstalledPackages (line 7) | class InstalledPackages extends WithTimestamps { FILE: packages/cli/src/modules/community-packages/installed-packages.repository.ts class InstalledPackagesRepository (line 9) | class InstalledPackagesRepository extends Repository { method constructor (line 10) | constructor( method saveInstalledPackageWithNodes (line 17) | async saveInstalledPackageWithNodes(packageLoader: PackageDirectoryLoa... FILE: packages/cli/src/modules/community-packages/npm-utils.ts constant REQUEST_TIMEOUT (line 9) | const REQUEST_TIMEOUT = 30000; constant NPM_ERROR_PATTERNS (line 11) | const NPM_ERROR_PATTERNS = { type NpmCommandOptions (line 19) | interface NpmCommandOptions { function isDnsError (line 24) | function isDnsError(error: unknown): boolean { function isNpmExecErrorWithStdout (line 33) | function isNpmExecErrorWithStdout( function isNpmError (line 39) | function isNpmError(error: unknown): boolean { function sanitizeRegistryUrl (line 49) | function sanitizeRegistryUrl(registryUrl: string): string { function matchesErrorPattern (line 53) | function matchesErrorPattern(message: string, patterns: readonly string[... function executeNpmCommand (line 64) | async function executeNpmCommand( function verifyIntegrity (line 112) | async function verifyIntegrity( function checkIfVersionExistsOrThrow (line 165) | async function checkIfVersionExistsOrThrow( FILE: packages/cli/src/modules/community-packages/strapi-utils.ts type ResponseData (line 7) | interface ResponseData { type Meta (line 12) | interface Meta { type Entity (line 16) | interface Entity { type Pagination (line 21) | interface Pagination { type PaginationRequestOptions (line 28) | interface PaginationRequestOptions { type StrapiFilters (line 32) | type StrapiFilters = { [key: string]: { ['$eq']?: string; ['$in']?: stri... type PaginationRequestParams (line 34) | interface PaginationRequestParams { constant REQUEST_TIMEOUT_MS (line 44) | const REQUEST_TIMEOUT_MS = 6000; function paginatedRequest (line 46) | async function paginatedRequest( function buildStrapiUpdateQuery (line 92) | function buildStrapiUpdateQuery(ids: number[]): IDataObject { FILE: packages/cli/src/modules/data-table/__tests__/data-table-proxy.service.integration.test.ts constant PROJECT_ID (line 19) | const PROJECT_ID = 'project-id'; FILE: packages/cli/src/modules/data-table/__tests__/test-helpers.ts function mockDataTableSizeValidator (line 5) | function mockDataTableSizeValidator() { FILE: packages/cli/src/modules/data-table/csv-parser.service.ts type CsvColumnMetadata (line 7) | interface CsvColumnMetadata { type CsvMetadata (line 12) | interface CsvMetadata { class CsvParserService (line 19) | class CsvParserService { method constructor (line 24) | constructor(private readonly globalConfig: GlobalConfig) { method generateColumnNames (line 28) | private generateColumnNames(columnCount: number): string[] { method mapValuesToColumns (line 32) | private mapValuesToColumns(row: string[], columnNames: string[]): Reco... method createParserOptions (line 42) | private createParserOptions(hasHeaders: boolean) { method trimColumnNames (line 50) | private trimColumnNames(columns: string[]): string[] { method normalizeRow (line 54) | private normalizeRow( method collectTypeSamples (line 67) | private collectTypeSamples( method buildColumnMetadata (line 82) | private buildColumnMetadata(columnNames: string[], firstNonEmptyValues... method parseCsvFile (line 93) | private async parseCsvFile( method parseFile (line 133) | async parseFile(fileId: string, hasHeaders: boolean = true): Promise { method constructor (line 20) | constructor( method validateNotSystemColumn (line 30) | private validateNotSystemColumn(columnName: string): void { method validateUniqueColumnName (line 42) | private async validateUniqueColumnName( method getColumns (line 61) | async getColumns(dataTableId: string, trx?: EntityManager) { method addColumn (line 75) | async addColumn(dataTableId: string, schema: DataTableCreateColumnSche... method deleteColumn (line 100) | async deleteColumn(dataTableId: string, column: DataTableColumn, trx?:... method moveColumn (line 114) | async moveColumn( method renameColumn (line 139) | async renameColumn( method shiftColumns (line 165) | async shiftColumns(dataTableId: string, lowestIndex: number, delta: -1... FILE: packages/cli/src/modules/data-table/data-table-csv-import.service.ts class DataTableCsvImportService (line 15) | class DataTableCsvImportService { method constructor (line 18) | constructor( method buildRowsForNewTable (line 31) | async buildRowsForNewTable( method validateAndBuildRowsForExistingTable (line 59) | async validateAndBuildRowsForExistingTable( method cleanupFile (line 88) | async cleanupFile(fileId: string) { method matchColumns (line 92) | private matchColumns( method transformRows (line 125) | private transformRows( method buildColumnMappingForNewTable (line 139) | private async buildColumnMappingForNewTable( FILE: packages/cli/src/modules/data-table/data-table-ddl.service.ts class DataTableDDLService (line 20) | class DataTableDDLService { method constructor (line 21) | constructor(private dataSource: DataSource) {} method createTableWithColumns (line 23) | async createTableWithColumns( method dropTable (line 42) | async dropTable(dataTableId: string, trx?: EntityManager) { method addColumn (line 51) | async addColumn( method dropColumnFromTable (line 62) | async dropColumnFromTable( method renameColumn (line 73) | async renameColumn( FILE: packages/cli/src/modules/data-table/data-table-file-cleanup.service.ts class DataTableFileCleanupService (line 8) | class DataTableFileCleanupService { method constructor (line 13) | constructor( method isErrnoException (line 20) | private isErrnoException(error: unknown): error is NodeJS.ErrnoExcepti... method start (line 29) | async start() { method shutdown (line 38) | async shutdown() { method cleanupOrphanedFiles (line 49) | private async cleanupOrphanedFiles(): Promise { method deleteFile (line 82) | async deleteFile(fileId: string): Promise { FILE: packages/cli/src/modules/data-table/data-table-proxy.service.ts constant ALLOWED_NODES (line 29) | const ALLOWED_NODES = [ type AllowedNode (line 36) | type AllowedNode = (typeof ALLOWED_NODES)[number]; function isAllowedNode (line 38) | function isAllowedNode(s: string): s is AllowedNode { class DataTableProxyService (line 43) | class DataTableProxyService implements DataTableProxyProvider { method constructor (line 44) | constructor( method validateRequest (line 52) | private validateRequest(node: INode) { method getProjectId (line 58) | private async getProjectId(workflow: Workflow) { method getDataTableAggregateProxy (line 63) | async getDataTableAggregateProxy( method getDataTableProxy (line 74) | async getDataTableProxy( method makeAggregateOperations (line 86) | private makeAggregateOperations(projectId: string): IDataTableProjectA... method makeDataTableOperations (line 111) | private makeDataTableOperations( FILE: packages/cli/src/modules/data-table/data-table-rows.repository.ts type QueryBuilder (line 43) | type QueryBuilder = SelectQueryBuilder; function getConditionAndParams (line 56) | function getConditionAndParams( class DataTableRowsRepository (line 137) | class DataTableRowsRepository { method constructor (line 138) | constructor(private dataSource: DataSource) {} method insertRowsBulk (line 140) | async insertRowsBulk( method insertRows (line 208) | async insertRows( method updateRows (line 294) | async updateRows( method dryRunUpdateRows (line 347) | async dryRunUpdateRows( method dryRunUpsertRow (line 372) | async dryRunUpsertRow( method deleteRows (line 409) | async deleteRows( method getAffectedRowsForUpdate (line 477) | private async getAffectedRowsForUpdate( method prepareUpdateData (line 499) | private prepareUpdateData( method toDryRunRows (line 513) | private toDryRunRows( method getManyAndCount (line 546) | async getManyAndCount( method getManyByIds (line 564) | async getManyByIds( method getManyQuery (line 593) | private getManyQuery( method applySearch (line 618) | private applySearch( method applyFilters (line 655) | private applyFilters( method applySorting (line 683) | private applySorting(query: QueryBuilder, dto: ListDataTableContentQue... method applySortingByField (line 692) | private applySortingByField(query: QueryBuilder, field: string, direct... method applyPagination (line 700) | private applyPagination(query: QueryBuilder, dto: ListDataTableContent... FILE: packages/cli/src/modules/data-table/data-table-size-validator.service.ts class DataTableSizeValidator (line 11) | class DataTableSizeValidator { method constructor (line 16) | constructor( method shouldRefresh (line 21) | private shouldRefresh(now: Date): boolean { method getCachedSizeData (line 33) | async getCachedSizeData( method validateSize (line 56) | async validateSize( method sizeToState (line 73) | sizeToState(sizeBytes: number): DataTableSizeStatus { method getSizeStatus (line 86) | async getSizeStatus(fetchSizeFn: () => Promise, no... method reset (line 91) | reset() { FILE: packages/cli/src/modules/data-table/data-table-uploads.controller.ts class DataTableUploadsController (line 14) | class DataTableUploadsController { method constructor (line 15) | constructor(private readonly csvParserService: CsvParserService) {} method uploadFile (line 20) | async uploadFile(req: AuthenticatedRequestWithFile, _res: Response) { FILE: packages/cli/src/modules/data-table/data-table.controller.ts class DataTableController (line 50) | class DataTableController { method constructor (line 51) | constructor( method handleDataTableColumnOperationError (line 57) | private handleDataTableColumnOperationError(e: unknown): never { method checkInstanceWriteAccess (line 77) | private checkInstanceWriteAccess(): void { method validateProjectExists (line 87) | async validateProjectExists( method createDataTable (line 104) | async createDataTable( method listProjectDataTables (line 129) | async listProjectDataTables( method updateDataTable (line 143) | async updateDataTable( method deleteDataTable (line 167) | async deleteDataTable( method getColumns (line 188) | async getColumns( method addColumn (line 208) | async addColumn( method deleteColumn (line 224) | async deleteColumn( method moveColumn (line 240) | async moveColumn( method renameColumn (line 262) | async renameColumn( method getDataTableRows (line 284) | async getDataTableRows( method downloadDataTableCsv (line 309) | async downloadDataTableCsv( method appendDataTableRows (line 350) | async appendDataTableRows( method importCsvToDataTable (line 379) | async importCsvToDataTable( method upsertDataTableRow (line 409) | async upsertDataTableRow( method updateDataTableRows (line 462) | async updateDataTableRows( method deleteDataTableRows (line 515) | async deleteDataTableRows( FILE: packages/cli/src/modules/data-table/data-table.entity.ts class DataTable (line 8) | class DataTable extends WithTimestampsAndStringId { method constructor (line 9) | constructor() { FILE: packages/cli/src/modules/data-table/data-table.module.ts class DataTableModule (line 6) | class DataTableModule implements ModuleInterface { method init (line 7) | async init() { method shutdown (line 23) | async shutdown() { method entities (line 34) | async entities() { method context (line 41) | async context() { FILE: packages/cli/src/modules/data-table/data-table.repository.ts class DataTableRepository (line 23) | class DataTableRepository extends Repository { method constructor (line 24) | constructor( method touchUpdatedAt (line 40) | async touchUpdatedAt(dataTableId: string, trx?: EntityManager) { method createDataTable (line 48) | async createDataTable( method deleteDataTable (line 94) | async deleteDataTable(dataTableId: string, trx?: EntityManager) { method transferDataTableByProjectId (line 102) | async transferDataTableByProjectId( method deleteDataTableByProjectId (line 144) | async deleteDataTableByProjectId(projectId: string, trx?: EntityManage... method deleteDataTableAll (line 158) | async deleteDataTableAll(trx?: EntityManager) { method getManyAndCount (line 173) | async getManyAndCount(options: Partial) { method getMany (line 179) | async getMany(options: Partial) { method getManyQuery (line 184) | private getManyQuery(options: Partial): SelectQ... method applySelections (line 195) | private applySelections(query: SelectQueryBuilder): void { method applyFilters (line 199) | private applyFilters( method applySorting (line 227) | private applySorting(query: SelectQueryBuilder, sortBy?: st... method parseSortingParams (line 237) | private parseSortingParams(sortBy: string): [string, 'DESC' | 'ASC'] { method applySortingByField (line 242) | private applySortingByField( method applyPagination (line 265) | private applyPagination( method applyDefaultSelect (line 273) | private applyDefaultSelect(query: SelectQueryBuilder): void { method getDataTableColumnFields (line 284) | private getDataTableColumnFields(alias: string): string[] { method getProjectFields (line 295) | private getProjectFields(alias: string): string[] { method findDataTablesSize (line 302) | async findDataTablesSize(): Promise { method getDataTableSizeQuery (line 334) | private getDataTableSizeQuery() { method getAllDataTablesSizeMap (line 369) | private async getAllDataTablesSizeMap(): Promise> { FILE: packages/cli/src/modules/data-table/data-table.service.ts class DataTableService (line 49) | class DataTableService { method constructor (line 50) | constructor( method start (line 63) | async start() {} method shutdown (line 64) | async shutdown() {} method createDataTable (line 66) | async createDataTable(projectId: string, dto: CreateDataTableDto) { method importCsvToExistingTable (line 103) | async importCsvToExistingTable( method updateDataTable (line 130) | async updateDataTable(dataTableId: string, projectId: string, dto: Upd... method transferDataTablesByProjectId (line 139) | async transferDataTablesByProjectId(fromProjectId: string, toProjectId... method deleteDataTableByProjectId (line 143) | async deleteDataTableByProjectId(projectId: string) { method deleteDataTableAll (line 153) | async deleteDataTableAll() { method deleteDataTable (line 163) | async deleteDataTable(dataTableId: string, projectId: string) { method addColumn (line 173) | async addColumn(dataTableId: string, projectId: string, dto: AddDataTa... method moveColumn (line 183) | async moveColumn( method deleteColumn (line 197) | async deleteColumn(dataTableId: string, projectId: string, columnId: s... method renameColumn (line 208) | async renameColumn( method getManyAndCount (line 220) | async getManyAndCount(options: DataTableListOptions) { method getManyRowsAndCount (line 224) | async getManyRowsAndCount( method getColumns (line 249) | async getColumns(dataTableId: string, projectId: string) { method insertRows (line 261) | async insertRows( method upsertRow (line 311) | async upsertRow( method validateAndTransformUpdateParams (line 368) | validateAndTransformUpdateParams( method updateRows (line 412) | async updateRows( method deleteRows (line 476) | async deleteRows( method validateAndTransformRows (line 515) | private validateAndTransformRows( method validateAndTransformCell (line 552) | private validateAndTransformCell( method validateDataTableExists (line 595) | private async validateDataTableExists(dataTableId: string, projectId: ... method validateColumnExists (line 610) | private async validateColumnExists(dataTableId: string, columnId: stri... method validateUniqueName (line 623) | private async validateUniqueName(name: string, projectId: string) { method validateAndTransformFilters (line 634) | private validateAndTransformFilters( method validateDataTableSize (line 686) | private async validateDataTableSize() { method getDataTablesSize (line 692) | async getDataTablesSize(user: User): Promise { method generateDataTableCsv (line 724) | async generateDataTableCsv( method buildCsvContent (line 749) | private buildCsvContent( method formatValueForCsv (line 786) | private formatValueForCsv(value: unknown, columnType: DataTableColumnT... method formatDateForCsv (line 808) | private formatDateForCsv(date: Date | string): string { method escapeCsvValue (line 817) | private escapeCsvValue(value: unknown): string { FILE: packages/cli/src/modules/data-table/data-table.types.ts type DataTableUserTableName (line 3) | type DataTableUserTableName = `${string}data_table_user_${string}`; FILE: packages/cli/src/modules/data-table/errors/data-table-column-name-conflict.error.ts class DataTableColumnNameConflictError (line 3) | class DataTableColumnNameConflictError extends UserError { method constructor (line 4) | constructor(columnName: string, dataTableName: string) { FILE: packages/cli/src/modules/data-table/errors/data-table-column-not-found.error.ts class DataTableColumnNotFoundError (line 3) | class DataTableColumnNotFoundError extends NotFoundError { method constructor (line 4) | constructor(dataTableId: string, columnId: string) { FILE: packages/cli/src/modules/data-table/errors/data-table-file-upload.error.ts class FileUploadError (line 3) | class FileUploadError extends UserError { method constructor (line 4) | constructor(msg: string) { FILE: packages/cli/src/modules/data-table/errors/data-table-name-conflict.error.ts class DataTableNameConflictError (line 3) | class DataTableNameConflictError extends UserError { method constructor (line 4) | constructor(name: string) { FILE: packages/cli/src/modules/data-table/errors/data-table-not-found.error.ts class DataTableNotFoundError (line 3) | class DataTableNotFoundError extends NotFoundError { method constructor (line 4) | constructor(dataTableId: string) { FILE: packages/cli/src/modules/data-table/errors/data-table-system-column-name-conflict.error.ts class DataTableSystemColumnNameConflictError (line 3) | class DataTableSystemColumnNameConflictError extends UserError { method constructor (line 4) | constructor(columnName: string, type: string = 'system') { FILE: packages/cli/src/modules/data-table/errors/data-table-validation.error.ts class DataTableValidationError (line 3) | class DataTableValidationError extends UserError { method constructor (line 4) | constructor(msg: string) { FILE: packages/cli/src/modules/data-table/multer-upload-middleware.ts constant ALLOWED_MIME_TYPES (line 21) | const ALLOWED_MIME_TYPES = ['text/csv']; class MulterUploadMiddleware (line 24) | class MulterUploadMiddleware implements UploadMiddleware { method constructor (line 29) | constructor( method ensureUploadDirExists (line 97) | private async ensureUploadDirExists() { method single (line 101) | single(fieldName: string): RequestHandler { FILE: packages/cli/src/modules/data-table/types.ts type UploadMiddleware (line 4) | interface UploadMiddleware { type MulterDestinationCallback (line 8) | type MulterDestinationCallback = (error: Error | null, destination: stri... type MulterFilenameCallback (line 9) | type MulterFilenameCallback = (error: Error | null, filename: string) =>... type AuthenticatedRequestWithFile (line 11) | type AuthenticatedRequestWithFile< function hasStringProperty (line 21) | function hasStringProperty( FILE: packages/cli/src/modules/data-table/utils/size-utils.ts function toMb (line 4) | function toMb(sizeInBytes: number): number { function formatBytes (line 11) | function formatBytes(sizeInBytes: number): string { FILE: packages/cli/src/modules/data-table/utils/sql-utils.ts function toDslColumns (line 24) | function toDslColumns(columns: DataTableCreateColumnSchema[]): DslColumn... function dataTableColumnTypeToSql (line 43) | function dataTableColumnTypeToSql( function columnToWildcardAndType (line 71) | function columnToWildcardAndType( function isValidColumnName (line 78) | function isValidColumnName(name: string) { function addColumnQuery (line 82) | function addColumnQuery( function deleteColumnQuery (line 97) | function deleteColumnQuery( function renameColumnQuery (line 106) | function renameColumnQuery( function quoteIdentifier (line 123) | function quoteIdentifier(name: string, dbType: DataSourceOptions['type']... function hasRowReturnData (line 143) | function hasRowReturnData(data: unknown): data is DataTableRowReturn { function hasRowId (line 156) | function hasRowId(data: unknown): data is Pick { function extractReturningData (line 160) | function extractReturningData(raw: unknown): DataTableRowReturn[] { function extractInsertedIds (line 170) | function extractInsertedIds(raw: unknown, dbType: DataSourceOptions['typ... function normalizeDate (line 191) | function normalizeDate(value: DataTableColumnJsType): Date | null { function normalizeRows (line 209) | function normalizeRows( function formatDateForDatabase (line 254) | function formatDateForDatabase( function normalizeValueForDatabase (line 287) | function normalizeValueForDatabase( function toSqliteGlobFromPercent (line 302) | function toSqliteGlobFromPercent(input: string): string { function escapeLikeSpecials (line 319) | function escapeLikeSpecials(input: string): string { function toTableName (line 325) | function toTableName(dataTableId: string): DataTableUserTableName { function toTableId (line 330) | function toTableId(tableName: DataTableUserTableName) { FILE: packages/cli/src/modules/dynamic-credentials.ee/__tests__/dynamic-credentials-cors.integration.test.ts method setSecret (line 49) | async setSecret() { method getSecret (line 52) | async getSecret() { method deleteSecret (line 55) | async deleteSecret() {} method validateIdentity (line 56) | async validateIdentity() {} function randomId (line 77) | function randomId() { function setupTestData (line 85) | async function setupTestData() { function setupTestData (line 203) | async function setupTestData() { function setupTestData (line 271) | async function setupTestData() { FILE: packages/cli/src/modules/dynamic-credentials.ee/context-establishment-hooks/__tests__/slack-signature-extractor.test.ts function createSlackTriggerItem (line 7) | function createSlackTriggerItem( function createOptions (line 31) | function createOptions( FILE: packages/cli/src/modules/dynamic-credentials.ee/context-establishment-hooks/bearer-token-extractor.ts class BearerTokenExtractor (line 28) | class BearerTokenExtractor implements IContextEstablishmentHook { method constructor (line 29) | constructor(private readonly httpHeaderExtractor: HttpHeaderExtractor) {} method isApplicableToTriggerNode (line 37) | isApplicableToTriggerNode(nodeType: string): boolean { method execute (line 41) | async execute(options: ContextEstablishmentOptions): Promise { function safeRegexExec (line 53) | function safeRegexExec( class HttpHeaderExtractor (line 74) | class HttpHeaderExtractor implements IContextEstablishmentHook { method constructor (line 75) | constructor(private readonly logger: Logger) {} method isApplicableToTriggerNode (line 101) | isApplicableToTriggerNode(nodeType: string): boolean { method execute (line 105) | async execute(options: ContextEstablishmentOptions): Promise { class SlackSignatureExtractor (line 30) | class SlackSignatureExtractor implements IContextEstablishmentHook { method constructor (line 31) | constructor(private readonly logger: Logger) {} method isApplicableToTriggerNode (line 39) | isApplicableToTriggerNode(nodeType: string): boolean { method execute (line 43) | async execute(options: ContextEstablishmentOptions): Promise, name: string): str... method getRawBody (line 104) | private getRawBody(triggerItem: { json: Record }): st... FILE: packages/cli/src/modules/dynamic-credentials.ee/credential-resolvers.controller.ts class CredentialResolversController (line 35) | class CredentialResolversController { method constructor (line 36) | constructor(private readonly service: DynamicCredentialResolverService... method listResolvers (line 40) | async listResolvers(_req: AuthenticatedRequest, _res: Response): Promi... method listResolverTypes (line 54) | listResolverTypes(_req: AuthenticatedRequest, _res: Response): Credent... method createResolver (line 68) | async createResolver( method getAffectedWorkflows (line 97) | async getAffectedWorkflows( method getResolver (line 118) | async getResolver( method updateResolver (line 138) | async updateResolver( method deleteResolver (line 173) | async deleteResolver( FILE: packages/cli/src/modules/dynamic-credentials.ee/credential-resolvers/__tests__/resolver-contract-tests.ts type ResolverContractTestConfig (line 15) | interface ResolverContractTestConfig { function testCredentialResolverContract (line 83) | function testCredentialResolverContract(config: ResolverContractTestConf... FILE: packages/cli/src/modules/dynamic-credentials.ee/credential-resolvers/identifiers/__tests__/slack-signature-identifier.test.ts constant TEST_SIGNING_SECRET (line 8) | const TEST_SIGNING_SECRET = 'test-slack-signing-secret-abc123'; function computeSlackSignature (line 10) | function computeSlackSignature(signingSecret: string, timestamp: string,... FILE: packages/cli/src/modules/dynamic-credentials.ee/credential-resolvers/identifiers/identifier-interface.ts class IdentifierValidationError (line 9) | class IdentifierValidationError extends CredentialResolutionError { method constructor (line 10) | constructor(message: string, options?: ErrorOptions) { type ITokenIdentifier (line 19) | interface ITokenIdentifier { FILE: packages/cli/src/modules/dynamic-credentials.ee/credential-resolvers/identifiers/n8n-identifier.ts class N8NIdentifier (line 21) | class N8NIdentifier implements ITokenIdentifier { method constructor (line 22) | constructor(private readonly authService: AuthService) {} method validateOptions (line 24) | async validateOptions(_: Record): Promise { method resolve (line 28) | async resolve(context: ICredentialContext, _: Record)... FILE: packages/cli/src/modules/dynamic-credentials.ee/credential-resolvers/identifiers/oauth2-introspection-identifier.ts constant MIN_TOKEN_CACHE_TIMEOUT (line 15) | const MIN_TOKEN_CACHE_TIMEOUT = 30 * Time.seconds.toMilliseconds; constant MAX_TOKEN_CACHE_TIMEOUT (line 16) | const MAX_TOKEN_CACHE_TIMEOUT = 5 * Time.minutes.toMilliseconds; constant DEFAULT_CACHE_TIMEOUT (line 17) | const DEFAULT_CACHE_TIMEOUT = 60 * Time.seconds.toMilliseconds; constant METADATA_CACHE_TIMEOUT (line 18) | const METADATA_CACHE_TIMEOUT = 1 * Time.hours.toMilliseconds; type OAuth2IntrospectionOptions (line 27) | type OAuth2IntrospectionOptions = z.infer; type TokenIntrospectionResponse (line 59) | type TokenIntrospectionResponse = z.infer): Pro... method resolve (line 107) | async resolve( method parseOptions (line 138) | private parseOptions(options: Record): OAuth2Introspe... method fetchMetadata (line 149) | private async fetchMetadata( method buildClientBasicRequest (line 187) | private buildClientBasicRequest(options: OAuth2IntrospectionOptions): { method buildClientPostRequest (line 202) | private buildClientPostRequest(options: OAuth2IntrospectionOptions): { method parseIntrospectionResponse (line 215) | private parseIntrospectionResponse(data: unknown): TokenIntrospectionR... method resolveBasedOnTokenIntrospection (line 224) | private async resolveBasedOnTokenIntrospection( FILE: packages/cli/src/modules/dynamic-credentials.ee/credential-resolvers/identifiers/oauth2-userinfo-identifier.ts constant MIN_TOKEN_CACHE_TIMEOUT (line 15) | const MIN_TOKEN_CACHE_TIMEOUT = 30 * Time.seconds.toMilliseconds; constant MAX_TOKEN_CACHE_TIMEOUT (line 16) | const MAX_TOKEN_CACHE_TIMEOUT = 5 * Time.minutes.toMilliseconds; constant DEFAULT_CACHE_TIMEOUT (line 17) | const DEFAULT_CACHE_TIMEOUT = 60 * Time.seconds.toMilliseconds; constant METADATA_CACHE_TIMEOUT (line 18) | const METADATA_CACHE_TIMEOUT = 1 * Time.hours.toMilliseconds; type OAuth2UserInfoOptions (line 25) | type OAuth2UserInfoOptions = z.infer; type OAuth2Metadata (line 32) | type OAuth2Metadata = z.infer; type UserInfoResponse (line 41) | type UserInfoResponse = z.infer; constant CACHE_PREFIX (line 43) | const CACHE_PREFIX = 'oauth2-userinfo-identifier'; class OAuth2UserInfoIdentifier (line 46) | class OAuth2UserInfoIdentifier implements ITokenIdentifier { method constructor (line 47) | constructor( method validateOptions (line 52) | async validateOptions(identifierOptions: Record): Pro... method resolve (line 75) | async resolve( method parseOptions (line 106) | private parseOptions(options: Record): OAuth2UserInfo... method fetchMetadata (line 117) | private async fetchMetadata( method parseUserInfoResponse (line 155) | private parseUserInfoResponse(data: unknown): UserInfoResponse { method resolveBasedOnUserInfo (line 164) | private async resolveBasedOnUserInfo( FILE: packages/cli/src/modules/dynamic-credentials.ee/credential-resolvers/identifiers/oauth2-utils.ts type OAuth2Options (line 9) | type OAuth2Options = z.infer; function sha256 (line 11) | function sha256(token: string): string { FILE: packages/cli/src/modules/dynamic-credentials.ee/credential-resolvers/identifiers/slack-signature-identifier.ts constant MAX_TIMESTAMP_AGE_SECONDS (line 10) | const MAX_TIMESTAMP_AGE_SECONDS = 300; type SlackSignatureOptions (line 45) | type SlackSignatureOptions = z.infer; class SlackSignatureIdentifier (line 56) | class SlackSignatureIdentifier implements ITokenIdentifier { method constructor (line 57) | constructor(private readonly logger: Logger) {} method validateOptions (line 59) | async validateOptions(identifierOptions: Record): Pro... method resolve (line 72) | async resolve( method resolveKey (line 100) | resolveKey(context: ICredentialContext, identifierOptions: Record): SlackSignature... method verifySlackSignature (line 136) | private verifySlackSignature( method extractSlackIdentity (line 176) | private extractSlackIdentity(body: string): { method extractFlatFieldBody (line 192) | private extractFlatFieldBody( method extractInteractivePayloadBody (line 204) | private extractInteractivePayloadBody( method extractEventPayloadBody (line 216) | private extractEventPayloadBody( FILE: packages/cli/src/modules/dynamic-credentials.ee/credential-resolvers/n8n-credential-resolver.ts class N8NCredentialResolver (line 21) | class N8NCredentialResolver implements ICredentialResolver { method constructor (line 22) | constructor( method getSecret (line 40) | async getSecret( method setSecret (line 68) | async setSecret( method deleteSecret (line 88) | async deleteSecret( method deleteAllSecrets (line 102) | async deleteAllSecrets(handle: CredentialResolverHandle): Promise { method validateOptions (line 106) | async validateOptions(configuration: CredentialResolverConfiguration):... method resolveIdentifier (line 110) | private async resolveIdentifier( method validateIdentity (line 117) | async validateIdentity( FILE: packages/cli/src/modules/dynamic-credentials.ee/credential-resolvers/oauth-credential-resolver.ts type OAuthCredentialResolverOptions (line 30) | type OAuthCredentialResolverOptions = z.infer { method parseOptions (line 189) | private async parseOptions(options: CredentialResolverConfiguration) { method validateOptions (line 202) | async validateOptions(options: CredentialResolverConfiguration): Promi... method getIdentifier (line 207) | private async getIdentifier( method resolveIdentifier (line 218) | private async resolveIdentifier( method validateIdentity (line 226) | async validateIdentity( FILE: packages/cli/src/modules/dynamic-credentials.ee/credential-resolvers/slack-credential-resolver.ts class SlackCredentialResolver (line 38) | class SlackCredentialResolver implements ICredentialResolver { method constructor (line 39) | constructor( method getSecret (line 84) | async getSecret( method setSecret (line 112) | async setSecret( method deleteSecret (line 135) | async deleteSecret( method deleteAllSecrets (line 145) | async deleteAllSecrets(handle: CredentialResolverHandle): Promise { method validateOptions (line 149) | async validateOptions(options: CredentialResolverConfiguration): Promi... method validateIdentity (line 153) | async validateIdentity( method parseOptions (line 162) | private parseOptions(options: CredentialResolverConfiguration) { FILE: packages/cli/src/modules/dynamic-credentials.ee/credential-resolvers/storage/dynamic-credential-entry-storage.ts class DynamicCredentialEntryStorage (line 9) | class DynamicCredentialEntryStorage implements ICredentialEntriesStorage { method constructor (line 10) | constructor( method getCredentialData (line 14) | async getCredentialData( method setCredentialData (line 31) | async setCredentialData( method deleteCredentialData (line 53) | async deleteCredentialData( method deleteAllCredentialData (line 66) | async deleteAllCredentialData(handle: CredentialResolverHandle): Promi... FILE: packages/cli/src/modules/dynamic-credentials.ee/credential-resolvers/storage/dynamic-credential-user-entry-storage.ts class DynamicCredentialUserEntryStorage (line 13) | class DynamicCredentialUserEntryStorage implements ICredentialEntriesSto... method constructor (line 14) | constructor( method getCredentialData (line 26) | async getCredentialData( method setCredentialData (line 52) | async setCredentialData( method deleteCredentialData (line 81) | async deleteCredentialData( method deleteAllCredentialData (line 100) | async deleteAllCredentialData(handle: CredentialResolverHandle): Promi... FILE: packages/cli/src/modules/dynamic-credentials.ee/credential-resolvers/storage/storage-interface.ts type ICredentialEntriesStorage (line 1) | interface ICredentialEntriesStorage { FILE: packages/cli/src/modules/dynamic-credentials.ee/database/entities/credential-resolver.ts class DynamicCredentialResolver (line 6) | class DynamicCredentialResolver extends WithTimestampsAndStringId { FILE: packages/cli/src/modules/dynamic-credentials.ee/database/entities/dynamic-credential-entry.ts class DynamicCredentialEntry (line 9) | class DynamicCredentialEntry extends WithTimestamps { method constructor (line 10) | constructor() { FILE: packages/cli/src/modules/dynamic-credentials.ee/database/entities/dynamic-credential-user-entry.ts class DynamicCredentialUserEntry (line 12) | class DynamicCredentialUserEntry extends WithTimestamps { method constructor (line 13) | constructor() { FILE: packages/cli/src/modules/dynamic-credentials.ee/database/repositories/credential-resolver.repository.ts class DynamicCredentialResolverRepository (line 7) | class DynamicCredentialResolverRepository extends Repository { method handlePreflightCredentialAuthorize (line 110) | handlePreflightCredentialAuthorize(req: Request, res: Response): void { method authorizeCredential (line 118) | async authorizeCredential(req: Request, res: Response): Promise { FILE: packages/cli/src/modules/dynamic-credentials.ee/dynamic-credentials.module.ts function isFeatureFlagEnabled (line 6) | function isFeatureFlagEnabled(): boolean { class DynamicCredentialsModule (line 11) | class DynamicCredentialsModule implements ModuleInterface { method init (line 12) | async init() { method entities (line 38) | async entities() { method context (line 51) | async context() { method shutdown (line 62) | async shutdown() {} FILE: packages/cli/src/modules/dynamic-credentials.ee/errors/credential-resolution.error.ts class CredentialResolutionError (line 3) | class CredentialResolutionError extends OperationalError { method constructor (line 4) | constructor(message: string, options?: { cause?: unknown }) { FILE: packages/cli/src/modules/dynamic-credentials.ee/errors/credential-resolver-not-configured.error.ts class CredentialResolverNotConfiguredError (line 7) | class CredentialResolverNotConfiguredError extends CredentialResolutionE... method constructor (line 8) | constructor(credentialName: string) { FILE: packages/cli/src/modules/dynamic-credentials.ee/errors/credential-resolver-not-found.error.ts class DynamicCredentialResolverNotFoundError (line 6) | class DynamicCredentialResolverNotFoundError extends UserError { method constructor (line 7) | constructor(resolverId: string) { class CredentialResolverNotFoundError (line 16) | class CredentialResolverNotFoundError extends CredentialResolutionError { method constructor (line 17) | constructor(credentialName: string, resolverId: string) { FILE: packages/cli/src/modules/dynamic-credentials.ee/errors/credential-storage.error.ts class CredentialStorageError (line 3) | class CredentialStorageError extends UserError { method constructor (line 4) | constructor(message: string, options?: { cause?: unknown }) { FILE: packages/cli/src/modules/dynamic-credentials.ee/errors/missing-execution-context.error.ts class MissingExecutionContextError (line 7) | class MissingExecutionContextError extends CredentialResolutionError { method constructor (line 8) | constructor(credentialName: string) { FILE: packages/cli/src/modules/dynamic-credentials.ee/services/__tests__/credential-resolver-registry.service.test.ts method getSecret (line 28) | async getSecret( method setSecret (line 35) | async setSecret( method validateOptions (line 41) | async validateOptions(_options: CredentialResolverConfiguration): Promis... method init (line 43) | async init() { FILE: packages/cli/src/modules/dynamic-credentials.ee/services/credential-check-proxy.service.ts class CredentialCheckProxyService (line 17) | class CredentialCheckProxyService implements DynamicCredentialCheckProxy... method constructor (line 18) | constructor( method checkCredentialStatus (line 25) | async checkCredentialStatus( method generateAuthorizationUrl (line 69) | private async generateAuthorizationUrl( FILE: packages/cli/src/modules/dynamic-credentials.ee/services/credential-resolver-registry.service.ts class DynamicCredentialResolverRegistry (line 10) | class DynamicCredentialResolverRegistry { method constructor (line 14) | constructor( method init (line 24) | async init() { method getResolverByTypename (line 68) | getResolverByTypename(name: string): ICredentialResolver | undefined { method getAllResolvers (line 75) | getAllResolvers(): ICredentialResolver[] { FILE: packages/cli/src/modules/dynamic-credentials.ee/services/credential-resolver-workflow.service.ts type CredentialStatus (line 10) | type CredentialStatus = { function isCredentialStatus (line 18) | function isCredentialStatus(obj: unknown): obj is CredentialStatus { class CredentialResolverWorkflowService (line 33) | class CredentialResolverWorkflowService { method constructor (line 34) | constructor( method getResolver (line 42) | private async getResolver(resolverId: string): Promise<{ method getWorkflowStatus (line 76) | async getWorkflowStatus( method checkCredentialStatus (line 135) | private async checkCredentialStatus( FILE: packages/cli/src/modules/dynamic-credentials.ee/services/credential-resolver.service.ts type CreateResolverParams (line 20) | interface CreateResolverParams { type UpdateResolverParams (line 27) | interface UpdateResolverParams { class DynamicCredentialResolverService (line 43) | class DynamicCredentialResolverService { method constructor (line 44) | constructor( method create (line 60) | async create(params: CreateResolverParams): Promise { method getAvailableTypes (line 89) | getAvailableTypes(): ICredentialResolver[] { method findById (line 98) | async findById(id: string): Promise { method update (line 111) | async update(id: string, params: UpdateResolverParams): Promise { method validateConfig (line 217) | private async validateConfig( method encryptConfig (line 244) | private encryptConfig(config: CredentialResolverConfiguration): string { method decryptConfig (line 251) | private decryptConfig(encryptedConfig: string): CredentialResolverConf... method withDecryptedConfig (line 265) | private withDecryptedConfig(resolver: DynamicCredentialResolver): Dyna... FILE: packages/cli/src/modules/dynamic-credentials.ee/services/dynamic-credential-cors.service.ts class DynamicCredentialCorsService (line 8) | class DynamicCredentialCorsService { method constructor (line 10) | constructor( method preflightHandler (line 51) | preflightHandler(req: Request, res: Response, allowedMethods: Method[]... method applyCorsHeadersIfEnabled (line 59) | applyCorsHeadersIfEnabled(req: Request, res: Response, allowedMethods:... FILE: packages/cli/src/modules/dynamic-credentials.ee/services/dynamic-credential-storage.service.ts class DynamicCredentialStorageService (line 23) | class DynamicCredentialStorageService implements IDynamicCredentialStora... method constructor (line 24) | constructor( method storeIfNeeded (line 32) | async storeIfNeeded( method handleNoResolver (line 111) | private handleNoResolver(credentialStoreMetadata: CredentialStoreMetad... method handleMissingResolver (line 117) | private handleMissingResolver( FILE: packages/cli/src/modules/dynamic-credentials.ee/services/dynamic-credential-web.service.ts class AuthSourceQuerySchema (line 9) | class AuthSourceQuerySchema extends Z.class({ constant BEARER_TOKEN_REGEX (line 13) | const BEARER_TOKEN_REGEX = /^[Bb][Ee][Aa][Rr][Ee][Rr]\s+(.+)$/; function getBearerToken (line 15) | function getBearerToken(req: Request): string | null { class DynamicCredentialWebService (line 33) | class DynamicCredentialWebService { method constructor (line 34) | constructor(private readonly authService: AuthService) {} method buildCookieCredentialContext (line 36) | private buildCookieCredentialContext(req: Request): ICredentialContext { method getCredentialContextFromRequest (line 53) | getCredentialContextFromRequest(req: Request): ICredentialContext { FILE: packages/cli/src/modules/dynamic-credentials.ee/services/dynamic-credential.service.ts class DynamicCredentialService (line 37) | class DynamicCredentialService implements ICredentialResolutionProvider { method constructor (line 38) | constructor( method resolveIfNeeded (line 58) | async resolveIfNeeded( method buildCredentialContext (line 149) | private buildCredentialContext(executionContext: IExecutionContext | u... method handleResolutionError (line 173) | private handleResolutionError( method handleResolverNotConfigured (line 206) | private handleResolverNotConfigured( method handleResolverNotFound (line 221) | private handleResolverNotFound( method handleMissingContext (line 238) | private handleMissingContext(credentialsResolveMetadata: CredentialRes... method getDynamicCredentialsEndpointsMiddleware (line 251) | getDynamicCredentialsEndpointsMiddleware() { FILE: packages/cli/src/modules/dynamic-credentials.ee/services/resolver-config-expression.service.ts class ResolverConfigExpressionService (line 15) | class ResolverConfigExpressionService { method constructor (line 16) | constructor(private readonly nodeTypes: NodeTypes) {} method resolve (line 23) | async resolve(config: CredentialResolverConfiguration): Promise { method shutdown (line 81) | shutdown(): void { method getProvider (line 93) | getProvider(provider: string): SecretsProvider | undefined { method getProviderProperties (line 97) | getProviderProperties(providerType: string): INodeProperties[] { method hasProvider (line 105) | hasProvider(provider: string): boolean { method getProviderNames (line 109) | getProviderNames(): string[] { method getProvidersWithSettings (line 113) | getProvidersWithSettings(): Array<{ method getProviderWithSettings (line 126) | getProviderWithSettings(provider: string): { method syncProviderConnection (line 139) | async syncProviderConnection(providerKey: string): Promise { method updateProvider (line 165) | async updateProvider(providerKey: string): Promise { method getSecret (line 189) | getSecret(provider: string, name: string): unknown { method hasSecret (line 193) | hasSecret(provider: string, name: string): boolean { method getSecretNames (line 197) | getSecretNames(provider: string): string[] { method getAllSecretNames (line 201) | getAllSecretNames(): Record { method setProviderSettings (line 209) | async setProviderSettings( method setProviderConnected (line 220) | async setProviderConnected(provider: string, connected: boolean): Prom... method testProviderSettings (line 241) | async testProviderSettings(provider: string, data: IDataObject) { method reloadAllProviders (line 292) | async reloadAllProviders(): Promise { method reloadProvidersFromConnectionsRepo (line 310) | private async reloadProvidersFromConnectionsRepo(): Promise { method setupProvider (line 342) | private async setupProvider( method connectProvider (line 364) | private async connectProvider(name: string): Promise { method tearDownProviderConnection (line 385) | private async tearDownProviderConnection(providerKey: string): Promise... method decryptSettings (line 395) | private decryptSettings(encryptedData: string): SecretsProviderSetting... method updateSecrets (line 411) | async updateSecrets(): Promise { method startSecretsRefresh (line 419) | private startSecretsRefresh(): void { method stopSecretsRefresh (line 427) | private stopSecretsRefresh(): void { method broadcastReload (line 438) | private broadcastReload(): void { method trackProviderSave (line 442) | private async trackProviderSave( method getCachedSettings (line 461) | private getCachedSettings(): ExternalSecretsSettings { FILE: packages/cli/src/modules/external-secrets.ee/external-secrets-providers.ee.ts class ExternalSecretsProviders (line 13) | class ExternalSecretsProviders { method getProvider (line 23) | getProvider(name: string): { new (): SecretsProvider } { method hasProvider (line 27) | hasProvider(name: string) { method getAllProviders (line 31) | getAllProviders() { method toProviderTypeResponse (line 35) | toProviderTypeResponse(provider: SecretsProvider): SecretProviderTypeR... FILE: packages/cli/src/modules/external-secrets.ee/external-secrets-settings.controller.ee.ts class ExternalSecretsSettingsController (line 13) | class ExternalSecretsSettingsController { method constructor (line 14) | constructor( method checkFeatureFlag (line 22) | checkFeatureFlag(_req: Request, res: Response, next: NextFunction) { method updateSettings (line 35) | async updateSettings( FILE: packages/cli/src/modules/external-secrets.ee/external-secrets-settings.service.ee.ts class ExternalSecretsSettingsService (line 8) | class ExternalSecretsSettingsService { method constructor (line 9) | constructor( method setSystemRolesEnabled (line 14) | async setSystemRolesEnabled(enabled: boolean): Promise { method isSystemRolesEnabled (line 35) | async isSystemRolesEnabled(): Promise { FILE: packages/cli/src/modules/external-secrets.ee/external-secrets.config.ts class ExternalSecretsConfig (line 4) | class ExternalSecretsConfig { FILE: packages/cli/src/modules/external-secrets.ee/external-secrets.controller.ee.ts class ExternalSecretsController (line 12) | class ExternalSecretsController { method constructor (line 13) | constructor( method validateProviderName (line 22) | validateProviderName(req: Request, _: Response, next: NextFunction) { method getProviders (line 34) | async getProviders() { method getProvider (line 40) | async getProvider(req: ExternalSecretsRequest.GetProvider) { method testProviderSettings (line 47) | async testProviderSettings(req: ExternalSecretsRequest.TestProviderSet... method setProviderSettings (line 60) | async setProviderSettings(req: ExternalSecretsRequest.SetProviderSetti... method setProviderConnected (line 68) | async setProviderConnected(req: ExternalSecretsRequest.SetProviderConn... method updateProvider (line 76) | async updateProvider(req: ExternalSecretsRequest.UpdateProvider, res: ... method getSecretNames (line 90) | getSecretNames() { FILE: packages/cli/src/modules/external-secrets.ee/external-secrets.module.ts class ExternalSecretsModule (line 6) | class ExternalSecretsModule implements ModuleInterface { method init (line 7) | async init() { method settings (line 26) | async settings() { method shutdown (line 46) | async shutdown() { FILE: packages/cli/src/modules/external-secrets.ee/external-secrets.service.ee.ts class ExternalSecretsService (line 9) | class ExternalSecretsService { method constructor (line 10) | constructor( method getProvider (line 15) | getProvider(providerName: string): ExternalSecretsRequest.GetProviderR... method getProviders (line 30) | getProviders() { method redact (line 44) | redact(data: IDataObject, provider: SecretsProvider): IDataObject { method unredact (line 50) | unredact(redactedData: IDataObject, savedData: IDataObject): IDataObje... method saveProviderSettings (line 54) | async saveProviderSettings(providerName: string, data: IDataObject, us... method saveProviderConnected (line 61) | async saveProviderConnected(providerName: string, connected: boolean) { method getAllSecrets (line 66) | getAllSecrets(): Record { method testProviderSettings (line 70) | async testProviderSettings(providerName: string, data: IDataObject) { method updateProvider (line 77) | async updateProvider(providerName: string) { FILE: packages/cli/src/modules/external-secrets.ee/provider-lifecycle.service.ts type ProviderInitResult (line 8) | interface ProviderInitResult { type ProviderConnectResult (line 14) | interface ProviderConnectResult { class ExternalSecretsProviderLifecycle (line 24) | class ExternalSecretsProviderLifecycle { method constructor (line 25) | constructor( method initialize (line 36) | async initialize(name: string, settings: SecretsProviderSettings): Pro... method connect (line 78) | async connect(provider: SecretsProvider): Promise { method reload (line 127) | async reload( FILE: packages/cli/src/modules/external-secrets.ee/provider-registry.service.ts class ExternalSecretsProviderRegistry (line 10) | class ExternalSecretsProviderRegistry { method add (line 13) | add(name: string, provider: SecretsProvider): void { method remove (line 17) | remove(name: string): void { method get (line 21) | get(name: string): SecretsProvider | undefined { method has (line 25) | has(name: string): boolean { method getAll (line 29) | getAll(): Map { method getConnected (line 33) | getConnected(): Map { method getConnectedNames (line 43) | getConnectedNames(): string[] { method getNames (line 47) | getNames(): string[] { method clear (line 51) | clear(): void { method disconnectAll (line 55) | async disconnectAll(): Promise { FILE: packages/cli/src/modules/external-secrets.ee/providers/__tests__/azure-key-vault.test.ts method [Symbol.asyncIterator] (line 37) | async *[Symbol.asyncIterator]() { FILE: packages/cli/src/modules/external-secrets.ee/providers/__tests__/gcp-secrets-manager.test.ts type GcpSecretVersionResponse (line 11) | type GcpSecretVersionResponse = google.cloud.secretmanager.v1.IAccessSec... FILE: packages/cli/src/modules/external-secrets.ee/providers/__tests__/vault.test.ts constant VAULT_BASE_URL (line 8) | const VAULT_BASE_URL = 'https://vault.test.com'; constant VAULT_URL (line 9) | const VAULT_URL = `${VAULT_BASE_URL}/v1/`; function vaultSettingsWithKvPath (line 27) | function vaultSettingsWithKvPath(kvMountPath: string, kvVersion: string) { function tokenLookupResponse (line 38) | function tokenLookupResponse() { function mountsResponse (line 62) | function mountsResponse(mounts: Record) { function kvV2SecretResponse (line 66) | function kvV2SecretResponse(data: Record) { FILE: packages/cli/src/modules/external-secrets.ee/providers/aws-secrets-manager.ts type Secret (line 11) | type Secret = { type AwsSecretsManagerContext (line 16) | type AwsSecretsManagerContext = SecretsProviderSettings< class AwsSecretsManager (line 29) | class AwsSecretsManager extends SecretsProvider { method constructor (line 102) | constructor(private readonly logger = Container.get(Logger)) { method init (line 107) | async init(context: AwsSecretsManagerContext) { method test (line 124) | async test(): Promise<[boolean] | [boolean, string]> { method doConnect (line 134) | protected async doConnect(): Promise { method disconnect (line 144) | async disconnect() { method update (line 148) | async update() { method getSecret (line 160) | getSecret(name: string) { method hasSecret (line 164) | hasSecret(name: string) { method getSecretNames (line 168) | getSecretNames() { method assertAuthType (line 172) | private assertAuthType(context: AwsSecretsManagerContext) { method fetchAllSecretsNames (line 178) | private async fetchAllSecretsNames() { method fetchAllSecrets (line 197) | private async fetchAllSecrets() { method batch (line 224) | private batch(arr: T[], size = 20): T[][] { FILE: packages/cli/src/modules/external-secrets.ee/providers/azure-key-vault/azure-key-vault.ts class AzureKeyVault (line 10) | class AzureKeyVault extends SecretsProvider { method constructor (line 66) | constructor(private readonly logger = Container.get(Logger)) { method init (line 71) | async init(context: AzureKeyVaultContext) { method doConnect (line 77) | protected async doConnect(): Promise { method test (line 89) | async test(): Promise<[boolean] | [boolean, string]> { method disconnect (line 100) | async disconnect() { method update (line 104) | async update() { method getSecret (line 127) | getSecret(name: string) { method hasSecret (line 131) | hasSecret(name: string) { method getSecretNames (line 135) | getSecretNames() { FILE: packages/cli/src/modules/external-secrets.ee/providers/azure-key-vault/types.ts type AzureKeyVaultContext (line 3) | type AzureKeyVaultContext = SecretsProviderSettings<{ FILE: packages/cli/src/modules/external-secrets.ee/providers/gcp-secrets-manager/gcp-secrets-manager.ts class GcpSecretsManager (line 14) | class GcpSecretsManager extends SecretsProvider { method constructor (line 40) | constructor(private readonly logger = Container.get(Logger)) { method init (line 45) | async init(context: GcpSecretsManagerContext) { method doConnect (line 49) | protected async doConnect(): Promise { method test (line 62) | async test(): Promise<[boolean] | [boolean, string]> { method disconnect (line 73) | async disconnect() { method update (line 77) | async update() { method getSecret (line 147) | getSecret(name: string) { method hasSecret (line 151) | hasSecret(name: string) { method getSecretNames (line 155) | getSecretNames() { method parseSecretAccountKey (line 159) | private parseSecretAccountKey(serviceAccountKey: string): GcpSecretAcc... FILE: packages/cli/src/modules/external-secrets.ee/providers/gcp-secrets-manager/types.ts type JsonString (line 3) | type JsonString = string; type GcpSecretsManagerContext (line 5) | type GcpSecretsManagerContext = SecretsProviderSettings<{ type RawGcpSecretAccountKey (line 9) | type RawGcpSecretAccountKey = { type GcpSecretAccountKey (line 15) | type GcpSecretAccountKey = { FILE: packages/cli/src/modules/external-secrets.ee/providers/infisical.ts type InfisicalSettings (line 7) | interface InfisicalSettings { type InfisicalSecret (line 14) | interface InfisicalSecret { type InfisicalServiceToken (line 19) | interface InfisicalServiceToken { class InfisicalProvider (line 24) | class InfisicalProvider extends SecretsProvider { method init (line 69) | async init(settings: SecretsProviderSettings): Promise { method update (line 73) | async update(): Promise { method doConnect (line 96) | protected async doConnect(): Promise { method getEnvironment (line 108) | async getEnvironment(): Promise { method test (line 123) | async test(): Promise<[boolean] | [boolean, string]> { method disconnect (line 138) | async disconnect(): Promise { method getSecret (line 142) | getSecret(name: string): IDataObject { method getSecretNames (line 146) | getSecretNames(): string[] { method hasSecret (line 150) | hasSecret(name: string): boolean { FILE: packages/cli/src/modules/external-secrets.ee/providers/one-password.ts type OnePasswordContext (line 9) | type OnePasswordContext = SecretsProviderSettings<{ class OnePasswordProvider (line 14) | class OnePasswordProvider extends SecretsProvider { method constructor (line 50) | constructor(private readonly logger = Container.get(Logger)) { method init (line 55) | async init(context: OnePasswordContext) { method doConnect (line 73) | protected async doConnect(): Promise { method test (line 91) | async test(): Promise<[boolean] | [boolean, string]> { method disconnect (line 102) | async disconnect() { method update (line 106) | async update() { method getSecret (line 141) | getSecret(name: string): IDataObject { method hasSecret (line 145) | hasSecret(name: string) { method getSecretNames (line 149) | getSecretNames() { FILE: packages/cli/src/modules/external-secrets.ee/providers/vault.ts type VaultAuthMethod (line 12) | type VaultAuthMethod = 'token' | 'usernameAndPassword' | 'appRole'; type VaultSettings (line 14) | interface VaultSettings { type VaultResponse (line 36) | interface VaultResponse { type VaultTokenInfo (line 40) | interface VaultTokenInfo { type VaultMount (line 60) | interface VaultMount { type VaultMountsResp (line 75) | interface VaultMountsResp { type VaultUserPassLoginResp (line 79) | interface VaultUserPassLoginResp { type VaultAppRoleResp (line 85) | type VaultAppRoleResp = VaultUserPassLoginResp; type VaultSecretList (line 87) | interface VaultSecretList { class VaultProvider (line 91) | class VaultProvider extends SecretsProvider { method constructor (line 264) | constructor(readonly logger = Container.get(Logger)) { method init (line 269) | async init(settings: SecretsProviderSettings): Promise { method doConnect (line 291) | protected async doConnect(): Promise { method disconnect (line 321) | async disconnect(): Promise { method setupTokenRefresh (line 328) | private setupTokenRefresh() { method authUsernameAndPassword (line 374) | private async authUsernameAndPassword( method authAppRole (line 392) | private async authAppRole(roleId: string, secretId: string): Promise { method test (line 562) | async test(): Promise<[boolean] | [boolean, string]> { method getSecret (line 588) | getSecret(name: string): IDataObject { method hasSecret (line 592) | hasSecret(name: string): boolean { method getSecretNames (line 596) | getSecretNames(): string[] { FILE: packages/cli/src/modules/external-secrets.ee/redaction.service.ee.ts class RedactionService (line 7) | class RedactionService { method redact (line 14) | redact(data: IDataObject, properties: INodeProperties[]): IDataObject { method unredact (line 41) | unredact(redactedData: IDataObject, savedData: IDataObject): IDataObje... method shouldRedactValue (line 52) | private shouldRedactValue(value: unknown): boolean { method unredactRestoreValues (line 61) | private unredactRestoreValues(unmerged: any, replacement: any): void { FILE: packages/cli/src/modules/external-secrets.ee/retry-manager.service.ts type RetryOperation (line 7) | type RetryOperation = () => Promise<{ success: boolean; error?: Error }>; type LogMethod (line 8) | type LogMethod = (message: string, metadata?: LogMetadata) => void; type RetryInfo (line 10) | interface RetryInfo { class ExternalSecretsRetryManager (line 22) | class ExternalSecretsRetryManager { method constructor (line 27) | constructor(logger: Logger) { method runWithRetry (line 42) | async runWithRetry( method scheduleRetry (line 62) | private scheduleRetry( method cancelRetry (line 97) | cancelRetry(key: string): boolean { method cancelAll (line 112) | cancelAll(): void { method isRetrying (line 123) | isRetrying(key: string): boolean { method getRetryInfo (line 130) | getRetryInfo(key: string): { attempt: number; nextBackoff: number } | ... FILE: packages/cli/src/modules/external-secrets.ee/secret-provider-access-check.service.ee.ts class SecretsProviderAccessCheckService (line 16) | class SecretsProviderAccessCheckService { method constructor (line 17) | constructor( method isProviderAvailableInProject (line 24) | async isProviderAvailableInProject(providerKey: string, projectId: str... method assertConnectionAccess (line 34) | async assertConnectionAccess({ method getConnectionScopesForProject (line 77) | async getConnectionScopesForProject( FILE: packages/cli/src/modules/external-secrets.ee/secrets-cache.service.ts class ExternalSecretsSecretsCache (line 13) | class ExternalSecretsSecretsCache { method constructor (line 14) | constructor( method refreshAll (line 24) | async refreshAll(): Promise { method refreshProvider (line 37) | async refreshProvider(name: string, provider: SecretsProvider): Promis... method getSecret (line 56) | getSecret(providerName: string, secretName: string): unknown { method hasSecret (line 64) | hasSecret(providerName: string, secretName: string): boolean { method getSecretNames (line 72) | getSecretNames(providerName: string): string[] { method getAllSecretNames (line 80) | getAllSecretNames(): Record { FILE: packages/cli/src/modules/external-secrets.ee/secrets-providers-completions.controller.ee.ts class SecretProvidersCompletionsController (line 14) | class SecretProvidersCompletionsController { method constructor (line 15) | constructor( method checkFeatureFlag (line 24) | checkFeatureFlag(req: Request, res: Response, next: NextFunction) { method listGlobalSecrets (line 55) | async listGlobalSecrets(): Promise { method listGlobalSecretsForProject (line 72) | async listGlobalSecretsForProject( method listProjectSecrets (line 84) | async listProjectSecrets( FILE: packages/cli/src/modules/external-secrets.ee/secrets-providers-connections.controller.ee.ts class SecretProvidersConnectionsController (line 31) | class SecretProvidersConnectionsController { method constructor (line 32) | constructor( method checkFeatureFlag (line 41) | checkFeatureFlag(req: Request, res: Response, next: NextFunction) { method createConnection (line 81) | async createConnection( method updateConnection (line 103) | async updateConnection( method deleteConnection (line 120) | async deleteConnection( method listConnections (line 133) | async listConnections(): Promise { method getConnection (line 143) | async getConnection( method testConnection (line 155) | async testConnection( method reloadConnectionSecrets (line 166) | async reloadConnectionSecrets( FILE: packages/cli/src/modules/external-secrets.ee/secrets-providers-connections.service.ee.ts class SecretsProvidersConnectionsService (line 38) | class SecretsProvidersConnectionsService { method constructor (line 39) | constructor( method createConnection (line 53) | async createConnection( method updateProjectConnection (line 105) | async updateProjectConnection( method updateGlobalConnection (line 121) | async updateGlobalConnection( method applyConnectionUpdates (line 164) | private applyConnectionUpdates( method syncAndEmitUpdate (line 186) | private async syncAndEmitUpdate( method deleteConnection (line 206) | async deleteConnection(providerKey: string, userId: string): Promise { method getGlobalCompletions (line 255) | async getGlobalCompletions(): Promise { method getProjectCompletions (line 263) | async getProjectCompletions(projectId: string): Promise { method reload (line 38) | async reload(): Promise { method getCached (line 54) | getCached(): ExternalSecretsSettings { method save (line 61) | async save(settings: ExternalSecretsSettings): Promise { method updateProvider (line 80) | async updateProvider( method getProvider (line 108) | async getProvider(providerName: string): Promise { method decrypt (line 127) | private decrypt(encryptedData: string): ExternalSecretsSettings { method encrypt (line 142) | private encrypt(settings: ExternalSecretsSettings): string { FILE: packages/cli/src/modules/external-secrets.ee/types.ts type SecretsProviderSettings (line 4) | interface SecretsProviderSettings { type ExternalSecretsSettings (line 10) | interface ExternalSecretsSettings { type SecretsProviderState (line 14) | type SecretsProviderState = type StateTransition (line 22) | interface StateTransition { method connect (line 52) | async connect(): Promise { method setState (line 75) | setState(newState: SecretsProviderState, error?: Error): void { method hasEverBeenConnected (line 92) | get hasEverBeenConnected(): boolean { method canPerformOperations (line 99) | get canPerformOperations(): boolean { type GetProviderResponse (line 105) | type GetProviderResponse = Pick; FILE: packages/cli/src/modules/insights/__tests__/insights-by-period-migration.test.ts constant MIGRATION_NAME (line 13) | const MIGRATION_NAME = 'ChangeValueTypesForInsights1759399811000'; FILE: packages/cli/src/modules/insights/__tests__/insights-compaction.service.integration.test.ts type TestData (line 46) | type TestData = { type TestData (line 344) | type TestData = { type TestData (line 429) | type TestData = { FILE: packages/cli/src/modules/insights/__tests__/insights-pruning.service.integration.test.ts method getInsightsRetentionMaxAge (line 137) | getInsightsRetentionMaxAge() { FILE: packages/cli/src/modules/insights/__tests__/insights-raw-migration.test.ts constant MIGRATION_NAME (line 13) | const MIGRATION_NAME = 'ChangeValueTypesForInsights1759399811000'; FILE: packages/cli/src/modules/insights/__tests__/insights.controller.test.ts function expectDatesClose (line 15) | function expectDatesClose(actual: Date, expected: Date, maxDriftMs?: num... FILE: packages/cli/src/modules/insights/__tests__/migration-test-setup.ts constant BOUNDARY_TEST_VALUES (line 7) | const BOUNDARY_TEST_VALUES = { function insertPreMigrationRawData (line 21) | async function insertPreMigrationRawData( function insertPreMigrationPeriodData (line 39) | async function insertPreMigrationPeriodData( FILE: packages/cli/src/modules/insights/database/entities/__tests__/db-utils.ts function getWorkflowSharing (line 14) | async function getWorkflowSharing(workflow: IWorkflowBase) { function createMetadata (line 21) | async function createMetadata(workflow: WorkflowEntity) { function createRawInsightsEvent (line 46) | async function createRawInsightsEvent( function createRawInsightsEvents (line 67) | async function createRawInsightsEvents( function createCompactedInsightsEvent (line 91) | async function createCompactedInsightsEvent( FILE: packages/cli/src/modules/insights/database/entities/insights-by-period.ts class InsightsByPeriod (line 24) | class InsightsByPeriod extends BaseEntity { method type (line 38) | get type() { method type (line 48) | set type(value: keyof typeof TypeToNumber) { method periodUnit (line 63) | get periodUnit() { method periodUnit (line 73) | set periodUnit(value: PeriodUnit) { FILE: packages/cli/src/modules/insights/database/entities/insights-metadata.ts class InsightsMetadata (line 4) | class InsightsMetadata extends BaseEntity { FILE: packages/cli/src/modules/insights/database/entities/insights-raw.ts class InsightsRaw (line 12) | class InsightsRaw extends BaseEntity { method constructor (line 13) | constructor() { method type (line 27) | get type() { method type (line 37) | set type(value: keyof typeof TypeToNumber) { FILE: packages/cli/src/modules/insights/database/entities/insights-shared.ts function isValid (line 1) | function isValid>( type PeriodUnit (line 15) | type PeriodUnit = keyof typeof PeriodUnitToNumber; type PeriodUnitNumber (line 17) | type PeriodUnitNumber = (typeof PeriodUnitToNumber)[PeriodUnit]; function isValidPeriodNumber (line 25) | function isValidPeriodNumber(value: number) { type TypeUnit (line 37) | type TypeUnit = keyof typeof TypeToNumber; type TypeUnitNumber (line 39) | type TypeUnitNumber = (typeof TypeToNumber)[TypeUnit]; function isValidTypeNumber (line 48) | function isValidTypeNumber(value: number) { FILE: packages/cli/src/modules/insights/database/repositories/insights-by-period-query.helper.ts function getDateRangesSelectQuery (line 53) | function getDateRangesSelectQuery({ FILE: packages/cli/src/modules/insights/database/repositories/insights-by-period.repository.ts class InsightsByPeriodRepository (line 76) | class InsightsByPeriodRepository extends Repository { method constructor (line 79) | constructor(dataSource: DataSource) { method escapeField (line 83) | private escapeField(fieldName: string) { method getPeriodFilterExpr (line 87) | private getPeriodFilterExpr(maxAgeInDays = 0) { method getPeriodStartExpr (line 97) | private getPeriodStartExpr(periodUnitToCompactInto: PeriodUnit) { method getPeriodInsightsBatchQuery (line 111) | getPeriodInsightsBatchQuery({ method getAggregationQuery (line 137) | private getAggregationQuery(periodUnit: PeriodUnit) { method compactSourceDataIntoInsightPeriod (line 160) | async compactSourceDataIntoInsightPeriod({ method getPreviousAndCurrentPeriodTypeAggregates (line 259) | async getPreviousAndCurrentPeriodTypeAggregates({ method parseSortingParams (line 305) | private parseSortingParams(sortBy: string): [string, 'ASC' | 'DESC'] { method getInsightsByWorkflow (line 310) | async getInsightsByWorkflow({ method getInsightsByTime (line 372) | async getInsightsByTime({ method pruneOldData (line 411) | async pruneOldData(maxAgeInDays: number): Promise<{ affected: number |... FILE: packages/cli/src/modules/insights/database/repositories/insights-metadata.repository.ts class InsightsMetadataRepository (line 7) | class InsightsMetadataRepository extends Repository { method constructor (line 8) | constructor(dataSource: DataSource) { FILE: packages/cli/src/modules/insights/database/repositories/insights-raw.repository.ts class InsightsRawRepository (line 7) | class InsightsRawRepository extends Repository { method constructor (line 8) | constructor(dataSource: DataSource) { method getRawInsightsBatchQuery (line 12) | getRawInsightsBatchQuery(compactionBatchSize: number) { FILE: packages/cli/src/modules/insights/insights-collection.service.ts constant MIN_RUNTIME (line 53) | const MIN_RUNTIME = 0; constant MAX_RUNTIME (line 56) | const MAX_RUNTIME = 2 ** 31 - 1; type BufferedInsight (line 58) | type BufferedInsight = Pick... class InsightsCollectionService (line 68) | class InsightsCollectionService { method constructor (line 81) | constructor( method init (line 91) | init() { method scheduleFlushing (line 99) | scheduleFlushing() { method cancelScheduledFlushing (line 110) | cancelScheduledFlushing() { method stopFlushingTimer (line 117) | stopFlushingTimer() { method shutdown (line 122) | async shutdown() { method handleWorkflowExecuteAfter (line 138) | async handleWorkflowExecuteAfter(ctx: WorkflowExecuteAfterContext) { method saveInsightsMetadataAndRaw (line 203) | private async saveInsightsMetadataAndRaw(insightsRawToInsertBuffer: Se... method flushEvents (line 269) | async flushEvents() { method calculateTimeSaved (line 314) | private calculateTimeSaved(ctx: WorkflowExecuteAfterContext): number { method extractTimeSavedFromNodes (line 331) | private extractTimeSavedFromNodes(runData: IRun): number { FILE: packages/cli/src/modules/insights/insights-compaction.service.ts class InsightsCompactionService (line 14) | class InsightsCompactionService { method constructor (line 17) | constructor( method startCompactionTimer (line 26) | startCompactionTimer() { method stopCompactionTimer (line 35) | stopCompactionTimer() { method compactInsights (line 43) | async compactInsights() { method compactRawToHour (line 74) | async compactRawToHour() { method compactHourToDay (line 90) | async compactHourToDay() { method compactDayToWeek (line 107) | async compactDayToWeek() { FILE: packages/cli/src/modules/insights/insights-pruning.service.ts class InsightsPruningService (line 10) | class InsightsPruningService { method constructor (line 17) | constructor( method isPruningEnabled (line 26) | get isPruningEnabled() { method pruningMaxAgeInDays (line 30) | get pruningMaxAgeInDays() { method startPruningTimer (line 39) | startPruningTimer() { method clearPruningTimer (line 47) | private clearPruningTimer() { method stopPruningTimer (line 54) | stopPruningTimer() { method scheduleNextPrune (line 60) | private scheduleNextPrune( method pruneInsights (line 70) | async pruneInsights() { FILE: packages/cli/src/modules/insights/insights.config.ts class InsightsConfig (line 4) | class InsightsConfig { FILE: packages/cli/src/modules/insights/insights.constants.ts constant INSIGHTS_DATE_RANGE_KEYS (line 1) | const INSIGHTS_DATE_RANGE_KEYS = [ FILE: packages/cli/src/modules/insights/insights.controller.ts class InsightsController (line 21) | class InsightsController { method constructor (line 22) | constructor(private readonly insightsService: InsightsService) {} method getInsightsSummary (line 26) | async getInsightsSummary( method getInsightsByWorkflow (line 43) | async getInsightsByWorkflow( method getInsightsByTime (line 63) | async getInsightsByTime( method getTimeSavedInsightsByTime (line 85) | async getTimeSavedInsightsByTime( method validateQueryDates (line 102) | private validateQueryDates(query: InsightsDateFilterDto | ListInsights... method prepareDateFilters (line 127) | private prepareDateFilters(query: InsightsDateFilterDto | ListInsights... method getSanitizedDateFilters (line 141) | private getSanitizedDateFilters(query: InsightsDateFilterDto | ListIns... method checkDatesFiltersAgainstLicense (line 157) | private checkDatesFiltersAgainstLicense(dateFilters: { startDate: Date... FILE: packages/cli/src/modules/insights/insights.module.ts class InsightsModule (line 10) | class InsightsModule implements ModuleInterface { method init (line 11) | async init() { method entities (line 18) | async entities() { method settings (line 26) | async settings() { method shutdown (line 33) | async shutdown() { FILE: packages/cli/src/modules/insights/insights.service.ts class InsightsService (line 16) | class InsightsService { method constructor (line 17) | constructor( method toggleCollectionService (line 28) | private async toggleCollectionService(enable: boolean) { method init (line 46) | async init() { method startCompactionAndPruningTimers (line 53) | startCompactionAndPruningTimers() { method stopCompactionAndPruningTimers (line 61) | stopCompactionAndPruningTimers() { method shutdown (line 66) | async shutdown() { method getInsightsSummary (line 71) | async getInsightsSummary({ method getInsightsByWorkflow (line 165) | async getInsightsByWorkflow({ method getInsightsByTime (line 195) | async getInsightsByTime({ method validateDateFiltersLicense (line 249) | validateDateFiltersLicense({ startDate, endDate }: { startDate: Date; ... method getDateFiltersGranularity (line 274) | private getDateFiltersGranularity({ FILE: packages/cli/src/modules/insights/insights.settings.ts class InsightsSettings (line 7) | class InsightsSettings { method constructor (line 8) | constructor(private readonly licenseState: LicenseState) {} method settings (line 10) | settings() { method getAvailableDateRanges (line 18) | private getAvailableDateRanges(): DateRange[] { type DateRange (line 34) | type DateRange = { FILE: packages/cli/src/modules/instance-ai/__tests__/compaction.service.test.ts type MockMessage (line 31) | interface MockMessage { function createMessage (line 43) | function createMessage( function createToolMessage (line 60) | function createToolMessage(id: string): MockMessage { function createMockMemory (line 70) | function createMockMemory(metadata?: Record) { function createService (line 81) | function createService( FILE: packages/cli/src/modules/instance-ai/__tests__/credit-counting.test.ts function createService (line 44) | function createService(deps: { function createMockThreadRepo (line 64) | function createMockThreadRepo( function createMockAiService (line 73) | function createMockAiService(opts: { proxyEnabled?: boolean; creditInfo?... FILE: packages/cli/src/modules/instance-ai/__tests__/instance-ai-memory.service.test.ts function createService (line 23) | function createService(): InstanceAiMemoryService { function makeTree (line 51) | function makeTree(overrides?: Partial): InstanceAiA... FILE: packages/cli/src/modules/instance-ai/__tests__/instance-ai.adapter.service.security.test.ts method wrapUntrustedData (line 3) | wrapUntrustedData(content: string, source: string, label?: string): stri... FILE: packages/cli/src/modules/instance-ai/__tests__/instance-ai.adapter.service.test.ts method wrapUntrustedData (line 3) | wrapUntrustedData(content: string, source: string, label?: string): stri... function createMockExecutionRepository (line 27) | function createMockExecutionRepository( function makeExecution (line 36) | function makeExecution( function makeTaskData (line 65) | function makeTaskData( function createDataTableAdapterForTests (line 705) | function createDataTableAdapterForTests(overrides?: { function createWorkflowAdapterForTests (line 879) | function createWorkflowAdapterForTests(overrides?: { FILE: packages/cli/src/modules/instance-ai/__tests__/instance-ai.controller.test.ts constant USER_ID (line 47) | const USER_ID = 'user-1'; constant THREAD_ID (line 48) | const THREAD_ID = 'thread-1'; function scopeOf (line 53) | function scopeOf(handlerName: string): { scope: Scope; globalOnly: boole... FILE: packages/cli/src/modules/instance-ai/__tests__/instance-ai.gateway.service.test.ts constant CAPABILITIES (line 5) | const CAPABILITIES: InstanceAiGatewayCapabilities = { FILE: packages/cli/src/modules/instance-ai/__tests__/local-fs-provider.test.ts function createFile (line 22) | async function createFile(relativePath: string, content = ''): Promise voi... method getEventsAfter (line 48) | getEventsAfter(threadId: string, afterId: number): StoredEvent[] { method getEventsForRun (line 54) | getEventsForRun(threadId: string, runId: string): InstanceAiEvent[] { method getEventsForRuns (line 60) | getEventsForRuns(threadId: string, runIds: string[]): InstanceAiEvent[] { method getNextEventId (line 67) | getNextEventId(threadId: string): number { method clearThread (line 72) | clearThread(threadId: string): void { method clear (line 80) | clear(): void { method evictIfNeeded (line 87) | private evictIfNeeded(threadId: string, events: StoredEvent[]): void { method getOrCreateStore (line 99) | private getOrCreateStore(threadId: string): StoredEvent[] { FILE: packages/cli/src/modules/instance-ai/filesystem/local-fs-provider.ts constant DEFAULT_MAX_DEPTH (line 14) | const DEFAULT_MAX_DEPTH = 2; constant DEFAULT_MAX_LINES (line 15) | const DEFAULT_MAX_LINES = 200; constant DEFAULT_MAX_RESULTS (line 16) | const DEFAULT_MAX_RESULTS = 100; constant DEFAULT_SEARCH_MAX_RESULTS (line 17) | const DEFAULT_SEARCH_MAX_RESULTS = 50; constant MAX_FILE_SIZE_BYTES (line 18) | const MAX_FILE_SIZE_BYTES = 512 * 1024; constant BINARY_CHECK_BYTES (line 19) | const BINARY_CHECK_BYTES = 8192; constant MAX_ENTRY_COUNT (line 20) | const MAX_ENTRY_COUNT = 200; constant EXCLUDED_DIRS (line 22) | const EXCLUDED_DIRS = new Set([ class LocalFilesystemProvider (line 47) | class LocalFilesystemProvider implements InstanceAiFilesystemService { method constructor (line 50) | constructor(basePath?: string) { method getFileTree (line 54) | async getFileTree( method listFiles (line 107) | async listFiles( method readFile (line 172) | async readFile( method searchFiles (line 224) | async searchFiles( method resolve (line 314) | private async resolve(inputPath: string): Promise { function globToRegex (line 345) | function globToRegex(pattern: string): RegExp { function escapeRegex (line 355) | function escapeRegex(str: string): string { function expandTilde (line 360) | function expandTilde(p: string): string { FILE: packages/cli/src/modules/instance-ai/filesystem/local-gateway-registry.ts type UserGatewayState (line 11) | interface UserGatewayState { constant INITIAL_GRACE_MS (line 19) | const INITIAL_GRACE_MS = 10_000; constant MAX_GRACE_MS (line 20) | const MAX_GRACE_MS = 120_000; constant PAIRING_TOKEN_TTL_MS (line 21) | const PAIRING_TOKEN_TTL_MS = 5 * 60 * 1000; class LocalGatewayRegistry (line 28) | class LocalGatewayRegistry { method generateUniqueKey (line 35) | private generateUniqueKey(prefix: string): string { method getOrCreate (line 43) | private getOrCreate(userId: string): UserGatewayState { method getUserIdForApiKey (line 57) | getUserIdForApiKey(key: string): string | undefined { method generatePairingToken (line 62) | generatePairingToken(userId: string): string { method getPairingToken (line 79) | getPairingToken(userId: string): string | null { method consumePairingToken (line 94) | consumePairingToken(userId: string, token: string): string | null { method getActiveSessionKey (line 108) | getActiveSessionKey(userId: string): string | null { method clearActiveSessionKey (line 113) | clearActiveSessionKey(userId: string): void { method getGateway (line 121) | getGateway(userId: string): LocalGateway { method findGateway (line 126) | findGateway(userId: string): LocalGateway | undefined { method initGateway (line 131) | initGateway(userId: string, data: InstanceAiGatewayCapabilities): void { method resolveGatewayRequest (line 139) | resolveGatewayRequest( method disconnectGateway (line 149) | disconnectGateway(userId: string): void { method getGatewayStatus (line 154) | getGatewayStatus(userId: string): { method startDisconnectTimer (line 177) | startDisconnectTimer(userId: string, onDisconnect: () => void): void { method clearDisconnectTimer (line 192) | clearDisconnectTimer(userId: string): void { method disconnectAll (line 200) | disconnectAll(): void { FILE: packages/cli/src/modules/instance-ai/filesystem/local-gateway.ts constant REQUEST_TIMEOUT_MS (line 11) | const REQUEST_TIMEOUT_MS = 30_000; type PendingRequest (line 15) | interface PendingRequest { type LocalGatewayEvent (line 21) | interface LocalGatewayEvent { class LocalGateway (line 43) | class LocalGateway { method isConnected (line 60) | get isConnected(): boolean { method connectedAt (line 64) | get connectedAt(): string | null { method rootPath (line 68) | get rootPath(): string | null { method getAvailableTools (line 73) | getAvailableTools(): McpTool[] { method getToolsByCategory (line 78) | getToolsByCategory(category: string): McpTool[] { method onRequest (line 83) | onRequest(listener: (event: LocalGatewayEvent) => void): () => void { method init (line 89) | init(data: InstanceAiGatewayCapabilities): void { method resolveRequest (line 99) | resolveRequest(requestId: string, result?: McpToolCallResult, error?: ... method disconnect (line 124) | disconnect(): void { method getStatus (line 140) | getStatus(): { method callTool (line 160) | async callTool(toolCall: McpToolCallRequest): Promise { method renameThread (line 239) | async renameThread(threadId: string, title: string): Promise = { constant SUPPORTED_CREDENTIAL_TYPES (line 38) | const SUPPORTED_CREDENTIAL_TYPES = Object.keys(CREDENTIAL_TO_MASTRA_PROV... constant URL_FIELD_MAP (line 41) | const URL_FIELD_MAP: Record = { constant SANDBOX_CREDENTIAL_TYPES (line 53) | const SANDBOX_CREDENTIAL_TYPES = ['daytonaApi', 'httpHeaderAuth']; constant SEARCH_CREDENTIAL_TYPES (line 54) | const SEARCH_CREDENTIAL_TYPES = ['braveSearchApi', 'searXngApi']; constant SERVICE_CREDENTIAL_TYPES (line 55) | const SERVICE_CREDENTIAL_TYPES = [...SANDBOX_CREDENTIAL_TYPES, ...SEARCH... type PersistedAdminSettings (line 58) | interface PersistedAdminSettings { type PersistedUserPreferences (line 77) | interface PersistedUserPreferences { class InstanceAiSettingsService (line 84) | class InstanceAiSettingsService { method constructor (line 100) | constructor( method loadFromDb (line 110) | async loadFromDb(): Promise { method getAdminSettings (line 122) | getAdminSettings(): InstanceAiAdminSettingsResponse { method updateAdminSettings (line 143) | async updateAdminSettings( method getUserPreferences (line 174) | async getUserPreferences(user: User): Promise { method resolveModelConfig (line 357) | async resolveModelConfig(user: User): Promise { method envVarModelConfig (line 401) | private envVarModelConfig(): ModelConfig { method extractModelName (line 418) | private extractModelName(model: string): string { method applyAdminSettings (line 423) | private applyAdminSettings(persisted: PersistedAdminSettings): void { method loadUserPreferences (line 452) | private async loadUserPreferences(userId: string): Promise { method persistUserPreferences (line 492) | private async persistUserPreferences( FILE: packages/cli/src/modules/instance-ai/instance-ai.adapter.service.ts class InstanceAiAdapterService (line 113) | class InstanceAiAdapterService { method getNodesFromCache (line 128) | private async getNodesFromCache() { method constructor (line 141) | constructor( method createContext (line 172) | createContext( method buildLicenseHints (line 195) | private buildLicenseHints(): string[] { method createProjectScopeHelpers (line 210) | private createProjectScopeHelpers(user: User) { method createWorkflowAdapter (line 237) | private createWorkflowAdapter(user: User): InstanceAiWorkflowService { method createExecutionAdapter (line 508) | private createExecutionAdapter(user: User, pushRef?: string): Instance... method createCredentialAdapter (line 778) | private createCredentialAdapter(user: User): InstanceAiCredentialServi... method createDataTableAdapter (line 972) | private createDataTableAdapter(user: User): InstanceAiDataTableService { method createWebResearchAdapter (line 1133) | private createWebResearchAdapter( method buildSearchMethod (line 1217) | private buildSearchMethod( method getNodeDefinitionDirs (line 1280) | getNodeDefinitionDirs(): string[] { method createNodeAdapter (line 1287) | private createNodeAdapter(user: User): InstanceAiNodeService { method createWorkspaceAdapter (line 1705) | private createWorkspaceAdapter(user: User): InstanceAiWorkspaceService { constant MAX_RESULT_CHARS (line 1900) | const MAX_RESULT_CHARS = 20_000; constant MAX_NODE_OUTPUT_CHARS (line 1903) | const MAX_NODE_OUTPUT_CHARS = 1_000; function truncateResultData (line 1909) | function truncateResultData(resultData: Record): Record... function wrapResultDataEntries (line 1939) | function wrapResultDataEntries(data: Record): Record | undefi... function toWorkflowJSON (line 2333) | function toWorkflowJSON( function toWorkflowDetail (line 2358) | function toWorkflowDetail( FILE: packages/cli/src/modules/instance-ai/instance-ai.controller.ts type FlushableResponse (line 46) | type FlushableResponse = Response & { flush?: () => void }; constant KEEP_ALIVE_INTERVAL_MS (line 48) | const KEEP_ALIVE_INTERVAL_MS = 15_000; class InstanceAiController (line 51) | class InstanceAiController { method constructor (line 56) | constructor( method chat (line 71) | async chat( method events (line 100) | async events( method confirm (line 255) | async confirm( method cancel (line 282) | async cancel(req: AuthenticatedRequest, _res: Response, @Param('thread... method cancelTask (line 290) | async cancelTask( method correctTask (line 303) | async correctTask( method getCredits (line 319) | async getCredits(req: AuthenticatedRequest) { method getAdminSettings (line 327) | async getAdminSettings(_req: AuthenticatedRequest) { method updateAdminSettings (line 333) | async updateAdminSettings( method getUserPreferences (line 345) | async getUserPreferences(req: AuthenticatedRequest) { method updateUserPreferences (line 351) | async updateUserPreferences( method listModelCredentials (line 365) | async listModelCredentials(req: AuthenticatedRequest) { method listServiceCredentials (line 371) | async listServiceCredentials(req: AuthenticatedRequest) { method getMemory (line 377) | async getMemory(req: AuthenticatedRequest, _res: Response, @Param('thr... method updateMemory (line 384) | async updateMemory( method listThreads (line 397) | async listThreads(req: AuthenticatedRequest) { method ensureThread (line 403) | async ensureThread( method deleteThread (line 415) | async deleteThread( method renameThread (line 428) | async renameThread( method getThreadMessages (line 441) | async getThreadMessages( method getThreadStatus (line 470) | async getThreadStatus( method getThreadContext (line 482) | async getThreadContext( method createGatewayLink (line 495) | async createGatewayLink(req: AuthenticatedRequest) { method gatewayEvents (line 503) | async gatewayEvents(req: Request, res: FlushableResponse) { method gatewayInit (line 546) | gatewayInit(req: Request) { method gatewayDisconnect (line 578) | gatewayDisconnect(req: Request) { method gatewayResponse (line 595) | gatewayResponse(req: Request, _res: Response, @Param('requestId') requ... method gatewayStatus (line 616) | async gatewayStatus(req: AuthenticatedRequest) { method assertThreadAccess (line 626) | private async assertThreadAccess( method getGatewayKeyHeader (line 645) | private getGatewayKeyHeader(req: Request): string | undefined { method validateGatewayApiKey (line 657) | private validateGatewayApiKey(key: string | undefined): string { method writeSseEvent (line 678) | private writeSseEvent(res: FlushableResponse, stored: StoredEvent): vo... FILE: packages/cli/src/modules/instance-ai/instance-ai.module.ts class InstanceAiModule (line 6) | class InstanceAiModule implements ModuleInterface { method init (line 7) | async init() { method settings (line 24) | async settings() { method entities (line 41) | async entities() { method shutdown (line 66) | async shutdown() { FILE: packages/cli/src/modules/instance-ai/instance-ai.service.ts function getErrorMessage (line 84) | function getErrorMessage(error: unknown): string { function createInertAbortSignal (line 88) | function createInertAbortSignal(): AbortSignal { constant ORCHESTRATOR_AGENT_ID (line 92) | const ORCHESTRATOR_AGENT_ID = 'agent-001'; constant MAX_CONCURRENT_BACKGROUND_TASKS_PER_THREAD (line 93) | const MAX_CONCURRENT_BACKGROUND_TASKS_PER_THREAD = 5; type MessageTraceFinalization (line 95) | interface MessageTraceFinalization { class InstanceAiService (line 106) | class InstanceAiService { method constructor (line 157) | constructor( method startConfirmationTimeoutSweep (line 184) | private startConfirmationTimeoutSweep(): void { method getSandboxConfigFromEnv (line 205) | private getSandboxConfigFromEnv(): SandboxConfig { method getAiAssistantClient (line 257) | private async getAiAssistantClient(): Promise { method createBuilderFactory (line 323) | private async createBuilderFactory(user: User): Promise { method getProxyAuth (line 382) | private async getProxyAuth(user: User) { method resolveModel (line 404) | private async resolveModel(user: User): Promise { method resolveSearchProxyConfig (line 419) | private async resolveSearchProxyConfig(user: User): Promise void): void { method clearDisconnectTimer (line 889) | clearDisconnectTimer(userId: string): void { method clearThreadState (line 897) | async clearThreadState(threadId: string): Promise { method shutdown (line 935) | async shutdown(): Promise { method createMemoryConfig (line 987) | private createMemoryConfig() { method ensureThreadExists (line 996) | private async ensureThreadExists( method projectPlannedTaskList (line 1016) | private projectPlannedTaskList(graph: PlannedTaskGraph): TaskList { method buildPlannedTaskFollowUpMessage (line 1033) | private buildPlannedTaskFollowUpMessage( method createPlannedTaskState (line 1063) | private async createPlannedTaskState() { method syncPlannedTasksToUi (line 1071) | private async syncPlannedTasksToUi(threadId: string, graph: PlannedTas... method createExecutionEnvironment (line 1083) | private async createExecutionEnvironment( method dispatchPlannedTask (line 1211) | private async dispatchPlannedTask( method handlePlannedTaskSettlement (line 1266) | private async handlePlannedTaskSettlement( method startInternalFollowUpRun (line 1298) | private async startInternalFollowUpRun( method schedulePlannedTasks (line 1326) | private async schedulePlannedTasks(user: User, threadId: string): Prom... method executeRun (line 1382) | private async executeRun( method resolveConfirmation (line 1762) | async resolveConfirmation( method resumeSuspendedRun (line 1774) | private async resumeSuspendedRun( method processResumedStream (line 1818) | private async processResumedStream( method spawnBackgroundTask (line 1961) | private spawnBackgroundTask( method buildMessageWithRunningTasks (line 2075) | private async buildMessageWithRunningTasks(threadId: string, message: ... method publishRunFinish (line 2086) | private publishRunFinish( method finalizeRun (line 2104) | private async finalizeRun( method refineTitleIfNeeded (line 2124) | private async refineTitleIfNeeded( method cleanupMastraSnapshots (line 2181) | private async cleanupMastraSnapshots(mastraRunId: string): Promise { method constructor (line 8) | constructor(dataSource: DataSource) { FILE: packages/cli/src/modules/instance-ai/repositories/instance-ai-observational-memory.repository.ts class InstanceAiObservationalMemoryRepository (line 7) | class InstanceAiObservationalMemoryRepository extends Repository { method constructor (line 8) | constructor(dataSource: DataSource) { FILE: packages/cli/src/modules/instance-ai/repositories/instance-ai-run-snapshot.repository.ts class InstanceAiRunSnapshotRepository (line 7) | class InstanceAiRunSnapshotRepository extends Repository { method constructor (line 8) | constructor(dataSource: DataSource) { FILE: packages/cli/src/modules/instance-ai/repositories/instance-ai-workflow-snapshot.repository.ts class InstanceAiWorkflowSnapshotRepository (line 7) | class InstanceAiWorkflowSnapshotRepository extends Repository { FILE: packages/cli/src/modules/instance-ai/storage/db-snapshot-storage.ts class DbSnapshotStorage (line 9) | class DbSnapshotStorage { method constructor (line 10) | constructor(private readonly repo: InstanceAiRunSnapshotRepository) {} method save (line 12) | async save( method updateLast (line 31) | async updateLast( method getAll (line 76) | async getAll(threadId: string): Promise { FILE: packages/cli/src/modules/instance-ai/storage/typeorm-composite-store.ts class TypeORMCompositeStore (line 9) | class TypeORMCompositeStore extends MastraCompositeStore { method constructor (line 12) | constructor(memoryStorage: TypeORMMemoryStorage, workflowsStorage: Typ... method init (line 22) | override async init(): Promise { FILE: packages/cli/src/modules/instance-ai/storage/typeorm-memory-storage.ts constant PATCH_ONLY_METADATA_KEYS (line 41) | const PATCH_ONLY_METADATA_KEYS = ['instanceAiPlannedTasks'] as const; function countLines (line 43) | function countLines(value: string): number { function buildResourceTraceMetadata (line 47) | function buildResourceTraceMetadata(resourceId: string): Record { method getThreadById (line 94) | async getThreadById({ threadId }: { threadId: string }): Promise { method toStorageThread (line 277) | private toStorageThread(entity: InstanceAiThread): StorageThreadType { method serializeThreadMutation (line 288) | private async serializeThreadMutation( method listMessages (line 316) | async listMessages(args: StorageListMessagesInput): Promise { method getResourceById (line 556) | async getResourceById({ method saveResource (line 583) | async saveResource({ method updateResource (line 603) | async updateResource({ method cloneThread (line 637) | async cloneThread(args: StorageCloneThreadInput): Promise { method setBufferingObservationFlag (line 1045) | async setBufferingObservationFlag( method setBufferingReflectionFlag (line 1059) | async setBufferingReflectionFlag(id: string, isBuffering: boolean): Pr... method clearObservationalMemory (line 1063) | async clearObservationalMemory(threadId: string | null, resourceId: st... method setPendingMessageTokens (line 1069) | async setPendingMessageTokens(id: string, tokenCount: number): Promise... method entityToMessage (line 1075) | private entityToMessage(entity: InstanceAiMessage): MastraDBMessage { FILE: packages/cli/src/modules/instance-ai/storage/typeorm-workflows-storage.ts class TypeORMWorkflowsStorage (line 15) | class TypeORMWorkflowsStorage extends WorkflowsStorage { method constructor (line 16) | constructor(private readonly snapshotRepo: InstanceAiWorkflowSnapshotR... method supportsConcurrentUpdates (line 20) | supportsConcurrentUpdates(): boolean { method dangerouslyClearAll (line 24) | async dangerouslyClearAll(): Promise { method persistWorkflowSnapshot (line 28) | async persistWorkflowSnapshot(args: { method loadWorkflowSnapshot (line 65) | async loadWorkflowSnapshot({ method updateWorkflowState (line 77) | async updateWorkflowState({ method updateWorkflowResults (line 111) | async updateWorkflowResults({ method listWorkflowRuns (line 136) | async listWorkflowRuns(args?: StorageListWorkflowRunsInput): Promise { FILE: packages/cli/src/modules/instance-ai/web-research/__tests__/brave-search.test.ts constant MOCK_BRAVE_RESPONSE (line 14) | const MOCK_BRAVE_RESPONSE = { FILE: packages/cli/src/modules/instance-ai/web-research/__tests__/fetch-and-extract.test.ts function createMockResponse (line 11) | function createMockResponse( FILE: packages/cli/src/modules/instance-ai/web-research/__tests__/searxng-search.test.ts constant MOCK_SEARXNG_RESPONSE (line 14) | const MOCK_SEARXNG_RESPONSE = { FILE: packages/cli/src/modules/instance-ai/web-research/__tests__/summarize-content.test.ts function createPage (line 5) | function createPage(contentLength: number): FetchedPage { FILE: packages/cli/src/modules/instance-ai/web-research/brave-search.ts constant BRAVE_SEARCH_PATH (line 3) | const BRAVE_SEARCH_PATH = '/res/v1/web/search'; constant BRAVE_SEARCH_URL (line 4) | const BRAVE_SEARCH_URL = `https://api.search.brave.com${BRAVE_SEARCH_PAT... type BraveWebResult (line 6) | interface BraveWebResult { type BraveSearchApiResponse (line 13) | interface BraveSearchApiResponse { function braveSearch (line 26) | async function braveSearch( FILE: packages/cli/src/modules/instance-ai/web-research/cache.ts type CacheEntry (line 1) | interface CacheEntry { class LRUCache (line 10) | class LRUCache { method constructor (line 15) | constructor(options?: { maxEntries?: number; ttlMs?: number }) { method get (line 20) | get(key: string): T | undefined { method set (line 36) | set(key: string, value: T): void { method size (line 54) | get size(): number { method clear (line 58) | clear(): void { FILE: packages/cli/src/modules/instance-ai/web-research/fetch-and-extract.ts constant DEFAULT_TIMEOUT_MS (line 9) | const DEFAULT_TIMEOUT_MS = 30_000; constant MAX_TIMEOUT_MS (line 10) | const MAX_TIMEOUT_MS = 120_000; constant MAX_RESPONSE_BYTES (line 11) | const MAX_RESPONSE_BYTES = 5 * 1024 * 1024; constant DEFAULT_MAX_CONTENT_LENGTH (line 12) | const DEFAULT_MAX_CONTENT_LENGTH = 30_000; constant MAX_REDIRECTS (line 13) | const MAX_REDIRECTS = 10; type FetchAndExtractOptions (line 15) | interface FetchAndExtractOptions { function fetchAndExtract (line 33) | async function fetchAndExtract( function readLimitedBody (line 128) | async function readLimitedBody(response: Response, maxBytes: number): Pr... function extractHtml (line 159) | function extractHtml( function extractPdf (line 213) | async function extractPdf( function extractPlainText (line 236) | function extractPlainText( function createTurndownService (line 256) | function createTurndownService(): TurndownService { function detectSafetyFlags (line 266) | function detectSafetyFlags(html: string): FetchedPage['safetyFlags'] { function hasSafetyFlags (line 286) | function hasSafetyFlags(flags: FetchedPage['safetyFlags']): boolean { FILE: packages/cli/src/modules/instance-ai/web-research/searxng-search.ts type SearxngResult (line 3) | interface SearxngResult { type SearxngApiResponse (line 10) | interface SearxngApiResponse { function searxngSearch (line 22) | async function searxngSearch( FILE: packages/cli/src/modules/instance-ai/web-research/ssrf-guard.ts constant PRIVATE_RANGES (line 4) | const PRIVATE_RANGES = [ constant PRIVATE_IPV6_PREFIXES (line 28) | const PRIVATE_IPV6_PREFIXES = ['::1', 'fe80:', 'fd', 'fc']; constant IPV4_MAPPED_IPV6_DOTTED (line 31) | const IPV4_MAPPED_IPV6_DOTTED = /^::ffff:(\d+\.\d+\.\d+\.\d+)$/i; constant IPV4_MAPPED_IPV6_HEX (line 32) | const IPV4_MAPPED_IPV6_HEX = /^::ffff:([0-9a-f]{1,4}):([0-9a-f]{1,4})$/i; function ip4ToNum (line 34) | function ip4ToNum(ip: string): number { function isPrivateIPv4 (line 40) | function isPrivateIPv4(ip: string): boolean { function extractMappedIPv4 (line 50) | function extractMappedIPv4(ip: string): string | null { function isPrivateIPv6 (line 65) | function isPrivateIPv6(ip: string): boolean { function assertPublicUrl (line 83) | async function assertPublicUrl(url: string): Promise { FILE: packages/cli/src/modules/instance-ai/web-research/summarize-content.ts constant SUMMARIZE_THRESHOLD (line 3) | const SUMMARIZE_THRESHOLD = 15_000; type GenerateFn (line 5) | type GenerateFn = (prompt: string) => Promise; function maybeSummarize (line 12) | async function maybeSummarize( FILE: packages/cli/src/modules/instance-ai/web-research/vendor.d.ts type PdfData (line 7) | interface PdfData { FILE: packages/cli/src/modules/instance-registry/instance-registry.module.ts class InstanceRegistryModule (line 15) | class InstanceRegistryModule implements ModuleInterface { method init (line 16) | async init() { FILE: packages/cli/src/modules/instance-registry/instance-registry.types.ts constant REGISTRY_CONSTANTS (line 4) | const REGISTRY_CONSTANTS = { constant REDIS_KEY_PATTERNS (line 16) | const REDIS_KEY_PATTERNS = { FILE: packages/cli/src/modules/instance-registry/storage/__tests__/redis-instance-storage.test.ts constant PREFIX (line 19) | const PREFIX = 'n8n'; function createRegistration (line 21) | function createRegistration(overrides: Partial = {... FILE: packages/cli/src/modules/instance-registry/storage/instance-storage.interface.ts type InstanceStorage (line 7) | interface InstanceStorage { FILE: packages/cli/src/modules/instance-registry/storage/lua-scripts.ts constant REGISTER_SCRIPT (line 16) | const REGISTER_SCRIPT = ` constant READ_ALL_SCRIPT (line 29) | const READ_ALL_SCRIPT = ` constant CLEANUP_SCRIPT (line 49) | const CLEANUP_SCRIPT = ` constant UNREGISTER_SCRIPT (line 69) | const UNREGISTER_SCRIPT = ` FILE: packages/cli/src/modules/instance-registry/storage/memory-storage.ts class MemoryInstanceStorage (line 9) | class MemoryInstanceStorage implements InstanceStorage { method register (line 16) | async register(registration: InstanceRegistration): Promise { method heartbeat (line 20) | async heartbeat(registration: InstanceRegistration): Promise { method unregister (line 24) | async unregister(instanceKey: string): Promise { method getAllRegistrations (line 30) | async getAllRegistrations(): Promise { method getRegistration (line 34) | async getRegistration(instanceKey: string): Promise> { method saveLastKnownState (line 45) | async saveLastKnownState(state: Map): Pr... method cleanupStaleMembers (line 49) | async cleanupStaleMembers(): Promise { method destroy (line 53) | async destroy(): Promise {} FILE: packages/cli/src/modules/instance-registry/storage/redis-instance-storage.ts class RedisInstanceStorage (line 15) | class RedisInstanceStorage implements InstanceStorage { method constructor (line 24) | constructor(logger: Logger, globalConfig: GlobalConfig, redisClientSer... method register (line 33) | async register(registration: InstanceRegistration): Promise { method heartbeat (line 37) | async heartbeat(registration: InstanceRegistration): Promise { method unregister (line 41) | async unregister(instanceKey: string): Promise { method getAllRegistrations (line 57) | async getAllRegistrations(): Promise { method getRegistration (line 92) | async getRegistration(instanceKey: string): Promise> { method saveLastKnownState (line 144) | async saveLastKnownState(state: Map): Pr... method cleanupStaleMembers (line 160) | async cleanupStaleMembers(): Promise { method destroy (line 177) | async destroy(): Promise { method upsertRegistration (line 181) | private async upsertRegistration( method instanceKey (line 202) | private instanceKey(key: string): string { method membershipSetKey (line 206) | private membershipSetKey(): string { method stateKey (line 210) | private stateKey(): string { FILE: packages/cli/src/modules/ldap.ee/constants.ts constant LDAP_LOGIN_LABEL (line 3) | const LDAP_LOGIN_LABEL = 'sso.ldap.loginLabel'; constant LDAP_LOGIN_ENABLED (line 5) | const LDAP_LOGIN_ENABLED = 'sso.ldap.loginEnabled'; constant BINARY_AD_ATTRIBUTES (line 7) | const BINARY_AD_ATTRIBUTES = ['objectGUID', 'objectSid']; constant LDAP_CONFIG_SCHEMA (line 9) | const LDAP_CONFIG_SCHEMA = { constant NON_SENSIBLE_LDAP_CONFIG_PROPERTIES (line 98) | const NON_SENSIBLE_LDAP_CONFIG_PROPERTIES: Array = [ FILE: packages/cli/src/modules/ldap.ee/ldap.controller.ee.ts class LdapController (line 13) | class LdapController { method constructor (line 14) | constructor( method getConfig (line 22) | async getConfig() { method testConnection (line 29) | async testConnection() { method updateConfig (line 40) | async updateConfig(req: LdapConfiguration.Update) { method getLdapSync (line 60) | async getLdapSync(req: LdapConfiguration.GetSync) { method syncLdap (line 68) | async syncLdap(req: LdapConfiguration.Sync) { FILE: packages/cli/src/modules/ldap.ee/ldap.module.ts class LdapModule (line 5) | class LdapModule implements ModuleInterface { method init (line 6) | async init() { FILE: packages/cli/src/modules/ldap.ee/ldap.service.ee.ts class LdapService (line 51) | class LdapService implements IPasswordAuthHandler { method constructor (line 64) | constructor( method init (line 72) | async init() { method loadConfig (line 89) | async loadConfig() { method updateConfig (line 104) | async updateConfig(ldapConfig: LdapConfig): Promise { method setConfig (line 135) | setConfig(ldapConfig: LdapConfig) { method setGlobalLdapConfigVariables (line 155) | private async setGlobalLdapConfigVariables(ldapConfig: LdapConfig): Pr... method setLdapLoginEnabled (line 161) | private async setLdapLoginEnabled(enabled: boolean): Promise { method getClient (line 182) | private async getClient() { method bindAdmin (line 218) | private async bindAdmin(): Promise { method searchWithAdminBinding (line 229) | async searchWithAdminBinding(filter: string): Promise { method hasEmailDuplicatesInLdap (line 252) | private async hasEmailDuplicatesInLdap(email: string): Promise { method validUser (line 277) | async validUser(dn: string, password: string): Promise { method findAndAuthenticateLdapUser (line 288) | async findAndAuthenticateLdapUser( method testConnection (line 347) | async testConnection(): Promise { method scheduleSync (line 352) | private scheduleSync(): void { method runSync (line 365) | async runSync(mode: RunningMode): Promise { method stopSync (line 457) | stopSync(): void { method getUsersToProcess (line 463) | private getUsersToProcess( method getUsersToCreate (line 479) | private getUsersToCreate( method getUsersToUpdate (line 489) | private getUsersToUpdate( method getUsersToDisable (line 499) | private getUsersToDisable(remoteAdUsers: LdapUser[], localLdapIds: str... method handleLogin (line 504) | async handleLogin(loginId: string, password: string): Promise; type Sync (line 6) | type Sync = AuthenticatedRequest<{}, {}, { type: RunningMode }, {}>; type GetSync (line 7) | type GetSync = AuthenticatedRequest<{}, {}, {}, { page?: string; perPage... FILE: packages/cli/src/modules/log-streaming.ee/database/entities/event-destination.entity.ts class EventDestinations (line 6) | class EventDestinations extends WithTimestamps { FILE: packages/cli/src/modules/log-streaming.ee/database/repositories/event-destination.repository.ts class EventDestinationsRepository (line 7) | class EventDestinationsRepository extends Repository { method constructor (line 8) | constructor(dataSource: DataSource) { FILE: packages/cli/src/modules/log-streaming.ee/destinations/__tests__/message-event-bus-destination.ee.test.ts class TestDestination (line 15) | class TestDestination extends MessageEventBusDestination { method receiveFromEventBus (line 16) | async receiveFromEventBus(_emitterPayload: MessageWithCallback): Promi... FILE: packages/cli/src/modules/log-streaming.ee/destinations/message-event-bus-destination-from-db.ts function messageEventBusDestinationFromDb (line 13) | function messageEventBusDestinationFromDb( FILE: packages/cli/src/modules/log-streaming.ee/destinations/message-event-bus-destination-sentry.ee.ts class MessageEventBusDestinationSentry (line 26) | class MessageEventBusDestinationSentry method constructor (line 38) | constructor(eventBusInstance: MessageEventBus, options: MessageEventBu... method receiveFromEventBus (line 58) | async receiveFromEventBus(emitterPayload: MessageWithCallback): Promis... method serialize (line 97) | serialize(): MessageEventBusDestinationSentryOptions { method deserialize (line 107) | static deserialize( method toString (line 121) | toString() { method close (line 125) | async close() { FILE: packages/cli/src/modules/log-streaming.ee/destinations/message-event-bus-destination-syslog.ee.ts class MessageEventBusDestinationSyslog (line 27) | class MessageEventBusDestinationSyslog method constructor (line 47) | constructor(eventBusInstance: MessageEventBus, options: MessageEventBu... method receiveFromEventBus (line 84) | async receiveFromEventBus(emitterPayload: MessageWithCallback): Promis... method serialize (line 121) | serialize(): MessageEventBusDestinationSyslogOptions { method deserialize (line 135) | static deserialize( method toString (line 149) | toString() { method close (line 153) | async close() { FILE: packages/cli/src/modules/log-streaming.ee/destinations/message-event-bus-destination-webhook.ee.ts class MessageEventBusDestinationWebhook (line 40) | class MessageEventBusDestinationWebhook method constructor (line 84) | constructor( method resolveRedirect (line 122) | private resolveRedirect(options: MessageEventBusDestinationWebhookPara... method resolveProxy (line 131) | private resolveProxy(options: MessageEventBusDestinationWebhookParamet... method buildAgentOptions (line 136) | private buildAgentOptions( method buildAxiosSetting (line 150) | private buildAxiosSetting( method matchDecryptedCredentialType (line 188) | async matchDecryptedCredentialType(credentialType: string) { method generateAxiosOptions (line 206) | async generateAxiosOptions() { method serialize (line 283) | serialize(): MessageEventBusDestinationWebhookOptions { method deserialize (line 317) | static deserialize( method receiveFromEventBus (line 332) | async receiveFromEventBus(emitterPayload: MessageWithCallback): Promis... FILE: packages/cli/src/modules/log-streaming.ee/destinations/message-event-bus-destination.ee.ts method constructor (line 45) | constructor(eventBusInstance: MessageEventBus, options: MessageEventBusD... method getId (line 78) | getId() { method hasSubscribedToEvent (line 82) | hasSubscribedToEvent(msg: AbstractEventMessage) { method serialize (line 92) | serialize(): MessageEventBusDestinationOptions { method sendMessage (line 110) | async sendMessage(emitterPayload: MessageWithCallback): Promise { method toString (line 123) | toString() { method close (line 127) | async close(): Promise { FILE: packages/cli/src/modules/log-streaming.ee/log-streaming-destination.service.ts class LogStreamingDestinationService (line 27) | class LogStreamingDestinationService { method constructor (line 37) | constructor( method loadDestinationsFromDb (line 49) | async loadDestinationsFromDb(): Promise { method saveDestinationToDb (line 69) | async saveDestinationToDb(destination: MessageEventBusDestination) { method deleteDestinationFromDb (line 84) | async deleteDestinationFromDb(id: string): Promise { method addDestination (line 91) | async addDestination( method removeDestination (line 116) | async removeDestination(id: string, notifyInstances: boolean = true): ... method initialize (line 136) | async initialize(): Promise { method handleMessage (line 155) | private async handleMessage( method findDestination (line 182) | async findDestination(id?: string): Promise { method hasAnyDestinationSubscribedToEvent (line 214) | private hasAnyDestinationSubscribedToEvent(msg: EventMessageTypes): bo... method shouldSendMsg (line 223) | shouldSendMsg(msg: EventMessageTypes): boolean { method close (line 232) | async close(): Promise { method restart (line 257) | async restart() { FILE: packages/cli/src/modules/log-streaming.ee/log-streaming.controller.ts class EventBusController (line 28) | class EventBusController { method constructor (line 29) | constructor( method getEventNames (line 35) | async getEventNames(): Promise { method getDestination (line 42) | async getDestination( method postDestination (line 53) | async postDestination(req: AuthenticatedRequest): Promise = {}): INode { function makeWorkflow (line 30) | function makeWorkflow(nodes: INode[]): IWorkflowBase { function makeCredentialDescription (line 34) | function makeCredentialDescription( function makeNodeTypeDescription (line 40) | function makeNodeTypeDescription( function createMocks (line 58) | function createMocks({ FILE: packages/cli/src/modules/mcp/__tests__/prepare-workflow-pin-data.tool.test.ts constant TRIGGER_NODE_TYPES (line 39) | const TRIGGER_NODE_TYPES = new Set([ function createMockNodeTypes (line 45) | function createMockNodeTypes() { FILE: packages/cli/src/modules/mcp/__tests__/test-workflow.tool.test.ts constant TRIGGER_NODE_TYPES (line 25) | const TRIGGER_NODE_TYPES = new Set([ function createMockNodeTypes (line 31) | function createMockNodeTypes() { FILE: packages/cli/src/modules/mcp/__tests__/webhook-utils.test.ts method getOne (line 20) | async getOne(_user: User, id: string, _includeDecryptedData: boolean) { FILE: packages/cli/src/modules/mcp/database/entities/oauth-access-token.entity.ts class AccessToken (line 7) | class AccessToken { FILE: packages/cli/src/modules/mcp/database/entities/oauth-authorization-code.entity.ts class AuthorizationCode (line 7) | class AuthorizationCode extends WithTimestamps { FILE: packages/cli/src/modules/mcp/database/entities/oauth-client.entity.ts class OAuthClient (line 10) | class OAuthClient extends WithTimestamps { FILE: packages/cli/src/modules/mcp/database/entities/oauth-refresh-token.entity.ts class RefreshToken (line 7) | class RefreshToken extends WithTimestamps { FILE: packages/cli/src/modules/mcp/database/entities/oauth-user-consent.entity.ts class UserConsent (line 8) | class UserConsent { FILE: packages/cli/src/modules/mcp/database/repositories/oauth-access-token.repository.ts class AccessTokenRepository (line 7) | class AccessTokenRepository extends Repository { method constructor (line 8) | constructor(dataSource: DataSource) { FILE: packages/cli/src/modules/mcp/database/repositories/oauth-authorization-code.repository.ts class AuthorizationCodeRepository (line 7) | class AuthorizationCodeRepository extends Repository { method constructor (line 8) | constructor(dataSource: DataSource) { FILE: packages/cli/src/modules/mcp/database/repositories/oauth-client.repository.ts class OAuthClientRepository (line 7) | class OAuthClientRepository extends Repository { method constructor (line 8) | constructor(dataSource: DataSource) { FILE: packages/cli/src/modules/mcp/database/repositories/oauth-refresh-token.repository.ts class RefreshTokenRepository (line 7) | class RefreshTokenRepository extends Repository { method constructor (line 8) | constructor(dataSource: DataSource) { FILE: packages/cli/src/modules/mcp/database/repositories/oauth-user-consent.repository.ts class UserConsentRepository (line 7) | class UserConsentRepository extends Repository { method constructor (line 8) | constructor(dataSource: DataSource) { method findByUserWithClient (line 15) | async findByUserWithClient(userId: string): Promise { FILE: packages/cli/src/modules/mcp/dto/approve-consent-request.dto.ts class ApproveConsentRequestDto (line 4) | class ApproveConsentRequestDto extends Z.class({ FILE: packages/cli/src/modules/mcp/dto/update-mcp-settings.dto.ts class UpdateMcpSettingsDto (line 4) | class UpdateMcpSettingsDto extends Z.class({ FILE: packages/cli/src/modules/mcp/dto/update-workflow-availability.dto.ts class UpdateWorkflowAvailabilityDto (line 4) | class UpdateWorkflowAvailabilityDto extends Z.class({ FILE: packages/cli/src/modules/mcp/mcp-api-key.service.ts constant API_KEY_AUDIENCE (line 12) | const API_KEY_AUDIENCE: ApiKeyAudience = 'mcp-server-api'; constant API_KEY_ISSUER (line 13) | const API_KEY_ISSUER = 'n8n'; constant REDACT_API_KEY_REVEAL_COUNT (line 14) | const REDACT_API_KEY_REVEAL_COUNT = 4; constant REDACT_API_KEY_MAX_LENGTH (line 15) | const REDACT_API_KEY_MAX_LENGTH = 10; constant API_KEY_LABEL (line 16) | const API_KEY_LABEL = 'MCP Server API Key'; constant REDACT_API_KEY_MIN_HIDDEN_CHARS (line 17) | const REDACT_API_KEY_MIN_HIDDEN_CHARS = 6; class McpServerApiKeyService (line 23) | class McpServerApiKeyService { method constructor (line 24) | constructor( method createMcpServerApiKey (line 31) | async createMcpServerApiKey(user: User, trx?: EntityManager) { method findServerApiKeyForUser (line 54) | async findServerApiKeyForUser(user: User, { redact = true } = {}) { method getUserForApiKey (line 69) | async getUserForApiKey(apiKey: string) { method verifyApiKey (line 81) | async verifyApiKey(apiKey: string): Promise { method getUserForAccessToken (line 112) | async getUserForAccessToken(token: string) { method deleteAllMcpApiKeysForUser (line 131) | async deleteAllMcpApiKeysForUser(user: User, trx?: EntityManager) { method redactApiKey (line 140) | private redactApiKey(apiKey: string) { method getOrCreateApiKey (line 153) | async getOrCreateApiKey(user: User) { method rotateMcpServerApiKey (line 169) | async rotateMcpServerApiKey(user: User) { FILE: packages/cli/src/modules/mcp/mcp-oauth-authorization-code.service.ts class McpOAuthAuthorizationCodeService (line 13) | class McpOAuthAuthorizationCodeService { method constructor (line 16) | constructor(private readonly authorizationCodeRepository: Authorizatio... method createAuthorizationCode (line 22) | async createAuthorizationCode( method findAndValidateAuthorizationCode (line 50) | async findAndValidateAuthorizationCode( method validateAndConsumeAuthorizationCode (line 77) | async validateAndConsumeAuthorizationCode( method getCodeChallenge (line 106) | async getCodeChallenge(authorizationCode: string, clientId: string): P... FILE: packages/cli/src/modules/mcp/mcp-oauth-consent.service.ts class McpOAuthConsentService (line 16) | class McpOAuthConsentService { method constructor (line 17) | constructor( method getConsentDetails (line 29) | async getConsentDetails(sessionToken: string): Promise<{ method handleConsentDecision (line 58) | async handleConsentDecision( FILE: packages/cli/src/modules/mcp/mcp-oauth-service.ts constant SUPPORTED_SCOPES (line 24) | const SUPPORTED_SCOPES = ['tool:listWorkflows', 'tool:getWorkflowDetails']; constant MAX_REDIRECT_URIS (line 27) | const MAX_REDIRECT_URIS = 10; constant MAX_REDIRECT_URI_LENGTH (line 30) | const MAX_REDIRECT_URI_LENGTH = 2048; class McpOAuthService (line 37) | class McpOAuthService implements OAuthServerProvider { method constructor (line 38) | constructor( method clientsStore (line 48) | get clientsStore(): OAuthRegisteredClientsStore { method enforceClientLimit (line 98) | private async enforceClientLimit(clientId: string): Promise { method validateClientRegistration (line 108) | private validateClientRegistration(client: OAuthClientInformationFull)... method authorize (line 124) | async authorize( method challengeForAuthorizationCode (line 147) | async challengeForAuthorizationCode( method exchangeAuthorizationCode (line 157) | async exchangeAuthorizationCode( method exchangeRefreshToken (line 194) | async exchangeRefreshToken( method verifyAccessToken (line 202) | async verifyAccessToken(token: string): Promise { method revokeToken (line 206) | async revokeToken( method getAllClients (line 234) | async getAllClients( method deleteClient (line 251) | async deleteClient(clientId: string, userId: string): Promise { FILE: packages/cli/src/modules/mcp/mcp-oauth-token.service.ts class McpOAuthTokenService (line 25) | class McpOAuthTokenService { method constructor (line 30) | constructor( method generateTokenPair (line 38) | generateTokenPair( method saveTokenPair (line 59) | async saveTokenPair( method validateAndRotateRefreshToken (line 81) | async validateAndRotateRefreshToken( method verifyAccessToken (line 142) | async verifyAccessToken(token: string): Promise { method verifyOAuthAccessToken (line 169) | async verifyOAuthAccessToken(token: string): Promise { method revokeAccessToken (line 207) | async revokeAccessToken(token: string, clientId: string): Promise { method getAuthMiddleware (line 60) | getAuthMiddleware() { method extractBearerToken (line 100) | private extractBearerToken(headerValue: string): string { method responseWithUnauthorized (line 113) | private responseWithUnauthorized(res: Response, req: Request, context?... method trackUnauthorizedEvent (line 122) | private trackUnauthorizedEvent(req: Request, context?: TelemetryAuthCo... FILE: packages/cli/src/modules/mcp/mcp.auth.consent.controller.ts class McpConsentController (line 11) | class McpConsentController { method constructor (line 12) | constructor( method getConsentDetails (line 19) | async getConsentDetails(req: AuthenticatedRequest, res: Response) { method approveConsent (line 45) | async approveConsent( method sendErrorResponse (line 76) | private sendErrorResponse(res: Response, statusCode: number, message: ... method sendInvalidSessionError (line 83) | private sendInvalidSessionError(res: Response, clearCookie = false): v... method getAndValidateSessionToken (line 90) | private getAndValidateSessionToken(req: AuthenticatedRequest, res: Res... FILE: packages/cli/src/modules/mcp/mcp.constants.ts constant USER_CONNECTED_TO_MCP_EVENT (line 9) | const USER_CONNECTED_TO_MCP_EVENT = 'User connected to MCP server'; constant USER_CALLED_MCP_TOOL_EVENT (line 10) | const USER_CALLED_MCP_TOOL_EVENT = 'User called mcp tool'; constant UNAUTHORIZED_ERROR_MESSAGE (line 12) | const UNAUTHORIZED_ERROR_MESSAGE = 'Unauthorized'; constant INTERNAL_SERVER_ERROR_MESSAGE (line 13) | const INTERNAL_SERVER_ERROR_MESSAGE = 'Internal server error'; constant MCP_ACCESS_DISABLED_ERROR_MESSAGE (line 14) | const MCP_ACCESS_DISABLED_ERROR_MESSAGE = 'MCP access is disabled'; constant SUPPORTED_PRODUCTION_MCP_TRIGGERS (line 19) | const SUPPORTED_PRODUCTION_MCP_TRIGGERS = { constant SUPPORTED_MCP_TRIGGERS (line 29) | const SUPPORTED_MCP_TRIGGERS = { FILE: packages/cli/src/modules/mcp/mcp.controller.ts type FlushableResponse (line 22) | type FlushableResponse = Response & { flush: () => void }; class McpController (line 27) | class McpController { method constructor (line 28) | constructor( method setCorsHeaders (line 37) | private setCorsHeaders(res: Response) { method discoverAuthSchemeHead (line 64) | async discoverAuthSchemeHead(_req: Request, res: Response) { method build (line 76) | async build(req: AuthenticatedRequest, res: FlushableResponse) { method trackConnectionEvent (line 155) | private trackConnectionEvent(payload: UserConnectedToMCPEventPayload) { FILE: packages/cli/src/modules/mcp/mcp.errors.ts class McpExecutionTimeoutError (line 11) | class McpExecutionTimeoutError extends UserError { method constructor (line 15) | constructor(executionId: string | null, timeoutMs: number) { class JWTVerificationError (line 25) | class JWTVerificationError extends AuthError { method constructor (line 26) | constructor() { class AccessTokenNotFoundError (line 32) | class AccessTokenNotFoundError extends AuthError { method constructor (line 33) | constructor() { class WorkflowAccessError (line 43) | class WorkflowAccessError extends UserError { method constructor (line 46) | constructor(message: string, reason: WorkflowNotFoundReason) { FILE: packages/cli/src/modules/mcp/mcp.module.ts class McpModule (line 11) | class McpModule implements ModuleInterface { method init (line 12) | async init() { method settings (line 25) | async settings() { method entities (line 31) | async entities() { method shutdown (line 44) | async shutdown() {} FILE: packages/cli/src/modules/mcp/mcp.oauth-clients.controller.ts class McpOAuthClientsController (line 16) | class McpOAuthClientsController { method constructor (line 17) | constructor( method getAllClients (line 27) | async getAllClients( method deleteClient (line 59) | async deleteClient( FILE: packages/cli/src/modules/mcp/mcp.oauth.controller.ts class McpOAuthController (line 33) | class McpOAuthController { method constructor (line 34) | constructor(private readonly urlService: UrlService) {} method setCorsHeaders (line 37) | private setCorsHeaders(res: Response) { method metadataOptions (line 80) | metadataOptions(_req: Request, res: Response) { method metadata (line 90) | metadata(_req: Request, res: Response) { method protectedResourceMetadataOptions (line 115) | protectedResourceMetadataOptions(_req: Request, res: Response) { method protectedResourceMetadata (line 125) | protectedResourceMetadata(_req: Request, res: Response) { FILE: packages/cli/src/modules/mcp/mcp.service.ts type PendingMcpResponse (line 58) | interface PendingMcpResponse { class McpService (line 65) | class McpService { method constructor (line 72) | constructor( method getServer (line 96) | async getServer(user: User) { method registerBuilderTools (line 219) | private async registerBuilderTools(server: InstanceType { method setEnabled (line 31) | async setEnabled(enabled: boolean): Promise { FILE: packages/cli/src/modules/mcp/mcp.typeguards.ts type UnknownRecord (line 6) | type UnknownRecord = Record; type HttpHeaderAuthDecryptedData (line 8) | type HttpHeaderAuthDecryptedData = { type WithDecryptedData (line 13) | type WithDecryptedData = UnknownRecord & { data: T }; function isRecord (line 15) | function isRecord(value: unknown): value is UnknownRecord { function hasHttpHeaderAuthDecryptedData (line 24) | function hasHttpHeaderAuthDecryptedData( type JwtPassphraseDecryptedData (line 36) | type JwtPassphraseDecryptedData = { type JwtPemKeyDecryptedData (line 41) | type JwtPemKeyDecryptedData = { function hasJwtSecretDecryptedData (line 47) | function hasJwtSecretDecryptedData( function hasJwtPemKeyDecryptedData (line 58) | function hasJwtPemKeyDecryptedData( function isJSONRPCRequest (line 76) | function isJSONRPCRequest(value: unknown): value is JSONRPCRequest { FILE: packages/cli/src/modules/mcp/mcp.types.ts type ToolDefinition (line 9) | type ToolDefinition = { type SearchWorkflowsParams (line 27) | type SearchWorkflowsParams = { type SearchWorkflowsItem (line 33) | type SearchWorkflowsItem = { type SearchWorkflowsResult (line 46) | type SearchWorkflowsResult = { type WorkflowDetailsResult (line 51) | type WorkflowDetailsResult = z.infer; type WorkflowDetailsWorkflow (line 52) | type WorkflowDetailsWorkflow = WorkflowDetailsResult['workflow']; type WorkflowDetailsNode (line 53) | type WorkflowDetailsNode = WorkflowDetailsWorkflow['nodes'][number]; type JSONRPCRequest (line 56) | type JSONRPCRequest = { type UserConnectedToMCPEventPayload (line 70) | type UserConnectedToMCPEventPayload = { type ExecuteWorkflowsInputMeta (line 78) | type ExecuteWorkflowsInputMeta = { type WorkflowNotFoundReason (line 83) | type WorkflowNotFoundReason = type UserCalledMCPToolEventPayload (line 93) | type UserCalledMCPToolEventPayload = { type MCPTriggersMap (line 105) | type MCPTriggersMap = { type AuthFailureReason (line 109) | type AuthFailureReason = type Mcpauth_type (line 119) | type Mcpauth_type = 'oauth' | 'api_key' | 'unknown'; type TelemetryAuthContext (line 121) | type TelemetryAuthContext = { type UserWithContext (line 127) | type UserWithContext = { FILE: packages/cli/src/modules/mcp/mcp.utils.ts type McpExecutionMode (line 8) | type McpExecutionMode = 'manual' | 'production'; FILE: packages/cli/src/modules/mcp/oauth-session.service.ts type OAuthSessionPayload (line 7) | interface OAuthSessionPayload { constant COOKIE_NAME (line 14) | const COOKIE_NAME = 'n8n-oauth-session'; constant SESSION_EXPIRY_MS (line 15) | const SESSION_EXPIRY_MS = 10 * Time.minutes.toMilliseconds; class OAuthSessionService (line 22) | class OAuthSessionService { method constructor (line 23) | constructor(private readonly jwtService: JwtService) {} method createSession (line 28) | createSession(res: Response, payload: OAuthSessionPayload): void { method verifySession (line 44) | verifySession(sessionToken: string): OAuthSessionPayload { method clearSession (line 51) | clearSession(res: Response): void { method getSessionToken (line 58) | getSessionToken(cookies: Record): string |... FILE: packages/cli/src/modules/mcp/tools/execute-workflow.tool.ts type ExecuteWorkflowOutput (line 87) | type ExecuteWorkflowOutput = { FILE: packages/cli/src/modules/mcp/tools/execution-utils.ts constant WORKFLOW_EXECUTION_TIMEOUT_MS (line 14) | const WORKFLOW_EXECUTION_TIMEOUT_MS = 5 * Time.minutes.toMilliseconds; FILE: packages/cli/src/modules/mcp/tools/get-execution.tool.ts function filterExecutionData (line 196) | function filterExecutionData( FILE: packages/cli/src/modules/mcp/tools/get-workflow-details.tool.ts type WorkflowDetailsOutputSchema (line 24) | type WorkflowDetailsOutputSchema = typeof workflowDetailsOutputSchema; function getWorkflowDetails (line 104) | async function getWorkflowDetails( FILE: packages/cli/src/modules/mcp/tools/prepare-workflow-pin-data.tool.ts type PreparePinDataResult (line 124) | interface PreparePinDataResult { function preparePinData (line 137) | async function preparePinData( function getExecutionRunData (line 223) | async function getExecutionRunData( FILE: packages/cli/src/modules/mcp/tools/publish-workflow.tool.ts type PublishWorkflowOutput (line 24) | type PublishWorkflowOutput = { FILE: packages/cli/src/modules/mcp/tools/search-folders.tool.ts constant MAX_RESULTS (line 10) | const MAX_RESULTS = 100; FILE: packages/cli/src/modules/mcp/tools/search-projects.tool.ts constant MAX_RESULTS (line 9) | const MAX_RESULTS = 100; FILE: packages/cli/src/modules/mcp/tools/search-workflows.tool.ts constant MAX_RESULTS (line 17) | const MAX_RESULTS = 200; function searchWorkflows (line 141) | async function searchWorkflows( FILE: packages/cli/src/modules/mcp/tools/test-workflow.tool.ts type TestWorkflowOutput (line 44) | type TestWorkflowOutput = { function testWorkflow (line 150) | async function testWorkflow( function findTriggerNode (line 254) | function findTriggerNode( FILE: packages/cli/src/modules/mcp/tools/unpublish-workflow.tool.ts type UnpublishWorkflowOutput (line 18) | type UnpublishWorkflowOutput = { FILE: packages/cli/src/modules/mcp/tools/webhook-utils.ts type WebhookEndpoints (line 19) | type WebhookEndpoints = { type WebhookCredentialRequirement (line 24) | type WebhookCredentialRequirement = type WebhookNodeDetails (line 30) | type WebhookNodeDetails = { FILE: packages/cli/src/modules/mcp/tools/workflow-builder/credentials-auto-assign.ts type CredentialAssignment (line 8) | interface CredentialAssignment { type AutoAssignResult (line 14) | interface AutoAssignResult { constant HTTP_NODE_TYPES (line 19) | const HTTP_NODE_TYPES = new Set([ function autoPopulateNodeCredentials (line 33) | async function autoPopulateNodeCredentials( function stripNullCredentialStubs (line 123) | function stripNullCredentialStubs(nodes: INode[]): void { FILE: packages/cli/src/modules/mcp/tools/workflow-builder/get-workflow-node-types.tool.ts type NodeRequest (line 33) | type NodeRequest = FILE: packages/cli/src/modules/mcp/tools/workflow-builder/get-workflow-sdk-reference.tool.ts constant VALID_SECTIONS (line 12) | const VALID_SECTIONS: SdkReferenceSection[] = [ FILE: packages/cli/src/modules/mcp/tools/workflow-builder/mcp-instructions.ts function getMcpInstructions (line 20) | function getMcpInstructions(isBuilderEnabled: boolean): string { FILE: packages/cli/src/modules/mcp/tools/workflow-builder/sdk-reference-content.ts constant CODING_GUIDELINES (line 21) | const CODING_GUIDELINES = `Rules: constant DESIGN_GUIDANCE (line 39) | const DESIGN_GUIDANCE = `Design guidance: type SdkReferenceSection (line 48) | type SdkReferenceSection = constant SDK_IMPORT_SECTION (line 58) | const SDK_IMPORT_SECTION = `## SDK Import Statement\n\n\`\`\`javascript\... constant CODING_GUIDELINES_SECTION (line 60) | const CODING_GUIDELINES_SECTION = `## Coding Guidelines\n\n${CODING_GUID... constant DESIGN_GUIDANCE_SECTION (line 62) | const DESIGN_GUIDANCE_SECTION = `## Design Guidance\n\n${DESIGN_GUIDANCE}`; constant SECTIONS (line 64) | const SECTIONS: Record, string> = { function getSdkReferenceContent (line 77) | function getSdkReferenceContent(section?: SdkReferenceSection): string { FILE: packages/cli/src/modules/mcp/tools/workflow-builder/workflow-builder-tools.service.ts type NodeRequest (line 9) | type NodeRequest = type InvokableTool (line 19) | interface InvokableTool { class WorkflowBuilderToolsService (line 32) | class WorkflowBuilderToolsService { method constructor (line 53) | constructor( method initialize (line 60) | async initialize(): Promise { method getNodeTypeParser (line 65) | getNodeTypeParser(): NodeTypeParser { method getNodeDefinitionDirs (line 72) | getNodeDefinitionDirs(): string[] { method searchNodes (line 77) | async searchNodes(queries: string[]): Promise { method getNodeTypes (line 92) | async getNodeTypes(nodeIds: NodeRequest[]): Promise { method getSuggestedNodes (line 109) | async getSuggestedNodes(categories: string[]): Promise { method doInitialize (line 123) | private async doInitialize(): Promise { method refreshNodeTypes (line 141) | private async refreshNodeTypes(): Promise { method resolveBuiltinNodeDefinitionDirs (line 163) | private async resolveBuiltinNodeDefinitionDirs(): Promise { FILE: packages/cli/src/modules/mcp/tools/workflow-validation.utils.ts type FoundWorkflow (line 8) | type FoundWorkflow = NonNullable< type GetMcpWorkflowOptions (line 12) | type GetMcpWorkflowOptions = { function getMcpWorkflow (line 22) | async function getMcpWorkflow( FILE: packages/cli/src/modules/otel/__tests__/otel-test-provider.ts class OtelTestProvider (line 19) | class OtelTestProvider { method constructor (line 20) | private constructor( method create (line 25) | static create(): OtelTestProvider { method getFinishedSpans (line 34) | getFinishedSpans() { method reset (line 38) | reset() { method shutdown (line 42) | async shutdown() { FILE: packages/cli/src/modules/otel/__tests__/otel-workflow-tracing.integration.test.ts function executeWorkflow (line 65) | async function executeWorkflow( function waitForExecution (line 83) | async function waitForExecution(executionId: string, timeout = 10_000): ... FILE: packages/cli/src/modules/otel/handlers/interfaces.ts type SpanHandler (line 5) | interface SpanHandler { FILE: packages/cli/src/modules/otel/handlers/workflow-end.handler.ts class WorkflowEndHandler (line 10) | class WorkflowEndHandler implements SpanHandler { FILE: packages/cli/src/modules/otel/handlers/workflow-start.handler.ts class WorkflowStartHandler (line 10) | class WorkflowStartHandler implements SpanHandler( FILE: packages/cli/src/modules/otel/otel.config.ts class OtelConfig (line 4) | class OtelConfig { FILE: packages/cli/src/modules/otel/otel.constants.ts constant ATTR (line 3) | const ATTR = { FILE: packages/cli/src/modules/otel/otel.module.ts class OtelModule (line 9) | class OtelModule implements ModuleInterface { method init (line 10) | async init() { method shutdown (line 23) | async shutdown() { FILE: packages/cli/src/modules/otel/otel.service.ts class OtelService (line 17) | class OtelService { method constructor (line 22) | constructor( method init (line 28) | init() { method shutdown (line 54) | async shutdown(): Promise { method configureDiagnosticsLogger (line 58) | private configureDiagnosticsLogger() { method parseOtlpHeaders (line 73) | private parseOtlpHeaders(): Record { method buildOtlpTracesUrl (line 101) | private buildOtlpTracesUrl(): string { method checkEndpointReachability (line 108) | private async checkEndpointReachability(url: string): Promise { FILE: packages/cli/src/modules/otel/span-registry.ts class SpanRegistry (line 3) | class SpanRegistry { method workflowKey (line 6) | static workflowKey(executionId: string) { method nodeKey (line 10) | static nodeKey(executionId: string, nodeId: string) { method addWorkflow (line 14) | addWorkflow(executionId: string, span: Span) { method getWorkflow (line 18) | getWorkflow(executionId: string): Span | undefined { method removeWorkflow (line 22) | removeWorkflow(executionId: string): Span | undefined { method addNode (line 29) | addNode(executionId: string, nodeId: string, span: Span) { method getNode (line 33) | getNode(executionId: string, nodeId: string): Span | undefined { method removeNode (line 37) | removeNode(executionId: string, nodeId: string): Span | undefined { method cleanup (line 44) | cleanup(executionId: string) { FILE: packages/cli/src/modules/provisioning.ee/__tests__/role-resolver.service.ee.test.ts function makeRule (line 18) | function makeRule(overrides: Partial = {}): RoleMapping... function makeConfig (line 28) | function makeConfig(overrides: Partial = {}): RoleMap... function makeContext (line 37) | function makeContext(overrides: Partial = {}): Role... function makeProject (line 45) | function makeProject(overrides: Partial = {}): ProjectInfo { FILE: packages/cli/src/modules/provisioning.ee/claims-context.builder.ts function buildOidcClaimsContext (line 3) | function buildOidcClaimsContext( function buildSamlClaimsContext (line 17) | function buildSamlClaimsContext( function withProjectContext (line 29) | function withProjectContext( FILE: packages/cli/src/modules/provisioning.ee/constants.ts constant PROVISIONING_PREFERENCES_DB_KEY (line 1) | const PROVISIONING_PREFERENCES_DB_KEY = 'features.provisioning'; FILE: packages/cli/src/modules/provisioning.ee/provisioning.controller.ee.ts class ProvisioningController (line 8) | class ProvisioningController { method constructor (line 9) | constructor( method getConfig (line 16) | async getConfig(_req: AuthenticatedRequest, res: Response) { method patchConfig (line 26) | async patchConfig(req: AuthenticatedRequest, res: Response) { FILE: packages/cli/src/modules/provisioning.ee/provisioning.module.ts class ProvisioningModule (line 9) | class ProvisioningModule implements ModuleInterface { method init (line 10) | async init() { FILE: packages/cli/src/modules/provisioning.ee/provisioning.service.ee.ts class ProvisioningService (line 27) | class ProvisioningService { method constructor (line 30) | constructor( method init (line 44) | async init() { method getConfig (line 48) | async getConfig(): Promise { method provisionInstanceRoleForUser (line 56) | async provisionInstanceRoleForUser(user: User, roleSlug: unknown) { method provisionProjectRolesForUser (line 131) | async provisionProjectRolesForUser(userId: string, projectIdToRoles: u... method patchConfig (line 262) | async patchConfig(rawConfig: unknown): Promise { method handleReloadSsoProvisioningConfiguration (line 317) | async handleReloadSsoProvisioningConfiguration() { method loadConfigurationFromDatabase (line 321) | async loadConfigurationFromDatabase(): Promise { method getInstanceRoleClaimName (line 355) | async getInstanceRoleClaimName(): Promise { method getProjectsRolesClaimName (line 363) | async getProjectsRolesClaimName(): Promise { method isProvisioningEnabled (line 371) | async isProvisioningEnabled(): Promise { method isInstanceRoleProvisioningEnabled (line 379) | private async isInstanceRoleProvisioningEnabled(): Promise { method isProjectRolesProvisioningEnabled (line 384) | private async isProjectRolesProvisioningEnabled(): Promise { FILE: packages/cli/src/modules/provisioning.ee/role-mapping-rule.controller.ee.ts class RoleMappingRuleController (line 29) | class RoleMappingRuleController { method constructor (line 30) | constructor( method list (line 37) | async list( method create (line 51) | async create( method move (line 65) | async move( method patch (line 81) | async patch( method delete (line 96) | async delete( FILE: packages/cli/src/modules/provisioning.ee/role-mapping-rule.service.ee.ts type CreateRoleMappingRuleInput (line 26) | type CreateRoleMappingRuleInput = z.infer<(typeof CreateRoleMappingRuleD... type RoleMappingRuleResponse (line 28) | type RoleMappingRuleResponse = { type RoleMappingRuleListResponse (line 39) | type RoleMappingRuleListResponse = { class RoleMappingRuleService (line 45) | class RoleMappingRuleService { method constructor (line 46) | constructor( method list (line 52) | async list(query: ListRoleMappingRuleQueryInput): Promise { method move (line 213) | async move(id: string, targetIndex: number): Promise { method normalizeOrderForType (line 272) | private async normalizeOrderForType(type: 'instance' | 'project'): Pro... method assertOrderAvailable (line 287) | private async assertOrderAvailable( method toResponse (line 303) | private toResponse(loaded: RoleMappingRule): RoleMappingRuleResponse { FILE: packages/cli/src/modules/provisioning.ee/role-mapping-rule.validation.ts function assertRoleCompatibleWithMappingType (line 5) | function assertRoleCompatibleWithMappingType( function assertAndNormalizeProjectIdsForRuleType (line 22) | function assertAndNormalizeProjectIdsForRuleType( FILE: packages/cli/src/modules/provisioning.ee/role-resolver-types.ts type RoleResolverContext (line 1) | interface RoleResolverContext { type RoleMappingRule (line 24) | interface RoleMappingRule { type RoleMappingConfig (line 34) | interface RoleMappingConfig { type ResolvedRoles (line 40) | interface ResolvedRoles { type ProjectInfo (line 45) | interface ProjectInfo { FILE: packages/cli/src/modules/provisioning.ee/role-resolver.service.ee.ts class RoleResolverService (line 17) | class RoleResolverService { method constructor (line 18) | constructor( method resolveRoles (line 23) | async resolveRoles( method collectProjectInfoForRules (line 40) | private async collectProjectInfoForRules( method resolveInstanceRole (line 68) | private resolveInstanceRole( method resolveProjectRoles (line 82) | private resolveProjectRoles( method evaluateExpression (line 111) | private evaluateExpression(expression: string, context: RoleResolverCo... FILE: packages/cli/src/modules/quick-connect/handlers/firecrawl.handler.ts constant FIRECRAWL_API_BASE_URL (line 8) | const FIRECRAWL_API_BASE_URL = 'https://api.firecrawl.dev'; type FirecrawlCreateUserResponse (line 10) | interface FirecrawlCreateUserResponse { class FirecrawlHandler (line 15) | class FirecrawlHandler implements IQuickConnectHandler { method setConfig (line 18) | setConfig(config: FirecrawlQuickConnect) { method getCredentialData (line 22) | async getCredentialData({ email }: User) { FILE: packages/cli/src/modules/quick-connect/handlers/handler.interface.ts type IQuickConnectHandler (line 9) | interface IQuickConnectHandler { type IQuickConnectHandlerOption (line 24) | type IQuickConnectHandlerOption = Handler extends IQuickConnect... FILE: packages/cli/src/modules/quick-connect/quick-connect.config.ts type FirecrawlQuickConnect (line 30) | type FirecrawlQuickConnect = z.infer; type QuickConnectOption (line 38) | type QuickConnectOption = z.infer; type QuickConnectOptions (line 50) | type QuickConnectOptions = z.infer; class QuickConnectConfig (line 53) | class QuickConnectConfig { FILE: packages/cli/src/modules/quick-connect/quick-connect.controller.ts class QuickConnectController (line 8) | class QuickConnectController { method constructor (line 9) | constructor(private readonly quickConnectService: QuickConnectService) {} method getCredentialData (line 12) | async getCredentialData( FILE: packages/cli/src/modules/quick-connect/quick-connect.errors.ts class QuickConnectError (line 6) | class QuickConnectError extends OperationalError { method constructor (line 7) | constructor( FILE: packages/cli/src/modules/quick-connect/quick-connect.module.ts class QuickConnectModule (line 6) | class QuickConnectModule implements ModuleInterface { method init (line 7) | async init() { method settings (line 18) | async settings() { method registerHandlers (line 29) | private async registerHandlers() { FILE: packages/cli/src/modules/quick-connect/quick-connect.service.ts class QuickConnectService (line 19) | class QuickConnectService { method constructor (line 22) | constructor( method getCredentialData (line 29) | async getCredentialData(quickConnectType: string, user: User) { method registerHandlers (line 50) | async registerHandlers() { FILE: packages/cli/src/modules/redaction/executions/execution-redaction.interfaces.ts type RedactionContext (line 10) | interface RedactionContext { type IExecutionRedactionStrategy (line 31) | interface IExecutionRedactionStrategy { FILE: packages/cli/src/modules/redaction/executions/execution-redaction.service.ts constant MANUAL_MODES (line 22) | const MANUAL_MODES: ReadonlySet = new Set(['manual']); class ExecutionRedactionService (line 37) | class ExecutionRedactionService implements ExecutionRedaction { method constructor (line 38) | constructor( method init (line 46) | async init(): Promise { method processExecution (line 58) | async processExecution( method processExecutions (line 75) | async processExecutions( method buildPipeline (line 189) | private buildPipeline( method hasDynamicCredentials (line 224) | private hasDynamicCredentials(execution: RedactableExecution): boolean { method policyAllowsReveal (line 238) | private policyAllowsReveal(execution: RedactableExecution): boolean { method resolvePolicy (line 253) | private resolvePolicy(execution: RedactableExecution): WorkflowSetting... FILE: packages/cli/src/modules/redaction/executions/strategies/__tests__/node-defined-field-redaction.strategy.test.ts constant REDACTED_MARKER (line 56) | const REDACTED_MARKER: IRedactedFieldMarker = { FILE: packages/cli/src/modules/redaction/executions/strategies/full-item-redaction.strategy.ts class FullItemRedactionStrategy (line 17) | class FullItemRedactionStrategy implements IExecutionRedactionStrategy { method requiresRedaction (line 20) | requiresRedaction(_execution: RedactableExecution, _context: Redaction... method apply (line 25) | async apply(execution: RedactableExecution, context: RedactionContext)... method redactConnections (line 64) | private redactConnections(connections: ITaskDataConnections, reason: s... method redactItem (line 77) | private redactItem(item: INodeExecutionData, reason: string): void { method redactError (line 95) | private redactError(error: ExecutionError): IRedactedErrorInfo { FILE: packages/cli/src/modules/redaction/executions/strategies/node-defined-field-redaction.strategy.ts type SensitiveFieldsResult (line 13) | interface SensitiveFieldsResult { function isSensitiveFieldsResult (line 18) | function isSensitiveFieldsResult(value: unknown): value is SensitiveFiel... class NodeDefinedFieldRedactionStrategy (line 30) | class NodeDefinedFieldRedactionStrategy implements IExecutionRedactionSt... method constructor (line 33) | constructor( method requiresRedaction (line 38) | requiresRedaction(execution: RedactableExecution, context: RedactionCo... method apply (line 44) | async apply(execution: RedactableExecution, context: RedactionContext)... method redactTaskDataOutputs (line 74) | private redactTaskDataOutputs(connections: ITaskDataConnections, field... method getSensitiveFieldsMap (line 85) | private getSensitiveFieldsMap( method buildSensitiveFieldsMap (line 106) | private buildSensitiveFieldsMap(execution: RedactableExecution): { method redactAllOutputs (line 138) | private redactAllOutputs(connections: ITaskDataConnections): void { method redactFields (line 157) | private redactFields(item: INodeExecutionData, fieldPaths: string[]): ... method isRecord (line 163) | private isRecord(value: unknown): value is Record { method redactPath (line 167) | private redactPath(obj: Record, path: string): void { method redactPathRecursive (line 172) | private redactPathRecursive( FILE: packages/cli/src/modules/redaction/redaction.module.ts function isExecutionRedactionEnabled (line 7) | function isExecutionRedactionEnabled(): boolean { class RedactionModule (line 12) | class RedactionModule implements ModuleInterface { method init (line 13) | async init() { FILE: packages/cli/src/modules/source-control.ee/__tests__/source-control-git.service.test.ts constant MOCK_BRANCHES (line 10) | const MOCK_BRANCHES = { FILE: packages/cli/src/modules/source-control.ee/__tests__/source-control-helper.ee.test.ts function createWorkflowVersion (line 32) | function createWorkflowVersion( FILE: packages/cli/src/modules/source-control.ee/constants.ts constant SOURCE_CONTROL_PREFERENCES_DB_KEY (line 1) | const SOURCE_CONTROL_PREFERENCES_DB_KEY = 'features.sourceControl'; constant SOURCE_CONTROL_GIT_FOLDER (line 2) | const SOURCE_CONTROL_GIT_FOLDER = 'git'; constant SOURCE_CONTROL_GIT_KEY_COMMENT (line 3) | const SOURCE_CONTROL_GIT_KEY_COMMENT = 'n8n deploy key'; constant SOURCE_CONTROL_WORKFLOW_EXPORT_FOLDER (line 4) | const SOURCE_CONTROL_WORKFLOW_EXPORT_FOLDER = 'workflows'; constant SOURCE_CONTROL_PROJECT_EXPORT_FOLDER (line 5) | const SOURCE_CONTROL_PROJECT_EXPORT_FOLDER = 'projects'; constant SOURCE_CONTROL_CREDENTIAL_EXPORT_FOLDER (line 6) | const SOURCE_CONTROL_CREDENTIAL_EXPORT_FOLDER = 'credential_stubs'; constant SOURCE_CONTROL_VARIABLES_EXPORT_FILE (line 7) | const SOURCE_CONTROL_VARIABLES_EXPORT_FILE = 'variable_stubs.json'; constant SOURCE_CONTROL_TAGS_EXPORT_FILE (line 8) | const SOURCE_CONTROL_TAGS_EXPORT_FILE = 'tags.json'; constant SOURCE_CONTROL_FOLDERS_EXPORT_FILE (line 9) | const SOURCE_CONTROL_FOLDERS_EXPORT_FILE = 'folders.json'; constant SOURCE_CONTROL_DATATABLES_EXPORT_FOLDER (line 10) | const SOURCE_CONTROL_DATATABLES_EXPORT_FOLDER = 'datatables'; constant SOURCE_CONTROL_OWNERS_EXPORT_FILE (line 11) | const SOURCE_CONTROL_OWNERS_EXPORT_FILE = 'workflow_owners.json'; constant SOURCE_CONTROL_SSH_FOLDER (line 12) | const SOURCE_CONTROL_SSH_FOLDER = 'ssh'; constant SOURCE_CONTROL_SSH_KEY_NAME (line 13) | const SOURCE_CONTROL_SSH_KEY_NAME = 'key'; constant SOURCE_CONTROL_DEFAULT_BRANCH (line 14) | const SOURCE_CONTROL_DEFAULT_BRANCH = 'main'; constant SOURCE_CONTROL_ORIGIN (line 15) | const SOURCE_CONTROL_ORIGIN = 'origin'; constant SOURCE_CONTROL_README (line 16) | const SOURCE_CONTROL_README = ` constant SOURCE_CONTROL_DEFAULT_NAME (line 19) | const SOURCE_CONTROL_DEFAULT_NAME = 'n8n user'; constant SOURCE_CONTROL_DEFAULT_EMAIL (line 20) | const SOURCE_CONTROL_DEFAULT_EMAIL = 'n8n@example.com'; constant SOURCE_CONTROL_WRITE_FILE_BATCH_SIZE (line 21) | const SOURCE_CONTROL_WRITE_FILE_BATCH_SIZE = 20; FILE: packages/cli/src/modules/source-control.ee/source-control-export.service.ee.ts class SourceControlExportService (line 59) | class SourceControlExportService { method constructor (line 70) | constructor( method getWorkflowPath (line 94) | getWorkflowPath(workflowId: string): string { method getCredentialsPath (line 98) | getCredentialsPath(credentialsId: string): string { method getDataTablePath (line 102) | getDataTablePath(dataTableId: string): string { method deleteRepositoryFolder (line 106) | async deleteRepositoryFolder() { method rmFilesFromExportFolder (line 114) | async rmFilesFromExportFolder(filesToBeDeleted: Set): Promise<... method writeExportableWorkflowsToExportFolder (line 123) | private async writeExportableWorkflowsToExportFolder( method exportWorkflowsToWorkFolder (line 151) | async exportWorkflowsToWorkFolder(candidates: SourceControlledFile[]):... method exportGlobalVariablesToWorkFolder (line 218) | async exportGlobalVariablesToWorkFolder(): Promise { method exportDataTablesToWorkFolder (line 256) | async exportDataTablesToWorkFolder( method exportFoldersToWorkFolder (line 378) | async exportFoldersToWorkFolder(context: SourceControlContext): Promis... method exportTagsToWorkFolder (line 458) | async exportTagsToWorkFolder(context: SourceControlContext): Promise { method hasRemote (line 197) | private async hasRemote(remote: string): Promise { method initRepository (line 219) | async initRepository( method trackRemoteIfReady (line 274) | private async trackRemoteIfReady(targetBranch: string) { method ensureBranchSetup (line 297) | private async ensureBranchSetup(targetBranch: string): Promise { method setGitUserDetails (line 330) | async setGitUserDetails(name: string, email: string): Promise { method getBranches (line 338) | async getBranches(): Promise<{ branches: string[]; currentBranch: stri... method setBranch (line 362) | async setBranch(branch: string): Promise<{ branches: string[]; current... method getCurrentBranch (line 371) | async getCurrentBranch(): Promise<{ current: string; remote: string }> { method diffRemote (line 382) | async diffRemote(): Promise { method diffLocal (line 394) | async diffLocal(): Promise { method fetch (line 406) | async fetch(): Promise { method pull (line 414) | async pull(options: { ffOnly: boolean } = { ffOnly: true }): Promise, deletedFiles?: Set): Promise { method status (line 478) | async status(): Promise { method getFileContent (line 486) | async getFileContent(filePath: string, commit: string = 'HEAD'): Promi... FILE: packages/cli/src/modules/source-control.ee/source-control-helper.ee.ts function sanitizeCredentialData (line 41) | function sanitizeCredentialData( function isPlainObject (line 65) | function isPlainObject(value: unknown): value is Record { function mergeSingleValue (line 73) | function mergeSingleValue(sanitizedRemoteValue: unknown, localValue: unk... function mergeRemoteCrendetialDataIntoLocalCredentialData (line 123) | function mergeRemoteCrendetialDataIntoLocalCredentialData({ function getWorkflowExportPath (line 153) | function getWorkflowExportPath(workflowId: string, workflowExportFolder:... function getProjectExportPath (line 157) | function getProjectExportPath(projectId: string, projectExportFolder: st... function getCredentialExportPath (line 161) | function getCredentialExportPath( function getDataTableExportPath (line 168) | function getDataTableExportPath(dataTableId: string, dataTableExportFold... function getVariablesPath (line 172) | function getVariablesPath(gitFolder: string): string { function getTagsPath (line 176) | function getTagsPath(gitFolder: string): string { function getFoldersPath (line 180) | function getFoldersPath(gitFolder: string): string { function readTagAndMappingsFromSourceControlFile (line 184) | async function readTagAndMappingsFromSourceControlFile(file: string): Pr... function isErrnoException (line 202) | function isErrnoException(error: unknown): error is NodeJS.ErrnoException { function readFoldersFromSourceControlFile (line 211) | async function readFoldersFromSourceControlFile(file: string): Promise { method getLocalGlobalVariablesFromDb (line 487) | async getLocalGlobalVariablesFromDb(): Promise { method getRemoteDataTablesFromFiles (line 491) | async getRemoteDataTablesFromFiles(): Promise { method getLocalDataTablesFromDb (line 518) | async getLocalDataTablesFromDb(): Promise { method getRemoteFoldersAndMappingsFromFile (line 575) | async getRemoteFoldersAndMappingsFromFile(context: SourceControlContex... method getLocalFoldersAndMappingsFromDb (line 604) | async getLocalFoldersAndMappingsFromDb(context: SourceControlContext):... method getRemoteTagsAndMappingsFromFile (line 632) | async getRemoteTagsAndMappingsFromFile(context: SourceControlContext):... method getLocalTagsAndMappingsFromDb (line 658) | async getLocalTagsAndMappingsFromDb(context: SourceControlContext): Pr... method getRemoteProjectsFromFiles (line 675) | async getRemoteProjectsFromFiles( method getLocalTeamProjectsFromDb (line 712) | async getLocalTeamProjectsFromDb( method mapProjectEntityToExportableProjectWithFileName (line 735) | private mapProjectEntityToExportableProjectWithFileName( method importWorkflowFromWorkFolder (line 759) | async importWorkflowFromWorkFolder( method importSingleWorkflowFromFile (line 800) | private async importSingleWorkflowFromFile( method parseWorkflowFromFile (line 887) | private async parseWorkflowFromFile(file: string): Promise { method getPrivateKeyPath (line 138) | async getPrivateKeyPath() { method getPublicKey (line 164) | async getPublicKey() { method deleteKeyPair (line 178) | async deleteKeyPair() { method resetKnownHosts (line 192) | async resetKnownHosts(): Promise { method generateAndSaveKeyPair (line 205) | async generateAndSaveKeyPair(keyPairType?: KeyPairType): Promise { method populateMissingLocalFolderPathNodes (line 265) | private async populateMissingLocalFolderPathNodes( method getStatusWorkflows (line 312) | private async getStatusWorkflows( method getStatusCredentials (line 491) | private async getStatusCredentials( method getStatusVariables (line 578) | private async getStatusVariables( method getStatusDataTables (line 664) | private async getStatusDataTables( method getStatusTagsMappings (line 750) | private async getStatusTagsMappings( method getStatusFoldersMapping (line 901) | private async getStatusFoldersMapping( method getStatusProjects (line 1025) | private async getStatusProjects( method areVariablesEqual (line 1174) | private areVariablesEqual( method isProjectModified (line 1197) | private isProjectModified( method isProjectIconModified (line 1215) | private isProjectIconModified({ FILE: packages/cli/src/modules/source-control.ee/source-control.config.ts class SourceControlConfig (line 4) | class SourceControlConfig { FILE: packages/cli/src/modules/source-control.ee/source-control.controller.ee.ts class SourceControlController (line 29) | class SourceControlController { method constructor (line 30) | constructor( method getPreferences (line 38) | async getPreferences(): Promise { method setPreferences (line 46) | async setPreferences(req: SourceControlRequest.UpdatePreferences) { method updatePreferences (line 111) | async updatePreferences(req: SourceControlRequest.UpdatePreferences) { method disconnect (line 156) | async disconnect(req: SourceControlRequest.Disconnect) { method getBranches (line 165) | async getBranches() { method pushWorkfolder (line 174) | async pushWorkfolder( method pullWorkfolder (line 210) | async pullWorkfolder( method resetWorkfolder (line 226) | async resetWorkfolder(): Promise { method getStatus (line 235) | async getStatus(req: SourceControlRequest.GetStatus) { method status (line 248) | async status(req: SourceControlRequest.GetStatus) { method generateKeyPair (line 261) | async generateKeyPair( method getFileContent (line 275) | async getFileContent( FILE: packages/cli/src/modules/source-control.ee/source-control.module.ts class SourceControlModule (line 10) | class SourceControlModule implements ModuleInterface { method init (line 11) | async init() { FILE: packages/cli/src/modules/source-control.ee/source-control.service.ee.ts class SourceControlService (line 50) | class SourceControlService { method constructor (line 61) | constructor( method start (line 77) | async start(): Promise { method isHostKeyVerificationError (line 92) | private isHostKeyVerificationError(error: Error): boolean { method refreshServiceState (line 101) | private async refreshServiceState(): Promise { method reloadConfiguration (line 114) | async reloadConfiguration(): Promise { method initGitService (line 137) | private async initGitService(): Promise { method sanityCheck (line 146) | async sanityCheck(): Promise { method disconnect (line 176) | async disconnect(options: { keepKeyPair?: boolean } = {}) { method initializeRepository (line 205) | async initializeRepository(preferences: SourceControlPreferences, user... method getBranches (line 254) | async getBranches(): Promise<{ branches: string[]; currentBranch: stri... method setBranch (line 263) | async setBranch(branch: string): Promise<{ branches: string[]; current... method resetWorkfolder (line 276) | async resetWorkfolder(): Promise { method pushWorkfolder (line 292) | async pushWorkfolder( method pullWorkfolder (line 470) | async pullWorkfolder( method getStatus (line 593) | async getStatus(user: User, options: SourceControlGetStatus) { method setGitUserDetails (line 598) | async setGitUserDetails( method getRemoteFileEntity (line 606) | async getRemoteFileEntity({ FILE: packages/cli/src/modules/source-control.ee/types/export-result.ts type ExportResult (line 1) | interface ExportResult { FILE: packages/cli/src/modules/source-control.ee/types/exportable-credential.ts type ExportableCredential (line 5) | interface ExportableCredential { type StatusExportableCredential (line 23) | type StatusExportableCredential = ExportableCredential & { FILE: packages/cli/src/modules/source-control.ee/types/exportable-data-table.ts type ExportableDataTableColumn (line 7) | interface ExportableDataTableColumn { type DataTableResourceOwner (line 18) | type DataTableResourceOwner = PersonalResourceOwner | TeamResourceOwner; type ExportableDataTable (line 20) | interface ExportableDataTable { type StatusExportableDataTable (line 34) | type StatusExportableDataTable = Omit & { FILE: packages/cli/src/modules/source-control.ee/types/exportable-folders.ts type ExportableFolder (line 1) | type ExportableFolder = { type ExportedFolders (line 10) | type ExportedFolders = { type FolderPathNode (line 14) | type FolderPathNode = Pick; FILE: packages/cli/src/modules/source-control.ee/types/exportable-project.ts type ExportableProject (line 4) | interface ExportableProject { type ExportableProjectWithFileName (line 17) | type ExportableProjectWithFileName = ExportableProject & { FILE: packages/cli/src/modules/source-control.ee/types/exportable-tags.ts type ExportableWorkflowTagMapping (line 3) | type ExportableWorkflowTagMapping = Pick; type ExportableTags (line 6) | type ExportableTags = { FILE: packages/cli/src/modules/source-control.ee/types/exportable-variable.ts type ExportableVariable (line 1) | interface ExportableVariable { FILE: packages/cli/src/modules/source-control.ee/types/exportable-workflow.ts type ExportableWorkflow (line 5) | interface ExportableWorkflow { FILE: packages/cli/src/modules/source-control.ee/types/import-result.ts type WorkflowImportResult (line 3) | interface WorkflowImportResult { type ImportResult (line 9) | interface ImportResult { FILE: packages/cli/src/modules/source-control.ee/types/key-pair-type.ts type KeyPairType (line 1) | type KeyPairType = 'ed25519' | 'rsa'; FILE: packages/cli/src/modules/source-control.ee/types/key-pair.ts type KeyPair (line 1) | interface KeyPair { FILE: packages/cli/src/modules/source-control.ee/types/requests.ts type UpdatePreferences (line 14) | type UpdatePreferences = AuthenticatedRequest<{}, {}, Partial; type Commit (line 17) | type Commit = AuthenticatedRequest<{}, {}, SourceControlCommit, {}>; type Stage (line 18) | type Stage = AuthenticatedRequest<{}, {}, SourceControlStage, {}>; type Push (line 19) | type Push = AuthenticatedRequest<{}, {}, SourceControlPush, {}>; type Disconnect (line 20) | type Disconnect = AuthenticatedRequest<{}, {}, SourceControlDisconnect, ... type GetStatus (line 21) | type GetStatus = AuthenticatedRequest<{}, {}, {}, SourceControlGetStatus>; type GenerateKeyPair (line 22) | type GenerateKeyPair = AuthenticatedRequest<{}, {}, SourceControlGenerat... FILE: packages/cli/src/modules/source-control.ee/types/resource-owner.ts type PersonalResourceOwner (line 4) | type PersonalResourceOwner = { type TeamResourceOwner (line 20) | type TeamResourceOwner = { type RemoteResourceOwner (line 35) | type RemoteResourceOwner = string | PersonalResourceOwner | TeamResource... type StatusResourceOwner (line 37) | type StatusResourceOwner = { FILE: packages/cli/src/modules/source-control.ee/types/source-control-commit.ts class SourceControlCommit (line 3) | class SourceControlCommit { FILE: packages/cli/src/modules/source-control.ee/types/source-control-context.ts class SourceControlContext (line 4) | class SourceControlContext { method constructor (line 5) | constructor(private readonly userInternal: User) {} method user (line 7) | get user() { method hasAccessToAllProjects (line 11) | hasAccessToAllProjects() { FILE: packages/cli/src/modules/source-control.ee/types/source-control-disconnect.ts class SourceControlDisconnect (line 3) | class SourceControlDisconnect { FILE: packages/cli/src/modules/source-control.ee/types/source-control-generate-key-pair.ts class SourceControlGenerateKeyPair (line 5) | class SourceControlGenerateKeyPair { FILE: packages/cli/src/modules/source-control.ee/types/source-control-get-status.ts type SourceControlGetStatusVerboseResult (line 12) | interface SourceControlGetStatusVerboseResult { function booleanFromString (line 43) | function booleanFromString(value: string | boolean): boolean { class SourceControlGetStatus (line 50) | class SourceControlGetStatus { method constructor (line 63) | constructor(values: { FILE: packages/cli/src/modules/source-control.ee/types/source-control-preferences.ts class SourceControlPreferences (line 5) | class SourceControlPreferences { method constructor (line 6) | constructor(preferences: Partial | undefined... method fromJSON (line 52) | static fromJSON(json: Partial): SourceContro... method merge (line 56) | static merge( FILE: packages/cli/src/modules/source-control.ee/types/source-control-push.ts class SourceControlPush (line 3) | class SourceControlPush { FILE: packages/cli/src/modules/source-control.ee/types/source-control-set-branch.ts class SourceControlSetBranch (line 3) | class SourceControlSetBranch { FILE: packages/cli/src/modules/source-control.ee/types/source-control-set-read-only.ts class SourceControlSetReadOnly (line 3) | class SourceControlSetReadOnly { FILE: packages/cli/src/modules/source-control.ee/types/source-control-stage.ts class SourceControlStage (line 3) | class SourceControlStage { FILE: packages/cli/src/modules/source-control.ee/types/source-control-workflow-version-id.ts type SourceControlWorkflowVersionId (line 3) | interface SourceControlWorkflowVersionId { FILE: packages/cli/src/modules/sso-oidc/constants.ts constant OIDC_PREFERENCES_DB_KEY (line 1) | const OIDC_PREFERENCES_DB_KEY = 'features.oidc'; constant OIDC_LOGIN_ENABLED (line 2) | const OIDC_LOGIN_ENABLED = 'sso.oidc.loginEnabled'; constant OIDC_CLIENT_SECRET_REDACTED_VALUE (line 3) | const OIDC_CLIENT_SECRET_REDACTED_VALUE = FILE: packages/cli/src/modules/sso-oidc/oidc.controller.ee.ts class OidcController (line 20) | class OidcController { method constructor (line 21) | constructor( method retrieveConfiguration (line 32) | async retrieveConfiguration(_req: AuthenticatedRequest) { method saveConfiguration (line 43) | async saveConfiguration( method testConnection (line 56) | async testConnection(_req: AuthenticatedRequest, res: Response) { method redirectToAuthProvider (line 78) | async redirectToAuthProvider(_req: Request, res: Response) { method callbackHandler (line 99) | async callbackHandler(req: AuthlessRequest, res: Response) { FILE: packages/cli/src/modules/sso-oidc/oidc.service.ee.ts constant DEFAULT_OIDC_CONFIG (line 37) | const DEFAULT_OIDC_CONFIG: OidcConfigDto = { type OidcRuntimeConfig (line 46) | type OidcRuntimeConfig = Pick< constant DEFAULT_OIDC_RUNTIME_CONFIG (line 53) | const DEFAULT_OIDC_RUNTIME_CONFIG: OidcRuntimeConfig = { class OidcService (line 59) | class OidcService { method constructor (line 65) | constructor( method init (line 78) | async init() { method loadOpenIdClient (line 87) | private async loadOpenIdClient() { method getCallbackUrl (line 93) | getCallbackUrl(): string { method getRedactedConfig (line 97) | getRedactedConfig(): OidcConfigDto { method generateState (line 105) | generateState(testMode = false) { method verifyState (line 117) | verifyState(signedState: string): { state: string; testMode?: boolean } { method generateNonce (line 152) | generateNonce() { method verifyNonce (line 160) | verifyNonce(signedNonce: string) { method generateLoginUrl (line 193) | async generateLoginUrl(): Promise<{ url: URL; state: string; nonce: st... method loginUser (line 228) | async loginUser(callbackUrl: URL, storedState: string, storedNonce: st... method generateTestLoginUrl (line 344) | async generateTestLoginUrl(): Promise<{ url: URL; state: string; nonce... method processTestCallback (line 381) | async processTestCallback( method applySsoProvisioning (line 439) | private async applySsoProvisioning(user: User, claims: any) { method broadcastReloadOIDCConfigurationCommand (line 451) | private async broadcastReloadOIDCConfigurationCommand(): Promise { method reload (line 461) | async reload(): Promise { method loadConfigurationFromDatabase (line 492) | async loadConfigurationFromDatabase( method loadConfig (line 525) | async loadConfig(decryptSecret = false): Promise { method updateConfig (line 535) | async updateConfig(newConfig: OidcConfigDto) { method setOidcLoginEnabled (line 597) | private async setOidcLoginEnabled(enabled: boolean): Promise { method createProxyAwareConfiguration (line 626) | private async createProxyAwareConfiguration( method getOidcConfiguration (line 675) | private async getOidcConfiguration(): Promise { function setSamlLoginLabel (line 38) | function setSamlLoginLabel(label: string): void { function createUserFromSamlAttributes (line 53) | async function createUserFromSamlAttributes(attributes: SamlUserAttribut... function updateUserFromSamlAttributes (line 81) | async function updateUserFromSamlAttributes( type GetMappedSamlReturn (line 111) | type GetMappedSamlReturn = { function getMappedSamlAttributesFromFlowResult (line 116) | function getMappedSamlAttributesFromFlowResult( function isConnectionTestRequest (line 161) | function isConnectionTestRequest(payload: SamlAcsDto): boolean { FILE: packages/cli/src/modules/sso-saml/saml-validator.ts class SamlValidator (line 9) | class SamlValidator { method constructor (line 16) | constructor(private readonly logger: Logger) {} method init (line 25) | async init() { method validateIdentityProvider (line 32) | validateIdentityProvider(idp: IdentityProviderInstance) { method validateMetadata (line 41) | async validateMetadata(metadata: string): Promise { method validateResponse (line 54) | async validateResponse(response: string): Promise { method loadSchemas (line 59) | private async loadSchemas(): Promise { method validateXml (line 82) | private async validateXml(type: 'metadata' | 'response', contents: str... FILE: packages/cli/src/modules/sso-saml/saml.controller.ee.ts class SamlController (line 33) | class SamlController { method constructor (line 34) | constructor( method getServiceProviderMetadata (line 42) | async getServiceProviderMetadata(_: AuthlessRequest, res: Response) { method configGet (line 52) | async configGet() { method configPost (line 67) | async configPost(_req: AuthenticatedRequest, _res: Response, @Body pay... method toggleEnabledPost (line 81) | async toggleEnabledPost( method acsGet (line 94) | async acsGet(req: AuthlessRequest, res: Response) { method acsPost (line 102) | async acsPost(req: AuthlessRequest, res: Response, @Body payload: Saml... method acsHandler (line 111) | private async acsHandler( method initSsoGet (line 179) | async initSsoGet(req: AuthlessRequest<{}, {}, {}, { redirect?: string ... method configTestPost (line 206) | async configTestPost(_req: AuthenticatedRequest, res: Response, @Body ... method handleInitSSO (line 210) | private async handleInitSSO(res: Response, relayState?: string, config... method validateRedirectUrl (line 237) | private validateRedirectUrl(redirectUrl: string): string { FILE: packages/cli/src/modules/sso-saml/saml.service.ee.ts class SamlService (line 43) | class SamlService { method samlPreferences (line 78) | get samlPreferences(): SamlPreferences { method constructor (line 86) | constructor( method isSignedSamlRequestsEnabled (line 101) | isSignedSamlRequestsEnabled(): boolean { method getDecryptedSigningPrivateKey (line 109) | private getDecryptedSigningPrivateKey(): string | undefined { method isValidPemPrivateKey (line 121) | private isValidPemPrivateKey(pem: string): boolean { method isValidPemCertificate (line 127) | private isValidPemCertificate(pem: string): boolean { method validateKeyPairMatch (line 131) | private validateKeyPairMatch(privateKeyPem: string, certificatePem: st... method validateSigningKeyConfiguration (line 145) | private validateSigningKeyConfiguration(prefs: Partial { method loadSamlify (line 232) | async loadSamlify() { method getIdentityProviderInstance (line 249) | getIdentityProviderInstance(forceRecreate = false): IdentityProviderIn... method getServiceProviderInstance (line 269) | getServiceProviderInstance(): ServiceProviderInstance { method getLoginRequestUrl (line 281) | async getLoginRequestUrl( method handleSamlLogin (line 316) | async handleSamlLogin( method applySsoProvisioning (line 382) | private async applySsoProvisioning(user: User, attributes: SamlPrefere... method broadcastReloadSAMLConfigurationCommand (line 394) | private async broadcastReloadSAMLConfigurationCommand(): Promise { method reload (line 404) | async reload(): Promise { method setSamlPreferences (line 430) | async setSamlPreferences( method applyLoadedPreferences (line 448) | private async applyLoadedPreferences( method loadPreferencesWithoutValidation (line 504) | async loadPreferencesWithoutValidation(prefs: Partial) { method loadFromDbAndApplySamlPreferences (line 550) | async loadFromDbAndApplySamlPreferences( method saveSamlPreferencesToDb (line 583) | async saveSamlPreferencesToDb(): Promise { method fetchMetadataFromUrl (line 608) | async fetchMetadataFromUrl( method getAttributesFromLoginResponse (line 647) | async getAttributesFromLoginResponse( method reset (line 693) | async reset() { FILE: packages/cli/src/modules/sso-saml/service-provider.ee.ts function getServiceProviderEntityId (line 9) | function getServiceProviderEntityId(): string { function getServiceProviderReturnUrl (line 13) | function getServiceProviderReturnUrl(): string { function getServiceProviderConfigTestReturnUrl (line 17) | function getServiceProviderConfigTestReturnUrl(): string { function getServiceProviderInstance (line 23) | function getServiceProviderInstance( FILE: packages/cli/src/modules/sso-saml/sso-saml.module.ts class SamlModule (line 6) | class SamlModule implements ModuleInterface { method init (line 7) | async init() { FILE: packages/cli/src/modules/sso-saml/types.ts type SamlLoginBinding (line 3) | type SamlLoginBinding = SamlPreferences['loginBinding']; type SamlAttributeMapping (line 4) | type SamlAttributeMapping = NonNullable; type SamlUserAttributes (line 5) | type SamlUserAttributes = SamlAttributeMapping; FILE: packages/cli/src/modules/sso-saml/views/init-sso-post.ts function getInitSSOFormView (line 3) | function getInitSSOFormView(context: PostBindingContext): string { FILE: packages/cli/src/modules/token-exchange/__tests__/token-exchange.service.test.ts function makeExternalToken (line 13) | function makeExternalToken( FILE: packages/cli/src/modules/token-exchange/controllers/embed-auth.controller.ts class EmbedAuthController (line 12) | class EmbedAuthController { method constructor (line 13) | constructor( method getLogin (line 20) | async getLogin(req: AuthlessRequest, res: Response, @Query query: Embe... method postLogin (line 25) | async postLogin(req: AuthlessRequest, res: Response, @Body body: Embed... method handleLogin (line 29) | private async handleLogin(subjectToken: string, req: AuthlessRequest, ... FILE: packages/cli/src/modules/token-exchange/services/identity-resolution.service.ts class IdentityResolutionService (line 15) | class IdentityResolutionService { method resolve (line 19) | async resolve(_claims: ExternalTokenClaims): Promise { FILE: packages/cli/src/modules/token-exchange/services/jti-store.service.ts class JtiStoreService (line 10) | class JtiStoreService { method consume (line 15) | async consume(_jti: string, _expiresAt: Date): Promise { FILE: packages/cli/src/modules/token-exchange/services/token-exchange.service.ts constant MAX_TOKEN_LIFETIME_SECONDS (line 15) | const MAX_TOKEN_LIFETIME_SECONDS = 60; class TokenExchangeService (line 18) | class TokenExchangeService { method constructor (line 21) | constructor( method verifyToken (line 41) | async verifyToken( method embedLogin (line 95) | async embedLogin(subjectToken: string): Promise { FILE: packages/cli/src/modules/token-exchange/services/trusted-key.service.ts class TrustedKeyService (line 15) | class TrustedKeyService { method getByKid (line 20) | async getByKid(_kid: string): Promise { FILE: packages/cli/src/modules/token-exchange/token-exchange.config.ts class TokenExchangeConfig (line 4) | class TokenExchangeConfig { FILE: packages/cli/src/modules/token-exchange/token-exchange.controller.ts class TokenExchangeController (line 17) | class TokenExchangeController { method exchangeToken (line 35) | async exchangeToken(req: AuthlessRequest, res: Response): Promise { FILE: packages/cli/src/modules/token-exchange/token-exchange.module.ts function isFeatureFlagEnabled (line 5) | function isFeatureFlagEnabled(): boolean { class TokenExchangeModule (line 14) | class TokenExchangeModule implements ModuleInterface { method init (line 15) | async init() { FILE: packages/cli/src/modules/token-exchange/token-exchange.schemas.ts constant TOKEN_EXCHANGE_GRANT_TYPE (line 5) | const TOKEN_EXCHANGE_GRANT_TYPE = 'urn:ietf:params:oauth:grant-type:toke... type ExternalTokenClaims (line 40) | type ExternalTokenClaims = z.infer; type TrustedKeySource (line 68) | type TrustedKeySource = z.infer; type StaticKeySource (line 69) | type StaticKeySource = Extract; type JwksKeySource (line 70) | type JwksKeySource = Extract; type ResolvedTrustedKey (line 78) | interface ResolvedTrustedKey { type TokenExchangeRequest (line 114) | type TokenExchangeRequest = z.infer; FILE: packages/cli/src/modules/token-exchange/token-exchange.service.ts class TokenExchangeService (line 16) | class TokenExchangeService { method exchange (line 23) | async exchange(request: TokenExchangeRequest): Promise { method saveSession (line 46) | async saveSession(threadId: string, data: StoredSession): Promise { method deleteSession (line 73) | async deleteSession(threadId: string): Promise { method parseThreadId (line 78) | private parseThreadId(threadId: string): { workflowId: string; userId:... FILE: packages/cli/src/modules/workflow-builder/workflow-builder.module.ts class WorkflowBuilderModule (line 5) | class WorkflowBuilderModule implements ModuleInterface { method entities (line 6) | async entities() { FILE: packages/cli/src/modules/workflow-index/workflow-dependency-query.service.ts type RawDepMaps (line 23) | interface RawDepMaps { class WorkflowDependencyQueryService (line 36) | class WorkflowDependencyQueryService { method constructor (line 37) | constructor( method getDependencyCounts (line 48) | async getDependencyCounts( method getResourceDependencies (line 73) | async getResourceDependencies( method loadDepsForResources (line 128) | private async loadDepsForResources( method buildDepMaps (line 152) | private buildDepMaps( method buildEnrichedResult (line 205) | private buildEnrichedResult( method filterByAccess (line 259) | private async filterByAccess( method filterDataTableIdsByAccess (line 289) | private async filterDataTableIdsByAccess(ids: string[], user: User): P... function addToSet (line 306) | function addToSet(map: Map>, key: string, val: strin... FILE: packages/cli/src/modules/workflow-index/workflow-dependency.controller.ts class WorkflowDependencyController (line 11) | class WorkflowDependencyController { method constructor (line 12) | constructor( method getResourceDependencyCounts (line 18) | async getResourceDependencyCounts( method getResourceDependencies (line 33) | async getResourceDependencies( method assertIndexingEnabled (line 47) | private assertIndexingEnabled() { FILE: packages/cli/src/modules/workflow-index/workflow-index.service.ts constant LOOP_LIMIT (line 18) | const LOOP_LIMIT = 1_000_000_000; constant WORKFLOW_INDEXED_PLACEHOLDER_KEY (line 21) | const WORKFLOW_INDEXED_PLACEHOLDER_KEY = '__INDEXED__'; class WorkflowIndexService (line 30) | class WorkflowIndexService { method constructor (line 33) | constructor( method init (line 45) | init() { method buildIndex (line 71) | async buildIndex() { method buildIndexInternal (line 95) | private async buildIndexInternal( method updateIndexForDraft (line 143) | async updateIndexForDraft(workflow: IWorkflowBase) { method updateIndexForPublished (line 157) | async updateIndexForPublished( method removeDependenciesForWorkflow (line 175) | async removeDependenciesForWorkflow(workflowId: string) { method updateIndexInternal (line 196) | private async updateIndexInternal( method addNodeTypeDependencies (line 257) | private addNodeTypeDependencies(node: INode, dependencyUpdates: Workfl... method addCredentialDependencies (line 267) | private addCredentialDependencies(node: INode, dependencyUpdates: Work... method addDataTableDependencies (line 284) | private addDataTableDependencies(node: INode, dependencyUpdates: Workf... method addWorkflowCallDependencies (line 306) | private addWorkflowCallDependencies(node: INode, dependencyUpdates: Wo... method addWebhookPathDependencies (line 321) | private addWebhookPathDependencies(node: INode, dependencyUpdates: Wor... method addErrorWorkflowDependency (line 335) | private addErrorWorkflowDependency( method getCalledWorkflowIdFrom (line 350) | private getCalledWorkflowIdFrom(node: INode): string | undefined { FILE: packages/cli/src/node-types.ts class NodeTypes (line 16) | class NodeTypes implements INodeTypes { method constructor (line 17) | constructor(private readonly loadNodesAndCredentials: LoadNodesAndCred... method getWithSourcePath (line 22) | getWithSourcePath( method getDescriptionWithTranslation (line 35) | async getDescriptionWithTranslation( method getByName (line 61) | getByName(nodeType: string): INodeType | IVersionedNodeType { method getByNameAndVersion (line 65) | getByNameAndVersion(nodeType: string, version?: number): INodeType { method getKnownTypes (line 128) | getKnownTypes() { method getNodeTranslationPath (line 132) | async getNodeTranslationPath({ method getMaxVersion (line 150) | private async getMaxVersion(dir: string) { method isVersionedDirname (line 163) | private isVersionedDirname(dirent: Dirent) { method getNodeTypeDescriptions (line 174) | getNodeTypeDescriptions(nodeTypes: NeededNodeType[]): INodeTypeDescrip... FILE: packages/cli/src/oauth/oauth.service.ts function shouldSkipAuthOnOAuthCallback (line 56) | function shouldSkipAuthOnOAuthCallback() { class OauthService (line 66) | class OauthService { method constructor (line 67) | constructor( method validateOAuthUrlOrThrow (line 79) | private validateOAuthUrlOrThrow(url: string): void { method getBaseUrl (line 88) | getBaseUrl(oauthVersion: OauthVersion) { method getCredential (line 93) | async getCredential( method getAdditionalData (line 119) | protected async getAdditionalData() { method getDecryptedDataForAuthUri (line 126) | protected async getDecryptedDataForAuthUri( method getDecryptedDataForCallback (line 136) | protected async getDecryptedDataForCallback( method getDecryptedData (line 143) | private async getDecryptedData( method applyDefaultsAndOverwrites (line 158) | protected async applyDefaultsAndOverwrites( method encryptAndSaveData (line 173) | async encryptAndSaveData( method getCredentialWithoutUser (line 187) | protected async getCredentialWithoutUser( method createCsrfState (line 193) | createCsrfState(data: CreateCsrfStateData): [string, string] { method decodeCsrfState (line 206) | protected decodeCsrfState( method verifyCsrfState (line 250) | protected verifyCsrfState( method resolveCredential (line 263) | async resolveCredential( method renderCallbackError (line 294) | renderCallbackError(res: Response, message: string, reason?: string) { method getOAuthCredentials (line 298) | async getOAuthCredentials(credential: CredentialsEntity): Promise { method generateAOauth2AuthUri (line 322) | async generateAOauth2AuthUri( method generateAOauth1AuthUri (line 529) | async generateAOauth1AuthUri( method convertCredentialToOptions (line 611) | private convertCredentialToOptions(credential: OAuth2CredentialData): ... method discoverProtectedResourceMetadata (line 643) | private async discoverProtectedResourceMetadata( method selectGrantTypeAndAuthenticationMethod (line 692) | private selectGrantTypeAndAuthenticationMethod( method mapGrantTypeAndAuthenticationMethod (line 724) | private mapGrantTypeAndAuthenticationMethod( method saveDynamicCredential (line 750) | async saveDynamicCredential( FILE: packages/cli/src/oauth/types.ts type CsrfStateRequired (line 3) | type CsrfStateRequired = { type CreateCsrfStateData (line 12) | type CreateCsrfStateData = { type CsrfState (line 18) | type CsrfState = CsrfStateRequired; constant MAX_CSRF_AGE (line 20) | const MAX_CSRF_AGE = 5 * Time.minutes.toMilliseconds; type OauthVersion (line 22) | const enum OauthVersion { type OAuth1CredentialData (line 27) | interface OAuth1CredentialData { FILE: packages/cli/src/oauth/validate-oauth-url.ts constant ALLOWED_OAUTH_URL_PROTOCOLS (line 3) | const ALLOWED_OAUTH_URL_PROTOCOLS = ['http:', 'https:']; function validateOAuthUrl (line 12) | function validateOAuthUrl(url: string): void { FILE: packages/cli/src/permissions.ee/check-access.ts function userHasScopes (line 20) | async function userHasScopes( FILE: packages/cli/src/posthog/index.ts constant POSTHOG_GROUP_TYPE_INSTANCE (line 12) | const POSTHOG_GROUP_TYPE_INSTANCE = 'company'; constant FLAGS_CACHE_TTL_MS (line 14) | const FLAGS_CACHE_TTL_MS = 10 * 60 * 1000; type CachedFlags (line 16) | interface CachedFlags { class PostHogClient (line 22) | class PostHogClient { method constructor (line 27) | constructor( method init (line 32) | async init() { method stop (line 44) | async stop(): Promise { method track (line 50) | track(payload: { userId: string; event: string; properties: ITelemetry... method groupIdentify (line 64) | groupIdentify({ method identify (line 90) | identify({ method getFeatureFlags (line 102) | async getFeatureFlags(user: Pick): Pro... FILE: packages/cli/src/public-api/index.ts function createLazySwaggerMiddleware (line 16) | function createLazySwaggerMiddleware( function createLazyValidatorMiddleware (line 57) | function createLazyValidatorMiddleware( function createApiRouter (line 121) | function createApiRouter( function isApiEnabled (line 192) | function isApiEnabled(): boolean { FILE: packages/cli/src/public-api/types.ts type PaginatedRequest (line 14) | type PaginatedRequest = AuthenticatedRequest< type GetAll (line 26) | type GetAll = AuthenticatedRequest< type Get (line 43) | type Get = AuthenticatedRequest< type Delete (line 49) | type Delete = Get; type Retry (line 50) | type Retry = AuthenticatedRequest<{ id: string }, {}, { loadWorkflow?: b... type Stop (line 51) | type Stop = AuthenticatedRequest<{ id: string }>; type StopMany (line 52) | type StopMany = AuthenticatedRequest< type GetTags (line 62) | type GetTags = AuthenticatedRequest<{ id: string }>; type UpdateTags (line 63) | type UpdateTags = AuthenticatedRequest<{ id: string }, {}, Array<{ id: s... type GetAll (line 67) | type GetAll = AuthenticatedRequest< type Create (line 78) | type Create = AuthenticatedRequest<{}, {}, TagEntity>; type Get (line 79) | type Get = AuthenticatedRequest<{ id: string }>; type Delete (line 80) | type Delete = Get; type Update (line 81) | type Update = AuthenticatedRequest<{ id: string }, {}, TagEntity>; type Get (line 85) | type Get = AuthenticatedRequest<{ credentialTypeName: string }, {}, {}, ... type GetAll (line 89) | type GetAll = AuthenticatedRequest< type Create (line 107) | type Create = AuthenticatedRequest<{}, {}, WorkflowEntity, {}>; type Get (line 108) | type Get = AuthenticatedRequest<{ id: string }, {}, {}, { excludePinnedD... type Delete (line 109) | type Delete = Get; type Update (line 110) | type Update = AuthenticatedRequest<{ id: string }, {}, WorkflowEntity, {}>; type Activate (line 111) | type Activate = AuthenticatedRequest< type GetTags (line 117) | type GetTags = Get; type UpdateTags (line 118) | type UpdateTags = AuthenticatedRequest<{ id: string }, {}, TagEntity[]>; type Transfer (line 119) | type Transfer = AuthenticatedRequest<{ id: string }, {}, { destinationPr... type GetVersion (line 120) | type GetVersion = AuthenticatedRequest<{ id: string; versionId: string }... type Invite (line 124) | type Invite = AuthenticatedRequest<{}, {}, Array<{ email: string }>>; type ResolveSignUp (line 126) | type ResolveSignUp = AuthlessRequest< type SignUp (line 133) | type SignUp = AuthenticatedRequest< type Delete (line 138) | type Delete = AuthenticatedRequest< type Get (line 145) | type Get = AuthenticatedRequest< type Reinvite (line 152) | type Reinvite = AuthenticatedRequest<{ id: string }>; type Update (line 154) | type Update = AuthlessRequest< type GetAll (line 167) | type GetAll = AuthenticatedRequest< type Create (line 174) | type Create = AuthenticatedRequest< type Update (line 181) | type Update = AuthenticatedRequest< type Delete (line 195) | type Delete = AuthenticatedRequest<{ id: string }, {}, {}, Record; type Get (line 249) | type Get = AuthenticatedRequest<{ dataTableId: string }, {}, {}, {}>; type Update (line 251) | type Update = AuthenticatedRequest<{ dataTableId: string }, {}, UpdateDa... type Delete (line 253) | type Delete = AuthenticatedRequest<{ dataTableId: string }, {}, {}, {}>; type GetRows (line 255) | type GetRows = AuthenticatedRequest< type InsertRows (line 269) | type InsertRows = AuthenticatedRequest<{ dataTableId: string }, {}, AddD... type UpdateRows (line 271) | type UpdateRows = AuthenticatedRequest<{ dataTableId: string }, {}, Upda... type UpsertRow (line 273) | type UpsertRow = AuthenticatedRequest<{ dataTableId: string }, {}, Upser... type DeleteRows (line 275) | type DeleteRows = AuthenticatedRequest< type Install (line 292) | type Install = AuthenticatedRequest<{}, {}, { name: string; version?: st... type List (line 293) | type List = AuthenticatedRequest; type Update (line 294) | type Update = AuthenticatedRequest<{ name: string }, {}, { version?: str... type Uninstall (line 295) | type Uninstall = AuthenticatedRequest<{ name: string }>; type Generate (line 303) | type Generate = AuthenticatedRequest< FILE: packages/cli/src/public-api/v1/handlers/community-packages/community-packages.handler.ts function sendResponseError (line 11) | function sendResponseError(res: express.Response, error: ResponseError):... FILE: packages/cli/src/public-api/v1/handlers/community-packages/community-packages.mapper.ts function toIsoString (line 4) | function toIsoString(value: Date | string): string { function optionalString (line 8) | function optionalString(value: unknown): string | undefined { function optionalBoolean (line 12) | function optionalBoolean(value: unknown): boolean | undefined { function stripInstalledNode (line 17) | function stripInstalledNode(node: PublicInstalledNode): Record { FILE: packages/cli/src/public-api/v1/handlers/discover/discover.handler.ts constant API_KEY_AUDIENCE (line 8) | const API_KEY_AUDIENCE = 'public-api'; function firstString (line 10) | function firstString(value: unknown): string | undefined { FILE: packages/cli/src/public-api/v1/handlers/discover/discover.service.ts constant HTTP_METHODS (line 7) | const HTTP_METHODS = ['get', 'post', 'put', 'delete', 'patch'] as const; type EndpointInfo (line 9) | interface EndpointInfo { type EndpointEntry (line 18) | interface EndpointEntry { type ResourceInfo (line 25) | interface ResourceInfo { type FilterInfo (line 30) | interface FilterInfo { type DiscoverResponse (line 36) | interface DiscoverResponse { type DiscoverOptions (line 43) | interface DiscoverOptions { function isRecord (line 51) | function isRecord(value: unknown): value is Record { function isScopeTagged (line 55) | function isScopeTagged(value: unknown): value is ScopeTaggedMiddleware { function extractScopeFromHandler (line 63) | function extractScopeFromHandler(handlerChain: unknown[]): ApiKeyScope |... function extractRequestSchema (line 76) | function extractRequestSchema( function parseEndpointsFromSpec (line 88) | async function parseEndpointsFromSpec(): Promise { function _parseEndpointsFromSpec (line 95) | async function _parseEndpointsFromSpec(): Promise { function buildDiscoverResponse (line 156) | async function buildDiscoverResponse( function _resetCache (line 247) | function _resetCache(): void { FILE: packages/cli/src/public-api/v1/handlers/executions/executions.handler.ts function isRedactableExecution (line 23) | function isRedactableExecution( FILE: packages/cli/src/public-api/v1/handlers/executions/executions.service.ts function mapAnnotationTags (line 9) | function mapAnnotationTags(tags: AnnotationTagEntity[]) { function getExecutionTags (line 18) | async function getExecutionTags(executionId: string) { function updateExecutionTags (line 27) | async function updateExecutionTags( FILE: packages/cli/src/public-api/v1/handlers/projects/projects.handler.ts type GetAll (line 27) | type GetAll = PaginatedRequest; FILE: packages/cli/src/public-api/v1/handlers/users/users.handler.ee.ts type Create (line 22) | type Create = AuthenticatedRequest<{}, {}, InviteUsersRequestDto>; type Delete (line 23) | type Delete = UserRequest.Delete; type ChangeRole (line 24) | type ChangeRole = AuthenticatedRequest<{ id: string }, {}, RoleChangeReq... FILE: packages/cli/src/public-api/v1/handlers/users/users.service.ee.ts function getUser (line 9) | async function getUser(data: { function getAllUsersAndCount (line 30) | async function getAllUsersAndCount(data: { function pickUserSelectableProperties (line 65) | function pickUserSelectableProperties(user: User, options?: { includeRol... function clean (line 72) | function clean( FILE: packages/cli/src/public-api/v1/handlers/workflows/workflows.service.ts function insertIf (line 17) | function insertIf(condition: boolean, elements: string[]): string[] { function getSharedWorkflowIds (line 21) | async function getSharedWorkflowIds( function getSharedWorkflow (line 40) | async function getSharedWorkflow( function getWorkflowById (line 56) | async function getWorkflowById(id: string): Promise unknown) & { function tagMiddleware (line 93) | function tagMiddleware( FILE: packages/cli/src/public-api/v1/shared/services/pagination.service.ts function paginateArray (line 47) | function paginateArray( FILE: packages/cli/src/push/__tests__/websocket.push.test.ts class MockWebSocket (line 13) | class MockWebSocket extends EventEmitter { FILE: packages/cli/src/push/abstract.push.ts type AbstractPushEvents (line 11) | interface AbstractPushEvents { method constructor (line 35) | constructor( method add (line 44) | protected add(pushRef: string, userId: User['id'], connection: Connectio... method onMessageReceived (line 59) | protected onMessageReceived(pushRef: string, msg: unknown) { method getConnection (line 67) | protected getConnection(pushRef: string): Connection | undefined { method remove (line 71) | protected remove(pushRef?: string) { method sendTo (line 80) | private sendTo({ type, data }: PushMessage, pushRefs: string[], asBinary... method pingAll (line 97) | private pingAll() { method sendToAll (line 103) | sendToAll(pushMsg: PushMessage) { method sendToOne (line 107) | sendToOne(pushMsg: PushMessage, pushRef: string, asBinary: boolean = fal... method sendToUsers (line 116) | sendToUsers(pushMsg: PushMessage, userIds: Array) { method closeAllConnections (line 125) | closeAllConnections() { method hasPushRef (line 135) | hasPushRef(pushRef: string) { FILE: packages/cli/src/push/index.ts type PushEvents (line 25) | type PushEvents = { constant MAX_PAYLOAD_SIZE_BYTES (line 34) | const MAX_PAYLOAD_SIZE_BYTES = 5 * 1024 * 1024; class Push (line 44) | class Push extends TypedEmitter { method constructor (line 51) | constructor( method getBackend (line 64) | getBackend() { method setupPushServer (line 69) | setupPushServer(restEndpoint: string, server: Server, app: Application) { method setupPushHandler (line 93) | setupPushHandler(restEndpoint: string, app: Application) { method handleRequest (line 103) | handleRequest(req: SSEPushRequest | WebSocketPushRequest, res: PushRes... method broadcast (line 158) | broadcast(pushMsg: PushMessage) { method hasPushRef (line 163) | hasPushRef(pushRef: string) { method send (line 172) | send(pushMsg: PushMessage, pushRef: string, asBinary: boolean = false) { method sendToUsers (line 181) | sendToUsers(pushMsg: PushMessage, userIds: Array) { method onShutdown (line 186) | onShutdown() { method shouldRelayViaPubSub (line 207) | private shouldRelayViaPubSub(pushRef: string) { method handleRelayExecutionLifecycleEvent (line 214) | handleRelayExecutionLifecycleEvent({ method relayViaPubSub (line 229) | private relayViaPubSub(pushMsg: PushMessage, pushRef: string, asBinary... FILE: packages/cli/src/push/origin-validator.ts type OriginValidationResult (line 3) | interface OriginValidationResult { function validateOriginHeaders (line 19) | function validateOriginHeaders(headers: Request['headers']): OriginValid... function normalizeHost (line 87) | function normalizeHost(host: string, protocol: 'http' | 'https'): string { function stripIPv6Brackets (line 121) | function stripIPv6Brackets(hostname: string): string { function getFirstHeaderValue (line 142) | function getFirstHeaderValue(header: string | string[] | undefined): str... function validateProtocol (line 154) | function validateProtocol(proto: string | undefined): 'http' | 'https' |... function parseForwardedHeader (line 166) | function parseForwardedHeader(forwardedHeader: string): { host?: string;... function parseOrigin (line 206) | function parseOrigin(origin: string): { protocol: 'http' | 'https'; host... FILE: packages/cli/src/push/push.config.ts class PushConfig (line 4) | class PushConfig { FILE: packages/cli/src/push/sse.push.ts type Connection (line 7) | type Connection = { req: PushRequest; res: PushResponse }; class SSEPush (line 10) | class SSEPush extends AbstractPush { method add (line 11) | add(pushRef: string, userId: User['id'], connection: Connection) { method close (line 40) | protected close({ res }: Connection) { method sendToOneConnection (line 44) | protected sendToOneConnection(connection: Connection, data: string) { method ping (line 50) | protected ping({ res }: Connection) { FILE: packages/cli/src/push/types.ts type PushRequest (line 7) | type PushRequest = AuthenticatedRequest<{}, {}, {}, { pushRef: string }>; type SSEPushRequest (line 9) | type SSEPushRequest = PushRequest & { ws: undefined }; type WebSocketPushRequest (line 10) | type WebSocketPushRequest = PushRequest & { type PushResponse (line 15) | type PushResponse = Response & { type OnPushMessage (line 25) | interface OnPushMessage { FILE: packages/cli/src/push/websocket.push.ts function heartbeat (line 9) | function heartbeat(this: WebSocket) { class WebSocketPush (line 14) | class WebSocketPush extends AbstractPush { method add (line 15) | add(pushRef: string, userId: User['id'], connection: WebSocket) { method close (line 71) | protected close(connection: WebSocket): void { method sendToOneConnection (line 75) | protected sendToOneConnection(connection: WebSocket, data: string, asB... method ping (line 79) | protected ping(connection: WebSocket): void { method isClientHeartbeat (line 88) | private async isClientHeartbeat(msg: unknown) { FILE: packages/cli/src/requests.ts type AuthlessRequest (line 24) | type AuthlessRequest< type Request (line 32) | type Request = AuthenticatedRequest<{}, {}, {}, Params> & { type Params (line 36) | type Params = { type Options (line 44) | type Options = { function hasSharing (line 57) | function hasSharing( type CredentialProperties (line 68) | type CredentialProperties = Partial<{ type Get (line 79) | type Get = AuthenticatedRequest<{ credentialId: string }, {}, {}, Record... type GetMany (line 81) | type GetMany = AuthenticatedRequest< type Delete (line 90) | type Delete = Get; type GetAll (line 92) | type GetAll = AuthenticatedRequest<{}, {}, {}, { filter: string }>; type Update (line 94) | type Update = AuthenticatedRequest<{ credentialId: string }, {}, Credent... type Test (line 96) | type Test = AuthenticatedRequest<{}, {}, INodeCredentialTestRequest>; type Share (line 98) | type Share = AuthenticatedRequest<{ credentialId: string }, {}, { shareW... type Transfer (line 100) | type Transfer = AuthenticatedRequest< type ForWorkflow (line 106) | type ForWorkflow = AuthenticatedRequest< type SurveyAnswers (line 119) | type SurveyAnswers = AuthenticatedRequest<{}, {}, IPersonalizationSurvey... type InviteResponse (line 127) | type InviteResponse = { type Delete (line 138) | type Delete = AuthenticatedRequest< type Get (line 145) | type Get = AuthenticatedRequest< type PasswordResetLink (line 152) | type PasswordResetLink = AuthenticatedRequest<{ id: string }, {}, {}, {}>; type Enforce (line 160) | type Enforce = AuthenticatedRequest<{}, {}, { enforce: boolean }, {}>; type Verify (line 161) | type Verify = AuthenticatedRequest<{}, {}, { mfaCode: string }, {}>; type Activate (line 162) | type Activate = AuthenticatedRequest<{}, {}, { mfaCode: string }, {}>; type Disable (line 163) | type Disable = AuthenticatedRequest<{}, {}, { mfaCode?: string; mfaRecov... type Config (line 164) | type Config = AuthenticatedRequest<{}, {}, { login: { enabled: boolean }... type ValidateRecoveryCode (line 165) | type ValidateRecoveryCode = AuthenticatedRequest< type Auth (line 179) | type Auth = AuthenticatedRequest<{}, {}, {}, { id: string }>; type Callback (line 180) | type Callback = AuthenticatedRequest< type Auth (line 191) | type Auth = AuthenticatedRequest<{}, {}, {}, { id: string }>; type Callback (line 192) | type Callback = AuthenticatedRequest<{}, {}, {}, { code: string; state: ... type GetAll (line 201) | type GetAll = AuthenticatedRequest<{}, {}, {}, { withUsageCount: string }>; type Create (line 202) | type Create = AuthenticatedRequest<{}, {}, { name: string }>; type Update (line 203) | type Update = AuthenticatedRequest<{ id: string }, {}, { name: string }>; type Delete (line 204) | type Delete = AuthenticatedRequest<{ id: string }>; type GetAll (line 212) | type GetAll = AuthenticatedRequest; type Post (line 214) | type Post = AuthenticatedRequest< type Delete (line 220) | type Delete = AuthenticatedRequest<{}, {}, {}, { name: string }>; type Update (line 222) | type Update = Post; type Activate (line 230) | type Activate = AuthenticatedRequest<{}, {}, { activationKey: string; eu... type CreateUpdatePayload (line 238) | type CreateUpdatePayload = Omit & { id?: unknown }; type GetAll (line 240) | type GetAll = AuthenticatedRequest< type Get (line 253) | type Get = AuthenticatedRequest<{ id: string }, {}, {}, {}>; type Create (line 254) | type Create = AuthenticatedRequest<{}, {}, CreateUpdatePayload, {}>; type Update (line 255) | type Update = AuthenticatedRequest<{ id: string }, {}, CreateUpdatePaylo... type Delete (line 256) | type Delete = Get; type GetList (line 264) | type GetList = AuthenticatedRequest< type GetVersion (line 270) | type GetVersion = AuthenticatedRequest< type GetAllActive (line 281) | type GetAllActive = AuthenticatedRequest; type GetActivationError (line 283) | type GetActivationError = AuthenticatedRequest<{ id: string }>; type GetMyProjectsResponse (line 291) | type GetMyProjectsResponse = Array< type ProjectRelationResponse (line 295) | type ProjectRelationResponse = { type ProjectWithRelations (line 302) | type ProjectWithRelations = { type NpsSurveyUpdate (line 320) | type NpsSurveyUpdate = AuthenticatedRequest<{}, {}, unknown>; FILE: packages/cli/src/response-helper.ts function sendSuccessResponse (line 15) | function sendSuccessResponse( function sendErrorResponse (line 48) | function sendErrorResponse(res: Response, error: Error) { function reportError (line 98) | function reportError(error: Error, options?: ReportingOptions) { function send (line 112) | function send( FILE: packages/cli/src/scaling/__tests__/worker-server.test.ts function initWithReadiness (line 216) | async function initWithReadiness({ markReady = true } = {}) { FILE: packages/cli/src/scaling/constants.ts constant QUEUE_NAME (line 3) | const QUEUE_NAME = 'jobs'; constant JOB_TYPE_NAME (line 5) | const JOB_TYPE_NAME = 'job'; constant COMMAND_PUBSUB_CHANNEL (line 8) | const COMMAND_PUBSUB_CHANNEL = 'n8n.commands'; constant WORKER_RESPONSE_PUBSUB_CHANNEL (line 11) | const WORKER_RESPONSE_PUBSUB_CHANNEL = 'n8n.worker-response'; constant MCP_RELAY_PUBSUB_CHANNEL (line 14) | const MCP_RELAY_PUBSUB_CHANNEL = 'n8n.mcp-relay'; constant SELF_SEND_COMMANDS (line 19) | const SELF_SEND_COMMANDS = new Set([ constant IMMEDIATE_COMMANDS (line 28) | const IMMEDIATE_COMMANDS = new Set([ FILE: packages/cli/src/scaling/job-processor.ts class JobProcessor (line 57) | class JobProcessor { method constructor (line 60) | constructor( method processJob (line 73) | async processJob(job: Job): Promise { method deriveJobFinishedProps (line 386) | private deriveJobFinishedProps(run: IRun, startedAt: Date): JobFinishe... method fetchJobFinishedResult (line 399) | private async fetchJobFinishedResult(executionId: string): Promise { method constructor (line 31) | constructor( method init (line 50) | async init() { method shutdown (line 63) | async shutdown() { method checkLeader (line 71) | private async checkLeader() { method tryBecomeLeader (line 127) | private async tryBecomeLeader() { method fetchLeaderKey (line 148) | async fetchLeaderKey() { method registerEventHandlers (line 152) | registerEventHandlers() { FILE: packages/cli/src/scaling/pubsub/__tests__/pubsub.registry.test.ts class TestService (line 18) | @Service() method onMainInstance (line 21) | onMainInstance() {} method onWorkerInstance (line 24) | onWorkerInstance() {} method onLeaderInstance (line 30) | onLeaderInstance() {} method onFollowerInstance (line 36) | onFollowerInstance() {} method onAllInstances (line 39) | onAllInstances() {} FILE: packages/cli/src/scaling/pubsub/__tests__/subscriber.service.test.ts function getMessageHandler (line 121) | function getMessageHandler() { function makeCommandMsg (line 127) | function makeCommandMsg(command: string, debounce: boolean, payload?: un... FILE: packages/cli/src/scaling/pubsub/publisher.service.ts class Publisher (line 24) | class Publisher { method constructor (line 35) | constructor( method getClient (line 56) | getClient() { method shutdown (line 61) | shutdown() { method publishCommand (line 70) | async publishCommand(msg: PubSub.Command) { method publishWorkerResponse (line 99) | async publishWorkerResponse(msg: PubSub.WorkerResponse) { method publishMcpRelay (line 106) | async publishMcpRelay(msg: McpRelayMessage) { method setIfNotExists (line 125) | async setIfNotExists(key: string, value: string, ttl: number) { method set (line 130) | async set(key: string, value: string, ttl: number) { method setExpiration (line 134) | async setExpiration(key: string, ttl: number) { method get (line 138) | async get(key: string) { method clear (line 142) | async clear(key: string) { FILE: packages/cli/src/scaling/pubsub/pubsub.event-map.ts type PubSubCommandMap (line 4) | type PubSubCommandMap = { type PubSubWorkerResponseMap (line 178) | type PubSubWorkerResponseMap = { type PubSubEventMap (line 184) | type PubSubEventMap = PubSubCommandMap & PubSubWorkerResponseMap; FILE: packages/cli/src/scaling/pubsub/pubsub.eventbus.ts class PubSubEventBus (line 8) | class PubSubEventBus extends TypedEmitter {} FILE: packages/cli/src/scaling/pubsub/pubsub.registry.ts class PubSubRegistry (line 9) | class PubSubRegistry { method constructor (line 10) | constructor( method init (line 24) | init() { FILE: packages/cli/src/scaling/pubsub/pubsub.types.ts type Channel (line 12) | type Channel = typeof COMMAND_PUBSUB_CHANNEL | typeof WORKER_RESPONSE_PU... type HandlerFn (line 15) | type HandlerFn = (msg: string) => void; type _ToCommand (line 21) | type _ToCommand = { type ToCommand (line 39) | type ToCommand = Resolve<_ToC... type ReloadLicense (line 42) | type ReloadLicense = ToCommand<'reload-license'>; type ReloadOIDCConfiguration (line 43) | type ReloadOIDCConfiguration = ToCommand<'reload-oidc-config'>; type ReloadSamlConfiguration (line 44) | type ReloadSamlConfiguration = ToCommand<'reload-saml-config'>; type ReloadCredentialsOverwrites (line 45) | type ReloadCredentialsOverwrites = ToCommand<'reload-overwrite-credentia... type RestartEventBus (line 46) | type RestartEventBus = ToCommand<'restart-event-bus'>; type ReloadExternalSecretsProviders (line 47) | type ReloadExternalSecretsProviders = ToCommand<'reload-external-secrets... type CommunityPackageInstall (line 48) | type CommunityPackageInstall = ToCommand<'community-package-install'>; type CommunityPackageUpdate (line 49) | type CommunityPackageUpdate = ToCommand<'community-package-update'>; type CommunityPackageUninstall (line 50) | type CommunityPackageUninstall = ToCommand<'community-package-uninstall'>; type GetWorkerId (line 51) | type GetWorkerId = ToCommand<'get-worker-id'>; type GetWorkerStatus (line 52) | type GetWorkerStatus = ToCommand<'get-worker-status'>; type AddWebhooksTriggersAndPollers (line 53) | type AddWebhooksTriggersAndPollers = ToCommand<'add-webhooks-triggers-an... type RemoveTriggersAndPollers (line 54) | type RemoveTriggersAndPollers = ToCommand<'remove-triggers-and-pollers'>; type DisplayWorkflowActivation (line 55) | type DisplayWorkflowActivation = ToCommand<'display-workflow-activation'>; type DisplayWorkflowDeactivation (line 56) | type DisplayWorkflowDeactivation = ToCommand<'display-workflow-deactivat... type DisplayWorkflowActivationError (line 57) | type DisplayWorkflowActivationError = ToCommand<'display-workflow-activa... type RelayExecutionLifecycleEvent (line 58) | type RelayExecutionLifecycleEvent = ToCommand<'relay-execution-lifecycle... type RelayChatStreamEvent (line 59) | type RelayChatStreamEvent = ToCommand<'relay-chat-stream-event'>; type RelayChatHumanMessage (line 60) | type RelayChatHumanMessage = ToCommand<'relay-chat-human-message'>; type RelayChatMessageEdit (line 61) | type RelayChatMessageEdit = ToCommand<'relay-chat-message-edit'>; type ClearTestWebhooks (line 62) | type ClearTestWebhooks = ToCommand<'clear-test-webhooks'>; type ReloadSsoProvisioningConfiguration (line 63) | type ReloadSsoProvisioningConfiguration = type ReloadSourceControlConfiguration (line 65) | type ReloadSourceControlConfiguration = ToCommand<'reload-source-control... type CancelTestRun (line 66) | type CancelTestRun = ToCommand<'cancel-test-run'>; type Command (line 70) | type Command = type _ToWorkerResponse (line 100) | type _ToWorkerResponse; FILE: packages/cli/src/scaling/pubsub/subscriber.service.ts type McpRelayMessage (line 27) | interface McpRelayMessage { class Subscriber (line 34) | class Subscriber { method constructor (line 48) | constructor( method setMcpRelayHandler (line 98) | setMcpRelayHandler(handler: (msg: McpRelayMessage) => void): void { method handleMcpRelayMessage (line 102) | private handleMcpRelayMessage(str: string): void { method getClient (line 119) | getClient() { method getCommandChannel (line 123) | getCommandChannel() { method getWorkerResponseChannel (line 127) | getWorkerResponseChannel() { method getMcpRelayChannel (line 131) | getMcpRelayChannel() { method shutdown (line 136) | shutdown() { method subscribe (line 141) | async subscribe(channel: string) { method eventNameFrom (line 152) | private eventNameFrom(msg: PubSub.Command | PubSub.WorkerResponse) { method parseMessage (line 156) | private parseMessage(str: string, channel: string) { FILE: packages/cli/src/scaling/redis/redis.types.ts type RedisClientType (line 1) | type RedisClientType = N8nRedisClientType | BullRedisClientType; type N8nRedisClientType (line 10) | type N8nRedisClientType = 'subscriber(n8n)' | 'publisher(n8n)' | 'cache(... type BullRedisClientType (line 19) | type BullRedisClientType = 'subscriber(bull)' | 'client(bull)' | 'bclien... FILE: packages/cli/src/scaling/scaling.service.ts class ScalingService (line 33) | class ScalingService { method constructor (line 38) | constructor( method setupQueue (line 53) | async setupQueue() { method setupWorker (line 104) | setupWorker(concurrency: number) { method reportJobProcessingError (line 132) | private async reportJobProcessingError(error: Error, job: Job) { method stop (line 157) | async stop() { method pauseQueue (line 164) | private async pauseQueue() { method stopMain (line 169) | private async stopMain() { method stopWorker (line 176) | private async stopWorker() { method pingQueue (line 192) | async pingQueue() { method popJobResult (line 201) | popJobResult(executionId: string): JobFinishedProps | undefined { method getPendingJobCounts (line 207) | async getPendingJobCounts() { method addJob (line 219) | async addJob(jobData: JobData, { priority }: { priority: number }) { method getJob (line 244) | async getJob(jobId: JobId) { method findJobsByStatus (line 248) | async findJobsByStatus(statuses: JobStatus[]) { method stopJob (line 254) | async stopJob(job: Job) { method getRunningJobsCount (line 281) | getRunningJobsCount() { method registerListeners (line 289) | private registerListeners() { method registerWorkerListeners (line 301) | private registerWorkerListeners() { method registerMainOrWebhookListeners (line 330) | private registerMainOrWebhookListeners() { method isJobMessage (line 429) | private isJobMessage(candidate: unknown): candidate is JobMessage { method handleMcpResponse (line 438) | private async handleMcpResponse( method decodeWebhookResponse (line 488) | private decodeWebhookResponse( method assertQueue (line 504) | private assertQueue() { method assertWorker (line 510) | private assertWorker() { method isQueueMetricsEnabled (line 524) | get isQueueMetricsEnabled() { method scheduleQueueMetrics (line 532) | private scheduleQueueMetrics() { method stopQueueMetrics (line 549) | private stopQueueMetrics() { method scheduleQueueRecovery (line 568) | private scheduleQueueRecovery(waitMs = this.queueRecoveryContext.waitM... method stopQueueRecovery (line 591) | private stopQueueRecovery() { method recoverFromQueue (line 603) | async recoverFromQueue() { method toErrorMsg (line 634) | private toErrorMsg(error: unknown) { method hasValidJobData (line 640) | private hasValidJobData(job: Job) { FILE: packages/cli/src/scaling/scaling.types.ts type JobQueue (line 12) | type JobQueue = Bull.Queue; type Job (line 14) | type Job = Bull.Job; type JobId (line 16) | type JobId = Job['id']; type JobData (line 18) | type JobData = { type JobResult (line 46) | type JobResult = { type JobStatus (line 50) | type JobStatus = Bull.JobStatus; type JobOptions (line 52) | type JobOptions = Bull.JobOptions; type JobMessage (line 60) | type JobMessage = type RespondToWebhookMessage (line 69) | type RespondToWebhookMessage = { type JobFinishedProps (line 76) | type JobFinishedProps = { type JobFinishedMessage (line 88) | type JobFinishedMessage = JobFinishedMessageV1 | JobFinishedMessageV2; type JobFinishedMessageV1 (line 91) | type JobFinishedMessageV1 = { type JobFinishedMessageV2 (line 99) | type JobFinishedMessageV2 = { type SendChunkMessage (line 106) | type SendChunkMessage = { type McpResponseMessage (line 114) | type McpResponseMessage = { type JobFailedMessage (line 126) | type JobFailedMessage = { type AbortJobMessage (line 135) | type AbortJobMessage = { type RunningJob (line 139) | type RunningJob = RunningJobSummary & { type QueueRecoveryContext (line 143) | type QueueRecoveryContext = { FILE: packages/cli/src/scaling/worker-server.ts type WorkerServerEndpointsConfig (line 23) | type WorkerServerEndpointsConfig = { class WorkerServer (line 38) | class WorkerServer { method constructor (line 53) | constructor( method markAsReady (line 87) | markAsReady() { method init (line 91) | async init(endpointsConfig: WorkerServerEndpointsConfig) { method mountEndpoints (line 109) | private async mountEndpoints() { method readiness (line 144) | private async readiness(_req: express.Request, res: express.Response) { method handleOverwrites (line 157) | private async handleOverwrites( FILE: packages/cli/src/scaling/worker-status.service.ee.ts class WorkerStatusService (line 15) | class WorkerStatusService { method constructor (line 16) | constructor( method requestWorkerStatus (line 23) | async requestWorkerStatus(requestingUserId: string) { method handleWorkerStatusResponse (line 33) | handleWorkerStatusResponse(payload: WorkerStatus & { requestingUserId:... method publishWorkerResponse (line 48) | async publishWorkerResponse(command: { requestingUserId: string }) { method generateStatus (line 59) | private generateStatus(): WorkerStatus { method getOsCpuString (line 102) | private getOsCpuString() { FILE: packages/cli/src/security-audit/constants.ts constant RISK_CATEGORIES (line 7) | const RISK_CATEGORIES: Risk.Category[] = [ constant SQL_NODE_TYPES_WITH_QUERY_PARAMS (line 19) | const SQL_NODE_TYPES_WITH_QUERY_PARAMS = new Set([ constant SQL_NODE_TYPES (line 26) | const SQL_NODE_TYPES = new Set([ constant WEBHOOK_NODE_TYPE (line 33) | const WEBHOOK_NODE_TYPE = 'n8n-nodes-base.webhook'; constant WEBHOOK_VALIDATOR_NODE_TYPES (line 35) | const WEBHOOK_VALIDATOR_NODE_TYPES = new Set([ constant FILESYSTEM_INTERACTION_NODE_TYPES (line 43) | const FILESYSTEM_INTERACTION_NODE_TYPES = new Set([ constant OFFICIAL_RISKY_NODE_TYPES (line 51) | const OFFICIAL_RISKY_NODE_TYPES = new Set([ constant DATABASE_REPORT (line 65) | const DATABASE_REPORT = { constant CREDENTIALS_REPORT (line 74) | const CREDENTIALS_REPORT = { constant FILESYSTEM_REPORT (line 83) | const FILESYSTEM_REPORT = { constant NODES_REPORT (line 90) | const NODES_REPORT = { constant INSTANCE_REPORT (line 99) | const INSTANCE_REPORT = { constant ENV_VARS_DOCS_URL (line 112) | const ENV_VARS_DOCS_URL = 'https://docs.n8n.io/hosting/configuration/env... constant DB_QUERY_PARAMS_DOCS_URL (line 114) | const DB_QUERY_PARAMS_DOCS_URL = constant COMMUNITY_NODES_RISKS_URL (line 117) | const COMMUNITY_NODES_RISKS_URL = 'https://docs.n8n.io/integrations/comm... constant NPM_PACKAGE_URL (line 119) | const NPM_PACKAGE_URL = 'https://www.npmjs.com/package'; FILE: packages/cli/src/security-audit/risk-reporters/credentials-risk-reporter.ts class CredentialsRiskReporter (line 10) | class CredentialsRiskReporter implements RiskReporter { method constructor (line 11) | constructor( method report (line 18) | async report(workflows: IWorkflowBase[]) { method getAllCredsInUse (line 84) | private getAllCredsInUse(workflows: IWorkflowBase[]) { method getAllExistingCreds (line 110) | private async getAllExistingCreds() { method getExecutedWorkflowsInPastDays (line 116) | private async getExecutedWorkflowsInPastDays(days: number): Promise { method constructor (line 9) | constructor(dataSource: DataSource) { FILE: packages/cli/src/security-audit/security-audit.service.ts class SecurityAuditService (line 11) | class SecurityAuditService { method constructor (line 12) | constructor( method run (line 21) | async run(categories: Risk.Category[] = RISK_CATEGORIES, daysAbandoned... method initReporters (line 53) | async initReporters(categories: Risk.Category[]) { FILE: packages/cli/src/security-audit/types.ts type Category (line 4) | type Category = 'database' | 'credentials' | 'nodes' | 'instance' | 'fil... type CredLocation (line 6) | type CredLocation = { type NodeLocation (line 12) | type NodeLocation = { type CommunityNodeDetails (line 21) | type CommunityNodeDetails = { type CustomNodeDetails (line 27) | type CustomNodeDetails = { type SectionBase (line 33) | type SectionBase = { type Report (line 39) | type Report = StandardReport | InstanceReport; type StandardSection (line 41) | type StandardSection = SectionBase & { type InstanceSection (line 45) | type InstanceSection = SectionBase & { type StandardReport (line 51) | type StandardReport = { type InstanceReport (line 56) | type InstanceReport = { type Audit (line 61) | type Audit = { type SyncReportFn (line 65) | type SyncReportFn = (workflows: IWorkflowBase[]) => StandardReport | null; type AsyncReportFn (line 67) | type AsyncReportFn = (workflows: IWorkflowBase[]) => Promise { method configureSettingsRoute (line 462) | private configureSettingsRoute() { method initializeWorkflowIndexing (line 480) | private async initializeWorkflowIndexing() { method setupPushServer (line 489) | protected setupPushServer(): void { FILE: packages/cli/src/services/__tests__/auth.roles.service.test.ts constant SHARING_SCOPES (line 19) | const SHARING_SCOPES = PERSONAL_SPACE_SHARING_SETTING.scopes; function createScope (line 49) | function createScope( function createMinimalScope (line 68) | function createMinimalScope(slug: string): Scope { function createAllScopes (line 74) | function createAllScopes(): Scope[] { function createObsoleteScope (line 78) | function createObsoleteScope(slug: string): Scope { function createRole (line 86) | function createRole( function setupDefaultMocks (line 102) | function setupDefaultMocks(allScopes: Scope[]): void { function mockPersonalSpaceSettings (line 480) | function mockPersonalSpaceSettings( function mockExternalSecretsEnabled (line 746) | function mockExternalSecretsEnabled(enabled: boolean | null): void { FILE: packages/cli/src/services/__tests__/dynamic-templates.service.test.ts constant MOCK_DYNAMIC_TEMPLATES_HOST (line 12) | const MOCK_DYNAMIC_TEMPLATES_HOST = 'https://dynamic-templates.n8n.io/te... FILE: packages/cli/src/services/__tests__/password.utility.integration.test.ts function toComponents (line 5) | function toComponents(hash: string) { FILE: packages/cli/src/services/__tests__/user.service.test.ts type MaybeSensitiveProperties (line 95) | type MaybeSensitiveProperties = Partial< FILE: packages/cli/src/services/access.service.ts class AccessService (line 12) | class AccessService { method constructor (line 13) | constructor( method hasReadAccess (line 19) | async hasReadAccess(userId: User['id'], workflowId: Workflow['id']) { method hasWriteAccess (line 31) | async hasWriteAccess(userId: User['id'], workflowId: Workflow['id']) { FILE: packages/cli/src/services/active-workflows.service.ts class ActiveWorkflowsService (line 12) | class ActiveWorkflowsService { method constructor (line 13) | constructor( method getAllActiveIdsInStorage (line 21) | async getAllActiveIdsInStorage() { method getAllActiveIdsFor (line 27) | async getAllActiveIdsFor(user: User) { method getActivationError (line 41) | async getActivationError(workflowId: string, user: User) { FILE: packages/cli/src/services/ai-usage.service.ts constant KEY (line 7) | const KEY = 'ai.allowSendingParameterValues'; class AiUsageService (line 10) | class AiUsageService { method constructor (line 11) | constructor( method getAiUsageSettings (line 19) | async getAiUsageSettings(): Promise { method updateAiUsageSettings (line 35) | async updateAiUsageSettings(allowSendingActualData: boolean): Promise<... FILE: packages/cli/src/services/ai-workflow-builder.service.ts class WorkflowBuilderService (line 34) | class WorkflowBuilderService { method constructor (line 41) | constructor( method refreshNodeTypes (line 64) | async refreshNodeTypes() { method getService (line 71) | private async getService(): Promise { method initializeService (line 79) | private async initializeService(): Promise { method resolveBuiltinNodeDefinitionDirs (line 168) | private resolveBuiltinNodeDefinitionDirs(): string[] { method chat (line 185) | async *chat(payload: ChatPayload, user: IUser, abortSignal?: AbortSign... method getSessions (line 190) | async getSessions(workflowId: string | undefined, user: IUser, codeBui... method getBuilderInstanceCredits (line 196) | async getBuilderInstanceCredits(user: IUser) { method clearSession (line 201) | async clearSession(workflowId: string, user: IUser): Promise { method truncateMessagesAfter (line 206) | async truncateMessagesAfter( FILE: packages/cli/src/services/ai.service.ts class AiService (line 16) | class AiService { method constructor (line 21) | constructor( method init (line 27) | async init() { method chat (line 54) | async chat(payload: AiChatRequestDto, user: IUser) { method applySuggestion (line 59) | async applySuggestion(payload: AiApplySuggestionRequestDto, user: IUse... method askAi (line 64) | async askAi(payload: AiAskRequestDto, user: IUser) { method isProxyEnabled (line 70) | isProxyEnabled(): boolean { method getClient (line 75) | async getClient(): Promise { method createFreeAiCredits (line 87) | async createFreeAiCredits(user: IUser) { FILE: packages/cli/src/services/annotation-tag.service.ee.ts type IAnnotationTagDb (line 7) | type IAnnotationTagDb = Pick = T extends { withUsageCount: true } class AnnotationTagService (line 16) | class AnnotationTagService { method constructor (line 17) | constructor(private tagRepository: AnnotationTagRepository) {} method toEntity (line 19) | toEntity(attrs: { name: string; id?: string }) { method save (line 25) | async save(tag: AnnotationTagEntity) { method delete (line 31) | async delete(id: string) { method getAll (line 35) | async getAll(options?: T): Prom... FILE: packages/cli/src/services/banner.service.ts class BannerService (line 9) | class BannerService { method constructor (line 10) | constructor( method dismissBanner (line 15) | async dismissBanner(bannerName: BannerName) { FILE: packages/cli/src/services/cache/cache.constants.ts constant REDIS_TTL_KEY_MISSING (line 1) | const REDIS_TTL_KEY_MISSING = -2; FILE: packages/cli/src/services/cache/cache.service.ts type CacheEvents (line 18) | type CacheEvents = { class CacheService (line 25) | class CacheService extends TypedEmitter { method constructor (line 26) | constructor(private readonly globalConfig: GlobalConfig) { method init (line 32) | async init() { method reset (line 79) | async reset() { method isRedis (line 83) | isRedis() { method isMemory (line 87) | isMemory() { method exists (line 91) | async exists(key: string) { method set (line 103) | async set(key: string, value: unknown, ttl?: number) { method setMany (line 115) | async setMany(keysValues: Array<[key: string, value: unknown]>, ttl?: ... method setHash (line 139) | async setHash(key: string, hash: Hash) { method expire (line 160) | async expire(key: string, ttlMs: number) { method get (line 180) | async get( method getHash (line 218) | async getHash( method getHashValue (line 256) | async getHashValue( method delete (line 300) | async delete(key: string) { method deleteMany (line 308) | async deleteMany(keys: string[]) { method deleteFromHash (line 320) | async deleteFromHash(cacheKey: string, hashKey: string) { method isAValidCacheHit (line 339) | private async isAValidCacheHit(key: string, value: unknown): Promise { FILE: packages/cli/src/services/cache/cache.types.ts type TaggedRedisCache (line 5) | type TaggedRedisCache = RedisCache & { kind: 'redis' }; type TaggedMemoryCache (line 7) | type TaggedMemoryCache = MemoryCache & { kind: 'memory' }; type Hash (line 9) | type Hash = Record; type MaybeHash (line 11) | type MaybeHash = Hash | undefined; FILE: packages/cli/src/services/cache/redis.cache-manager.ts class NoCacheableError (line 10) | class NoCacheableError implements Error { method constructor (line 13) | constructor(public message: string) {} type RedisClusterConfig (line 25) | interface RedisClusterConfig { type RedisCache (line 30) | type RedisCache = Cache; type RedisStore (line 32) | interface RedisStore extends Store { function builder (line 45) | function builder( function redisStoreUsingClient (line 155) | function redisStoreUsingClient(redisCache: Redis | Cluster, options?: Co... function redisStore (line 164) | async function redisStore( FILE: packages/cli/src/services/cors-service.ts class CorsService (line 6) | class CorsService { method applyCorsHeaders (line 18) | applyCorsHeaders(req: Request, res: Response, options?: Partial Promise Promise; class DynamicTemplatesService (line 11) | class DynamicTemplatesService { method constructor (line 12) | constructor( method fetchDynamicTemplates (line 17) | async fetchDynamicTemplates(): Promise { FILE: packages/cli/src/services/execution-metadata.service.ts class ExecutionMetadataService (line 6) | class ExecutionMetadataService { method constructor (line 7) | constructor(private readonly executionMetadataRepository: ExecutionMet... method save (line 9) | async save(executionId: string, executionMetadata: Record { method getPublicSettings (line 556) | async getPublicSettings(includeMfaSettings: boolean): Promise) { method saveUser (line 78) | async saveUser(user: User) { method updateSettings (line 86) | async updateSettings(filter: FindOptionsWhere, set: QueryDee... method workflowsCount (line 94) | async workflowsCount(filter: FindManyOptions) { method credentialsCount (line 102) | async credentialsCount(filter: FindManyOptions) { method settingsCount (line 110) | async settingsCount(filter: FindManyOptions) { method authMiddleware (line 118) | async authMiddleware(req: AuthenticatedRequest, res: Response, next: N... method getRudderStackClient (line 122) | getRudderStackClient(key: string, options: constructorOptions): Rudder... method dbCollections (line 130) | dbCollections() { FILE: packages/cli/src/services/import.service.ts class ImportService (line 30) | class ImportService { method constructor (line 52) | constructor( method initRecords (line 62) | async initRecords() { method importWorkflows (line 67) | async importWorkflows(workflows: IWorkflowWithVersionMetadata[], proje... method replaceInvalidCreds (line 192) | async replaceInvalidCreds(workflow: IWorkflowBase, projectId: string) { method isTableEmpty (line 205) | async isTableEmpty(tableName: string): Promise { method areAllEntityTablesEmpty (line 227) | async areAllEntityTablesEmpty(tableNames: string[]): Promise { method truncateEntityTable (line 261) | async truncateEntityTable(tableName: string, transactionManager: Entit... method getImportMetadata (line 274) | async getImportMetadata(inputDir: string): Promise<{ method readEntityFile (line 324) | async readEntityFile( method decompressEntitiesZip (line 357) | private async decompressEntitiesZip(inputDir: string): Promise { method importEntities (line 370) | async importEntities( method importEntitiesFromFiles (line 466) | async importEntitiesFromFiles( method toNewCredentialFormat (line 548) | private toNewCredentialFormat(node: INode) { method disableForeignKeyConstraints (line 564) | async disableForeignKeyConstraints(transactionManager: EntityManager) { method enableForeignKeyConstraints (line 578) | async enableForeignKeyConstraints(transactionManager: EntityManager) { method validateMigrations (line 598) | async validateMigrations(inputDir: string, customEncryptionKey?: strin... FILE: packages/cli/src/services/jwt.service.ts class JwtService (line 8) | class JwtService { method constructor (line 11) | constructor({ encryptionKey }: InstanceSettings, globalConfig: GlobalC... method sign (line 26) | sign(payload: object, options: jwt.SignOptions = {}): string { method decode (line 30) | decode(token: string) { method verify (line 34) | verify(token: string, options: jwt.VerifyOptions = {}) { type JwtPayload (line 39) | type JwtPayload = jwt.JwtPayload; FILE: packages/cli/src/services/last-active-at.service.ts class LastActiveAtService (line 9) | class LastActiveAtService { method constructor (line 12) | constructor( method middleware (line 17) | async middleware(req: AuthenticatedRequest, _res: Response, next: Next... method updateLastActiveIfStale (line 26) | async updateLastActiveIfStale(userId: string) { FILE: packages/cli/src/services/naming.service.ts class NamingService (line 5) | class NamingService { method constructor (line 6) | constructor( method getUniqueWorkflowName (line 11) | async getUniqueWorkflowName(requestedName: string) { method getUniqueCredentialName (line 15) | async getUniqueCredentialName(requestedName: string) { method getUniqueName (line 19) | private async getUniqueName(requestedName: string, entity: 'workflow' ... FILE: packages/cli/src/services/ownership.service.ts class OwnershipService (line 26) | class OwnershipService { method constructor (line 27) | constructor( method copyProject (line 44) | copyProject(project: Project): Partial { method reconstructProject (line 50) | reconstructProject(project: Partial): Project | undefined { method copyUser (line 57) | copyUser(user: User): Partial { method reconstructUser (line 64) | reconstructUser(cachedUser: Partial): User | undefined { method getWorkflowProjectCached (line 88) | async getWorkflowProjectCached(workflowId: string): Promise { method setWorkflowProjectCacheEntry (line 111) | async setWorkflowProjectCacheEntry(workflowId: string, project: Projec... method getPersonalProjectOwnerCached (line 123) | async getPersonalProjectOwnerCached(projectId: string): Promise( class ProjectService (line 67) | class ProjectService { method constructor (line 68) | constructor( method workflowService (line 78) | private get workflowService() { method credentialsService (line 84) | private get credentialsService() { method folderService (line 90) | private get folderService() { method dataTableService (line 96) | private get dataTableService() { method secretsProvidersConnectionsService (line 102) | private get secretsProvidersConnectionsService() { method deleteProject (line 108) | async deleteProject( method findProjectsWorkflowIsIn (line 220) | async findProjectsWorkflowIsIn(workflowId: string) { method addUserScopes (line 229) | async addUserScopes( method getAccessibleProjects (line 263) | async getAccessibleProjects(user: User): Promise { method getAccessibleProjectsAndCount (line 271) | async getAccessibleProjectsAndCount( method getPersonalProjectOwners (line 281) | async getPersonalProjectOwners(projectIds: string[]): Promise { method getProjectRelationsForUser (line 334) | async getProjectRelationsForUser(user: User): Promise { method getProjectRelations (line 632) | async getProjectRelations(projectId: string): Promise { method getProjectCounts (line 660) | async getProjectCounts(): Promise> { FILE: packages/cli/src/services/pruning/executions-pruning.service.ts class ExecutionsPruningService (line 27) | class ExecutionsPruningService { method constructor (line 44) | constructor( method init (line 55) | init() { method isEnabled (line 61) | get isEnabled() { method startPruning (line 70) | startPruning() { method stopPruning (line 81) | stopPruning() { method scheduleRollingSoftDeletions (line 90) | private scheduleRollingSoftDeletions(rateMs = this.rates.softDeletion) { method scheduleNextHardDeletion (line 99) | private scheduleNextHardDeletion(rateMs = this.rates.hardDeletion) { method softDelete (line 113) | async softDelete() { method shutdown (line 125) | shutdown(): void { method hardDelete (line 135) | private async hardDelete(): Promise { FILE: packages/cli/src/services/pruning/workflow-history-compaction.service.ts class WorkflowHistoryCompactionService (line 42) | class WorkflowHistoryCompactionService { method constructor (line 51) | constructor( method init (line 63) | init() { method isEnabled (line 69) | get isEnabled() { method startCompacting (line 74) | startCompacting() { method stopCompacting (line 85) | stopCompacting() { method scheduleTrimming (line 94) | private scheduleTrimming() { method scheduleOptimization (line 124) | private scheduleOptimization() { method shutdown (line 140) | shutdown(): void { method trimLongRunningHistories (line 145) | private async trimLongRunningHistories(): Promise { method optimizeHistories (line 180) | private async optimizeHistories(): Promise { method compactHistories (line 204) | private async compactHistories( FILE: packages/cli/src/services/public-api-key.service.ts constant API_KEY_AUDIENCE (line 19) | const API_KEY_AUDIENCE = 'public-api'; constant API_KEY_ISSUER (line 20) | const API_KEY_ISSUER = 'n8n'; constant REDACT_API_KEY_REVEAL_COUNT (line 21) | const REDACT_API_KEY_REVEAL_COUNT = 4; constant REDACT_API_KEY_MAX_LENGTH (line 22) | const REDACT_API_KEY_MAX_LENGTH = 10; constant PREFIX_LEGACY_API_KEY (line 23) | const PREFIX_LEGACY_API_KEY = 'n8n_api_'; class PublicApiKeyService (line 26) | class PublicApiKeyService { method constructor (line 27) | constructor( method createPublicApiKeyForUser (line 39) | async createPublicApiKeyForUser( method getRedactedApiKeysForUser (line 61) | async getRedactedApiKeysForUser(user: User) { method deleteApiKeyForUser (line 73) | async deleteApiKeyForUser(user: User, apiKeyId: string) { method deleteAllApiKeysForUser (line 77) | async deleteAllApiKeysForUser(user: User, tx?: EntityManager) { method updateApiKeyForUser (line 89) | async updateApiKeyForUser( method getUserForApiKey (line 97) | private async getUserForApiKey(apiKey: string) { method redactApiKey (line 118) | redactApiKey(apiKey: string) { method getAuthMiddleware (line 127) | getAuthMiddleware(version: string) { method generateApiKey (line 172) | private generateApiKey(user: User, expiresAt: UnixTimestamp) { method apiKeyHasValidScopesForRole (line 186) | apiKeyHasValidScopesForRole(role: AuthPrincipal, apiKeyScopes: ApiKeyS... method apiKeyHasValidScopes (line 191) | async apiKeyHasValidScopes(apiKey: string, endpointScope: ApiKeyScope) { method getApiKeyScopeMiddleware (line 201) | getApiKeyScopeMiddleware(endpointScope: ApiKeyScope) { method removeOwnerOnlyScopesFromApiKeys (line 220) | async removeOwnerOnlyScopesFromApiKeys(user: User, tx?: EntityManager) { FILE: packages/cli/src/services/rate-limit.service.ts class RateLimitService (line 26) | class RateLimitService { method createIpRateLimitMiddleware (line 31) | createIpRateLimitMiddleware(rateLimit: boolean | RateLimiterLimits): R... method createBodyKeyedRateLimitMiddleware (line 45) | createBodyKeyedRateLimitMiddleware( method createUserKeyedRateLimitMiddleware (line 65) | createUserKeyedRateLimitMiddleware(config: UserKeyedRateLimiterConfig)... method extractBodyIdentifier (line 77) | private extractBodyIdentifier(body: unknown, fieldName: string, fieldS... method extractUserIdentifier (line 95) | private extractUserIdentifier(req: AuthenticatedRequest): string { FILE: packages/cli/src/services/redis-client.service.ts type RedisEventMap (line 12) | type RedisEventMap = { constant RECONNECT_AND_RETRY (line 17) | const RECONNECT_AND_RETRY = 2; constant DO_NOT_RECONNECT (line 18) | const DO_NOT_RECONNECT = false; class RedisClientService (line 21) | class RedisClientService extends TypedEmitter { method constructor (line 38) | constructor( method isConnected (line 49) | isConnected() { method createClient (line 53) | createClient(arg: { type: RedisClientType; extraOptions?: RedisOptions... method toValidPrefix (line 81) | toValidPrefix(prefix: string) { method createRegularClient (line 94) | private createRegularClient({ method createClusterClient (line 115) | private createClusterClient({ method getOptions (line 135) | private getOptions({ extraOptions }: { extraOptions?: RedisOptions }) { method getClusterOptions (line 193) | private getClusterOptions( method retryStrategy (line 222) | private retryStrategy() { method clusterNodes (line 249) | private clusterNodes() { method emit (line 260) | emit( method registerListeners (line 267) | private registerListeners() { method formatTimeout (line 288) | private formatTimeout(timeoutMs: number) { FILE: packages/cli/src/services/role-cache.service.ts type RoleInfo (line 10) | type RoleInfo = { type RoleScopeMap (line 14) | interface RoleScopeMap { class RoleCacheService (line 33) | class RoleCacheService { method constructor (line 37) | constructor( method buildRoleScopeMap (line 45) | private async buildRoleScopeMap(trx?: EntityManager): Promise { method refreshCache (line 112) | async refreshCache(): Promise { FILE: packages/cli/src/services/role.service.ts class RoleService (line 44) | class RoleService { method constructor (line 45) | constructor( method dbRoleToRoleDTO (line 53) | private dbRoleToRoleDTO(role: Role, usedByUsers?: number, usedByProjec... method getAllRoles (line 63) | async getAllRoles(withCount: boolean = false): Promise { method getRole (line 82) | async getRole(slug: string, withCount: boolean = false): Promise { method getSharedPersonalWorkflowsCount (line 70) | async getSharedPersonalWorkflowsCount(): Promise { method getSharedPersonalCredentialsCount (line 74) | async getSharedPersonalCredentialsCount(): Promise { FILE: packages/cli/src/services/ssrf/__tests__/dns-resolver.test.ts function asLookupResult (line 15) | function asLookupResult(value: unknown): Awaited = {}): Ss... function addr (line 32) | function addr(address: string, family: 4 | 6 = 4): LookupAddress { FILE: packages/cli/src/services/ssrf/__tests__/ssrf-protection.service.test.ts function createConfig (line 9) | function createConfig(overrides: Partial = {}): Ss... function createMockDnsResolver (line 18) | function createMockDnsResolver() { function createService (line 24) | function createService( FILE: packages/cli/src/services/ssrf/dns-resolver.ts type DnsLookupOptions (line 7) | type DnsLookupOptions = Pick< type NormalizedLookupOptions (line 12) | interface NormalizedLookupOptions { constant LOOKUP_CACHE_TTL_SECONDS (line 21) | const LOOKUP_CACHE_TTL_SECONDS = 1; class DnsResolver (line 33) | class DnsResolver { method constructor (line 36) | constructor(private readonly dnsCache: InMemoryDnsCache) {} method lookup (line 41) | async lookup(hostname: string, options: DnsLookupOptions = {}): Promis... method doLookup (line 67) | private async doLookup( method buildCacheKey (line 93) | private buildCacheKey(hostname: string, options: NormalizedLookupOptio... method normalizeOptions (line 99) | private normalizeOptions(options: DnsLookupOptions): NormalizedLookupO... method normalizeIpFamily (line 107) | private normalizeIpFamily(family: DnsLookupOptions['family']): 4 | 6 |... FILE: packages/cli/src/services/ssrf/hostname-matcher.ts type WildcardPattern (line 5) | type WildcardPattern = { isWildcard: true; suffix: string }; type ExactPattern (line 8) | type ExactPattern = { isWildcard: false; value: string }; type ParsedPattern (line 10) | type ParsedPattern = WildcardPattern | ExactPattern; class HostnameMatcher (line 18) | class HostnameMatcher { method constructor (line 21) | constructor(patterns: readonly string[]) { method matches (line 37) | matches(hostname: string): boolean { method normalizeHostname (line 62) | private normalizeHostname(hostname: string): string { FILE: packages/cli/src/services/ssrf/in-memory-dns-cache.service.ts class InMemoryDnsCache (line 14) | class InMemoryDnsCache { method constructor (line 17) | constructor(private readonly ssrfConfig: SsrfProtectionConfig) {} method ensureCache (line 19) | private async ensureCache(): Promise { method get (line 37) | async get(hostname: string): Promise { method set (line 47) | async set(hostname: string, ips: LookupAddress[], ttl: number): Promis... method clear (line 55) | async clear(): Promise { FILE: packages/cli/src/services/ssrf/ip-range-builder.ts type IpRangeIssue (line 5) | interface IpRangeIssue { type IpRangeBuildResult (line 10) | interface IpRangeBuildResult { function buildIpRangeList (line 20) | function buildIpRangeList(cidrRanges: readonly string[]): IpRangeBuildRe... function parseCidr (line 50) | function parseCidr( function validateIp (line 70) | function validateIp(ip: string): 'ipv4' | 'ipv6' | null { FILE: packages/cli/src/services/ssrf/ssrf-blocked-ip.error.ts class SsrfBlockedIpError (line 6) | class SsrfBlockedIpError extends UserError { method constructor (line 10) | constructor(ip: string, hostname?: string) { FILE: packages/cli/src/services/ssrf/ssrf-protection.service.ts type LookAndValidateResult (line 16) | type LookAndValidateResult = Result; class SsrfProtectionService (line 29) | class SsrfProtectionService implements SsrfBridge { method constructor (line 38) | constructor( method validateUrl (line 68) | async validateUrl(url: string | URL): Promise { method validateIp (line 87) | validateIp(ip: string): SsrfCheckResult { method createSecureLookup (line 113) | createSecureLookup(): LookupFunction { method validateRedirectSync (line 137) | validateRedirectSync(url: string): void { method normalizeIpInHostname (line 158) | private normalizeIpInHostname(hostname: string): string { method secureLookupAsync (line 165) | private async secureLookupAsync( method lookupAndValidate (line 181) | private async lookupAndValidate( method tryParseUrl (line 223) | private tryParseUrl(url: string | URL): URL | null { method getIpFamily (line 231) | private getIpFamily(ip: string): 'ipv4' | 'ipv6' | null { FILE: packages/cli/src/services/static-auth-service.ts class StaticAuthService (line 8) | class StaticAuthService { method getStaticAuthMiddleware (line 14) | static getStaticAuthMiddleware(endpointAuthToken: string, headerName: ... FILE: packages/cli/src/services/tag.service.ts type GetAllResult (line 8) | type GetAllResult = T extends { withUsageCount: true } ? ITagWithCoun... type Action (line 10) | type Action = 'Create' | 'Update'; class TagService (line 13) | class TagService { method constructor (line 14) | constructor( method toEntity (line 19) | toEntity(attrs: { name: string; id?: string }) { method save (line 25) | async save(tag: TagEntity, actionKind: 'create' | 'update') { method delete (line 39) | async delete(id: string) { method getAll (line 49) | async getAll(options?: T): Prom... method getById (line 69) | async getById(id: string) { method sortByRequestOrder (line 78) | sortByRequestOrder(tags: TagEntity[], { requestOrder }: { requestOrder... FILE: packages/cli/src/services/url.service.ts class UrlService (line 5) | class UrlService { method constructor (line 9) | constructor(private readonly globalConfig: GlobalConfig) { method getWebhookBaseUrl (line 14) | getWebhookBaseUrl() { method getInstanceBaseUrl (line 23) | getInstanceBaseUrl(): string { method generateBaseUrl (line 29) | private generateBaseUrl(): string { method trimQuotes (line 39) | private trimQuotes(url?: string) { FILE: packages/cli/src/services/user.service.ts class UserService (line 40) | class UserService { method constructor (line 41) | constructor( method update (line 55) | async update(userId: string, data: Partial) { method getManager (line 65) | getManager() { method updateSettings (line 69) | async updateSettings(userId: string, newSettings: Partial { method findSsoIdentity (line 92) | async findSsoIdentity(userId: string): Promise { FILE: packages/cli/src/services/workflow-statistics.service.ts type WorkflowStatisticsEvents (line 55) | type WorkflowStatisticsEvents = { class WorkflowStatisticsService (line 73) | class WorkflowStatisticsService extends TypedEmitter { method isShuttingDown (line 72) | isShuttingDown() { method startShutdown (line 76) | private async startShutdown() { method shutdownComponent (line 86) | private async shutdownComponent({ serviceClass, methodName }: Shutdown... FILE: packages/cli/src/sso.ee/sso-helpers.ts function setCurrentAuthenticationMethod (line 14) | async function setCurrentAuthenticationMethod( function reloadAuthenticationMethod (line 28) | async function reloadAuthenticationMethod(): Promise { function getCurrentAuthenticationMethod (line 47) | function getCurrentAuthenticationMethod(): AuthProviderType { function isSamlCurrentAuthenticationMethod (line 51) | function isSamlCurrentAuthenticationMethod(): boolean { function isSamlLoginEnabled (line 58) | function isSamlLoginEnabled(): boolean { function getSamlLoginLabel (line 62) | function getSamlLoginLabel(): string { function isSamlLicensed (line 66) | function isSamlLicensed(): boolean { function isSamlLicensedAndEnabled (line 70) | function isSamlLicensedAndEnabled(): boolean { function isLdapCurrentAuthenticationMethod (line 74) | function isLdapCurrentAuthenticationMethod(): boolean { function isOidcCurrentAuthenticationMethod (line 78) | function isOidcCurrentAuthenticationMethod(): boolean { function isSsoCurrentAuthenticationMethod (line 82) | function isSsoCurrentAuthenticationMethod(): boolean { function isEmailCurrentAuthenticationMethod (line 90) | function isEmailCurrentAuthenticationMethod(): boolean { function isSsoJustInTimeProvisioningEnabled (line 94) | function isSsoJustInTimeProvisioningEnabled(): boolean { function doRedirectUsersFromLoginToSsoFlow (line 98) | function doRedirectUsersFromLoginToSsoFlow(): boolean { FILE: packages/cli/src/task-runners/__tests__/forward-to-logger.test.ts method read (line 17) | read() {} method read (line 18) | read() {} FILE: packages/cli/src/task-runners/__tests__/sliding-window-signal.test.ts type TestEventMap (line 4) | type TestEventMap = { FILE: packages/cli/src/task-runners/default-task-runner-disconnect-analyzer.ts class DefaultTaskRunnerDisconnectAnalyzer (line 17) | class DefaultTaskRunnerDisconnectAnalyzer implements DisconnectAnalyzer { method isCloudDeployment (line 18) | get isCloudDeployment() { method toDisconnectError (line 22) | async toDisconnectError(opts: DisconnectErrorOptions): Promise { FILE: packages/cli/src/task-runners/errors/missing-auth-token.error.ts class MissingAuthTokenError (line 1) | class MissingAuthTokenError extends Error { method constructor (line 2) | constructor() { FILE: packages/cli/src/task-runners/errors/missing-requirements.error.ts constant ERROR_MESSAGE (line 3) | const ERROR_MESSAGE = 'Failed to start Python task runner in internal mo... type ReasonId (line 5) | type ReasonId = 'python' | 'venv'; constant HINT (line 7) | const HINT = class MissingRequirementsError (line 10) | class MissingRequirementsError extends UserError { method constructor (line 11) | constructor(reasonId: ReasonId) { FILE: packages/cli/src/task-runners/errors/task-request-timeout.error.ts class TaskRequestTimeoutError (line 3) | class TaskRequestTimeoutError extends OperationalError { method constructor (line 6) | constructor({ timeout, isSelfHosted }: { timeout: number; isSelfHosted... FILE: packages/cli/src/task-runners/errors/task-runner-disconnected-error.ts class TaskRunnerDisconnectedError (line 4) | class TaskRunnerDisconnectedError extends UnexpectedError { method constructor (line 7) | constructor( FILE: packages/cli/src/task-runners/errors/task-runner-failed-heartbeat.error.ts class TaskRunnerFailedHeartbeatError (line 3) | class TaskRunnerFailedHeartbeatError extends UserError { method constructor (line 6) | constructor(heartbeatInterval: number, isSelfHosted: boolean) { FILE: packages/cli/src/task-runners/errors/task-runner-oom-error.ts class TaskRunnerOomError (line 5) | class TaskRunnerOomError extends UserError { method constructor (line 8) | constructor( FILE: packages/cli/src/task-runners/errors/task-runner-restart-loop-error.ts class TaskRunnerRestartLoopError (line 3) | class TaskRunnerRestartLoopError extends UnexpectedError { method constructor (line 4) | constructor( FILE: packages/cli/src/task-runners/forward-to-logger.ts function forwardToLogger (line 8) | function forwardToLogger( FILE: packages/cli/src/task-runners/internal-task-runner-disconnect-analyzer.ts class InternalTaskRunnerDisconnectAnalyzer (line 17) | class InternalTaskRunnerDisconnectAnalyzer extends DefaultTaskRunnerDisc... method constructor (line 20) | constructor( method toDisconnectError (line 36) | async toDisconnectError(opts: DisconnectErrorOptions): Promise { method awaitExitSignal (line 45) | private async awaitExitSignal(): Promise { FILE: packages/cli/src/task-runners/node-process-oom-detector.ts class NodeProcessOomDetector (line 8) | class NodeProcessOomDetector { method didProcessOom (line 9) | get didProcessOom() { method constructor (line 15) | constructor(processToMonitor: ChildProcess) { method monitorProcess (line 19) | private monitorProcess(processToMonitor: ChildProcess) { FILE: packages/cli/src/task-runners/sliding-window-signal.ts type SlidingWindowSignalOpts (line 3) | type SlidingWindowSignalOpts = { class SlidingWindowSignal (line 11) | class SlidingWindowSignal { FILE: packages/cli/src/task-runners/task-broker/auth/task-broker-auth.controller.ts class TaskBrokerAuthController (line 14) | class TaskBrokerAuthController { method constructor (line 15) | constructor(private readonly authService: TaskBrokerAuthService) {} method createGrantToken (line 21) | async createGrantToken(req: AuthlessRequest) { method validateUpgradeRequest (line 42) | async validateUpgradeRequest( FILE: packages/cli/src/task-runners/task-broker/auth/task-broker-auth.service.ts constant GRANT_TOKEN_TTL (line 8) | const GRANT_TOKEN_TTL = 15 * Time.seconds.toMilliseconds; class TaskBrokerAuthService (line 11) | class TaskBrokerAuthService { method constructor (line 14) | constructor( method isValidAuthToken (line 21) | isValidAuthToken(token: string) { method createGrantToken (line 31) | async createGrantToken() { method tryConsumeGrantToken (line 44) | async tryConsumeGrantToken(grantToken: string) { method generateGrantToken (line 54) | private generateGrantToken() { method cacheKeyForGrantToken (line 58) | private cacheKeyForGrantToken(grantToken: string) { FILE: packages/cli/src/task-runners/task-broker/errors/task-deferred.error.ts class TaskDeferredError (line 3) | class TaskDeferredError extends UserError { method constructor (line 4) | constructor() { FILE: packages/cli/src/task-runners/task-broker/errors/task-reject.error.ts class TaskRejectError (line 3) | class TaskRejectError extends UserError { method constructor (line 4) | constructor(public reason: string) { FILE: packages/cli/src/task-runners/task-broker/errors/task-runner-accept-timeout.error.ts class TaskRunnerAcceptTimeoutError (line 3) | class TaskRunnerAcceptTimeoutError extends OperationalError { method constructor (line 4) | constructor(taskId: string, runnerId: string) { FILE: packages/cli/src/task-runners/task-broker/errors/task-runner-execution-timeout.error.ts class TaskRunnerExecutionTimeoutError (line 4) | class TaskRunnerExecutionTimeoutError extends OperationalError { method constructor (line 7) | constructor({ FILE: packages/cli/src/task-runners/task-broker/task-broker-server.ts type IncomingUpgradeRequest (line 26) | type IncomingUpgradeRequest = IncomingMessage & { url: string; ws?: WebS... class SlidingWindowRateLimiter (line 34) | class SlidingWindowRateLimiter { method constructor (line 37) | constructor( method isRateLimited (line 42) | isRateLimited(): boolean { class TaskBrokerServer (line 55) | class TaskBrokerServer { method port (line 67) | get port() { method upgradeEndpoint (line 71) | private get upgradeEndpoint() { method constructor (line 75) | constructor( method start (line 91) | async start(): Promise { method stop (line 105) | async stop(): Promise { method setupHttpServer (line 124) | private async setupHttpServer() { method setupWsServer (line 151) | private setupWsServer() { method setupErrorHandlers (line 165) | private async setupErrorHandlers() { method setupCommonMiddlewares (line 175) | private setupCommonMiddlewares() { method configureRoutes (line 183) | private configureRoutes() { method failUpgradeRequest (line 270) | private failUpgradeRequest(socket: Socket, statusCode: number) { method getEndpointBasePath (line 277) | private getEndpointBasePath() { FILE: packages/cli/src/task-runners/task-broker/task-broker-types.ts type DisconnectAnalyzer (line 7) | interface DisconnectAnalyzer { type TaskBrokerServerInitRequest (line 13) | interface TaskBrokerServerInitRequest type TaskBrokerServerInitResponse (line 18) | type TaskBrokerServerInitResponse = Response & { req: TaskBrokerServerIn... type DisconnectReason (line 20) | type DisconnectReason = 'shutting-down' | 'failed-heartbeat-check' | 'un... type DisconnectErrorOptions (line 22) | type DisconnectErrorOptions = { FILE: packages/cli/src/task-runners/task-broker/task-broker-ws-server.ts function heartbeat (line 21) | function heartbeat(this: WebSocket) { type WsStatusCode (line 25) | type WsStatusCode = (typeof WsStatusCodes)[keyof typeof WsStatusCodes]; class TaskBrokerWsServer (line 32) | class TaskBrokerWsServer { method constructor (line 37) | constructor( method start (line 46) | start() { method startHeartbeatChecks (line 50) | private startHeartbeatChecks() { method stop (line 74) | async stop() { method setDisconnectAnalyzer (line 83) | setDisconnectAnalyzer(disconnectAnalyzer: DisconnectAnalyzer) { method getDisconnectAnalyzer (line 87) | getDisconnectAnalyzer() { method sendMessage (line 91) | sendMessage(id: TaskRunner['id'], message: BrokerMessage.ToRunner.All) { method add (line 95) | add(id: TaskRunner['id'], connection: WebSocket) { method removeConnection (line 158) | async removeConnection( method handleRequest (line 177) | handleRequest(req: TaskBrokerServerInitRequest, _res: TaskBrokerServer... method stopConnectedRunners (line 181) | private async stopConnectedRunners() { method drainActiveTasks (line 192) | private async drainActiveTasks() { FILE: packages/cli/src/task-runners/task-broker/task-broker.service.ts type TaskRunner (line 20) | interface TaskRunner { type Task (line 27) | interface Task { type TaskOffer (line 35) | interface TaskOffer { type TaskRequest (line 45) | interface TaskRequest { type MessageCallback (line 53) | type MessageCallback = (message: BrokerMessage.ToRunner.All) => Promise<... type RequesterMessageCallback (line 54) | type RequesterMessageCallback = ( type RunnerAcceptCallback (line 58) | type RunnerAcceptCallback = () => void; type RequesterAcceptCallback (line 59) | type RequesterAcceptCallback = ( type TaskRejectCallback (line 62) | type TaskRejectCallback = (reason: TaskRejectError | TaskDeferredError) ... class TaskBroker (line 65) | class TaskBroker { method constructor (line 94) | constructor( method createRequestTimeout (line 105) | private createRequestTimeout(requestId: string): NodeJS.Timeout { method handleRequestTimeout (line 111) | private handleRequestTimeout(requestId: string) { method expireTasks (line 127) | expireTasks() { method registerRunner (line 138) | registerRunner(runner: TaskRunner, messageCallback: MessageCallback) { method deregisterRunner (line 143) | deregisterRunner(runnerId: string, error: Error) { method registerRequester (line 165) | registerRequester(requesterId: string, messageCallback: RequesterMessa... method deregisterRequester (line 169) | deregisterRequester(requesterId: string) { method messageRunner (line 173) | private async messageRunner(runnerId: TaskRunner['id'], message: Broke... method messageRequester (line 177) | private async messageRequester(requesterId: string, message: BrokerMes... method onRunnerMessage (line 181) | async onRunnerMessage(runnerId: TaskRunner['id'], message: RunnerMessa... method handleRpcRequest (line 229) | async handleRpcRequest( method handleRunnerAccept (line 248) | handleRunnerAccept(taskId: Task['id']) { method handleRunnerReject (line 256) | handleRunnerReject(taskId: Task['id'], reason: string) { method handleRunnerDeferred (line 264) | handleRunnerDeferred(taskId: Task['id']) { method handleDataRequest (line 272) | async handleDataRequest( method handleNodeTypesRequest (line 289) | async handleNodeTypesRequest( method handleResponse (line 306) | async handleResponse( method onRequesterMessage (line 323) | async onRequesterMessage(requesterId: string, message: RequesterMessag... method handleRequesterRpcResponse (line 360) | async handleRequesterRpcResponse( method handleRequesterDataResponse (line 377) | async handleRequesterDataResponse(taskId: Task['id'], requestId: strin... method handleRequesterNodeTypesResponse (line 389) | async handleRequesterNodeTypesResponse( method handleRequesterAccept (line 405) | handleRequesterAccept( method handleRequesterReject (line 416) | handleRequesterReject(taskId: Task['id'], reason: string) { method cancelTask (line 424) | private async cancelTask(taskId: Task['id'], reason: string) { method failTask (line 438) | private async failTask(taskId: Task['id'], error: Error) { method getRunnerOrFailTask (line 452) | private async getRunnerOrFailTask(taskId: Task['id']): Promise) { method setPendingTaskOffers (line 728) | setPendingTaskOffers(pendingTaskOffers: TaskOffer[]) { method setPendingTaskRequests (line 732) | setPendingTaskRequests(pendingTaskRequests: TaskRequest[]) { method setRunnerAcceptRejects (line 736) | setRunnerAcceptRejects( FILE: packages/cli/src/task-runners/task-managers/__tests__/task-manager.test.ts class TestTaskRequester (line 12) | class TestTaskRequester extends TaskRequester { method sendMessage (line 15) | sendMessage(message: unknown) { FILE: packages/cli/src/task-runners/task-managers/data-request-response-builder.ts class DataRequestResponseBuilder (line 16) | class DataRequestResponseBuilder { method buildFromTaskData (line 17) | buildFromTaskData(taskData: TaskData): DataRequestResponse { method buildAdditionalData (line 37) | private buildAdditionalData( method buildWorkflow (line 56) | private buildWorkflow(workflow: Workflow): Omit>(obj... method determinePrevNodeName (line 138) | private determinePrevNodeName(): string { FILE: packages/cli/src/task-runners/task-managers/local-task-requester.ts class LocalTaskRequester (line 14) | class LocalTaskRequester extends TaskRequester { method constructor (line 19) | constructor( method registerRequester (line 30) | registerRequester() { method sendMessage (line 39) | sendMessage(message: RequesterMessage.ToBroker.All) { FILE: packages/cli/src/task-runners/task-managers/task-requester.ts type RequestAccept (line 31) | type RequestAccept = (jobId: string) => void; type RequestReject (line 32) | type RequestReject = (reason: string | Error) => void; type TaskAccept (line 34) | type TaskAccept = (data: TaskResultData) => void; type TaskReject (line 35) | type TaskReject = (error: unknown) => void; type TaskRequest (line 37) | interface TaskRequest { type Task (line 44) | interface Task { type ExecuteFunctionObject (line 50) | interface ExecuteFunctionObject { type RunnerStatus (line 54) | type RunnerStatus = { available: true } | { available: false; reason?: s... method constructor (line 70) | constructor( method setRunnerUnavailable (line 78) | setRunnerUnavailable(taskType: string, reason: string) { method getRunnerStatus (line 82) | getRunnerStatus(taskType: string): RunnerStatus { method startTask (line 87) | async startTask( method cancelTasks (line 217) | cancelTasks(executionId: string) { method getTaskIds (line 223) | private getTaskIds(executionId: string): Set { method cancelTask (line 227) | private cancelTask(taskId: string, reason = 'Task cancelled by user') { method clearExecutionsMap (line 246) | private clearExecutionsMap(taskId: string) { method sendMessage (line 258) | sendMessage(_message: RequesterMessage.ToBroker.All) {} method onMessage (line 260) | onMessage(message: BrokerMessage.ToRequester.All) { method taskReady (line 286) | taskReady(requestId: string, taskId: string) { method requestExpired (line 300) | requestExpired(requestId: string) { method rejectTask (line 324) | rejectTask(jobId: string, reason: string) { method taskDone (line 332) | taskDone(taskId: string, data: TaskResultData) { method taskError (line 340) | taskError(taskId: string, error: unknown) { method sendTaskData (line 348) | sendTaskData( method sendNodeTypes (line 374) | sendNodeTypes( method handleRpc (line 389) | async handleRpc( FILE: packages/cli/src/task-runners/task-runner-lifecycle-events.ts type TaskRunnerLifecycleEventMap (line 5) | type TaskRunnerLifecycleEventMap = { class TaskRunnerLifecycleEvents (line 11) | class TaskRunnerLifecycleEvents extends TypedEmitter; type ExitReason (line 16) | type ExitReason = 'unknown' | 'oom'; type TaskRunnerProcessEventMap (line 18) | type TaskRunnerProcessEventMap = { method constructor (line 36) | constructor( method isRunning (line 56) | get isRunning() { method pid (line 60) | get pid() { method runPromise (line 64) | get runPromise() { method isInternal (line 68) | get isInternal() { method start (line 72) | async start() { method stop (line 84) | async stop() { method forceRestart (line 94) | protected async forceRestart() { method onProcessExit (line 101) | protected onProcessExit(code: number | null, resolveFn: () => void) { method monitorProcess (line 111) | protected monitorProcess(taskRunnerProcess: ChildProcess) { FILE: packages/cli/src/task-runners/task-runner-process-js.ts class JsTaskRunnerProcess (line 18) | class JsTaskRunnerProcess extends TaskRunnerProcessBase { method constructor (line 25) | constructor( method startProcess (line 36) | async startProcess(grantToken: string, taskBrokerUri: string): Promise... method setupProcessMonitoring (line 47) | setupProcessMonitoring(process: ChildProcess) { method analyzeExitReason (line 51) | analyzeExitReason(): { reason: ExitReason } { method getProcessEnvVars (line 55) | private getProcessEnvVars(grantToken: string, taskBrokerUri: string) { FILE: packages/cli/src/task-runners/task-runner-process-py.ts class PyTaskRunnerProcess (line 20) | class PyTaskRunnerProcess extends TaskRunnerProcessBase { method constructor (line 25) | constructor( method startProcess (line 34) | async startProcess(grantToken: string, taskBrokerUri: string) { method checkRequirements (line 66) | static async checkRequirements(): Promise<'python' | 'venv' | null> { method getVenvPath (line 91) | private static getVenvPath() { FILE: packages/cli/src/task-runners/task-runner-process-restart-loop-detector.ts constant MAX_RESTARTS (line 8) | const MAX_RESTARTS = 5; constant RESTARTS_WINDOW (line 9) | const RESTARTS_WINDOW = 2 * Time.seconds.toMilliseconds; type TaskRunnerProcessRestartLoopDetectorEventMap (line 11) | type TaskRunnerProcessRestartLoopDetectorEventMap = { class TaskRunnerProcessRestartLoopDetector (line 18) | class TaskRunnerProcessRestartLoopDetector extends TypedEmitter { method groupIdentify (line 311) | groupIdentify({ method identify (line 341) | identify( method track (line 367) | track(eventName: string, properties: ITelemetryTrackProperties = {}) { method getCountsBuffer (line 409) | getCountsBuffer(): IExecutionsBuffer { method getApiInvocationsBuffer (line 413) | getApiInvocationsBuffer(): IApiInvocationsBuffer { FILE: packages/cli/src/tool-generation/ai-tools.ts function findLastCalloutIndex (line 16) | function findLastCalloutIndex(properties: INodeProperties[]): number { function convertNodeToAiTool (line 29) | function convertNodeToAiTool< function createAiTools (line 102) | function createAiTools(types: Types, known: KnownNodesAndCredentials): v... FILE: packages/cli/src/tool-generation/hitl-tools.ts function hasSendAndWaitOperation (line 21) | function hasSendAndWaitOperation(nodeType: INodeTypeDescription): boolean { function findSendAndWaitResource (line 58) | function findSendAndWaitResource(properties: INodeProperties[]): string ... function filterHitlToolProperties (line 80) | function filterHitlToolProperties( function convertNodeToHitlTool (line 161) | function convertNodeToHitlTool< function createHitlTools (line 245) | function createHitlTools(types: Types, known: KnownNodesAndCredentials):... FILE: packages/cli/src/tool-generation/utils.ts function isFullDescription (line 10) | function isFullDescription(obj: unknown): obj is INodeTypeDescription { function copyCredentialSupport (line 18) | function copyCredentialSupport( function setToolCodex (line 36) | function setToolCodex( FILE: packages/cli/src/typed-emitter.ts type Payloads (line 4) | type Payloads = { type Listener (line 8) | type Listener = (payload: Payload) => void; class TypedEmitter (line 10) | class TypedEmitter> extends Ev... method on (line 13) | override on( method once (line 20) | override once( method off (line 27) | override off( method emit (line 34) | override emit( FILE: packages/cli/src/types/commands.types.ts type IResult (line 3) | interface IResult { type IExecutionResult (line 19) | interface IExecutionResult { type IExecutionError (line 32) | interface IExecutionError { type IWorkflowExecutionProgress (line 37) | interface IWorkflowExecutionProgress { type INodeSpecialCases (line 42) | interface INodeSpecialCases { type INodeSpecialCase (line 46) | interface INodeSpecialCase { FILE: packages/cli/src/user-management/email/__tests__/node-mailer.test.ts function resolveMjmlIncludes (line 13) | async function resolveMjmlIncludes(markup: string): Promise { function renderTemplate (line 26) | async function renderTemplate( FILE: packages/cli/src/user-management/email/interfaces.ts type InviteEmailData (line 1) | type InviteEmailData = { type PasswordResetData (line 6) | type PasswordResetData = { type SendEmailResult (line 12) | type SendEmailResult = { type MailData (line 17) | type MailData = { FILE: packages/cli/src/user-management/email/node-mailer.ts class NodeMailer (line 14) | class NodeMailer { method constructor (line 19) | constructor( method sendMail (line 48) | async sendMail(mailData: MailData): Promise { method htmlToPlainText (line 84) | private htmlToPlainText(html: string): string { FILE: packages/cli/src/user-management/email/user-management-mailer.ts type Template (line 22) | type Template = HandlebarsTemplateDelegate; type TemplateName (line 23) | type TemplateName = class UserManagementMailer (line 33) | class UserManagementMailer { method constructor (line 42) | constructor( method invite (line 59) | async invite(inviteEmailData: InviteEmailData): Promise({ method notifyWorkflowAutodeactivated (line 169) | async notifyWorkflowAutodeactivated({ method notifyWorkflowShared (line 192) | async notifyWorkflowShared({ method notifyCredentialsShared (line 217) | async notifyCredentialsShared({ method notifyProjectShared (line 242) | async notifyProjectShared({ method getTemplate (line 280) | async getTemplate(templateName: TemplateName): Promise