@n8n/telemetry 1.9.0 → 1.9.1
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/dist/build.tsbuildinfo +1 -1
- package/dist/events/credentials.d.ts +18 -0
- package/dist/events/credentials.js +3 -0
- package/dist/events/credentials.js.map +1 -1
- package/dist/events/instance-ai.d.ts +49 -0
- package/dist/events/instance-ai.js +9 -0
- package/dist/events/instance-ai.js.map +1 -1
- package/dist/events/workflow.d.ts +76 -0
- package/dist/events/workflow.js +30 -0
- package/dist/events/workflow.js.map +1 -1
- package/dist/setup-properties.d.ts +22 -0
- package/dist/setup-properties.js +18 -0
- package/dist/setup-properties.js.map +1 -0
- package/dist/telemetry-events.d.ts +143 -0
- package/package.json +4 -4
|
@@ -926,6 +926,15 @@ export declare const TELEMETRY_EVENT: {
|
|
|
926
926
|
readonly name: "User started credential connection";
|
|
927
927
|
readonly description: "The user started a connection attempt or selected an existing credential in the setup panel. Includes retries.";
|
|
928
928
|
readonly properties: import("zod/v4").ZodObject<{
|
|
929
|
+
session_id: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
|
|
930
|
+
variant: import("zod/v4").ZodOptional<import("zod/v4").ZodEnum<{
|
|
931
|
+
control: "control";
|
|
932
|
+
variant: "variant";
|
|
933
|
+
}>>;
|
|
934
|
+
'$feature/118_instance_ai_setup_overhaul': import("zod/v4").ZodOptional<import("zod/v4").ZodEnum<{
|
|
935
|
+
control: "control";
|
|
936
|
+
variant: "variant";
|
|
937
|
+
}>>;
|
|
929
938
|
source: import("zod/v4").ZodLiteral<"instance_ai_setup_panel">;
|
|
930
939
|
workflow_id: import("zod/v4").ZodString;
|
|
931
940
|
thread_id: import("zod/v4").ZodString;
|
|
@@ -945,6 +954,15 @@ export declare const TELEMETRY_EVENT: {
|
|
|
945
954
|
readonly name: "User completed credential connection";
|
|
946
955
|
readonly description: "A setup-panel credential was selected or connected and its workflow binding was applied or queued. This does not report workflow validation.";
|
|
947
956
|
readonly properties: import("zod/v4").ZodObject<{
|
|
957
|
+
session_id: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
|
|
958
|
+
variant: import("zod/v4").ZodOptional<import("zod/v4").ZodEnum<{
|
|
959
|
+
control: "control";
|
|
960
|
+
variant: "variant";
|
|
961
|
+
}>>;
|
|
962
|
+
'$feature/118_instance_ai_setup_overhaul': import("zod/v4").ZodOptional<import("zod/v4").ZodEnum<{
|
|
963
|
+
control: "control";
|
|
964
|
+
variant: "variant";
|
|
965
|
+
}>>;
|
|
948
966
|
source: import("zod/v4").ZodLiteral<"instance_ai_setup_panel">;
|
|
949
967
|
workflow_id: import("zod/v4").ZodString;
|
|
950
968
|
thread_id: import("zod/v4").ZodString;
|
|
@@ -1274,6 +1292,15 @@ export declare const TELEMETRY_EVENT: {
|
|
|
1274
1292
|
readonly name: "AI Assistant setup panel state observed";
|
|
1275
1293
|
readonly description: "The setup panel observed a new requirement snapshot. Also fires when no setup is needed, including workflows whose credentials were already connected.";
|
|
1276
1294
|
readonly properties: import("zod/v4").ZodObject<{
|
|
1295
|
+
session_id: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
|
|
1296
|
+
variant: import("zod/v4").ZodOptional<import("zod/v4").ZodEnum<{
|
|
1297
|
+
control: "control";
|
|
1298
|
+
variant: "variant";
|
|
1299
|
+
}>>;
|
|
1300
|
+
'$feature/118_instance_ai_setup_overhaul': import("zod/v4").ZodOptional<import("zod/v4").ZodEnum<{
|
|
1301
|
+
control: "control";
|
|
1302
|
+
variant: "variant";
|
|
1303
|
+
}>>;
|
|
1277
1304
|
workflow_id: import("zod/v4").ZodString;
|
|
1278
1305
|
thread_id: import("zod/v4").ZodString;
|
|
1279
1306
|
credential_count: import("zod/v4").ZodNumber;
|
|
@@ -1288,6 +1315,15 @@ export declare const TELEMETRY_EVENT: {
|
|
|
1288
1315
|
readonly name: "AI Assistant setup panel item shown";
|
|
1289
1316
|
readonly description: "A setup checklist row became visible. Reopening the same row within the mounted panel does not emit another event.";
|
|
1290
1317
|
readonly properties: import("zod/v4").ZodObject<{
|
|
1318
|
+
session_id: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
|
|
1319
|
+
variant: import("zod/v4").ZodOptional<import("zod/v4").ZodEnum<{
|
|
1320
|
+
control: "control";
|
|
1321
|
+
variant: "variant";
|
|
1322
|
+
}>>;
|
|
1323
|
+
'$feature/118_instance_ai_setup_overhaul': import("zod/v4").ZodOptional<import("zod/v4").ZodEnum<{
|
|
1324
|
+
control: "control";
|
|
1325
|
+
variant: "variant";
|
|
1326
|
+
}>>;
|
|
1291
1327
|
workflow_id: import("zod/v4").ZodString;
|
|
1292
1328
|
thread_id: import("zod/v4").ZodString;
|
|
1293
1329
|
kind: import("zod/v4").ZodEnum<{
|
|
@@ -1297,6 +1333,16 @@ export declare const TELEMETRY_EVENT: {
|
|
|
1297
1333
|
}>;
|
|
1298
1334
|
credential_type: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
|
|
1299
1335
|
parameter_count: import("zod/v4").ZodNumber;
|
|
1336
|
+
items: import("zod/v4").ZodOptional<import("zod/v4").ZodArray<import("zod/v4").ZodObject<{
|
|
1337
|
+
node_id: import("zod/v4").ZodString;
|
|
1338
|
+
node_type: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
|
|
1339
|
+
kind: import("zod/v4").ZodEnum<{
|
|
1340
|
+
credential: "credential";
|
|
1341
|
+
parameter: "parameter";
|
|
1342
|
+
}>;
|
|
1343
|
+
credential_type: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
|
|
1344
|
+
parameter_name: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
|
|
1345
|
+
}, import("zod/v4/core").$strip>>>;
|
|
1300
1346
|
}, import("zod/v4/core").$strip>;
|
|
1301
1347
|
} & import("./define").TelemetryEventInput & {
|
|
1302
1348
|
readonly getValidationError: (properties: unknown) => string | null;
|
|
@@ -1305,6 +1351,15 @@ export declare const TELEMETRY_EVENT: {
|
|
|
1305
1351
|
readonly name: "AI Assistant setup panel dismissed";
|
|
1306
1352
|
readonly description: "A visible setup panel closed. The reason separates navigation and removed requirements from a finished execution or an explicit dismissal.";
|
|
1307
1353
|
readonly properties: import("zod/v4").ZodObject<{
|
|
1354
|
+
session_id: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
|
|
1355
|
+
variant: import("zod/v4").ZodOptional<import("zod/v4").ZodEnum<{
|
|
1356
|
+
control: "control";
|
|
1357
|
+
variant: "variant";
|
|
1358
|
+
}>>;
|
|
1359
|
+
'$feature/118_instance_ai_setup_overhaul': import("zod/v4").ZodOptional<import("zod/v4").ZodEnum<{
|
|
1360
|
+
control: "control";
|
|
1361
|
+
variant: "variant";
|
|
1362
|
+
}>>;
|
|
1308
1363
|
workflow_id: import("zod/v4").ZodString;
|
|
1309
1364
|
thread_id: import("zod/v4").ZodString;
|
|
1310
1365
|
reason: import("zod/v4").ZodEnum<{
|
|
@@ -1800,6 +1855,18 @@ export declare const TELEMETRY_EVENT: {
|
|
|
1800
1855
|
readonly name: "User sent builder message";
|
|
1801
1856
|
readonly description: "The user sent a message to the n8n Assistant. Fires once per message on the optimistic send, before the request is admitted, so a refused send still counts as an attempt. Carries who wrote the text: a pre-fill is an opener n8n composed (a failed execution, a credential modal, a template card, a suggestion chip) that the user accepted or edited, so pre-fill share must be read from prefill_type rather than matched against the message body.";
|
|
1802
1857
|
readonly properties: import("zod/v4").ZodObject<{
|
|
1858
|
+
session_id: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
|
|
1859
|
+
variant: import("zod/v4").ZodOptional<import("zod/v4").ZodEnum<{
|
|
1860
|
+
control: "control";
|
|
1861
|
+
variant: "variant";
|
|
1862
|
+
}>>;
|
|
1863
|
+
'$feature/118_instance_ai_setup_overhaul': import("zod/v4").ZodOptional<import("zod/v4").ZodEnum<{
|
|
1864
|
+
control: "control";
|
|
1865
|
+
variant: "variant";
|
|
1866
|
+
}>>;
|
|
1867
|
+
workflow_id: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
|
|
1868
|
+
pending_credential_count: import("zod/v4").ZodOptional<import("zod/v4").ZodNumber>;
|
|
1869
|
+
pending_parameter_count: import("zod/v4").ZodOptional<import("zod/v4").ZodNumber>;
|
|
1803
1870
|
thread_id: import("zod/v4").ZodString;
|
|
1804
1871
|
instance_id: import("zod/v4").ZodString;
|
|
1805
1872
|
is_first_message: import("zod/v4").ZodBoolean;
|
|
@@ -2130,9 +2197,85 @@ export declare const TELEMETRY_EVENT: {
|
|
|
2130
2197
|
readonly name: "User requested workflow test";
|
|
2131
2198
|
readonly description: "The user started a manual workflow test from the AI Assistant setup panel. This event does not report execution success.";
|
|
2132
2199
|
readonly properties: import("zod/v4").ZodObject<{
|
|
2200
|
+
session_id: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
|
|
2201
|
+
variant: import("zod/v4").ZodOptional<import("zod/v4").ZodEnum<{
|
|
2202
|
+
control: "control";
|
|
2203
|
+
variant: "variant";
|
|
2204
|
+
}>>;
|
|
2205
|
+
'$feature/118_instance_ai_setup_overhaul': import("zod/v4").ZodOptional<import("zod/v4").ZodEnum<{
|
|
2206
|
+
control: "control";
|
|
2207
|
+
variant: "variant";
|
|
2208
|
+
}>>;
|
|
2133
2209
|
source: import("zod/v4").ZodLiteral<"instance_ai_setup_panel">;
|
|
2134
2210
|
workflow_id: import("zod/v4").ZodString;
|
|
2135
2211
|
thread_id: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
|
|
2212
|
+
test_request_id: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
|
|
2213
|
+
}, import("zod/v4/core").$strip>;
|
|
2214
|
+
} & import("./define").TelemetryEventInput & {
|
|
2215
|
+
readonly getValidationError: (properties: unknown) => string | null;
|
|
2216
|
+
};
|
|
2217
|
+
readonly SETUP_TEST_FINISHED: {
|
|
2218
|
+
readonly name: "AI Assistant setup test finished";
|
|
2219
|
+
readonly description: "The setup panel observed a terminal test result or a failed run request. A failed request does not prove that execution did not start. Leaving setup before the result can omit this event.";
|
|
2220
|
+
readonly properties: import("zod/v4").ZodObject<{
|
|
2221
|
+
session_id: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
|
|
2222
|
+
variant: import("zod/v4").ZodOptional<import("zod/v4").ZodEnum<{
|
|
2223
|
+
control: "control";
|
|
2224
|
+
variant: "variant";
|
|
2225
|
+
}>>;
|
|
2226
|
+
'$feature/118_instance_ai_setup_overhaul': import("zod/v4").ZodOptional<import("zod/v4").ZodEnum<{
|
|
2227
|
+
control: "control";
|
|
2228
|
+
variant: "variant";
|
|
2229
|
+
}>>;
|
|
2230
|
+
source: import("zod/v4").ZodLiteral<"instance_ai_setup_panel">;
|
|
2231
|
+
workflow_id: import("zod/v4").ZodString;
|
|
2232
|
+
thread_id: import("zod/v4").ZodString;
|
|
2233
|
+
test_request_id: import("zod/v4").ZodString;
|
|
2234
|
+
execution_id: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
|
|
2235
|
+
status: import("zod/v4").ZodEnum<{
|
|
2236
|
+
canceled: "canceled";
|
|
2237
|
+
crashed: "crashed";
|
|
2238
|
+
error: "error";
|
|
2239
|
+
request_failed: "request_failed";
|
|
2240
|
+
success: "success";
|
|
2241
|
+
}>;
|
|
2242
|
+
}, import("zod/v4/core").$strip>;
|
|
2243
|
+
} & import("./define").TelemetryEventInput & {
|
|
2244
|
+
readonly getValidationError: (properties: unknown) => string | null;
|
|
2245
|
+
};
|
|
2246
|
+
readonly SETUP_SAVED: {
|
|
2247
|
+
readonly name: "AI Assistant workflow setup saved";
|
|
2248
|
+
readonly description: "A setup surface observed saved requirements after applying changes. Completion covers the observed setup requirements, not credential validity or edits made while setup is closed.";
|
|
2249
|
+
readonly properties: import("zod/v4").ZodObject<{
|
|
2250
|
+
session_id: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
|
|
2251
|
+
variant: import("zod/v4").ZodOptional<import("zod/v4").ZodEnum<{
|
|
2252
|
+
control: "control";
|
|
2253
|
+
variant: "variant";
|
|
2254
|
+
}>>;
|
|
2255
|
+
'$feature/118_instance_ai_setup_overhaul': import("zod/v4").ZodOptional<import("zod/v4").ZodEnum<{
|
|
2256
|
+
control: "control";
|
|
2257
|
+
variant: "variant";
|
|
2258
|
+
}>>;
|
|
2259
|
+
instance_id: import("zod/v4").ZodString;
|
|
2260
|
+
workflow_id: import("zod/v4").ZodString;
|
|
2261
|
+
thread_id: import("zod/v4").ZodString;
|
|
2262
|
+
source: import("zod/v4").ZodEnum<{
|
|
2263
|
+
instance_ai_setup_panel: "instance_ai_setup_panel";
|
|
2264
|
+
instance_ai_setup_wizard: "instance_ai_setup_wizard";
|
|
2265
|
+
}>;
|
|
2266
|
+
request_id: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
|
|
2267
|
+
items: import("zod/v4").ZodArray<import("zod/v4").ZodObject<{
|
|
2268
|
+
node_id: import("zod/v4").ZodString;
|
|
2269
|
+
node_type: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
|
|
2270
|
+
kind: import("zod/v4").ZodEnum<{
|
|
2271
|
+
credential: "credential";
|
|
2272
|
+
parameter: "parameter";
|
|
2273
|
+
}>;
|
|
2274
|
+
credential_type: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
|
|
2275
|
+
parameter_name: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
|
|
2276
|
+
completed: import("zod/v4").ZodBoolean;
|
|
2277
|
+
}, import("zod/v4/core").$strip>>;
|
|
2278
|
+
setup_complete: import("zod/v4").ZodBoolean;
|
|
2136
2279
|
}, import("zod/v4/core").$strip>;
|
|
2137
2280
|
} & import("./define").TelemetryEventInput & {
|
|
2138
2281
|
readonly getValidationError: (properties: unknown) => string | null;
|
package/package.json
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@n8n/telemetry",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.1",
|
|
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
|
-
"
|
|
10
|
-
"
|
|
9
|
+
"LICENSE_EE.md",
|
|
10
|
+
"LICENSE.md"
|
|
11
11
|
],
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@n8n/api-types": "1.41.
|
|
13
|
+
"@n8n/api-types": "1.41.1",
|
|
14
14
|
"@n8n/utils": "1.48.0",
|
|
15
15
|
"zod": "3.25.76"
|
|
16
16
|
},
|