n8n/packages/cli
Claude 1822c994aa
refactor(core): Consolidate MCP workflow validation into create_workflow_from_code
Drop the standalone validate_workflow MCP tool: create_workflow_from_code
already runs the identical parse/validate pipeline, so the pre-flight cost
an extra round trip (the full workflow code was sent twice per build) and
one more tool in every tools/list response.

To keep the validation gate as strong without the pre-flight:

- ParseValidateHandler now exposes fatal validation issues in a separate
  `errors` field (still folded into `warnings` for the code-builder agent).
- create_workflow_from_code hard-blocks on fatal validation errors and
  returns them all without persisting anything.
- Node-group violations (102_mcp_canvas_groups) are checked before the
  save path and reported all at once, instead of first-violation-only.
- MCP instructions, tool descriptions, recovery hints, and scope maps no
  longer reference the removed tool.

The in-app code-builder agent's internal validate_workflow tool is
unaffected.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EKFYgNjgLFPkft76sXghep
2026-07-31 13:49:39 +03:00
..
bin chore: Initial V2 changes (#22553) 2025-12-01 20:44:59 +02:00
scripts feat(editor): Implements AI Assistant template examples experiment (no-changelog) (#33244) 2026-07-08 10:15:46 +00:00
src refactor(core): Consolidate MCP workflow validation into create_workflow_from_code 2026-07-31 13:49:39 +03:00
templates feat(Form Node): Support multiple files when returning binary from form ending (#33780) 2026-07-13 12:07:47 +00:00
test feat(editor): Show the latest workflow review state in the canvas header (#35233) 2026-07-31 08:47:32 +00:00
AGENTS.md chore(core): Lock the @n8n/typeorm import ratchet and document the boundary (no-changelog) (#34370) 2026-07-21 08:26:21 +00:00
BREAKING-CHANGES.md fix: Security patches (#22748) 2025-12-05 13:28:39 +00:00
eslint.config.mjs chore: Add ESLint guardrails for public API handler pattern (no-changelog) (#35021) 2026-07-28 12:04:18 +00:00
nodemon.json build: Fix cli nodemon config (#10628) 2024-08-30 19:03:47 +03:00
package.json feat: Support inbound binary attachments for agents (no-changelog) (#34869) 2026-07-30 14:20:06 +00:00
tsconfig.build.json feat: Add @n8n/telemetry event registry with typed track() support (no-changelog) (#34662) 2026-07-23 16:09:54 +00:00
tsconfig.json feat: Add @n8n/telemetry event registry with typed track() support (no-changelog) (#34662) 2026-07-23 16:09:54 +00:00
vitest.config.base.ts feat: Add @n8n/telemetry event registry with typed track() support (no-changelog) (#34662) 2026-07-23 16:09:54 +00:00
vitest.config.integration.testcontainers.ts chore: Remove references to Jest (#33282) 2026-07-01 09:03:25 +00:00
vitest.config.integration.ts chore: Remove references to Jest (#33282) 2026-07-01 09:03:25 +00:00
vitest.config.migration.testcontainers.ts chore: Remove references to Jest (#33282) 2026-07-01 09:03:25 +00:00
vitest.config.migration.ts chore: Remove references to Jest (#33282) 2026-07-01 09:03:25 +00:00
vitest.config.ts test: Migrate cli package from Jest to Vitest (#31804) 2026-06-29 21:19:56 +03:00
vitest.tsc-entity-transform.ts chore: Consolidate ts tooling catalog (#34310) 2026-07-16 10:10:12 +00:00
vitest.workspace-externals.ts test: Migrate cli package from Jest to Vitest (#31804) 2026-06-29 21:19:56 +03:00