n8n/packages/core
Jose 7947237df6
fix(ai-builder): Serve decodable binary fixtures and upload-session headers from eval mocks (no-changelog)
Three mock facets crashed real downstream decoders:
- OpenAI image generations carried the truncated `iVBORw0KGgo` placeholder;
  Edit Image (GraphicsMagick) fails on it. Substitute every b64_json with a
  real 512x512 canvas PNG built programmatically in eval-mock-fixtures.
- Gmail raw messages embedded model-invented base64 for PDF attachment parts;
  Extract PDF Text (pdfjs) rejects them. The model now authors the document's
  plaintext and the harness builds a valid PDF carrying exactly that text
  (buildPdfWithText, xref offsets computed); image parts get the standard
  decodable fixture.
- Google Drive resumable-upload initiations need the session URI in the
  `location` response HEADER, which a model-authored body can't express.
  Serve that turn deterministically; the follow-up chunk PUT stays mocked.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-24 17:29:31 +01:00
..
bin perf(core): Optimize generate-node-defs with parallel writes and hash-based skip (#25626) 2026-02-11 13:50:50 +00:00
nodes-testing feat(ai-builder): Support execution scenarios for first-class agents in evals (#34384) 2026-07-21 13:54:06 +00:00
src fix(ai-builder): Serve decodable binary fixtures and upload-session headers from eval mocks (no-changelog) 2026-07-24 17:29:31 +01:00
test refactor(core): Move createDeferredPromise into @n8n/utils (no-changelog) (#33441) 2026-07-06 07:12:28 +00:00
eslint.config.mjs chore: Migrate n8n-core from Jest to Vitest (#31115) 2026-05-27 14:55:18 +01:00
package.json refactor(core): Move S3 and Azure clients to @n8n/blob-storage (#34567) 2026-07-21 09:10:06 +00:00
README.md docs: Fix links to license files in readme (no-changelog) (#10257) 2024-08-06 15:21:57 +01:00
tsconfig.build.json chore: Migrate all base packages to TypeScript 7 (#34338) 2026-07-17 12:56:29 +03:00
tsconfig.json refactor(core): Move S3 and Azure clients to @n8n/blob-storage (#34567) 2026-07-21 09:10:06 +00:00
vite.config.ts test: Centralize the zod CJS-pin alias in shared Vitest config (#33627) 2026-07-06 09:20:27 +00:00

n8n.io - Workflow Automation

n8n-core

Core components for n8n

npm install n8n-core

License

You can find the license information here