n8n/packages/cli
Nikhil Kuriakose 94333c1837
feat(core): Remove the per-upload limit on agent knowledge files
Users could upload at most 10 knowledge files to an agent in one go. The
total knowledge base size limit of 1.5 GB and the per-file limit of 10 MB
stay in place.

The mirror sync command named each file inline: one `mv` for each copied
file, one `rm -f` with every deleted path, and the manifest body in a
`printf`. The whole command goes to `bash -c` as one argument, and Linux
limits one argument to 128 KiB. At 500 files the command was 128 KB, and
at 600 files it failed with "argument list too long".

The per-file data now goes to the sandbox as staged files. The command
moves the staged files with one glob, removes the names in a staged
NUL-separated delete list, and swaps in a staged manifest. The command
is now a fixed size for any number of files. Each staged file still
moves with `rename`, so a concurrent search never reads a partial file.

Stage the knowledge files in a `files` subdirectory of the sync
directory. The glob then finds the knowledge files only, and one
`rmdir` removes all that the sync staged.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-10-14 13:17:11 +02:00
..
bin feat(core): Set OS process titles for n8n processes (#39362) 2026-09-28 07:23:48 +00:00
docs/adr fix(core): Require workflow create scope for single node runs in n8n Assistant (#40908) 2026-10-13 06:40:58 +00:00
scripts fix(core): Build email templates on Windows (no-changelog) (#39823) 2026-09-29 06:47:57 +00:00
src feat(core): Remove the per-upload limit on agent knowledge files 2026-10-14 13:17:11 +02:00
templates fix(Chat Trigger Node): Fix singular copy on the connect bar (#37945) 2026-09-07 09:10:10 +00:00
test feat(core): Remove the startup pass from workflow history compaction (#40886) 2026-10-13 08:02:51 +00:00
AGENTS.md refactor(core): Enforce TypeORM persistence boundary with Code Health (#40384) 2026-10-07 08:39:18 +00:00
BREAKING-CHANGES.md refactor(core): Use typed package requirement consumers (#40621) 2026-10-09 07:42:23 +00:00
eslint.config.mjs feat(core): Run the execution pruning hard delete as a durable system task (no-changelog) (#40661) 2026-10-12 15:01:55 +00:00
nodemon.json
oxlint.config.mts refactor(core): Keep metrics database reads behind a guarded query service (#40221) 2026-10-08 14:20:12 +00:00
package.json 🚀 Release 2.44.0 (#40943) 2026-10-13 07:12:07 +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 refactor(core): Extract Insights backend module package (#40261) 2026-10-06 13:05:38 +00:00
vitest.config.base.ts refactor(core): Extract Insights backend module package (#40261) 2026-10-06 13:05:38 +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 ci: Measure PR coverage only for changed source files (no-changelog) (#39675) 2026-09-28 08:49:46 +00:00
vitest.config.migration.testcontainers.ts ci: Measure PR coverage only for changed source files (no-changelog) (#39675) 2026-09-28 08:49:46 +00:00
vitest.config.migration.ts ci: Measure PR coverage only for changed source files (no-changelog) (#39675) 2026-09-28 08:49:46 +00:00
vitest.config.ts test: Migrate cli package from Jest to Vitest (#31804) 2026-06-29 21:19:56 +03:00
vitest.workspace-externals.ts test: Migrate cli package from Jest to Vitest (#31804) 2026-06-29 21:19:56 +03:00