@n8n/telemetry 1.8.0 → 1.9.0
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/agents.js +2 -1
- package/dist/events/agents.js.map +1 -1
- package/dist/events/context.d.ts +132 -0
- package/dist/events/context.js +91 -0
- package/dist/events/context.js.map +1 -1
- package/dist/events/credentials.d.ts +89 -0
- package/dist/events/credentials.js +75 -0
- package/dist/events/credentials.js.map +1 -1
- package/dist/events/instance-ai.d.ts +127 -0
- package/dist/events/instance-ai.js +91 -0
- package/dist/events/instance-ai.js.map +1 -1
- package/dist/events/node-type-policies.d.ts +14 -0
- package/dist/events/node-type-policies.js +8 -1
- package/dist/events/node-type-policies.js.map +1 -1
- package/dist/events/workflow.d.ts +11 -0
- package/dist/events/workflow.js +9 -0
- package/dist/events/workflow.js.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/dist/telemetry-events.d.ts +371 -0
- package/package.json +2 -1
|
@@ -877,6 +877,95 @@ export declare const TELEMETRY_EVENT: {
|
|
|
877
877
|
};
|
|
878
878
|
};
|
|
879
879
|
CREDENTIALS: {
|
|
880
|
+
readonly USER_CREATED_CREDENTIALS: {
|
|
881
|
+
readonly name: "User created credentials";
|
|
882
|
+
readonly description: "A credential was created. The server sets source to backend and reports description metadata. Existing editor events omit these properties. Description text is never included.";
|
|
883
|
+
readonly properties: import("zod/v4").ZodObject<{
|
|
884
|
+
credential_id: import("zod/v4").ZodString;
|
|
885
|
+
credential_type: import("zod/v4").ZodString;
|
|
886
|
+
source: import("zod/v4").ZodOptional<import("zod/v4").ZodLiteral<"backend">>;
|
|
887
|
+
public_api: import("zod/v4").ZodOptional<import("zod/v4").ZodBoolean>;
|
|
888
|
+
has_description: import("zod/v4").ZodOptional<import("zod/v4").ZodBoolean>;
|
|
889
|
+
description_length: import("zod/v4").ZodOptional<import("zod/v4").ZodNumber>;
|
|
890
|
+
user_id: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
|
|
891
|
+
user_role: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
|
|
892
|
+
project_id: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
|
|
893
|
+
project_type: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
|
|
894
|
+
workflow_id: import("zod/v4").ZodOptional<import("zod/v4").ZodNullable<import("zod/v4").ZodString>>;
|
|
895
|
+
uiContext: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
|
|
896
|
+
is_private: import("zod/v4").ZodOptional<import("zod/v4").ZodBoolean>;
|
|
897
|
+
uses_external_secrets: import("zod/v4").ZodOptional<import("zod/v4").ZodBoolean>;
|
|
898
|
+
jwe_enabled: import("zod/v4").ZodOptional<import("zod/v4").ZodBoolean>;
|
|
899
|
+
credential_supports_managed_auth: import("zod/v4").ZodOptional<import("zod/v4").ZodBoolean>;
|
|
900
|
+
credential_uses_managed_auth: import("zod/v4").ZodOptional<import("zod/v4").ZodBoolean>;
|
|
901
|
+
}, import("zod/v4/core").$strip>;
|
|
902
|
+
} & import("./define").TelemetryEventInput & {
|
|
903
|
+
readonly getValidationError: (properties: unknown) => string | null;
|
|
904
|
+
};
|
|
905
|
+
readonly USER_UPDATED_CREDENTIALS: {
|
|
906
|
+
readonly name: "User updated credentials";
|
|
907
|
+
readonly description: "The server updated a credential through the internal credential API. Description metadata comes from the saved record. Description text is never included.";
|
|
908
|
+
readonly properties: import("zod/v4").ZodObject<{
|
|
909
|
+
has_description: import("zod/v4").ZodBoolean;
|
|
910
|
+
description_length: import("zod/v4").ZodNumber;
|
|
911
|
+
user_id: import("zod/v4").ZodString;
|
|
912
|
+
user_role: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
|
|
913
|
+
credential_id: import("zod/v4").ZodString;
|
|
914
|
+
credential_type: import("zod/v4").ZodString;
|
|
915
|
+
source: import("zod/v4").ZodLiteral<"backend">;
|
|
916
|
+
is_private: import("zod/v4").ZodBoolean;
|
|
917
|
+
uses_external_secrets: import("zod/v4").ZodBoolean;
|
|
918
|
+
jwe_enabled: import("zod/v4").ZodBoolean;
|
|
919
|
+
credential_supports_managed_auth: import("zod/v4").ZodBoolean;
|
|
920
|
+
credential_uses_managed_auth: import("zod/v4").ZodBoolean;
|
|
921
|
+
}, import("zod/v4/core").$strip>;
|
|
922
|
+
} & import("./define").TelemetryEventInput & {
|
|
923
|
+
readonly getValidationError: (properties: unknown) => string | null;
|
|
924
|
+
};
|
|
925
|
+
readonly USER_STARTED_CREDENTIAL_CONNECTION: {
|
|
926
|
+
readonly name: "User started credential connection";
|
|
927
|
+
readonly description: "The user started a connection attempt or selected an existing credential in the setup panel. Includes retries.";
|
|
928
|
+
readonly properties: import("zod/v4").ZodObject<{
|
|
929
|
+
source: import("zod/v4").ZodLiteral<"instance_ai_setup_panel">;
|
|
930
|
+
workflow_id: import("zod/v4").ZodString;
|
|
931
|
+
thread_id: import("zod/v4").ZodString;
|
|
932
|
+
credential_type: import("zod/v4").ZodString;
|
|
933
|
+
method: import("zod/v4").ZodEnum<{
|
|
934
|
+
advanced: "advanced";
|
|
935
|
+
api_key: "api_key";
|
|
936
|
+
existing: "existing";
|
|
937
|
+
gateway: "gateway";
|
|
938
|
+
oauth: "oauth";
|
|
939
|
+
}>;
|
|
940
|
+
}, import("zod/v4/core").$strip>;
|
|
941
|
+
} & import("./define").TelemetryEventInput & {
|
|
942
|
+
readonly getValidationError: (properties: unknown) => string | null;
|
|
943
|
+
};
|
|
944
|
+
readonly USER_COMPLETED_CREDENTIAL_CONNECTION: {
|
|
945
|
+
readonly name: "User completed credential connection";
|
|
946
|
+
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
|
+
readonly properties: import("zod/v4").ZodObject<{
|
|
948
|
+
source: import("zod/v4").ZodLiteral<"instance_ai_setup_panel">;
|
|
949
|
+
workflow_id: import("zod/v4").ZodString;
|
|
950
|
+
thread_id: import("zod/v4").ZodString;
|
|
951
|
+
credential_type: import("zod/v4").ZodString;
|
|
952
|
+
credential_id: import("zod/v4").ZodNullable<import("zod/v4").ZodString>;
|
|
953
|
+
method: import("zod/v4").ZodEnum<{
|
|
954
|
+
advanced: "advanced";
|
|
955
|
+
api_key: "api_key";
|
|
956
|
+
existing: "existing";
|
|
957
|
+
gateway: "gateway";
|
|
958
|
+
oauth: "oauth";
|
|
959
|
+
}>;
|
|
960
|
+
binding_state: import("zod/v4").ZodEnum<{
|
|
961
|
+
applied: "applied";
|
|
962
|
+
noop: "noop";
|
|
963
|
+
queued: "queued";
|
|
964
|
+
}>;
|
|
965
|
+
}, import("zod/v4/core").$strip>;
|
|
966
|
+
} & import("./define").TelemetryEventInput & {
|
|
967
|
+
readonly getValidationError: (properties: unknown) => string | null;
|
|
968
|
+
};
|
|
880
969
|
readonly USER_PROBED_CREDENTIAL: {
|
|
881
970
|
readonly name: "User probed credential";
|
|
882
971
|
readonly description: "A stored credential was auth-probed against its own persisted test URL (POST /credentials/:id/probe) — the test path for generic credential types that declare no test, currently Simplified Custom Auth. Fires once per probe, including retries. The outcome is the probe's three-state verdict; joins to 'User created credentials' on credential_id.";
|
|
@@ -943,6 +1032,138 @@ export declare const TELEMETRY_EVENT: {
|
|
|
943
1032
|
} & import("./define").TelemetryEventInput & {
|
|
944
1033
|
readonly getValidationError: (properties: unknown) => string | null;
|
|
945
1034
|
};
|
|
1035
|
+
readonly PREFERENCES_APPLIED_TO_TURN: {
|
|
1036
|
+
readonly name: "Preferences applied to a turn";
|
|
1037
|
+
readonly description: "A turn was built with the saved preferences available to it. Fires once for each turn that ran the preferences path, including a turn that applied none, so the share of turns with preferences is computable. CONTEXT-139 fires it.";
|
|
1038
|
+
readonly properties: import("zod/v4").ZodObject<{
|
|
1039
|
+
count: import("zod/v4").ZodNumber;
|
|
1040
|
+
scope_types: import("zod/v4").ZodArray<import("zod/v4").ZodEnum<{
|
|
1041
|
+
instance: "instance";
|
|
1042
|
+
project: "project";
|
|
1043
|
+
user: "user";
|
|
1044
|
+
}>>;
|
|
1045
|
+
rendered_length: import("zod/v4").ZodNumber;
|
|
1046
|
+
surface: import("zod/v4").ZodEnum<{
|
|
1047
|
+
aia: "aia";
|
|
1048
|
+
mcp: "mcp";
|
|
1049
|
+
}>;
|
|
1050
|
+
injected_this_turn: import("zod/v4").ZodBoolean;
|
|
1051
|
+
turn_latency_ms: import("zod/v4").ZodOptional<import("zod/v4").ZodNumber>;
|
|
1052
|
+
turn_token_count: import("zod/v4").ZodOptional<import("zod/v4").ZodNumber>;
|
|
1053
|
+
}, import("zod/v4/core").$strip>;
|
|
1054
|
+
} & import("./define").TelemetryEventInput & {
|
|
1055
|
+
readonly getValidationError: (properties: unknown) => string | null;
|
|
1056
|
+
};
|
|
1057
|
+
readonly ASSISTANT_SAVED_PREFERENCE: {
|
|
1058
|
+
readonly name: "Assistant saved preference";
|
|
1059
|
+
readonly description: "An AI surface created or updated a preference on the user behalf, after the user accepted it. Kept apart from the UI events so an assistant write is never counted as a person writing in settings. CONTEXT-138 fires it.";
|
|
1060
|
+
readonly properties: import("zod/v4").ZodObject<{
|
|
1061
|
+
surface: import("zod/v4").ZodEnum<{
|
|
1062
|
+
aia: "aia";
|
|
1063
|
+
mcp: "mcp";
|
|
1064
|
+
}>;
|
|
1065
|
+
scope_type: import("zod/v4").ZodEnum<{
|
|
1066
|
+
instance: "instance";
|
|
1067
|
+
project: "project";
|
|
1068
|
+
user: "user";
|
|
1069
|
+
}>;
|
|
1070
|
+
text_length: import("zod/v4").ZodNumber;
|
|
1071
|
+
replaced_existing: import("zod/v4").ZodBoolean;
|
|
1072
|
+
}, import("zod/v4/core").$strip>;
|
|
1073
|
+
} & import("./define").TelemetryEventInput & {
|
|
1074
|
+
readonly getValidationError: (properties: unknown) => string | null;
|
|
1075
|
+
};
|
|
1076
|
+
readonly PREFERENCE_CONFIRMATION_SHOWN: {
|
|
1077
|
+
readonly name: "Preference confirmation shown";
|
|
1078
|
+
readonly description: "The assistant proposed a preference and the confirmation card was shown. Fires when the card appears, whatever the user does next. CONTEXT-138 fires it.";
|
|
1079
|
+
readonly properties: import("zod/v4").ZodObject<{
|
|
1080
|
+
surface: import("zod/v4").ZodEnum<{
|
|
1081
|
+
aia: "aia";
|
|
1082
|
+
mcp: "mcp";
|
|
1083
|
+
}>;
|
|
1084
|
+
scope_type: import("zod/v4").ZodEnum<{
|
|
1085
|
+
instance: "instance";
|
|
1086
|
+
project: "project";
|
|
1087
|
+
user: "user";
|
|
1088
|
+
}>;
|
|
1089
|
+
text_length: import("zod/v4").ZodNumber;
|
|
1090
|
+
}, import("zod/v4/core").$strip>;
|
|
1091
|
+
} & import("./define").TelemetryEventInput & {
|
|
1092
|
+
readonly getValidationError: (properties: unknown) => string | null;
|
|
1093
|
+
};
|
|
1094
|
+
readonly PREFERENCE_CONFIRMATION_RESOLVED: {
|
|
1095
|
+
readonly name: "Preference confirmation resolved";
|
|
1096
|
+
readonly description: "The user answered a preference confirmation. A high `rejected` share means the assistant proposes the wrong preferences, and no other number shows that. CONTEXT-138 fires it.";
|
|
1097
|
+
readonly properties: import("zod/v4").ZodObject<{
|
|
1098
|
+
surface: import("zod/v4").ZodEnum<{
|
|
1099
|
+
aia: "aia";
|
|
1100
|
+
mcp: "mcp";
|
|
1101
|
+
}>;
|
|
1102
|
+
outcome: import("zod/v4").ZodEnum<{
|
|
1103
|
+
accepted: "accepted";
|
|
1104
|
+
accepted_after_edit: "accepted_after_edit";
|
|
1105
|
+
rejected: "rejected";
|
|
1106
|
+
}>;
|
|
1107
|
+
scope_type: import("zod/v4").ZodEnum<{
|
|
1108
|
+
instance: "instance";
|
|
1109
|
+
project: "project";
|
|
1110
|
+
user: "user";
|
|
1111
|
+
}>;
|
|
1112
|
+
text_length: import("zod/v4").ZodNumber;
|
|
1113
|
+
}, import("zod/v4/core").$strip>;
|
|
1114
|
+
} & import("./define").TelemetryEventInput & {
|
|
1115
|
+
readonly getValidationError: (properties: unknown) => string | null;
|
|
1116
|
+
};
|
|
1117
|
+
readonly PREFERENCE_SCOPE_ACCEPTED: {
|
|
1118
|
+
readonly name: "Preference scope accepted";
|
|
1119
|
+
readonly description: "The scope the user accepted against the scope the assistant offered. Shows whether the assistant reads the difference between a personal habit and a team rule. Fires only on an accepted write. CONTEXT-138 and the scope ticket fire it.";
|
|
1120
|
+
readonly properties: import("zod/v4").ZodObject<{
|
|
1121
|
+
surface: import("zod/v4").ZodEnum<{
|
|
1122
|
+
aia: "aia";
|
|
1123
|
+
mcp: "mcp";
|
|
1124
|
+
}>;
|
|
1125
|
+
offered_scope: import("zod/v4").ZodEnum<{
|
|
1126
|
+
instance: "instance";
|
|
1127
|
+
project: "project";
|
|
1128
|
+
user: "user";
|
|
1129
|
+
}>;
|
|
1130
|
+
accepted_scope: import("zod/v4").ZodEnum<{
|
|
1131
|
+
instance: "instance";
|
|
1132
|
+
project: "project";
|
|
1133
|
+
user: "user";
|
|
1134
|
+
}>;
|
|
1135
|
+
scope_changed: import("zod/v4").ZodBoolean;
|
|
1136
|
+
}, import("zod/v4/core").$strip>;
|
|
1137
|
+
} & import("./define").TelemetryEventInput & {
|
|
1138
|
+
readonly getValidationError: (properties: unknown) => string | null;
|
|
1139
|
+
};
|
|
1140
|
+
readonly PREFERENCE_WRITE_REJECTED: {
|
|
1141
|
+
readonly name: "Preference write rejected";
|
|
1142
|
+
readonly description: "A preference write was refused before it reached the database. Separates a rule the code applied from a user saying no, which is `Preference confirmation resolved`. CONTEXT-138 fires it.";
|
|
1143
|
+
readonly properties: import("zod/v4").ZodObject<{
|
|
1144
|
+
surface: import("zod/v4").ZodEnum<{
|
|
1145
|
+
aia: "aia";
|
|
1146
|
+
mcp: "mcp";
|
|
1147
|
+
ui: "ui";
|
|
1148
|
+
}>;
|
|
1149
|
+
reason: import("zod/v4").ZodEnum<{
|
|
1150
|
+
blocked_by_admin: "blocked_by_admin";
|
|
1151
|
+
duplicate: "duplicate";
|
|
1152
|
+
failed: "failed";
|
|
1153
|
+
not_permitted: "not_permitted";
|
|
1154
|
+
scope_full: "scope_full";
|
|
1155
|
+
too_long: "too_long";
|
|
1156
|
+
}>;
|
|
1157
|
+
scope_type: import("zod/v4").ZodOptional<import("zod/v4").ZodEnum<{
|
|
1158
|
+
instance: "instance";
|
|
1159
|
+
project: "project";
|
|
1160
|
+
user: "user";
|
|
1161
|
+
}>>;
|
|
1162
|
+
text_length: import("zod/v4").ZodOptional<import("zod/v4").ZodNumber>;
|
|
1163
|
+
}, import("zod/v4/core").$strip>;
|
|
1164
|
+
} & import("./define").TelemetryEventInput & {
|
|
1165
|
+
readonly getValidationError: (properties: unknown) => string | null;
|
|
1166
|
+
};
|
|
946
1167
|
};
|
|
947
1168
|
INSTANCE: {
|
|
948
1169
|
readonly INSTANCE_STARTED: {
|
|
@@ -1049,6 +1270,54 @@ export declare const TELEMETRY_EVENT: {
|
|
|
1049
1270
|
};
|
|
1050
1271
|
};
|
|
1051
1272
|
INSTANCE_AI: {
|
|
1273
|
+
readonly SETUP_PANEL_STATE_OBSERVED: {
|
|
1274
|
+
readonly name: "AI Assistant setup panel state observed";
|
|
1275
|
+
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
|
+
readonly properties: import("zod/v4").ZodObject<{
|
|
1277
|
+
workflow_id: import("zod/v4").ZodString;
|
|
1278
|
+
thread_id: import("zod/v4").ZodString;
|
|
1279
|
+
credential_count: import("zod/v4").ZodNumber;
|
|
1280
|
+
pending_credential_count: import("zod/v4").ZodNumber;
|
|
1281
|
+
pending_parameter_count: import("zod/v4").ZodNumber;
|
|
1282
|
+
already_connected_count: import("zod/v4").ZodNumber;
|
|
1283
|
+
}, import("zod/v4/core").$strip>;
|
|
1284
|
+
} & import("./define").TelemetryEventInput & {
|
|
1285
|
+
readonly getValidationError: (properties: unknown) => string | null;
|
|
1286
|
+
};
|
|
1287
|
+
readonly SETUP_PANEL_ITEM_SHOWN: {
|
|
1288
|
+
readonly name: "AI Assistant setup panel item shown";
|
|
1289
|
+
readonly description: "A setup checklist row became visible. Reopening the same row within the mounted panel does not emit another event.";
|
|
1290
|
+
readonly properties: import("zod/v4").ZodObject<{
|
|
1291
|
+
workflow_id: import("zod/v4").ZodString;
|
|
1292
|
+
thread_id: import("zod/v4").ZodString;
|
|
1293
|
+
kind: import("zod/v4").ZodEnum<{
|
|
1294
|
+
credential: "credential";
|
|
1295
|
+
details: "details";
|
|
1296
|
+
parameters: "parameters";
|
|
1297
|
+
}>;
|
|
1298
|
+
credential_type: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
|
|
1299
|
+
parameter_count: import("zod/v4").ZodNumber;
|
|
1300
|
+
}, import("zod/v4/core").$strip>;
|
|
1301
|
+
} & import("./define").TelemetryEventInput & {
|
|
1302
|
+
readonly getValidationError: (properties: unknown) => string | null;
|
|
1303
|
+
};
|
|
1304
|
+
readonly SETUP_PANEL_DISMISSED: {
|
|
1305
|
+
readonly name: "AI Assistant setup panel dismissed";
|
|
1306
|
+
readonly description: "A visible setup panel closed. The reason separates navigation and removed requirements from a finished execution or an explicit dismissal.";
|
|
1307
|
+
readonly properties: import("zod/v4").ZodObject<{
|
|
1308
|
+
workflow_id: import("zod/v4").ZodString;
|
|
1309
|
+
thread_id: import("zod/v4").ZodString;
|
|
1310
|
+
reason: import("zod/v4").ZodEnum<{
|
|
1311
|
+
execution_finished: "execution_finished";
|
|
1312
|
+
execution_succeeded: "execution_succeeded";
|
|
1313
|
+
items_removed: "items_removed";
|
|
1314
|
+
navigation: "navigation";
|
|
1315
|
+
user_dismissed: "user_dismissed";
|
|
1316
|
+
}>;
|
|
1317
|
+
}, import("zod/v4/core").$strip>;
|
|
1318
|
+
} & import("./define").TelemetryEventInput & {
|
|
1319
|
+
readonly getValidationError: (properties: unknown) => string | null;
|
|
1320
|
+
};
|
|
1052
1321
|
readonly USER_CLICKED_AI_CREDIT_BALANCE: {
|
|
1053
1322
|
readonly name: "User clicked AI credit balance";
|
|
1054
1323
|
readonly description: "The user clicked the n8n Assistant credit balance button to open or close the balance dropdown.";
|
|
@@ -1284,6 +1553,41 @@ export declare const TELEMETRY_EVENT: {
|
|
|
1284
1553
|
} & import("./define").TelemetryEventInput & {
|
|
1285
1554
|
readonly getValidationError: (properties: unknown) => string | null;
|
|
1286
1555
|
};
|
|
1556
|
+
readonly USER_RECEIVED_AI_ASSISTANT_RESPONSE: {
|
|
1557
|
+
readonly name: "User received AI Assistant response";
|
|
1558
|
+
readonly description: "The initial foreground AI Assistant reply was rendered after a user submitted a chat message. Starts before attachment processing and first-thread creation, then fires once when the initial run completes or pauses for user input. Automated follow-up runs do not create another sample.";
|
|
1559
|
+
readonly properties: import("zod/v4").ZodObject<{
|
|
1560
|
+
instance_id: import("zod/v4").ZodString;
|
|
1561
|
+
thread_id: import("zod/v4").ZodString;
|
|
1562
|
+
run_id: import("zod/v4").ZodString;
|
|
1563
|
+
latency_ms: import("zod/v4").ZodNumber;
|
|
1564
|
+
is_first_user_message: import("zod/v4").ZodBoolean;
|
|
1565
|
+
response_kind: import("zod/v4").ZodEnum<{
|
|
1566
|
+
awaiting_input: "awaiting_input";
|
|
1567
|
+
completed: "completed";
|
|
1568
|
+
}>;
|
|
1569
|
+
action_source: import("zod/v4").ZodEnum<{
|
|
1570
|
+
agent_builder_page: "agent_builder_page";
|
|
1571
|
+
agent_preview: "agent_preview";
|
|
1572
|
+
assistant_page: "assistant_page";
|
|
1573
|
+
canvas_action_button: "canvas_action_button";
|
|
1574
|
+
canvas_choice_prompt: "canvas_choice_prompt";
|
|
1575
|
+
credential_edit: "credential_edit";
|
|
1576
|
+
credentials_list: "credentials_list";
|
|
1577
|
+
evals: "evals";
|
|
1578
|
+
node_error_view: "node_error_view";
|
|
1579
|
+
playwright: "playwright";
|
|
1580
|
+
"template-view": "template-view";
|
|
1581
|
+
unknown: "unknown";
|
|
1582
|
+
"website-template": "website-template";
|
|
1583
|
+
workflow_list_auto: "workflow_list_auto";
|
|
1584
|
+
workflow_list_button: "workflow_list_button";
|
|
1585
|
+
}>;
|
|
1586
|
+
tab_visible: import("zod/v4").ZodBoolean;
|
|
1587
|
+
}, import("zod/v4/core").$strip>;
|
|
1588
|
+
} & import("./define").TelemetryEventInput & {
|
|
1589
|
+
readonly getValidationError: (properties: unknown) => string | null;
|
|
1590
|
+
};
|
|
1287
1591
|
readonly COMPUTER_USE_MODAL_OPENED: {
|
|
1288
1592
|
readonly name: "User opened computer use connection modal";
|
|
1289
1593
|
readonly description: "The user opened the Computer Use connection interface.";
|
|
@@ -1492,6 +1796,50 @@ export declare const TELEMETRY_EVENT: {
|
|
|
1492
1796
|
} & import("./define").TelemetryEventInput & {
|
|
1493
1797
|
readonly getValidationError: (properties: unknown) => string | null;
|
|
1494
1798
|
};
|
|
1799
|
+
readonly USER_SENT_BUILDER_MESSAGE: {
|
|
1800
|
+
readonly name: "User sent builder message";
|
|
1801
|
+
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
|
+
readonly properties: import("zod/v4").ZodObject<{
|
|
1803
|
+
thread_id: import("zod/v4").ZodString;
|
|
1804
|
+
instance_id: import("zod/v4").ZodString;
|
|
1805
|
+
is_first_message: import("zod/v4").ZodBoolean;
|
|
1806
|
+
action_source: import("zod/v4").ZodEnum<{
|
|
1807
|
+
agent_builder_page: "agent_builder_page";
|
|
1808
|
+
agent_preview: "agent_preview";
|
|
1809
|
+
assistant_page: "assistant_page";
|
|
1810
|
+
canvas_action_button: "canvas_action_button";
|
|
1811
|
+
canvas_choice_prompt: "canvas_choice_prompt";
|
|
1812
|
+
credential_edit: "credential_edit";
|
|
1813
|
+
credentials_list: "credentials_list";
|
|
1814
|
+
evals: "evals";
|
|
1815
|
+
node_error_view: "node_error_view";
|
|
1816
|
+
playwright: "playwright";
|
|
1817
|
+
"template-view": "template-view";
|
|
1818
|
+
unknown: "unknown";
|
|
1819
|
+
"website-template": "website-template";
|
|
1820
|
+
workflow_list_auto: "workflow_list_auto";
|
|
1821
|
+
workflow_list_button: "workflow_list_button";
|
|
1822
|
+
}>;
|
|
1823
|
+
prefill_type: import("zod/v4").ZodNullable<import("zod/v4").ZodEnum<{
|
|
1824
|
+
contextual_followup: "contextual_followup";
|
|
1825
|
+
handoff_agent_change_request: "handoff_agent_change_request";
|
|
1826
|
+
handoff_credential_setup: "handoff_credential_setup";
|
|
1827
|
+
handoff_execution_error: "handoff_execution_error";
|
|
1828
|
+
handoff_fix_with_ai: "handoff_fix_with_ai";
|
|
1829
|
+
handoff_setup_panel_execute: "handoff_setup_panel_execute";
|
|
1830
|
+
suggestion_catalog: "suggestion_catalog";
|
|
1831
|
+
template_adjustment: "template_adjustment";
|
|
1832
|
+
template_example: "template_example";
|
|
1833
|
+
unknown: "unknown";
|
|
1834
|
+
v1_opener: "v1_opener";
|
|
1835
|
+
workflow_attachment_opener: "workflow_attachment_opener";
|
|
1836
|
+
}>>;
|
|
1837
|
+
prefill_id: import("zod/v4").ZodNullable<import("zod/v4").ZodString>;
|
|
1838
|
+
prompt_modified: import("zod/v4").ZodNullable<import("zod/v4").ZodBoolean>;
|
|
1839
|
+
}, import("zod/v4/core").$strip>;
|
|
1840
|
+
} & import("./define").TelemetryEventInput & {
|
|
1841
|
+
readonly getValidationError: (properties: unknown) => string | null;
|
|
1842
|
+
};
|
|
1495
1843
|
readonly BUILDER_LISTED_WORKFLOWS: {
|
|
1496
1844
|
readonly name: "Builder listed workflows";
|
|
1497
1845
|
readonly description: "Instance AI called workflows(action=\"list\"). Emitted on every list call, in both arms of the folder-exploration rollout, so folder-scoped calls have a denominator. Carries no folder names.";
|
|
@@ -1687,6 +2035,10 @@ export declare const TELEMETRY_EVENT: {
|
|
|
1687
2035
|
environment: "environment";
|
|
1688
2036
|
user: "user";
|
|
1689
2037
|
}>;
|
|
2038
|
+
kind: import("zod/v4").ZodEnum<{
|
|
2039
|
+
"credential-types": "credential-types";
|
|
2040
|
+
"node-types": "node-types";
|
|
2041
|
+
}>;
|
|
1690
2042
|
scope: import("zod/v4").ZodEnum<{
|
|
1691
2043
|
instance: "instance";
|
|
1692
2044
|
project: "project";
|
|
@@ -1731,6 +2083,10 @@ export declare const TELEMETRY_EVENT: {
|
|
|
1731
2083
|
environment: "environment";
|
|
1732
2084
|
user: "user";
|
|
1733
2085
|
}>;
|
|
2086
|
+
kind: import("zod/v4").ZodEnum<{
|
|
2087
|
+
"credential-types": "credential-types";
|
|
2088
|
+
"node-types": "node-types";
|
|
2089
|
+
}>;
|
|
1734
2090
|
operation: import("zod/v4").ZodEnum<{
|
|
1735
2091
|
created: "created";
|
|
1736
2092
|
deleted: "deleted";
|
|
@@ -1751,6 +2107,10 @@ export declare const TELEMETRY_EVENT: {
|
|
|
1751
2107
|
environment: "environment";
|
|
1752
2108
|
user: "user";
|
|
1753
2109
|
}>;
|
|
2110
|
+
kind: import("zod/v4").ZodEnum<{
|
|
2111
|
+
"credential-types": "credential-types";
|
|
2112
|
+
"node-types": "node-types";
|
|
2113
|
+
}>;
|
|
1754
2114
|
scope: import("zod/v4").ZodEnum<{
|
|
1755
2115
|
instance: "instance";
|
|
1756
2116
|
project: "project";
|
|
@@ -1766,6 +2126,17 @@ export declare const TELEMETRY_EVENT: {
|
|
|
1766
2126
|
};
|
|
1767
2127
|
};
|
|
1768
2128
|
WORKFLOW: {
|
|
2129
|
+
readonly USER_REQUESTED_WORKFLOW_TEST: {
|
|
2130
|
+
readonly name: "User requested workflow test";
|
|
2131
|
+
readonly description: "The user started a manual workflow test from the AI Assistant setup panel. This event does not report execution success.";
|
|
2132
|
+
readonly properties: import("zod/v4").ZodObject<{
|
|
2133
|
+
source: import("zod/v4").ZodLiteral<"instance_ai_setup_panel">;
|
|
2134
|
+
workflow_id: import("zod/v4").ZodString;
|
|
2135
|
+
thread_id: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
|
|
2136
|
+
}, import("zod/v4/core").$strip>;
|
|
2137
|
+
} & import("./define").TelemetryEventInput & {
|
|
2138
|
+
readonly getValidationError: (properties: unknown) => string | null;
|
|
2139
|
+
};
|
|
1769
2140
|
readonly MULTIPLE_NODES_SELECTED: {
|
|
1770
2141
|
readonly name: "User selected multiple nodes";
|
|
1771
2142
|
readonly description: "The user has two or more nodes selected on the workflow canvas. Fires once the selection settles (debounced), covering all selection paths — rubber-band drag, shift-click, and select-all — so intermediate states during a drag are not reported. Groups are excluded from the count.";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@n8n/telemetry",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.9.0",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"module": "src/index.ts",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
"LICENSE_EE.md"
|
|
11
11
|
],
|
|
12
12
|
"dependencies": {
|
|
13
|
+
"@n8n/api-types": "1.41.0",
|
|
13
14
|
"@n8n/utils": "1.48.0",
|
|
14
15
|
"zod": "3.25.76"
|
|
15
16
|
},
|