n8n/packages/cli
Jose 85be923329
fix(ai-builder): Cover the wire envelope and classifier category keys in mock format conformance (no-changelog)
Validation of the first iteration (run 30081133347) proved the fence
facet at the wire level but exposed two residual defects, both now
closed:

- Object-embedded completion text persisted on the WIRE path: the
  Responses envelope builder dropped object-text parts and rebuilt the
  envelope around stringified junk. Coerce object/array text to a
  JSON-encoded string (matching real API semantics) in both the item
  normalizer and the tolerant extractor; make the HTTP-path matcher
  tolerate trailing slashes and any /v{n}/.
- Text Classifier format instructions embed PSEUDO-JSON ("Category":
  boolean), which defeats JSON-Schema discovery, so the mock invents
  shortened category keys the node's parser rejects. Synthesize a
  strict all-required boolean schema from the quoted property names,
  and fill pruned-away required keys with neutral typed values so a
  near-miss key invention becomes a schema-valid reply instead of a
  parser crash.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-24 11:14:03 +01: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 fix(ai-builder): Cover the wire envelope and classifier category keys in mock format conformance (no-changelog) 2026-07-24 11:14:03 +01:00
templates feat(Form Node): Support multiple files when returning binary from form ending (#33780) 2026-07-13 12:07:47 +00:00
test feat(editor): Polish end-user credential setup modal and NDV states (#34766) 2026-07-23 19:53:12 +00: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
BREAKING-CHANGES.md fix: Security patches (#22748) 2025-12-05 13:28:39 +00:00
eslint.config.mjs chore(core): Allow known file extensions in import-x/extensions rule (no-changelog) (#34581) 2026-07-21 12:38:06 +00:00
nodemon.json
package.json feat: Add @n8n/telemetry event registry with typed track() support (no-changelog) (#34662) 2026-07-23 16:09:54 +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 feat: Add @n8n/telemetry event registry with typed track() support (no-changelog) (#34662) 2026-07-23 16:09:54 +00:00
vitest.config.base.ts feat: Add @n8n/telemetry event registry with typed track() support (no-changelog) (#34662) 2026-07-23 16:09:54 +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: Consolidate ts tooling catalog (#34310) 2026-07-16 10:10:12 +00:00
vitest.workspace-externals.ts test: Migrate cli package from Jest to Vitest (#31804) 2026-06-29 21:19:56 +03:00