@n8n/telemetry 1.1.1 → 1.2.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.
@@ -3,9 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.AGENTS_TELEMETRY = void 0;
4
4
  const v4_1 = require("zod/v4");
5
5
  const define_1 = require("../define");
6
- const agentPublishSource = v4_1.z
7
- .enum(['editor', 'builder', 'channel_connect', 'slack_setup'])
8
- .describe('Which surface triggered the publish');
9
6
  const builderSessionIdentity = {
10
7
  agent_id: v4_1.z.string(),
11
8
  user_id: v4_1.z.string(),
@@ -13,7 +10,24 @@ const builderSessionIdentity = {
13
10
  run_id: v4_1.z.string().optional().describe('Instance AI run that triggered this builder call'),
14
11
  };
15
12
  const agentStatus = v4_1.z.enum(['draft', 'production']);
16
- const builderPreWriteStatus = agentStatus.describe("Agent status before the builder's write (frontend twin events report post-save status, effectively always 'draft')");
13
+ const agentRunType = v4_1.z
14
+ .enum(['test', 'production'])
15
+ .describe('production means the run executed the published snapshot; test means it ran a draft');
16
+ const agentConfigurationTelemetry = {
17
+ model: v4_1.z.string().nullable(),
18
+ channels: v4_1.z.array(v4_1.z.string()),
19
+ tool_types: v4_1.z.array(v4_1.z.string()),
20
+ tool_count: v4_1.z.number(),
21
+ num_skills: v4_1.z.number(),
22
+ memory_type: v4_1.z.enum([
23
+ 'none',
24
+ 'n8n',
25
+ 'n8n_observational',
26
+ 'n8n_episodic',
27
+ 'n8n_observational_episodic',
28
+ ]),
29
+ };
30
+ const builderPreWriteStatus = agentStatus.describe("Agent status before the builder's write");
17
31
  const sessionId = v4_1.z.string().describe('Editor push session id (pushRef)');
18
32
  const agentConfigFingerprint = v4_1.z.object({
19
33
  instructions: v4_1.z.string(),
@@ -33,74 +47,280 @@ const toolIdentity = {
33
47
  server_name: v4_1.z.string().optional(),
34
48
  };
35
49
  const optionalAgentId = v4_1.z.string().optional();
50
+ const agentCapabilityKind = v4_1.z.enum([
51
+ 'channel',
52
+ 'tool',
53
+ 'mcpServer',
54
+ 'skill',
55
+ 'task',
56
+ 'subAgent',
57
+ 'vectorStore',
58
+ ]);
59
+ const agentConfigPart = v4_1.z.enum([
60
+ 'instructions',
61
+ 'model',
62
+ 'credential',
63
+ 'memory',
64
+ 'name',
65
+ 'config',
66
+ 'tools',
67
+ 'providerTools',
68
+ 'skills',
69
+ 'tasks',
70
+ 'triggers',
71
+ 'subAgents',
72
+ 'mcpServers',
73
+ 'vectorStores',
74
+ ]);
75
+ const agentActorIdentity = {
76
+ agent_id: v4_1.z.string(),
77
+ project_id: v4_1.z.string(),
78
+ user_id: v4_1.z.string().describe('The acting user, on every surface including MCP'),
79
+ };
80
+ const agentCapabilityProfile = {
81
+ capability_kinds: v4_1.z.array(agentCapabilityKind),
82
+ capability_count: v4_1.z.number(),
83
+ tool_count: v4_1.z.number(),
84
+ skill_count: v4_1.z.number(),
85
+ sub_agent_count: v4_1.z.number(),
86
+ mcp_server_count: v4_1.z.number(),
87
+ vector_store_count: v4_1.z.number(),
88
+ task_count: v4_1.z.number(),
89
+ trigger_count: v4_1.z.number(),
90
+ model: v4_1.z.string().nullable(),
91
+ tool_types: v4_1.z.array(v4_1.z.string()).describe('Tool types, never user-authored tool names'),
92
+ };
93
+ const agentWrite = {
94
+ ...agentActorIdentity,
95
+ ...agentCapabilityProfile,
96
+ changed_parts: v4_1.z
97
+ .array(agentConfigPart)
98
+ .describe('Config parts this save actually changed. "credential" is the model credential, which the retired "User edited agent config" reported as part "model". "config" is the feature block: web search and prompt caching. "providerTools" is the provider-native tools map, including web-search tool settings reconciled from config.webSearch.'),
99
+ has_published_version: v4_1.z
100
+ .boolean()
101
+ .describe('Whether a live published version exists; stable across an editing session. Always false on the creation events, which is what makes the six safe to union.'),
102
+ };
103
+ const agentPublishTrigger = v4_1.z
104
+ .enum(['explicit', 'republish', 'channel_connect', 'slack_setup'])
105
+ .describe('What caused the publish, as opposed to who performed it. channel_connect and slack_setup are historical values only.');
106
+ const agentPublish = {
107
+ ...agentActorIdentity,
108
+ ...agentCapabilityProfile,
109
+ trigger: agentPublishTrigger,
110
+ version_id: v4_1.z.string().describe('AgentHistory versionId that became active'),
111
+ };
36
112
  exports.AGENTS_TELEMETRY = (0, define_1.defineTelemetryEvents)({
37
- AGENT_PUBLISHED: {
38
- name: 'Agent published',
39
- description: 'An agent version became the active published version, from any surface (editor Publish button, builder publish_agent tool, chat-channel connect auto-publish, or Slack app setup auto-publish). Does not fire for idempotent no-op publishes.',
113
+ AGENT_SETUP_COMPLETED: {
114
+ name: 'Agent setup completed',
115
+ 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.',
40
116
  properties: v4_1.z.object({
41
117
  agent_id: v4_1.z.string(),
42
118
  project_id: v4_1.z.string(),
43
- user_id: v4_1.z.string(),
44
- source: agentPublishSource,
45
- version_id: v4_1.z.string().describe('AgentHistory versionId that became active'),
119
+ user_id: v4_1.z
120
+ .string()
121
+ .optional()
122
+ .describe('Absent for builder writes made without an acting user'),
123
+ capability_kinds: v4_1.z
124
+ .array(agentCapabilityKind)
125
+ .describe('Capability kinds with at least one configured entry'),
126
+ capability_count: v4_1.z.number().describe('Total configured capabilities across all kinds'),
127
+ tool_count: v4_1.z.number(),
128
+ skill_count: v4_1.z.number(),
129
+ sub_agent_count: v4_1.z.number(),
130
+ mcp_server_count: v4_1.z.number().describe('MCP servers with a URL set'),
131
+ vector_store_count: v4_1.z.number(),
132
+ task_count: v4_1.z.number(),
133
+ trigger_count: v4_1.z.number().describe('Configured chat integrations; draft channels excluded'),
134
+ status: agentStatus,
46
135
  }),
47
136
  },
48
- AGENT_UNPUBLISHED: {
49
- name: 'Agent unpublished',
50
- description: 'An agent was unpublished, clearing its active version, from either the editor Unpublish button or the builder unpublish_agent tool.',
137
+ AGENT_EXECUTION_COUNT: {
138
+ name: 'Agent execution count',
139
+ 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).',
51
140
  properties: v4_1.z.object({
141
+ event_version: v4_1.z.literal('2'),
52
142
  agent_id: v4_1.z.string(),
53
- project_id: v4_1.z.string(),
54
- user_id: v4_1.z.string(),
55
- source: v4_1.z.enum(['editor', 'builder']),
143
+ user_id: v4_1.z
144
+ .string()
145
+ .optional()
146
+ .describe('Present only for runs with an n8n user — absent for chat integrations and cron'),
147
+ run_type: agentRunType,
148
+ message_count: v4_1.z
149
+ .number()
150
+ .describe('Fresh top-level user turns; delegated child runs excluded'),
151
+ token_count: v4_1.z
152
+ .number()
153
+ .describe('Includes LLM calls belonging to no turn (title generation, memory, embeddings), so runs higher than "Agent session metrics".token_count_sum'),
154
+ tool_call_count: v4_1.z.number(),
155
+ }),
156
+ },
157
+ AGENT_SESSION_METRICS: {
158
+ name: 'Agent session metrics',
159
+ 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.',
160
+ properties: v4_1.z.object({
161
+ event_version: v4_1.z.literal('1'),
162
+ agent_id: v4_1.z.string(),
163
+ agent_type: v4_1.z.literal('inline').optional(),
164
+ run_type: agentRunType,
165
+ turn_status: v4_1.z.enum(['succeeded', 'failed']),
166
+ session_count: v4_1.z.number(),
167
+ turn_count: v4_1.z.number(),
168
+ latency_ms_sum: v4_1.z.number(),
169
+ cost_sum: v4_1.z.number(),
170
+ token_count_sum: v4_1.z
171
+ .number()
172
+ .describe('Recorded-turn tokens only; reconciles with cost_sum, unlike token_count'),
173
+ tool_call_count_sum: v4_1.z.number(),
174
+ num_skills_sum: v4_1.z.number(),
175
+ ...agentConfigurationTelemetry,
56
176
  }),
57
177
  },
58
- BUILDER_ADDED_TOOLS: {
59
- name: 'Builder added tools to agent',
60
- description: 'The Instance AI builder saved an agent config that added a tool, mirroring the frontend "User added tools to agent" event so both sources can be aggregated together.',
178
+ BUILDER_CREATED_AGENT: {
179
+ name: 'Builder created agent',
180
+ 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.',
61
181
  properties: v4_1.z.object({
62
- ...builderSessionIdentity,
63
- tool_added: v4_1.z.string().describe('Identifier of the newly added tool'),
64
- tools: v4_1.z.array(v4_1.z.string()).describe('Full tool identifier list after the save'),
65
- status: builderPreWriteStatus,
182
+ ...agentWrite,
183
+ event_version: v4_1.z.literal('2'),
66
184
  }),
67
185
  },
68
- BUILDER_ADDED_SKILLS: {
69
- name: 'Builder added skills to agent',
70
- description: 'The Instance AI builder saved an agent config that added a skill, mirroring the frontend "User added skills to agent" event.',
186
+ USER_CREATED_AGENT: {
187
+ name: 'User created agent',
188
+ 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.',
71
189
  properties: v4_1.z.object({
72
- ...builderSessionIdentity,
73
- skill_added: v4_1.z.string().describe('Identifier of the newly added skill'),
74
- skills: v4_1.z.array(v4_1.z.string()).describe('Full skill identifier list after the save'),
75
- status: builderPreWriteStatus,
190
+ ...agentWrite,
191
+ event_version: v4_1.z.literal('2'),
76
192
  }),
77
193
  },
78
- BUILDER_ADDED_TASKS: {
79
- name: 'Builder added tasks to agent',
80
- description: 'The Instance AI builder saved an agent config that added a scheduled task, mirroring the frontend "User added tasks to agent" event.',
194
+ MCP_CREATED_AGENT: {
195
+ name: 'MCP created agent',
196
+ 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.',
81
197
  properties: v4_1.z.object({
82
- ...builderSessionIdentity,
83
- task_added: v4_1.z.string().describe('Identifier of the newly added task'),
84
- tasks: v4_1.z.array(v4_1.z.string()).describe('Full task identifier list after the save'),
85
- status: builderPreWriteStatus,
198
+ ...agentWrite,
199
+ event_version: v4_1.z.literal('1'),
200
+ }),
201
+ },
202
+ USER_MODIFIED_AGENT: {
203
+ name: 'User modified agent',
204
+ 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.',
205
+ properties: v4_1.z.object({
206
+ ...agentWrite,
207
+ event_version: v4_1.z.literal('1'),
208
+ }),
209
+ },
210
+ BUILDER_MODIFIED_AGENT: {
211
+ name: 'Builder modified agent',
212
+ 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.',
213
+ properties: v4_1.z.object({
214
+ ...agentWrite,
215
+ event_version: v4_1.z.literal('1'),
216
+ }),
217
+ },
218
+ MCP_MODIFIED_AGENT: {
219
+ name: 'MCP modified agent',
220
+ 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.',
221
+ properties: v4_1.z.object({
222
+ ...agentWrite,
223
+ event_version: v4_1.z.literal('1'),
224
+ }),
225
+ },
226
+ USER_PUBLISHED_AGENT: {
227
+ name: 'User published agent',
228
+ 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.',
229
+ properties: v4_1.z.object({
230
+ ...agentPublish,
231
+ event_version: v4_1.z.literal('2'),
232
+ }),
233
+ },
234
+ BUILDER_PUBLISHED_AGENT: {
235
+ name: 'Builder published agent',
236
+ 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.',
237
+ properties: v4_1.z.object({
238
+ ...agentPublish,
239
+ event_version: v4_1.z.literal('1'),
240
+ }),
241
+ },
242
+ MCP_PUBLISHED_AGENT: {
243
+ name: 'MCP published agent',
244
+ 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.',
245
+ properties: v4_1.z.object({
246
+ ...agentPublish,
247
+ event_version: v4_1.z.literal('1'),
248
+ }),
249
+ },
250
+ USER_UNPUBLISHED_AGENT: {
251
+ name: 'User unpublished agent',
252
+ 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.',
253
+ properties: v4_1.z.object({
254
+ ...agentActorIdentity,
255
+ event_version: v4_1.z.literal('2'),
86
256
  }),
87
257
  },
88
- BUILDER_REMOVED_TASKS: {
89
- name: 'Builder removed tasks from agent',
90
- description: 'The Instance AI builder saved an agent config that removed a scheduled task, mirroring the frontend "User removed tasks from agent" event.',
258
+ BUILDER_UNPUBLISHED_AGENT: {
259
+ name: 'Builder unpublished agent',
260
+ 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`.',
261
+ properties: v4_1.z.object({
262
+ ...agentActorIdentity,
263
+ event_version: v4_1.z.literal('1'),
264
+ }),
265
+ },
266
+ MCP_UNPUBLISHED_AGENT: {
267
+ name: 'MCP unpublished agent',
268
+ 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.',
269
+ properties: v4_1.z.object({
270
+ ...agentActorIdentity,
271
+ event_version: v4_1.z.literal('1'),
272
+ }),
273
+ },
274
+ INSTANCE_AI_OPENED_FROM_AGENT_PREVIEW: {
275
+ name: 'Instance AI opened from agent preview',
276
+ description: 'The user handed a preview chat session off to Instance AI from the agent builder preview panel.',
277
+ properties: v4_1.z.object({
278
+ agent_id: v4_1.z.string(),
279
+ preview_thread_id: v4_1.z.string(),
280
+ preview_execution_id: v4_1.z.string().optional(),
281
+ }),
282
+ },
283
+ USER_GAVE_MCP_ACCESS_TO_AGENT: {
284
+ name: 'User gave MCP access to agent',
285
+ description: 'An agent was exposed over MCP. The sibling "User gave MCP access to workflow" and "User toggled MCP access" events are not registered.',
286
+ properties: v4_1.z.object({
287
+ agent_id: v4_1.z.string(),
288
+ }),
289
+ },
290
+ USER_SELECTED_AGENTS_FOR_MCP: {
291
+ name: 'User selected agent from list',
292
+ description: 'The user confirmed a bulk agent selection in the MCP connect-agents dialog. Property is camelCase for warehouse continuity with existing rows.',
293
+ properties: v4_1.z.object({
294
+ agentIds: v4_1.z.array(v4_1.z.string()),
295
+ count: v4_1.z.number(),
296
+ }),
297
+ },
298
+ USER_DISMISSED_MCP_AGENTS_DIALOG: {
299
+ name: 'User dismissed mcp agents dialog',
300
+ description: 'The user closed the MCP connect-agents dialog without confirming a selection.',
301
+ properties: v4_1.z.object({}),
302
+ },
303
+ USER_CLICKED_CONNECT_AGENTS_FROM_MCP_SETTINGS: {
304
+ name: 'User clicked connect agents from mcp settings',
305
+ description: 'The user opened the MCP connect-agents dialog from the MCP settings page.',
306
+ properties: v4_1.z.object({}),
307
+ },
308
+ BUILDER_ADDED_TASKS: {
309
+ name: 'Builder added tasks to agent',
310
+ 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.',
91
311
  properties: v4_1.z.object({
92
312
  ...builderSessionIdentity,
93
- task_removed: v4_1.z.string().describe('Identifier of the removed task'),
313
+ task_added: v4_1.z.string().describe('Identifier of the newly added task'),
94
314
  tasks: v4_1.z.array(v4_1.z.string()).describe('Full task identifier list after the save'),
95
315
  status: builderPreWriteStatus,
96
316
  }),
97
317
  },
98
318
  BUILDER_ADDED_TRIGGER: {
99
319
  name: 'Builder added trigger to agent',
100
- description: 'The Instance AI builder connected a chat channel to the target agent via the configure_channel tool, mirroring the frontend "User added trigger to agent" event.',
320
+ 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.',
101
321
  properties: v4_1.z.object({
102
322
  ...builderSessionIdentity,
103
- trigger_type: v4_1.z.string().describe('Chat integration type that was connected'),
323
+ trigger_type: v4_1.z.string().describe('Chat integration type that was configured and persisted'),
104
324
  }),
105
325
  },
106
326
  BUILDER_ASKED_QUESTIONS: {
@@ -141,20 +361,13 @@ exports.AGENTS_TELEMETRY = (0, define_1.defineTelemetryEvents)({
141
361
  },
142
362
  USER_CLICKED_NEW_AGENT: {
143
363
  name: 'User clicked new agent',
144
- description: 'The user clicked a new-agent entry point (button, dropdown, or card).',
364
+ 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.',
145
365
  properties: v4_1.z.object({
146
366
  source: v4_1.z.enum(['button', 'dropdown', 'card']),
367
+ agent_id: v4_1.z.string().describe('Minted at the click; no agent row exists yet'),
147
368
  session_id: sessionId,
148
369
  }),
149
370
  },
150
- USER_CREATED_AGENT: {
151
- name: 'User created agent',
152
- description: 'A draft agent was created, from the blank new-agent page or inline from a workflow surface (source carries the entry point).',
153
- properties: v4_1.z.object({
154
- agent_id: v4_1.z.string(),
155
- source: v4_1.z.string(),
156
- }),
157
- },
158
371
  USER_SUBMITTED_MESSAGE_TO_AGENT: {
159
372
  name: 'User submitted message to agent',
160
373
  description: 'The user sent a test-mode chat message to an agent, with a fingerprint of the agent config at send time.',
@@ -166,107 +379,18 @@ exports.AGENTS_TELEMETRY = (0, define_1.defineTelemetryEvents)({
166
379
  session_id: sessionId,
167
380
  }),
168
381
  },
169
- USER_EDITED_AGENT_CONFIG: {
170
- name: 'User edited agent config',
171
- description: 'A builder autosave persisted a config edit; one event fires per changed part.',
172
- properties: v4_1.z.object({
173
- agent_id: v4_1.z.string(),
174
- part: v4_1.z.enum([
175
- 'instructions',
176
- 'model',
177
- 'memory',
178
- 'tools',
179
- 'skills',
180
- 'triggers',
181
- 'subAgents',
182
- 'name',
183
- 'description',
184
- 'vectorStores',
185
- ]),
186
- config_version: v4_1.z.string(),
187
- status: agentStatus,
188
- session_id: sessionId,
189
- }),
190
- },
191
382
  USER_ADDED_TRIGGER_TO_AGENT: {
192
383
  name: 'User added trigger to agent',
193
- description: 'The user connected a chat trigger to an agent from the builder.',
384
+ description: 'The user configured and persisted a chat trigger from the agent builder.',
194
385
  properties: v4_1.z.object({
195
386
  agent_id: v4_1.z.string(),
196
387
  trigger_type: v4_1.z.string(),
197
- triggers: v4_1.z.array(v4_1.z.string()).describe('Connected trigger types after the change'),
388
+ triggers: v4_1.z.array(v4_1.z.string()).describe('Configured trigger types after the change'),
198
389
  config_version: v4_1.z.string(),
199
390
  status: agentStatus,
200
391
  session_id: sessionId,
201
392
  }),
202
393
  },
203
- USER_ADDED_TOOLS_TO_AGENT: {
204
- name: 'User added tools to agent',
205
- description: 'A saved builder config added a tool; one event fires per newly added tool. Twin of the backend "Builder added tools to agent" event.',
206
- properties: v4_1.z.object({
207
- agent_id: v4_1.z.string(),
208
- tool_added: v4_1.z.string().describe('Identifier of the newly added tool'),
209
- tools: v4_1.z.array(v4_1.z.string()).describe('Full tool identifier list after the save'),
210
- config_version: v4_1.z.string(),
211
- status: agentStatus,
212
- session_id: sessionId,
213
- }),
214
- },
215
- USER_ADDED_SKILLS_TO_AGENT: {
216
- name: 'User added skills to agent',
217
- description: 'A saved builder config added a skill; one event fires per newly added skill. Twin of the backend "Builder added skills to agent" event.',
218
- properties: v4_1.z.object({
219
- agent_id: v4_1.z.string(),
220
- skill_added: v4_1.z.string().describe('Identifier of the newly added skill'),
221
- skills: v4_1.z.array(v4_1.z.string()).describe('Full skill identifier list after the save'),
222
- config_version: v4_1.z.string(),
223
- status: agentStatus,
224
- session_id: sessionId,
225
- }),
226
- },
227
- USER_ADDED_TASKS_TO_AGENT: {
228
- name: 'User added tasks to agent',
229
- description: 'A saved builder config added a scheduled task; one event fires per newly added task. Twin of the backend "Builder added tasks to agent" event.',
230
- properties: v4_1.z.object({
231
- agent_id: v4_1.z.string(),
232
- task_added: v4_1.z.string().describe('Identifier of the newly added task'),
233
- tasks: v4_1.z.array(v4_1.z.string()).describe('Full task identifier list after the save'),
234
- config_version: v4_1.z.string(),
235
- status: agentStatus,
236
- session_id: sessionId,
237
- }),
238
- },
239
- USER_REMOVED_TASKS_FROM_AGENT: {
240
- name: 'User removed tasks from agent',
241
- description: 'A saved builder config removed a scheduled task; one event fires per removed task. Twin of the backend "Builder removed tasks from agent" event.',
242
- properties: v4_1.z.object({
243
- agent_id: v4_1.z.string(),
244
- task_removed: v4_1.z.string().describe('Identifier of the removed task'),
245
- tasks: v4_1.z.array(v4_1.z.string()).describe('Full task identifier list after the save'),
246
- config_version: v4_1.z.string(),
247
- status: agentStatus,
248
- session_id: sessionId,
249
- }),
250
- },
251
- USER_PUBLISHED_AGENT: {
252
- name: 'User published agent',
253
- description: 'The user published an agent from the builder.',
254
- properties: v4_1.z.object({
255
- agent_id: v4_1.z.string(),
256
- config_version: v4_1.z.string(),
257
- status: v4_1.z.literal('production'),
258
- session_id: sessionId,
259
- }),
260
- },
261
- USER_UNPUBLISHED_AGENT: {
262
- name: 'User unpublished agent',
263
- description: 'The user unpublished an agent from the builder.',
264
- properties: v4_1.z.object({
265
- agent_id: v4_1.z.string(),
266
- status: v4_1.z.literal('draft'),
267
- session_id: sessionId,
268
- }),
269
- },
270
394
  USER_OPENED_AGENT_TOOL: {
271
395
  name: 'User opened agent tool',
272
396
  description: 'The user opened a tool from the builder capabilities list.',
@@ -314,17 +438,6 @@ exports.AGENTS_TELEMETRY = (0, define_1.defineTelemetryEvents)({
314
438
  agent_id: optionalAgentId,
315
439
  }),
316
440
  },
317
- USER_ADDED_AGENT_TOOL: {
318
- name: 'User added agent tool',
319
- description: 'A new tool ref or MCP server was saved to an agent for the first time from the tools modal.',
320
- properties: v4_1.z.object({
321
- tool_type: v4_1.z.enum(['custom', 'workflow', 'node', 'mcpServer']),
322
- has_approval: v4_1.z.boolean(),
323
- ...toolIdentity,
324
- authentication: v4_1.z.string().optional().describe('MCP server auth method'),
325
- agent_id: optionalAgentId,
326
- }),
327
- },
328
441
  USER_EDITED_AGENT_TOOL: {
329
442
  name: 'User edited agent tool',
330
443
  description: "An existing agent tool's configuration was saved from the tools modal.",
@@ -334,15 +447,6 @@ exports.AGENTS_TELEMETRY = (0, define_1.defineTelemetryEvents)({
334
447
  agent_id: optionalAgentId,
335
448
  }),
336
449
  },
337
- USER_REMOVED_AGENT_TOOL: {
338
- name: 'User removed agent tool',
339
- description: 'The user confirmed removing a tool or MCP server from an agent (tools modal or sidebar).',
340
- properties: v4_1.z.object({
341
- tool_type: v4_1.z.enum(['custom', 'workflow', 'node', 'mcpServer']),
342
- ...toolIdentity,
343
- agent_id: optionalAgentId,
344
- }),
345
- },
346
450
  USER_OPENED_AGENT_PREVIEW: {
347
451
  name: 'User opened agent preview',
348
452
  description: 'The user opened the agent pre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