@openapi-flow/n8n 0.3.12 → 0.3.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Zod `^4.6.5` is a required host peer for the public configuration schemas. It is not an independently pinned runtime dependency. The n8n SDK's internal Zod 3 remains separately owned; this does not pass a Zod 4 instance into an API requiring Zod 3.
4
4
 
5
- Version **0.3.9**, with matching `@openapi-flow/core@0.3.9`. This patch aligns the adapter dependency with the common edit-guidance update; n8n node and runtime implementations are unchanged. Named response composition remains available through `ComposeApiResponses`. Known limitation: Ajv 8.20.0 ignores a declared `properties.__proto__`. Generated validation can reject valid data or omit that property's constraints; do not rely on it for contracts using that key. The previously accepted limitation and original failing regression remain unchanged. No field substitution or schema compatibility transform is included. See the [release record](https://github.com/carefreelife98/openapi-flow/blob/main/docs/releases/0.3.9.md) for publication and host status.
5
+ Version **0.3.13**, with matching `@openapi-flow/core@0.3.13`. The response-object schema now distinguishes workflow-local output labels from missing API business inputs: preserve explicitly requested labels, otherwise choose unique concise labels from supplied API metadata. Data values, JSON types, node implementations and runtime validation are unchanged. Known limitation: Ajv 8.20.0 ignores a declared `properties.__proto__`. Generated validation can reject valid data or omit that property's constraints; do not rely on it for contracts using that key. The accepted limitation and original failing regression remain unchanged. No field substitution or schema compatibility transform is included. See the [release record](https://github.com/carefreelife98/openapi-flow/blob/main/docs/releases/0.3.13.md) for actual publication and host status.
6
6
 
7
7
  `createApiResponseObjectCapability({ materials })` / `N8nNativeFeature.ComposeApiResponses` register `compose-api-responses`. The model selects only `fields: [{ name, sourceNodeId, pointer }]`. Code derives value schemas from original OAS contracts, validates full responses and derives join inputs from distinct sources in first-field occurrence order. The compiler reuses official SDK Merge Append and Edit Fields (Set); one source needs no Merge. Literal names, nulls, scalar types and nested values are preserved. Duplicate names, absent pointers, undeclared bodies and ambiguous source item counts fail without defaults or coercion. This is one response item per API invocation, not a native-output projection or per-item batch join. See [the source guide](https://github.com/carefreelife98/openapi-flow#named-api-response-objects-038).
8
8
 
@@ -2,7 +2,7 @@ import { z } from 'zod';
2
2
  const apiResponseObjectFieldSchema = z.strictObject({
3
3
  name: z
4
4
  .string()
5
- .describe('Literal output property name; dots are not nesting instructions.'),
5
+ .describe('Workflow-local output property label, not API request data or a value copied from the response. Preserve a name explicitly requested by the user. If a new result has no requested label, choose a concise unique label from its requested role or supplied API metadata. This label is workflow configuration, not missing business input. Dots are literal characters, not nesting instructions.'),
6
6
  sourceNodeId: z
7
7
  .string()
8
8
  .min(1)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openapi-flow/n8n",
3
- "version": "0.3.12",
3
+ "version": "0.3.13",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "description": "Deterministic OpenAPI request nodes and n8n workflow assembly",
@@ -30,7 +30,7 @@
30
30
  "dependencies": {
31
31
  "@n8n/config": "2.41.2",
32
32
  "@n8n/workflow-sdk": "0.36.4",
33
- "@openapi-flow/core": "0.3.12",
33
+ "@openapi-flow/core": "0.3.13",
34
34
  "@sentry/node": "10.70.0",
35
35
  "@types/estree": "1.0.8",
36
36
  "@types/express": "5.0.1",