n8n/packages/core
Yuliia Pominchuk 0a36cf18a7
feat(core): Read a workflow's declared input contract outside its node
The fields a workflow declares on its Execute Workflow Trigger are what a run
surface renders a form from, so a caller needs them without executing the node.
Adds a service that answers eligibility and schema together — a workflow with no
readable contract cannot be offered for direct running, and the caller should
not have to ask twice.

Moves the extraction from nodes-base into n8n-workflow. It now has several
readers — the parent editor's resource mapper, MCP deriving tool arguments, and
the run surfaces — and they must all see the same fields. nodes-base re-exports
so call sites are unchanged.

A pre-1.1 trigger gates its input-source parameter behind the node version and
therefore declares nothing, which reads as passthrough. That is correct, and
covered.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-04 16:18:42 +02:00
..
bin perf(core): Optimize generate-node-defs with parallel writes and hash-based skip (#25626) 2026-02-11 13:50:50 +00:00
nodes-testing feat(ai-builder): Support execution scenarios for first-class agents in evals (#34384) 2026-07-21 13:54:06 +00:00
src feat(core): Read a workflow's declared input contract outside its node 2026-08-04 16:18:42 +02:00
test refactor(core): Move createDeferredPromise into @n8n/utils (no-changelog) (#33441) 2026-07-06 07:12:28 +00:00
eslint.config.mjs chore: Migrate n8n-core from Jest to Vitest (#31115) 2026-05-27 14:55:18 +01:00
package.json 🚀 Release 2.34.0 (#35487) 2026-08-04 07:14:55 +00:00
README.md docs: Fix links to license files in readme (no-changelog) (#10257) 2024-08-06 15:21:57 +01:00
tsconfig.build.json chore: Migrate all base packages to TypeScript 7 (#34338) 2026-07-17 12:56:29 +03:00
tsconfig.json refactor(core): Move S3 and Azure clients to @n8n/blob-storage (#34567) 2026-07-21 09:10:06 +00:00
vite.config.ts test: Centralize the zod CJS-pin alias in shared Vitest config (#33627) 2026-07-06 09:20:27 +00:00

n8n.io - Workflow Automation

n8n-core

Core components for n8n

npm install n8n-core

License

You can find the license information here