n8n/packages/cli
Svetoslav Dekov bba76a7fd8
refactor(core): Simplify MCP execution wait and progress plumbing
- Drop the transport flush wrapper: the SDK's SSE responses set
  Cache-Control: no-transform, so the compression middleware never
  buffers them and notifications already stream in real time.
- Reuse ExecutionStatusList from n8n-workflow instead of a hand-copied
  status list.
- Hoist the shared IRun -> {status, error} outcome derivation into
  execution-utils.
- Let waitForExecutionResult own the progress reporter lifecycle and
  make cancelOnTimeout explicit at every call site; remove the
  McpService.waitForExecutionResult forwarding method and the
  onExecutionStarted callback.
- Stop heartbeats on client abort and unref the interval.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VGSEzz3A8eQqbAtnqXpaFk
2026-07-16 09:33:26 +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): Simplify MCP execution wait and progress plumbing 2026-07-16 09:33:26 +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 perf(core): Skip webhook-only workflows when enqueuing publications on leader handoff (no-changelog) (#34076) 2026-07-15 14:02:22 +00:00
BREAKING-CHANGES.md fix: Security patches (#22748) 2025-12-05 13:28:39 +00:00
eslint.config.mjs fix(core): Prevent sub-workflow failures after transferring a deleted user's workflows (#33772) 2026-07-14 07:33:01 +00:00
nodemon.json
package.json chore: Migrate packages/cli to Typescript 7 (#34159) 2026-07-15 11:49:51 +00:00
tsconfig.build.json chore: Migrate packages/cli to Typescript 7 (#34159) 2026-07-15 11:49:51 +00:00
tsconfig.json chore: Migrate packages/cli to Typescript 7 (#34159) 2026-07-15 11:49:51 +00:00
vitest.config.base.ts test: Enable restoreMocks by default in shared vitest configs (#33526) 2026-07-03 10:03:01 +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: Migrate packages/cli to Typescript 7 (#34159) 2026-07-15 11:49:51 +00:00
vitest.workspace-externals.ts test: Migrate cli package from Jest to Vitest (#31804) 2026-06-29 21:19:56 +03:00