@n8n/telemetry 1.0.0 → 1.2.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.
@@ -11,4 +11,835 @@ export declare const TELEMETRY_EVENT: {
11
11
  readonly getValidationError: (properties: unknown) => string | null;
12
12
  };
13
13
  };
14
+ AGENTS: {
15
+ readonly AGENT_SETUP_COMPLETED: {
16
+ readonly name: "Agent setup completed";
17
+ readonly description: "The first time an agent reached a complete setup: it passes the same validation the Publish button requires, and has at least one configured capability. Fires at most once per agent, guarded by the persisted `agents.setupCompletedAt`. Emitted from the config-save path, with the publish path as a backstop so a published agent is always marked first.";
18
+ readonly properties: import("zod/v4").ZodObject<{
19
+ agent_id: import("zod/v4").ZodString;
20
+ project_id: import("zod/v4").ZodString;
21
+ user_id: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
22
+ capability_kinds: import("zod/v4").ZodArray<import("zod/v4").ZodEnum<{
23
+ channel: "channel";
24
+ mcpServer: "mcpServer";
25
+ skill: "skill";
26
+ subAgent: "subAgent";
27
+ task: "task";
28
+ tool: "tool";
29
+ vectorStore: "vectorStore";
30
+ }>>;
31
+ capability_count: import("zod/v4").ZodNumber;
32
+ tool_count: import("zod/v4").ZodNumber;
33
+ skill_count: import("zod/v4").ZodNumber;
34
+ sub_agent_count: import("zod/v4").ZodNumber;
35
+ mcp_server_count: import("zod/v4").ZodNumber;
36
+ vector_store_count: import("zod/v4").ZodNumber;
37
+ task_count: import("zod/v4").ZodNumber;
38
+ trigger_count: import("zod/v4").ZodNumber;
39
+ status: import("zod/v4").ZodEnum<{
40
+ draft: "draft";
41
+ production: "production";
42
+ }>;
43
+ }, import("zod/v4/core").$strip>;
44
+ } & import("./define").TelemetryEventInput & {
45
+ readonly getValidationError: (properties: unknown) => string | null;
46
+ };
47
+ readonly AGENT_EXECUTION_COUNT: {
48
+ readonly name: "Agent execution count";
49
+ readonly description: "Six-hourly pulse of aggregate agent usage, bucketed by agent, run type and optional user. event_version 2 added run_type; version 1 rows are a mix of test and production and must not be read as production. token_count is broader than \"Agent session metrics\".cost_sum: it also covers LLM calls belonging to no single turn (title generation, observational/episodic memory, embeddings).";
50
+ readonly properties: import("zod/v4").ZodObject<{
51
+ event_version: import("zod/v4").ZodLiteral<"2">;
52
+ agent_id: import("zod/v4").ZodString;
53
+ user_id: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
54
+ run_type: import("zod/v4").ZodEnum<{
55
+ production: "production";
56
+ test: "test";
57
+ }>;
58
+ message_count: import("zod/v4").ZodNumber;
59
+ token_count: import("zod/v4").ZodNumber;
60
+ tool_call_count: import("zod/v4").ZodNumber;
61
+ }, import("zod/v4/core").$strip>;
62
+ } & import("./define").TelemetryEventInput & {
63
+ readonly getValidationError: (properties: unknown) => string | null;
64
+ };
65
+ readonly AGENT_SESSION_METRICS: {
66
+ readonly name: "Agent session metrics";
67
+ readonly description: "Six-hourly pulse of agent session and turn metrics, bucketed by agent, run type, turn status and configuration. Two token numbers exist across the agent events and they measure different things: token_count_sum here covers only the recorded turns, from the same usage as cost_sum so the two reconcile, while token_count on \"Agent execution count\" additionally covers LLM calls belonging to no turn (title generation, observational/episodic memory, embeddings) and so runs higher.";
68
+ readonly properties: import("zod/v4").ZodObject<{
69
+ model: import("zod/v4").ZodNullable<import("zod/v4").ZodString>;
70
+ channels: import("zod/v4").ZodArray<import("zod/v4").ZodString>;
71
+ tool_types: import("zod/v4").ZodArray<import("zod/v4").ZodString>;
72
+ tool_count: import("zod/v4").ZodNumber;
73
+ num_skills: import("zod/v4").ZodNumber;
74
+ memory_type: import("zod/v4").ZodEnum<{
75
+ n8n: "n8n";
76
+ n8n_episodic: "n8n_episodic";
77
+ n8n_observational: "n8n_observational";
78
+ n8n_observational_episodic: "n8n_observational_episodic";
79
+ none: "none";
80
+ }>;
81
+ event_version: import("zod/v4").ZodLiteral<"1">;
82
+ agent_id: import("zod/v4").ZodString;
83
+ agent_type: import("zod/v4").ZodOptional<import("zod/v4").ZodLiteral<"inline">>;
84
+ run_type: import("zod/v4").ZodEnum<{
85
+ production: "production";
86
+ test: "test";
87
+ }>;
88
+ turn_status: import("zod/v4").ZodEnum<{
89
+ failed: "failed";
90
+ succeeded: "succeeded";
91
+ }>;
92
+ session_count: import("zod/v4").ZodNumber;
93
+ turn_count: import("zod/v4").ZodNumber;
94
+ latency_ms_sum: import("zod/v4").ZodNumber;
95
+ cost_sum: import("zod/v4").ZodNumber;
96
+ token_count_sum: import("zod/v4").ZodNumber;
97
+ tool_call_count_sum: import("zod/v4").ZodNumber;
98
+ num_skills_sum: import("zod/v4").ZodNumber;
99
+ }, import("zod/v4/core").$strip>;
100
+ } & import("./define").TelemetryEventInput & {
101
+ readonly getValidationError: (properties: unknown) => string | null;
102
+ };
103
+ readonly BUILDER_CREATED_AGENT: {
104
+ readonly name: "Builder created agent";
105
+ readonly description: "The Instance AI builder was the first surface to configure an agent. One of three same-shaped creation events (\"User created agent\", \"MCP created agent\") — union them for total agent creation, or read one for that surface alone. Emitted from `AgentConfigService.updateConfig` on the agent's first configuring write, so the builder minting an agent row emits nothing and a build that fails before writing config never counts. event_version 2 replaced thread_id with user_id, moved the emit from the frontend-facing delegate wrapper to the config-save path, and added the write profile.";
106
+ readonly properties: import("zod/v4").ZodObject<{
107
+ agent_id: import("zod/v4").ZodString;
108
+ project_id: import("zod/v4").ZodString;
109
+ user_id: import("zod/v4").ZodString;
110
+ capability_kinds: import("zod/v4").ZodArray<import("zod/v4").ZodEnum<{
111
+ channel: "channel";
112
+ mcpServer: "mcpServer";
113
+ skill: "skill";
114
+ subAgent: "subAgent";
115
+ task: "task";
116
+ tool: "tool";
117
+ vectorStore: "vectorStore";
118
+ }>>;
119
+ capability_count: import("zod/v4").ZodNumber;
120
+ tool_count: import("zod/v4").ZodNumber;
121
+ skill_count: import("zod/v4").ZodNumber;
122
+ sub_agent_count: import("zod/v4").ZodNumber;
123
+ mcp_server_count: import("zod/v4").ZodNumber;
124
+ vector_store_count: import("zod/v4").ZodNumber;
125
+ task_count: import("zod/v4").ZodNumber;
126
+ trigger_count: import("zod/v4").ZodNumber;
127
+ model: import("zod/v4").ZodNullable<import("zod/v4").ZodString>;
128
+ tool_types: import("zod/v4").ZodArray<import("zod/v4").ZodString>;
129
+ changed_parts: import("zod/v4").ZodArray<import("zod/v4").ZodEnum<{
130
+ config: "config";
131
+ credential: "credential";
132
+ instructions: "instructions";
133
+ mcpServers: "mcpServers";
134
+ memory: "memory";
135
+ model: "model";
136
+ name: "name";
137
+ providerTools: "providerTools";
138
+ skills: "skills";
139
+ subAgents: "subAgents";
140
+ tasks: "tasks";
141
+ tools: "tools";
142
+ triggers: "triggers";
143
+ vectorStores: "vectorStores";
144
+ }>>;
145
+ has_published_version: import("zod/v4").ZodBoolean;
146
+ event_version: import("zod/v4").ZodLiteral<"2">;
147
+ }, import("zod/v4/core").$strip>;
148
+ } & import("./define").TelemetryEventInput & {
149
+ readonly getValidationError: (properties: unknown) => string | null;
150
+ };
151
+ readonly USER_CREATED_AGENT: {
152
+ readonly name: "User created agent";
153
+ readonly description: "A user was the first surface to configure an agent, from the editor. One of three same-shaped creation events (\"Builder created agent\", \"MCP created agent\") — union them for total agent creation, or read one for that surface alone. Emitted from `AgentConfigService.updateConfig` on the agent's first configuring write: agents are created lazily and the row alone emits nothing, so this fires when the agent gains a model, instructions or a capability rather than on the click, and an abandoned new-agent flow never counts. A rename or an icon change does not qualify. \"User clicked new agent\" carries the same agent_id, so the two join into a click-to-creation funnel whose gap is abandoned flows. event_version 2 dropped source (editor-only knowledge, still on the click event), added project_id, user_id and the write profile, and moved the emit to the backend.";
154
+ readonly properties: import("zod/v4").ZodObject<{
155
+ agent_id: import("zod/v4").ZodString;
156
+ project_id: import("zod/v4").ZodString;
157
+ user_id: import("zod/v4").ZodString;
158
+ capability_kinds: import("zod/v4").ZodArray<import("zod/v4").ZodEnum<{
159
+ channel: "channel";
160
+ mcpServer: "mcpServer";
161
+ skill: "skill";
162
+ subAgent: "subAgent";
163
+ task: "task";
164
+ tool: "tool";
165
+ vectorStore: "vectorStore";
166
+ }>>;
167
+ capability_count: import("zod/v4").ZodNumber;
168
+ tool_count: import("zod/v4").ZodNumber;
169
+ skill_count: import("zod/v4").ZodNumber;
170
+ sub_agent_count: import("zod/v4").ZodNumber;
171
+ mcp_server_count: import("zod/v4").ZodNumber;
172
+ vector_store_count: import("zod/v4").ZodNumber;
173
+ task_count: import("zod/v4").ZodNumber;
174
+ trigger_count: import("zod/v4").ZodNumber;
175
+ model: import("zod/v4").ZodNullable<import("zod/v4").ZodString>;
176
+ tool_types: import("zod/v4").ZodArray<import("zod/v4").ZodString>;
177
+ changed_parts: import("zod/v4").ZodArray<import("zod/v4").ZodEnum<{
178
+ config: "config";
179
+ credential: "credential";
180
+ instructions: "instructions";
181
+ mcpServers: "mcpServers";
182
+ memory: "memory";
183
+ model: "model";
184
+ name: "name";
185
+ providerTools: "providerTools";
186
+ skills: "skills";
187
+ subAgents: "subAgents";
188
+ tasks: "tasks";
189
+ tools: "tools";
190
+ triggers: "triggers";
191
+ vectorStores: "vectorStores";
192
+ }>>;
193
+ has_published_version: import("zod/v4").ZodBoolean;
194
+ event_version: import("zod/v4").ZodLiteral<"2">;
195
+ }, import("zod/v4/core").$strip>;
196
+ } & import("./define").TelemetryEventInput & {
197
+ readonly getValidationError: (properties: unknown) => string | null;
198
+ };
199
+ readonly MCP_CREATED_AGENT: {
200
+ readonly name: "MCP created agent";
201
+ readonly description: "An MCP client was the first surface to configure an agent, through the `create_agent` or `mutate_agent` tool. One of three same-shaped creation events (\"User created agent\", \"Builder created agent\") — union them for total agent creation, or read one for that surface alone. Emitted from `AgentConfigService.updateConfig` on the agent's first configuring write, so a `create_agent` call carrying no initial config emits nothing until something configures the agent. The coarser \"User called mcp tool\" event also fires for the same call.";
202
+ readonly properties: import("zod/v4").ZodObject<{
203
+ agent_id: import("zod/v4").ZodString;
204
+ project_id: import("zod/v4").ZodString;
205
+ user_id: import("zod/v4").ZodString;
206
+ capability_kinds: import("zod/v4").ZodArray<import("zod/v4").ZodEnum<{
207
+ channel: "channel";
208
+ mcpServer: "mcpServer";
209
+ skill: "skill";
210
+ subAgent: "subAgent";
211
+ task: "task";
212
+ tool: "tool";
213
+ vectorStore: "vectorStore";
214
+ }>>;
215
+ capability_count: import("zod/v4").ZodNumber;
216
+ tool_count: import("zod/v4").ZodNumber;
217
+ skill_count: import("zod/v4").ZodNumber;
218
+ sub_agent_count: import("zod/v4").ZodNumber;
219
+ mcp_server_count: import("zod/v4").ZodNumber;
220
+ vector_store_count: import("zod/v4").ZodNumber;
221
+ task_count: import("zod/v4").ZodNumber;
222
+ trigger_count: import("zod/v4").ZodNumber;
223
+ model: import("zod/v4").ZodNullable<import("zod/v4").ZodString>;
224
+ tool_types: import("zod/v4").ZodArray<import("zod/v4").ZodString>;
225
+ changed_parts: import("zod/v4").ZodArray<import("zod/v4").ZodEnum<{
226
+ config: "config";
227
+ credential: "credential";
228
+ instructions: "instructions";
229
+ mcpServers: "mcpServers";
230
+ memory: "memory";
231
+ model: "model";
232
+ name: "name";
233
+ providerTools: "providerTools";
234
+ skills: "skills";
235
+ subAgents: "subAgents";
236
+ tasks: "tasks";
237
+ tools: "tools";
238
+ triggers: "triggers";
239
+ vectorStores: "vectorStores";
240
+ }>>;
241
+ has_published_version: import("zod/v4").ZodBoolean;
242
+ event_version: import("zod/v4").ZodLiteral<"1">;
243
+ }, import("zod/v4/core").$strip>;
244
+ } & import("./define").TelemetryEventInput & {
245
+ readonly getValidationError: (properties: unknown) => string | null;
246
+ };
247
+ readonly USER_MODIFIED_AGENT: {
248
+ readonly name: "User modified agent";
249
+ readonly description: "A user saved a change to an agent that was already configured, from the editor. One of three same-shaped modification events (\"Builder modified agent\", \"MCP modified agent\") — union them for total agent modification, or read one for that surface alone. Emitted once per save from `AgentConfigService.updateConfig`; a save that changed nothing emits nothing, and the agent's first configuring write emits the matching creation event instead — so a write is never counted as both, and this event is not inflated by every agent's birth. The capability counts mirror \"Agent setup completed\", so a profile at each modification lines up with the profile at setup completion. Replaces the per-part \"User edited agent config\" and the per-item \"User added/removed tools/skills/tasks\" and \"User added/removed agent tool\" events, which fired several times for a single save and never covered the builder or MCP.";
250
+ readonly properties: import("zod/v4").ZodObject<{
251
+ agent_id: import("zod/v4").ZodString;
252
+ project_id: import("zod/v4").ZodString;
253
+ user_id: import("zod/v4").ZodString;
254
+ capability_kinds: import("zod/v4").ZodArray<import("zod/v4").ZodEnum<{
255
+ channel: "channel";
256
+ mcpServer: "mcpServer";
257
+ skill: "skill";
258
+ subAgent: "subAgent";
259
+ task: "task";
260
+ tool: "tool";
261
+ vectorStore: "vectorStore";
262
+ }>>;
263
+ capability_count: import("zod/v4").ZodNumber;
264
+ tool_count: import("zod/v4").ZodNumber;
265
+ skill_count: import("zod/v4").ZodNumber;
266
+ sub_agent_count: import("zod/v4").ZodNumber;
267
+ mcp_server_count: import("zod/v4").ZodNumber;
268
+ vector_store_count: import("zod/v4").ZodNumber;
269
+ task_count: import("zod/v4").ZodNumber;
270
+ trigger_count: import("zod/v4").ZodNumber;
271
+ model: import("zod/v4").ZodNullable<import("zod/v4").ZodString>;
272
+ tool_types: import("zod/v4").ZodArray<import("zod/v4").ZodString>;
273
+ changed_parts: import("zod/v4").ZodArray<import("zod/v4").ZodEnum<{
274
+ config: "config";
275
+ credential: "credential";
276
+ instructions: "instructions";
277
+ mcpServers: "mcpServers";
278
+ memory: "memory";
279
+ model: "model";
280
+ name: "name";
281
+ providerTools: "providerTools";
282
+ skills: "skills";
283
+ subAgents: "subAgents";
284
+ tasks: "tasks";
285
+ tools: "tools";
286
+ triggers: "triggers";
287
+ vectorStores: "vectorStores";
288
+ }>>;
289
+ has_published_version: import("zod/v4").ZodBoolean;
290
+ event_version: import("zod/v4").ZodLiteral<"1">;
291
+ }, import("zod/v4/core").$strip>;
292
+ } & import("./define").TelemetryEventInput & {
293
+ readonly getValidationError: (properties: unknown) => string | null;
294
+ };
295
+ readonly BUILDER_MODIFIED_AGENT: {
296
+ readonly name: "Builder modified agent";
297
+ readonly description: "The Instance AI builder saved a change to an agent that was already configured. One of three same-shaped modification events (\"User modified agent\", \"MCP modified agent\") — union them for total agent modification, or read one for that surface alone. Emitted once per save from `AgentConfigService.updateConfig`; a save that changed nothing emits nothing, and the agent's first configuring write emits \"Builder created agent\" instead. The capability counts mirror \"Agent setup completed\", so a profile at each modification lines up with the profile at setup completion. Replaces the per-item \"Builder added tools/skills to agent\" and \"Builder removed tasks from agent\" events.";
298
+ readonly properties: import("zod/v4").ZodObject<{
299
+ agent_id: import("zod/v4").ZodString;
300
+ project_id: import("zod/v4").ZodString;
301
+ user_id: import("zod/v4").ZodString;
302
+ capability_kinds: import("zod/v4").ZodArray<import("zod/v4").ZodEnum<{
303
+ channel: "channel";
304
+ mcpServer: "mcpServer";
305
+ skill: "skill";
306
+ subAgent: "subAgent";
307
+ task: "task";
308
+ tool: "tool";
309
+ vectorStore: "vectorStore";
310
+ }>>;
311
+ capability_count: import("zod/v4").ZodNumber;
312
+ tool_count: import("zod/v4").ZodNumber;
313
+ skill_count: import("zod/v4").ZodNumber;
314
+ sub_agent_count: import("zod/v4").ZodNumber;
315
+ mcp_server_count: import("zod/v4").ZodNumber;
316
+ vector_store_count: import("zod/v4").ZodNumber;
317
+ task_count: import("zod/v4").ZodNumber;
318
+ trigger_count: import("zod/v4").ZodNumber;
319
+ model: import("zod/v4").ZodNullable<import("zod/v4").ZodString>;
320
+ tool_types: import("zod/v4").ZodArray<import("zod/v4").ZodString>;
321
+ changed_parts: import("zod/v4").ZodArray<import("zod/v4").ZodEnum<{
322
+ config: "config";
323
+ credential: "credential";
324
+ instructions: "instructions";
325
+ mcpServers: "mcpServers";
326
+ memory: "memory";
327
+ model: "model";
328
+ name: "name";
329
+ providerTools: "providerTools";
330
+ skills: "skills";
331
+ subAgents: "subAgents";
332
+ tasks: "tasks";
333
+ tools: "tools";
334
+ triggers: "triggers";
335
+ vectorStores: "vectorStores";
336
+ }>>;
337
+ has_published_version: import("zod/v4").ZodBoolean;
338
+ event_version: import("zod/v4").ZodLiteral<"1">;
339
+ }, import("zod/v4/core").$strip>;
340
+ } & import("./define").TelemetryEventInput & {
341
+ readonly getValidationError: (properties: unknown) => string | null;
342
+ };
343
+ readonly MCP_MODIFIED_AGENT: {
344
+ readonly name: "MCP modified agent";
345
+ readonly description: "An MCP client saved a change to an agent that was already configured, through the `create_agent` or `mutate_agent` tool. One of three same-shaped modification events (\"User modified agent\", \"Builder modified agent\") — union them for total agent modification, or read one for that surface alone. Emitted once per save from `AgentConfigService.updateConfig`; a save that changed nothing emits nothing, and the agent's first configuring write emits \"MCP created agent\" instead. The capability counts mirror \"Agent setup completed\", so a profile at each modification lines up with the profile at setup completion. This surface had no modification telemetry before. The coarser \"User called mcp tool\" event also fires for the same call.";
346
+ readonly properties: import("zod/v4").ZodObject<{
347
+ agent_id: import("zod/v4").ZodString;
348
+ project_id: import("zod/v4").ZodString;
349
+ user_id: import("zod/v4").ZodString;
350
+ capability_kinds: import("zod/v4").ZodArray<import("zod/v4").ZodEnum<{
351
+ channel: "channel";
352
+ mcpServer: "mcpServer";
353
+ skill: "skill";
354
+ subAgent: "subAgent";
355
+ task: "task";
356
+ tool: "tool";
357
+ vectorStore: "vectorStore";
358
+ }>>;
359
+ capability_count: import("zod/v4").ZodNumber;
360
+ tool_count: import("zod/v4").ZodNumber;
361
+ skill_count: import("zod/v4").ZodNumber;
362
+ sub_agent_count: import("zod/v4").ZodNumber;
363
+ mcp_server_count: import("zod/v4").ZodNumber;
364
+ vector_store_count: import("zod/v4").ZodNumber;
365
+ task_count: import("zod/v4").ZodNumber;
366
+ trigger_count: import("zod/v4").ZodNumber;
367
+ model: import("zod/v4").ZodNullable<import("zod/v4").ZodString>;
368
+ tool_types: import("zod/v4").ZodArray<import("zod/v4").ZodString>;
369
+ changed_parts: import("zod/v4").ZodArray<import("zod/v4").ZodEnum<{
370
+ config: "config";
371
+ credential: "credential";
372
+ instructions: "instructions";
373
+ mcpServers: "mcpServers";
374
+ memory: "memory";
375
+ model: "model";
376
+ name: "name";
377
+ providerTools: "providerTools";
378
+ skills: "skills";
379
+ subAgents: "subAgents";
380
+ tasks: "tasks";
381
+ tools: "tools";
382
+ triggers: "triggers";
383
+ vectorStores: "vectorStores";
384
+ }>>;
385
+ has_published_version: import("zod/v4").ZodBoolean;
386
+ event_version: import("zod/v4").ZodLiteral<"1">;
387
+ }, import("zod/v4/core").$strip>;
388
+ } & import("./define").TelemetryEventInput & {
389
+ readonly getValidationError: (properties: unknown) => string | null;
390
+ };
391
+ readonly USER_PUBLISHED_AGENT: {
392
+ readonly name: "User published agent";
393
+ readonly description: "A user explicitly published an agent version, making it the active one. One of three same-shaped publish events (\"Builder published agent\", \"MCP published agent\") — union them for total agent publishing, or read one for that surface alone. Emitted from `AgentPublishService.publishAgent`; an idempotent no-op publish emits nothing. `republish` identifies a rollback to an older snapshot; `channel_connect` and `slack_setup` are retained only as historical trigger values. event_version 2 moved the emit from the frontend to the backend, which replaced the editor-only scope (version-history publishes were missing) with every user surface, dropped config_version, status and session_id, and added project_id, user_id, trigger, version_id and the capability profile.";
394
+ readonly properties: import("zod/v4").ZodObject<{
395
+ agent_id: import("zod/v4").ZodString;
396
+ project_id: import("zod/v4").ZodString;
397
+ user_id: import("zod/v4").ZodString;
398
+ capability_kinds: import("zod/v4").ZodArray<import("zod/v4").ZodEnum<{
399
+ channel: "channel";
400
+ mcpServer: "mcpServer";
401
+ skill: "skill";
402
+ subAgent: "subAgent";
403
+ task: "task";
404
+ tool: "tool";
405
+ vectorStore: "vectorStore";
406
+ }>>;
407
+ capability_count: import("zod/v4").ZodNumber;
408
+ tool_count: import("zod/v4").ZodNumber;
409
+ skill_count: import("zod/v4").ZodNumber;
410
+ sub_agent_count: import("zod/v4").ZodNumber;
411
+ mcp_server_count: import("zod/v4").ZodNumber;
412
+ vector_store_count: import("zod/v4").ZodNumber;
413
+ task_count: import("zod/v4").ZodNumber;
414
+ trigger_count: import("zod/v4").ZodNumber;
415
+ model: import("zod/v4").ZodNullable<import("zod/v4").ZodString>;
416
+ tool_types: import("zod/v4").ZodArray<import("zod/v4").ZodString>;
417
+ trigger: import("zod/v4").ZodEnum<{
418
+ channel_connect: "channel_connect";
419
+ explicit: "explicit";
420
+ republish: "republish";
421
+ slack_setup: "slack_setup";
422
+ }>;
423
+ version_id: import("zod/v4").ZodString;
424
+ event_version: import("zod/v4").ZodLiteral<"2">;
425
+ }, import("zod/v4/core").$strip>;
426
+ } & import("./define").TelemetryEventInput & {
427
+ readonly getValidationError: (properties: unknown) => string | null;
428
+ };
429
+ readonly BUILDER_PUBLISHED_AGENT: {
430
+ readonly name: "Builder published agent";
431
+ readonly description: "The Instance AI builder published an agent version through its publish_agent tool. One of three same-shaped publish events (\"User published agent\", \"MCP published agent\") — union them for total agent publishing, or read one for that surface alone. Emitted from `AgentPublishService.publishAgent`; an idempotent no-op publish emits nothing.";
432
+ readonly properties: import("zod/v4").ZodObject<{
433
+ agent_id: import("zod/v4").ZodString;
434
+ project_id: import("zod/v4").ZodString;
435
+ user_id: import("zod/v4").ZodString;
436
+ capability_kinds: import("zod/v4").ZodArray<import("zod/v4").ZodEnum<{
437
+ channel: "channel";
438
+ mcpServer: "mcpServer";
439
+ skill: "skill";
440
+ subAgent: "subAgent";
441
+ task: "task";
442
+ tool: "tool";
443
+ vectorStore: "vectorStore";
444
+ }>>;
445
+ capability_count: import("zod/v4").ZodNumber;
446
+ tool_count: import("zod/v4").ZodNumber;
447
+ skill_count: import("zod/v4").ZodNumber;
448
+ sub_agent_count: import("zod/v4").ZodNumber;
449
+ mcp_server_count: import("zod/v4").ZodNumber;
450
+ vector_store_count: import("zod/v4").ZodNumber;
451
+ task_count: import("zod/v4").ZodNumber;
452
+ trigger_count: import("zod/v4").ZodNumber;
453
+ model: import("zod/v4").ZodNullable<import("zod/v4").ZodString>;
454
+ tool_types: import("zod/v4").ZodArray<import("zod/v4").ZodString>;
455
+ trigger: import("zod/v4").ZodEnum<{
456
+ channel_connect: "channel_connect";
457
+ explicit: "explicit";
458
+ republish: "republish";
459
+ slack_setup: "slack_setup";
460
+ }>;
461
+ version_id: import("zod/v4").ZodString;
462
+ event_version: import("zod/v4").ZodLiteral<"1">;
463
+ }, import("zod/v4/core").$strip>;
464
+ } & import("./define").TelemetryEventInput & {
465
+ readonly getValidationError: (properties: unknown) => string | null;
466
+ };
467
+ readonly MCP_PUBLISHED_AGENT: {
468
+ readonly name: "MCP published agent";
469
+ readonly description: "An MCP client explicitly published an agent version through the `publish_agent` tool. One of three same-shaped publish events (\"User published agent\", \"Builder published agent\") — union them for total agent publishing, or read one for that surface alone. Emitted from `AgentPublishService.publishAgent`; an idempotent no-op publish emits nothing. Before this event existed these publishes were reported as \"Agent published\" with source \"builder\", so they were indistinguishable from Instance AI builder publishes.";
470
+ readonly properties: import("zod/v4").ZodObject<{
471
+ agent_id: import("zod/v4").ZodString;
472
+ project_id: import("zod/v4").ZodString;
473
+ user_id: import("zod/v4").ZodString;
474
+ capability_kinds: import("zod/v4").ZodArray<import("zod/v4").ZodEnum<{
475
+ channel: "channel";
476
+ mcpServer: "mcpServer";
477
+ skill: "skill";
478
+ subAgent: "subAgent";
479
+ task: "task";
480
+ tool: "tool";
481
+ vectorStore: "vectorStore";
482
+ }>>;
483
+ capability_count: import("zod/v4").ZodNumber;
484
+ tool_count: import("zod/v4").ZodNumber;
485
+ skill_count: import("zod/v4").ZodNumber;
486
+ sub_agent_count: import("zod/v4").ZodNumber;
487
+ mcp_server_count: import("zod/v4").ZodNumber;
488
+ vector_store_count: import("zod/v4").ZodNumber;
489
+ task_count: import("zod/v4").ZodNumber;
490
+ trigger_count: import("zod/v4").ZodNumber;
491
+ model: import("zod/v4").ZodNullable<import("zod/v4").ZodString>;
492
+ tool_types: import("zod/v4").ZodArray<import("zod/v4").ZodString>;
493
+ trigger: import("zod/v4").ZodEnum<{
494
+ channel_connect: "channel_connect";
495
+ explicit: "explicit";
496
+ republish: "republish";
497
+ slack_setup: "slack_setup";
498
+ }>;
499
+ version_id: import("zod/v4").ZodString;
500
+ event_version: import("zod/v4").ZodLiteral<"1">;
501
+ }, import("zod/v4/core").$strip>;
502
+ } & import("./define").TelemetryEventInput & {
503
+ readonly getValidationError: (properties: unknown) => string | null;
504
+ };
505
+ readonly USER_UNPUBLISHED_AGENT: {
506
+ readonly name: "User unpublished agent";
507
+ readonly description: "A user unpublished an agent, clearing its active version. One of three same-shaped unpublish events (\"Builder unpublished agent\", \"MCP unpublished agent\") — union them for total agent unpublishing, or read one for that surface alone. Emitted from `AgentPublishService.unpublishAgent`. Unlike the publish events these carry no trigger (there is one way to unpublish) and no capability profile. event_version 2 moved the emit from the frontend to the backend and replaced status and session_id with project_id and user_id.";
508
+ readonly properties: import("zod/v4").ZodObject<{
509
+ agent_id: import("zod/v4").ZodString;
510
+ project_id: import("zod/v4").ZodString;
511
+ user_id: import("zod/v4").ZodString;
512
+ event_version: import("zod/v4").ZodLiteral<"2">;
513
+ }, import("zod/v4/core").$strip>;
514
+ } & import("./define").TelemetryEventInput & {
515
+ readonly getValidationError: (properties: unknown) => string | null;
516
+ };
517
+ readonly BUILDER_UNPUBLISHED_AGENT: {
518
+ readonly name: "Builder unpublished agent";
519
+ readonly description: "The Instance AI builder unpublished an agent through its unpublish_agent tool. One of three same-shaped unpublish events (\"User unpublished agent\", \"MCP unpublished agent\") — union them for total agent unpublishing, or read one for that surface alone. Emitted from `AgentPublishService.unpublishAgent`.";
520
+ readonly properties: import("zod/v4").ZodObject<{
521
+ agent_id: import("zod/v4").ZodString;
522
+ project_id: import("zod/v4").ZodString;
523
+ user_id: import("zod/v4").ZodString;
524
+ event_version: import("zod/v4").ZodLiteral<"1">;
525
+ }, import("zod/v4/core").$strip>;
526
+ } & import("./define").TelemetryEventInput & {
527
+ readonly getValidationError: (properties: unknown) => string | null;
528
+ };
529
+ readonly MCP_UNPUBLISHED_AGENT: {
530
+ readonly name: "MCP unpublished agent";
531
+ readonly description: "An MCP client unpublished an agent through the `unpublish_agent` tool. One of three same-shaped unpublish events (\"User unpublished agent\", \"Builder unpublished agent\") — union them for total agent unpublishing, or read one for that surface alone. Emitted from `AgentPublishService.unpublishAgent`. Before this event existed these unpublishes were reported as \"Agent unpublished\" with source \"builder\", so they were indistinguishable from Instance AI builder unpublishes.";
532
+ readonly properties: import("zod/v4").ZodObject<{
533
+ agent_id: import("zod/v4").ZodString;
534
+ project_id: import("zod/v4").ZodString;
535
+ user_id: import("zod/v4").ZodString;
536
+ event_version: import("zod/v4").ZodLiteral<"1">;
537
+ }, import("zod/v4/core").$strip>;
538
+ } & import("./define").TelemetryEventInput & {
539
+ readonly getValidationError: (properties: unknown) => string | null;
540
+ };
541
+ readonly INSTANCE_AI_OPENED_FROM_AGENT_PREVIEW: {
542
+ readonly name: "Instance AI opened from agent preview";
543
+ readonly description: "The user handed a preview chat session off to Instance AI from the agent builder preview panel.";
544
+ readonly properties: import("zod/v4").ZodObject<{
545
+ agent_id: import("zod/v4").ZodString;
546
+ preview_thread_id: import("zod/v4").ZodString;
547
+ preview_execution_id: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
548
+ }, import("zod/v4/core").$strip>;
549
+ } & import("./define").TelemetryEventInput & {
550
+ readonly getValidationError: (properties: unknown) => string | null;
551
+ };
552
+ readonly USER_GAVE_MCP_ACCESS_TO_AGENT: {
553
+ readonly name: "User gave MCP access to agent";
554
+ readonly description: "An agent was exposed over MCP. The sibling \"User gave MCP access to workflow\" and \"User toggled MCP access\" events are not registered.";
555
+ readonly properties: import("zod/v4").ZodObject<{
556
+ agent_id: import("zod/v4").ZodString;
557
+ }, import("zod/v4/core").$strip>;
558
+ } & import("./define").TelemetryEventInput & {
559
+ readonly getValidationError: (properties: unknown) => string | null;
560
+ };
561
+ readonly USER_SELECTED_AGENTS_FOR_MCP: {
562
+ readonly name: "User selected agent from list";
563
+ readonly description: "The user confirmed a bulk agent selection in the MCP connect-agents dialog. Property is camelCase for warehouse continuity with existing rows.";
564
+ readonly properties: import("zod/v4").ZodObject<{
565
+ agentIds: import("zod/v4").ZodArray<import("zod/v4").ZodString>;
566
+ count: import("zod/v4").ZodNumber;
567
+ }, import("zod/v4/core").$strip>;
568
+ } & import("./define").TelemetryEventInput & {
569
+ readonly getValidationError: (properties: unknown) => string | null;
570
+ };
571
+ readonly USER_DISMISSED_MCP_AGENTS_DIALOG: {
572
+ readonly name: "User dismissed mcp agents dialog";
573
+ readonly description: "The user closed the MCP connect-agents dialog without confirming a selection.";
574
+ readonly properties: import("zod/v4").ZodObject<{}, import("zod/v4/core").$strip>;
575
+ } & import("./define").TelemetryEventInput & {
576
+ readonly getValidationError: (properties: unknown) => string | null;
577
+ };
578
+ readonly USER_CLICKED_CONNECT_AGENTS_FROM_MCP_SETTINGS: {
579
+ readonly name: "User clicked connect agents from mcp settings";
580
+ readonly description: "The user opened the MCP connect-agents dialog from the MCP settings page.";
581
+ readonly properties: import("zod/v4").ZodObject<{}, import("zod/v4/core").$strip>;
582
+ } & import("./define").TelemetryEventInput & {
583
+ readonly getValidationError: (properties: unknown) => string | null;
584
+ };
585
+ readonly BUILDER_ADDED_TASKS: {
586
+ readonly name: "Builder added tasks to agent";
587
+ readonly description: "The Instance AI builder created a scheduled task through the `create_tasks` tool. That path persists outside `AgentConfigService.updateConfig`, so it is not covered by \"Builder modified agent\" — this event stays until the task write path is folded in.";
588
+ readonly properties: import("zod/v4").ZodObject<{
589
+ agent_id: import("zod/v4").ZodString;
590
+ user_id: import("zod/v4").ZodString;
591
+ thread_id: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
592
+ run_id: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
593
+ task_added: import("zod/v4").ZodString;
594
+ tasks: import("zod/v4").ZodArray<import("zod/v4").ZodString>;
595
+ status: import("zod/v4").ZodEnum<{
596
+ draft: "draft";
597
+ production: "production";
598
+ }>;
599
+ }, import("zod/v4/core").$strip>;
600
+ } & import("./define").TelemetryEventInput & {
601
+ readonly getValidationError: (properties: unknown) => string | null;
602
+ };
603
+ readonly BUILDER_ADDED_TRIGGER: {
604
+ readonly name: "Builder added trigger to agent";
605
+ readonly description: "The Instance AI builder configured and persisted a chat channel for the target agent through the configure_channel tool, mirroring the frontend \"User added trigger to agent\" event.";
606
+ readonly properties: import("zod/v4").ZodObject<{
607
+ agent_id: import("zod/v4").ZodString;
608
+ user_id: import("zod/v4").ZodString;
609
+ thread_id: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
610
+ run_id: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
611
+ trigger_type: import("zod/v4").ZodString;
612
+ }, import("zod/v4/core").$strip>;
613
+ } & import("./define").TelemetryEventInput & {
614
+ readonly getValidationError: (properties: unknown) => string | null;
615
+ };
616
+ readonly BUILDER_ASKED_QUESTIONS: {
617
+ readonly name: "Builder asked questions";
618
+ readonly description: "The Instance AI builder used the ask_questions tool and suspended, showing the user a batch of questions to determine the shape of the agent.";
619
+ readonly properties: import("zod/v4").ZodObject<{
620
+ agent_id: import("zod/v4").ZodString;
621
+ user_id: import("zod/v4").ZodString;
622
+ thread_id: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
623
+ run_id: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
624
+ question_count: import("zod/v4").ZodNumber;
625
+ question_types: import("zod/v4").ZodArray<import("zod/v4").ZodString>;
626
+ }, import("zod/v4/core").$strip>;
627
+ } & import("./define").TelemetryEventInput & {
628
+ readonly getValidationError: (properties: unknown) => string | null;
629
+ };
630
+ readonly USER_ANSWERED_BUILDER_QUESTIONS: {
631
+ readonly name: "User answered builder questions";
632
+ readonly description: "The user resumed a builder ask_questions card by answering, skipping, or dismissing it.";
633
+ readonly properties: import("zod/v4").ZodObject<{
634
+ agent_id: import("zod/v4").ZodString;
635
+ user_id: import("zod/v4").ZodString;
636
+ thread_id: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
637
+ run_id: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
638
+ outcome: import("zod/v4").ZodEnum<{
639
+ answered: "answered";
640
+ dismissed: "dismissed";
641
+ skipped: "skipped";
642
+ }>;
643
+ answered_count: import("zod/v4").ZodNumber;
644
+ skipped_count: import("zod/v4").ZodNumber;
645
+ }, import("zod/v4/core").$strip>;
646
+ } & import("./define").TelemetryEventInput & {
647
+ readonly getValidationError: (properties: unknown) => string | null;
648
+ };
649
+ readonly BUILDER_REQUESTED_CREDENTIAL: {
650
+ readonly name: "Builder requested credential";
651
+ readonly description: "The Instance AI builder used the ask_credential (or ask_embedding_credential) tool and suspended to show a credential picker card. Does not fire when the request auto-resolves without showing a card.";
652
+ readonly properties: import("zod/v4").ZodObject<{
653
+ agent_id: import("zod/v4").ZodString;
654
+ user_id: import("zod/v4").ZodString;
655
+ thread_id: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
656
+ run_id: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
657
+ credential_type: import("zod/v4").ZodString;
658
+ }, import("zod/v4/core").$strip>;
659
+ } & import("./define").TelemetryEventInput & {
660
+ readonly getValidationError: (properties: unknown) => string | null;
661
+ };
662
+ readonly USER_PROVIDED_CREDENTIAL: {
663
+ readonly name: "User provided credential";
664
+ readonly description: "The user resumed a builder credential picker card by selecting a credential or skipping.";
665
+ readonly properties: import("zod/v4").ZodObject<{
666
+ agent_id: import("zod/v4").ZodString;
667
+ user_id: import("zod/v4").ZodString;
668
+ thread_id: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
669
+ run_id: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
670
+ credential_type: import("zod/v4").ZodString;
671
+ outcome: import("zod/v4").ZodEnum<{
672
+ provided: "provided";
673
+ skipped: "skipped";
674
+ }>;
675
+ }, import("zod/v4/core").$strip>;
676
+ } & import("./define").TelemetryEventInput & {
677
+ readonly getValidationError: (properties: unknown) => string | null;
678
+ };
679
+ readonly USER_CLICKED_NEW_AGENT: {
680
+ readonly name: "User clicked new agent";
681
+ readonly description: "The user clicked a new-agent entry point (button, dropdown, or card). No agent exists at this point — `agent_id` is the id minted for the click, which whichever path later persists the agent creates it under, so this joins to the eventual creation event. Clicks with no matching creation are abandoned new-agent flows.";
682
+ readonly properties: import("zod/v4").ZodObject<{
683
+ source: import("zod/v4").ZodEnum<{
684
+ button: "button";
685
+ card: "card";
686
+ dropdown: "dropdown";
687
+ }>;
688
+ agent_id: import("zod/v4").ZodString;
689
+ session_id: import("zod/v4").ZodString;
690
+ }, import("zod/v4/core").$strip>;
691
+ } & import("./define").TelemetryEventInput & {
692
+ readonly getValidationError: (properties: unknown) => string | null;
693
+ };
694
+ readonly USER_SUBMITTED_MESSAGE_TO_AGENT: {
695
+ readonly name: "User submitted message to agent";
696
+ readonly description: "The user sent a test-mode chat message to an agent, with a fingerprint of the agent config at send time.";
697
+ readonly properties: import("zod/v4").ZodObject<{
698
+ agent_id: import("zod/v4").ZodString;
699
+ mode: import("zod/v4").ZodLiteral<"test">;
700
+ status: import("zod/v4").ZodEnum<{
701
+ draft: "draft";
702
+ production: "production";
703
+ }>;
704
+ agent_config: import("zod/v4").ZodObject<{
705
+ instructions: import("zod/v4").ZodString;
706
+ tools: import("zod/v4").ZodArray<import("zod/v4").ZodString>;
707
+ skills: import("zod/v4").ZodArray<import("zod/v4").ZodString>;
708
+ tasks: import("zod/v4").ZodArray<import("zod/v4").ZodString>;
709
+ triggers: import("zod/v4").ZodArray<import("zod/v4").ZodString>;
710
+ vector_stores: import("zod/v4").ZodArray<import("zod/v4").ZodString>;
711
+ memory: import("zod/v4").ZodNullable<import("zod/v4").ZodObject<{
712
+ enabled: import("zod/v4").ZodBoolean;
713
+ storage: import("zod/v4").ZodLiteral<"n8n">;
714
+ }, import("zod/v4/core").$strip>>;
715
+ model: import("zod/v4").ZodNullable<import("zod/v4").ZodString>;
716
+ config_version: import("zod/v4").ZodString;
717
+ }, import("zod/v4/core").$strip>;
718
+ session_id: import("zod/v4").ZodString;
719
+ }, import("zod/v4/core").$strip>;
720
+ } & import("./define").TelemetryEventInput & {
721
+ readonly getValidationError: (properties: unknown) => string | null;
722
+ };
723
+ readonly USER_ADDED_TRIGGER_TO_AGENT: {
724
+ readonly name: "User added trigger to agent";
725
+ readonly description: "The user configured and persisted a chat trigger from the agent builder.";
726
+ readonly properties: import("zod/v4").ZodObject<{
727
+ agent_id: import("zod/v4").ZodString;
728
+ trigger_type: import("zod/v4").ZodString;
729
+ triggers: import("zod/v4").ZodArray<import("zod/v4").ZodString>;
730
+ config_version: import("zod/v4").ZodString;
731
+ status: import("zod/v4").ZodEnum<{
732
+ draft: "draft";
733
+ production: "production";
734
+ }>;
735
+ session_id: import("zod/v4").ZodString;
736
+ }, import("zod/v4/core").$strip>;
737
+ } & import("./define").TelemetryEventInput & {
738
+ readonly getValidationError: (properties: unknown) => string | null;
739
+ };
740
+ readonly USER_OPENED_AGENT_TOOL: {
741
+ readonly name: "User opened agent tool";
742
+ readonly description: "The user opened a tool from the builder capabilities list.";
743
+ readonly properties: import("zod/v4").ZodObject<{
744
+ agent_id: import("zod/v4").ZodString;
745
+ tool_type: import("zod/v4").ZodString;
746
+ session_id: import("zod/v4").ZodString;
747
+ }, import("zod/v4/core").$strip>;
748
+ } & import("./define").TelemetryEventInput & {
749
+ readonly getValidationError: (properties: unknown) => string | null;
750
+ };
751
+ readonly USER_OPENED_AGENT_SKILL: {
752
+ readonly name: "User opened agent skill";
753
+ readonly description: "The user opened a skill from the builder capabilities list.";
754
+ readonly properties: import("zod/v4").ZodObject<{
755
+ agent_id: import("zod/v4").ZodString;
756
+ skill_id: import("zod/v4").ZodString;
757
+ session_id: import("zod/v4").ZodString;
758
+ }, import("zod/v4/core").$strip>;
759
+ } & import("./define").TelemetryEventInput & {
760
+ readonly getValidationError: (properties: unknown) => string | null;
761
+ };
762
+ readonly USER_OPENED_ADD_SKILL_MODAL: {
763
+ readonly name: "User opened add skill modal";
764
+ readonly description: "The user opened the add-skill modal in the builder.";
765
+ readonly properties: import("zod/v4").ZodObject<{
766
+ agent_id: import("zod/v4").ZodString;
767
+ session_id: import("zod/v4").ZodString;
768
+ }, import("zod/v4/core").$strip>;
769
+ } & import("./define").TelemetryEventInput & {
770
+ readonly getValidationError: (properties: unknown) => string | null;
771
+ };
772
+ readonly USER_IMPORTED_AGENT_SKILL: {
773
+ readonly name: "User imported agent skill";
774
+ readonly description: "The user imported a skill into an agent from a skill file or folder, with success or error outcome.";
775
+ readonly properties: import("zod/v4").ZodObject<{
776
+ agent_id: import("zod/v4").ZodString;
777
+ source: import("zod/v4").ZodEnum<{
778
+ folder: "folder";
779
+ skill_file: "skill_file";
780
+ }>;
781
+ status: import("zod/v4").ZodEnum<{
782
+ error: "error";
783
+ success: "success";
784
+ }>;
785
+ reference_count: import("zod/v4").ZodNumber;
786
+ error: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
787
+ session_id: import("zod/v4").ZodString;
788
+ }, import("zod/v4/core").$strip>;
789
+ } & import("./define").TelemetryEventInput & {
790
+ readonly getValidationError: (properties: unknown) => string | null;
791
+ };
792
+ readonly USER_STARTED_ADDING_AGENT_TOOL: {
793
+ readonly name: "User started adding agent tool";
794
+ readonly description: "The user clicked Connect on an available row in the tools modal, starting a new tool flow.";
795
+ readonly properties: import("zod/v4").ZodObject<{
796
+ tool_type: import("zod/v4").ZodEnum<{
797
+ custom: "custom";
798
+ node: "node";
799
+ workflow: "workflow";
800
+ }>;
801
+ source: import("zod/v4").ZodLiteral<"manual">;
802
+ agent_id: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
803
+ }, import("zod/v4/core").$strip>;
804
+ } & import("./define").TelemetryEventInput & {
805
+ readonly getValidationError: (properties: unknown) => string | null;
806
+ };
807
+ readonly USER_EDITED_AGENT_TOOL: {
808
+ readonly name: "User edited agent tool";
809
+ readonly description: "An existing agent tool's configuration was saved from the tools modal.";
810
+ readonly properties: import("zod/v4").ZodObject<{
811
+ node_type: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
812
+ workflow: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
813
+ custom_id: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
814
+ server_name: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
815
+ tool_type: import("zod/v4").ZodEnum<{
816
+ custom: "custom";
817
+ node: "node";
818
+ workflow: "workflow";
819
+ }>;
820
+ agent_id: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
821
+ }, import("zod/v4/core").$strip>;
822
+ } & import("./define").TelemetryEventInput & {
823
+ readonly getValidationError: (properties: unknown) => string | null;
824
+ };
825
+ readonly USER_OPENED_AGENT_PREVIEW: {
826
+ readonly name: "User opened agent preview";
827
+ readonly description: "The user opened the agent preview panel in the builder.";
828
+ readonly properties: import("zod/v4").ZodObject<{
829
+ agent_id: import("zod/v4").ZodString;
830
+ }, import("zod/v4/core").$strip>;
831
+ } & import("./define").TelemetryEventInput & {
832
+ readonly getValidationError: (properties: unknown) => string | null;
833
+ };
834
+ readonly USER_SAVED_AGENT_SKILL: {
835
+ readonly name: "User saved agent skill";
836
+ readonly description: "An agent skill autosave completed in the builder.";
837
+ readonly properties: import("zod/v4").ZodObject<{
838
+ agent_id: import("zod/v4").ZodString;
839
+ skill_id: import("zod/v4").ZodString;
840
+ }, import("zod/v4/core").$strip>;
841
+ } & import("./define").TelemetryEventInput & {
842
+ readonly getValidationError: (properties: unknown) => string | null;
843
+ };
844
+ };
14
845
  };