n8n/packages/@n8n/db
Arvin Ansari 7ae2f1ef45
feat(core): Open a thread with what already exists in the instance (no-changelog)
The feed only described things that had happened. An instance whose workflows
were all built a while ago produced no block at all — the exact case the block
was meant to cover, since the agent then starts a thread believing the instance
is empty.

The opening block now also carries a short inventory of the workflows that
already exist, newest first. It stands on either leg: activity, inventory, or
both. Reinjections stay deltas and skip the inventory, so it costs nothing per
turn.

findRecentForProjects groups by workflow id, so a workflow shared into several
projects is counted once rather than once per share.
2026-08-26 19:15:25 +02:00
..
scripts ci: Run DB tests against the full supported Postgres range (#35960) 2026-08-11 09:49:07 +00:00
src feat(core): Open a thread with what already exists in the instance (no-changelog) 2026-08-26 19:15:25 +02: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
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
package.json 🚀 Release 2.36.0 (#36483) 2026-08-18 08:24:56 +00:00
tsconfig.build.json chore: Migrate the rest of packages/@n8n to typescript 7 (#34332) 2026-07-17 10:45:58 +03:00
tsconfig.json chore: Migrate the rest of packages/@n8n to typescript 7 (#34332) 2026-07-17 10:45:58 +03:00
vite.config.ts chore: Consolidate ts tooling catalog (#34310) 2026-07-16 10:10:12 +00:00