n8n/packages
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
..
@n8n feat(editor): Polish end-user credential setup modal and NDV states (#34766) 2026-07-23 19:53:12 +00:00
cli 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
core fix(core): Redact a sub-workflow's own execution record per its own policy (#34621) 2026-07-23 12:55:51 +00:00
extensions/insights 🚀 Release 2.32.0 (#34600) 2026-07-21 07:14:52 +00:00
frontend feat(editor): Polish end-user credential setup modal and NDV states (#34766) 2026-07-23 19:53:12 +00:00
node-dev chore: Set up repository for TypeScript 7 migration (#33890) 2026-07-09 13:21:16 +03:00
nodes-base feat(API): Add workflow publish/unpublish public API endpoints (#34745) 2026-07-23 12:32:27 +00:00
testing test: Harden e2e suite against tsconfig resolution changes (#34623) 2026-07-23 07:45:52 +00:00
workflow feat(core): Improve workflow groups validation/support in mcp (no-changelog) (#34778) 2026-07-23 13:41:27 +00:00