n8n/packages/cli/src
Arvin Ansari 70b3f2fcaf feat(core): Let the agent read which nodes the workflows in scope use (no-changelog)
The dependency index already records a row per node type per workflow, kept
current on every save, and the workflow repository already resolves a
`nodeTypes` filter against it. No caller ever supplied one, so "which workflows
use Postgres" meant fetching every workflow and parsing its nodes, and "what is
this folder built out of" was not answerable at all.

- `workflows(list)` gains `nodeTypes`. It matches the node a workflow actually
  contains, so a workflow merely NAMED for a service is correctly excluded and
  one that uses it under an unrelated name is correctly found.
- `workflows(node-usage)` returns the node-type histogram for a scope, most-used
  first, and composes with the folder arguments. Offered only where the adapter
  can answer it, so the agent is never shown a summary it would get an error from.
- Counts DISTINCT workflows rather than node instances: three HTTP Request nodes
  in one workflow are one user of the type, which is the question being asked.
- The scan is capped, and a capped scan says its counts are a lower bound —
  silently truncating would read as a total, and these are numbers a caller
  quotes back to the user.
- Gated separately from folder context. The two answer different questions
  (where something lives vs what it is made of), and one switch could not tell
  which of them moved a result.

Shared field descriptions are hoisted to constants because the schema sanitizer
requires a single description per field name across the action union.
2026-08-27 19:06:06 +02:00
..
__tests__ fix(core): Show a clear no-access message when SSO role mapping denies a login (#36407) 2026-08-18 12:00:57 +00:00
auth feat: Support inbound binary attachments for agents (no-changelog) (#34869) 2026-07-30 14:20:06 +00:00
binary-data test: Migrate cli package from Jest to Vitest (#31804) 2026-06-29 21:19:56 +03:00
chat fix(core): Recover enqueued executions after a restart (#35059) 2026-07-29 09:55:40 +00:00
collaboration feat(editor): Keep review-required toggle synchronized with open reviews (#34606) 2026-07-22 09:28:10 +00:00
commands fix(core): Only init the expression engine for commands that evaluate expressions (#36538) 2026-08-19 15:36:45 +00:00
concurrency refactor(core): Move sleep into @n8n/utils and unify sleep/sleepWithAbort (#35057) 2026-07-28 18:47:18 +00:00
config feat(core): Enable the UI to call the public API (no-changelog) (#35692) 2026-08-13 13:36:06 +00:00
constants feat(core): Make n8n User Auth (OAuth2) generally available (#35900) 2026-08-12 11:12:46 +00:00
controllers fix(core): Add project:manageUsers scope to gate project membership changes (#36243) 2026-08-19 18:43:35 +00:00
credentials refactor(API): Route public API credentials through the shared credentials service (#36048) 2026-08-17 13:14:21 +00:00
databases/repositories/__tests__ refactor(API): Route public API credentials through the shared credentials service (#36048) 2026-08-17 13:14:21 +00:00
deduplication refactor(core): Move second batch of repositories to @n8n/db (#15137) 2025-05-06 16:40:34 +02:00
deprecation refactor(core): Add deprecation warning for N8N_WORKFLOW_TAGS_DISABLED (#35673) 2026-08-11 09:28:56 +00:00
environments.ee/variables feat(core): Add create-stub variable policy and parent placement for package import (no-changelog) (#34794) 2026-07-28 12:05:48 +00:00
errors feat(core): Enable the UI to call the public API (no-changelog) (#35692) 2026-08-13 13:36:06 +00:00
evaluation.ee refactor(core): Hoist branch read-only check into a core instance write-access service (#35903) 2026-08-14 08:24:24 +00:00
eventbus test(core): Guard log streaming event names against known event groups (#35656) 2026-08-10 11:08:27 +00:00
events feat(core): Add AI Assistant setup funnel telemetry (#36391) 2026-08-17 16:15:14 +00:00
execution-lifecycle fix(core): Handle errors from triggered and polled workflow executions (#35689) 2026-08-06 13:07:01 +00:00
executions fix(core): Coerce the deleteBefore param when deleting executions (#36477) 2026-08-18 14:22:16 +00:00
expression-observability test: Migrate cli package from Jest to Vitest (#31804) 2026-06-29 21:19:56 +03:00
instance-settings-loader feat(editor): Make OIDC RP-initiated logout an opt-in setting (#35146) 2026-07-29 12:42:47 +00:00
license refactor(core): Move Result and ensureError into @n8n/utils (no-changelog) (#33375) 2026-07-02 07:46:18 +00:00
metrics feat(core): Add baseline Prometheus metrics for poll triggers (no-changelog) (#36250) 2026-08-17 13:13:25 +00:00
mfa test: Migrate cli package from Jest to Vitest (#31804) 2026-06-29 21:19:56 +03:00
middlewares fix(core): Strip leading BOM before parsing webhook request bodies (#35933) 2026-08-10 12:45:59 +00:00
modules feat(core): Let the agent read which nodes the workflows in scope use (no-changelog) 2026-08-27 19:06:06 +02:00
node-catalog feat(core): Add Agent management to instance MCP (#34347) 2026-07-29 18:15:53 +00:00
node-execution fix(core): Resolve expressions in ephemeral agent tools (#35876) 2026-08-10 09:39:43 +00:00
oauth feat(Typeform Node): Allow custom OAuth2 scopes (#36486) 2026-08-19 13:07:10 +00:00
permissions.ee feat(editor): Add per-agent MCP access management with agent scopes (#34853) 2026-07-30 21:33:15 +00:00
posthog feat(core): Add generic feature flag overrides via environment variable (#36643) 2026-08-20 06:14:39 +00:00
public-api feat(API): Add Git connections public API (no-changelog) (#36272) 2026-08-20 07:28:36 +00:00
push refactor(core): Dedup formatBytes and toMb into @n8n/utils (no-changelog) (#36218) 2026-08-18 07:52:24 +00:00
scaling fix(core): Make published agent channel add, replace, and remove failure-safe (#36100) 2026-08-14 13:09:15 +00:00
scheduling feat(core): Refuse durable pollers when an active workflow has duplicate trigger node ids (#36340) 2026-08-17 12:13:18 +00:00
security-audit feat(core): Enable the UI to call the public API (no-changelog) (#35692) 2026-08-13 13:36:06 +00:00
services fix(core): Validate chat models and recover from execution failures (#36550) 2026-08-19 16:46:31 +00:00
shutdown test: Migrate cli package from Jest to Vitest (#31804) 2026-06-29 21:19:56 +03:00
sso.ee feat(API): Add public API endpoints for OIDC SSO configuration (#34313) 2026-07-28 10:58:55 +00:00
task-runners fix(core): Avoid restarting task runners that are only slow (#36530) 2026-08-19 12:29:16 +00:00
telemetry fix(core): Classify agent execution pulse with run_type (#35346) 2026-08-03 09:37:33 +00:00
tool-generation fix(core): Prevent unsupported waiting operations in agent tools (#34587) 2026-07-21 08:13:03 +00:00
types refactor(core): Remove Ask AI HTTP request feature (no-changelog) (#9931) 2024-07-04 12:09:45 +02:00
user-management/email feat(editor): Add Mine/All tabs, search and filters to MCP connected clients (#33857) 2026-07-20 14:33:30 +00:00
utils feat(core): Add retryabilityFromError to @n8n/backend-network (no-changelog) (#36527) 2026-08-18 21:56:30 +00:00
webhooks fix(core): Release test-webhook isolate only after teardown completes (#36573) 2026-08-19 14:16:25 +00:00
workflows feat(core): Add system-authored workflow version publishing (no-changelog) (#36511) 2026-08-19 11:16:16 +00:00
abstract-server.ts feat(Slack Node): Add advanced HITL configuration for one-tap approval (#34123) 2026-07-15 12:38:46 +00:00
activation-errors.service.ts refactor(core): Replace typedi with our custom DI system (no-changelog) (#12389) 2025-01-06 10:21:24 +01:00
active-executions.ts fix(core): Recover enqueued executions after a restart (#35059) 2026-07-29 09:55:40 +00:00
active-workflow-manager.ts fix(core): Report failed publishing when imported workflows share a webhook path (#35525) 2026-08-07 07:18:36 +00:00
command-registry.ts chore: Pin langchain core packages and surface issues better (#33621) 2026-07-06 08:43:54 +00:00
constants.ts feat(Typeform Node): Allow custom OAuth2 scopes (#36486) 2026-08-19 13:07:10 +00:00
controller.registry.ts fix(core): Show a clear no-access message when SSO role mapping denies a login (#36407) 2026-08-18 12:00:57 +00:00
crash-journal.ts refactor(core): Move sleep into @n8n/utils and unify sleep/sleepWithAbort (#35057) 2026-07-28 18:47:18 +00:00
credential-types.ts fix(core): Prevent mutation of credential type parents (#16841) 2025-06-30 17:32:51 +02:00
credentials-helper.ts fix: Fix token data updates and refresh for DCR oauth credentials (#35535) 2026-08-07 14:08:55 +00:00
credentials-overwrites.ts fix(core): Prefer managed OAuth auth types when the AI builder resolves credentials (#35929) 2026-08-13 13:10:33 +00:00
external-hooks.ts fix(core): Exclude AI assistant verification runs from prod execution counts (#35405) 2026-08-03 09:16:02 +00:00
generic-helpers.ts feat(core): Update data model for Evaluations (no-changelog) (#15520) 2025-05-22 12:55:31 +02:00
index.ts ci: Refactor cli tests to speed up CI (no-changelog) (#5718) 2023-03-17 17:24:05 +01:00
interfaces.ts fix(core): Classify agent execution pulse with run_type (#35346) 2026-08-03 09:37:33 +00:00
license.ts fix(core): Ensure license device fingerprint meets minimum length (#33852) 2026-07-27 12:09:08 +00:00
load-nodes-and-credentials.ts fix(core): Rebuild the node registry without emptying it first (#36387) 2026-08-17 11:13:07 +00:00
manual-execution.service.ts fix(core): Show clear error when running a tool node without an Agent (#30626) 2026-05-21 09:48:28 +00:00
node-types.ts fix(core): Resolve synthetic tool nodes to the requested version (#34850) 2026-07-24 12:09:58 +00:00
requests.ts fix: Block manual project member changes when project roles are managed (#33270) 2026-07-03 07:34:14 +00:00
response-helper.ts refactor(core): Move Result and ensureError into @n8n/utils (no-changelog) (#33375) 2026-07-02 07:46:18 +00:00
server.ts feat(core): Enable the UI to call the public API (no-changelog) (#35692) 2026-08-13 13:36:06 +00:00
utils.ts feat(core): Validate missing node types on package import (#34598) 2026-07-22 21:09:27 +00:00
utlity.types.ts build: Update ESLint to v9 (#16639) 2025-06-27 10:42:47 +02:00
wait-tracker.ts fix(core): Recover enqueued executions after a restart (#35059) 2026-07-29 09:55:40 +00:00
workflow-execute-additional-data.ts feat(core): Isolate Agent sandboxes by principal (#36203) 2026-08-17 12:54:24 +00:00
workflow-helpers.ts feat(core): Make invalid node groups non-fatal in update_workflow and create_workflow_from_code (no-changelog) (#35060) 2026-07-31 08:24:15 +00:00
workflow-hook-context.service.ts feat(core): Expose workflow hook context to lifecycle external hooks (#34738) 2026-07-28 11:27:59 +00:00
workflow-runner.ts fix(core): Expose incoming request headers to MCP trigger tools (#35236) 2026-08-13 14:24:28 +00:00
zod-alias-support.ts refactor(core): Overhaul commands setup. Add support for module commands (#16709) 2025-07-01 19:14:22 +02:00