@n8n/instance-ai 1.11.0 → 1.11.2

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.
@@ -0,0 +1,38 @@
1
+ # Per-trigger `inputData` shape
2
+
3
+ Used by `verify-built-workflow`, `executions(action="run")`, and checkpoint
4
+ verification. The pin-data adapter spreads or wraps based on trigger type —
5
+ passing the wrong shape gives null downstream values that look like an
6
+ expression bug.
7
+
8
+ ## Form Trigger (`n8n-nodes-base.formTrigger`)
9
+
10
+ Flat field map, e.g. `{name: "Alice", email: "a@b.c"}`. The production Form
11
+ Trigger emits each field directly on `$json`, so the builder's `$json.<field>`
12
+ expressions are correct. **Do NOT wrap in `formFields`** — the adapter will
13
+ reject the call.
14
+
15
+ ## Webhook (`n8n-nodes-base.webhook`)
16
+
17
+ The body payload, e.g. `{event: "signup", userId: "..."}`. The adapter wraps it
18
+ under `body`, so downstream nodes reference `$json.body.<field>`.
19
+
20
+ ## Chat Trigger (`@n8n/n8n-nodes-langchain.chatTrigger`)
21
+
22
+ `{chatInput: "user message"}`.
23
+
24
+ ## Schedule Trigger (`n8n-nodes-base.scheduleTrigger`)
25
+
26
+ Omit `inputData`; the adapter emits synthetic timestamp fields.
27
+
28
+ ## Other event triggers
29
+
30
+ Linear, GitHub, Slack, MCP, and similar triggers: pass `inputData` matching the
31
+ trigger's expected payload shape from the node type definition.
32
+
33
+ ## Debugging wrong null values
34
+
35
+ **Do not patch a workflow first when verify returns null downstream values.**
36
+ Re-run verify with the corrected `inputData` shape. Only patch the workflow if
37
+ the expression is wrong against the *production* trigger output shape (consult
38
+ node descriptions), not the `instanceAi` pin data path.
package/package.json CHANGED
@@ -1,14 +1,15 @@
1
1
  {
2
2
  "name": "@n8n/instance-ai",
3
- "version": "1.11.0",
3
+ "version": "1.11.2",
4
4
  "main": "dist/index.js",
5
5
  "module": "src/index.ts",
6
6
  "types": "dist/index.d.ts",
7
7
  "files": [
8
8
  "dist/**/*",
9
+ "knowledge-base/**/*",
9
10
  "skills/**/*",
10
- "LICENSE.md",
11
- "LICENSE_EE.md"
11
+ "LICENSE_EE.md",
12
+ "LICENSE.md"
12
13
  ],
13
14
  "exports": {
14
15
  ".": {
@@ -52,11 +53,11 @@
52
53
  "zod": "3.25.67",
53
54
  "zod-from-json-schema-v3": "npm:zod-from-json-schema@^0.0.5",
54
55
  "@n8n/agents": "0.11.0",
56
+ "@n8n/api-types": "1.26.1",
57
+ "@n8n/mcp-browser": "0.9.1",
55
58
  "@n8n/utils": "1.34.0",
56
- "@n8n/mcp-browser": "0.9.0",
57
- "@n8n/workflow-sdk": "0.19.0",
58
- "@n8n/api-types": "1.26.0",
59
- "n8n-workflow": "2.26.0"
59
+ "@n8n/workflow-sdk": "0.19.1",
60
+ "n8n-workflow": "2.26.1"
60
61
  },
61
62
  "devDependencies": {
62
63
  "@ai-sdk/anthropic": "^3.0.81",
@@ -69,7 +70,7 @@
69
70
  "tsx": "^4.19.3",
70
71
  "vitest": "^4.1.1",
71
72
  "vitest-mock-extended": "^3.1.0",
72
- "@n8n/ai-workflow-builder": "1.26.0",
73
+ "@n8n/ai-workflow-builder": "1.26.1",
73
74
  "@n8n/typescript-config": "1.5.0",
74
75
  "@n8n/vitest-config": "1.14.0"
75
76
  },