@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.
- package/dist/build.tsbuildinfo +1 -1
- package/dist/events/agents.d.ts +535 -219
- package/dist/events/agents.js +267 -163
- package/dist/events/agents.js.map +1 -1
- package/dist/telemetry-events.d.ts +535 -219
- package/package.json +4 -4
|
@@ -28,102 +28,585 @@ export declare const TELEMETRY_EVENT: {
|
|
|
28
28
|
};
|
|
29
29
|
};
|
|
30
30
|
AGENTS: {
|
|
31
|
-
readonly
|
|
32
|
-
readonly name: "Agent
|
|
33
|
-
readonly description: "
|
|
31
|
+
readonly AGENT_SETUP_COMPLETED: {
|
|
32
|
+
readonly name: "Agent setup completed";
|
|
33
|
+
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.";
|
|
34
|
+
readonly properties: import("zod/v4").ZodObject<{
|
|
35
|
+
agent_id: import("zod/v4").ZodString;
|
|
36
|
+
project_id: import("zod/v4").ZodString;
|
|
37
|
+
user_id: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
|
|
38
|
+
capability_kinds: import("zod/v4").ZodArray<import("zod/v4").ZodEnum<{
|
|
39
|
+
channel: "channel";
|
|
40
|
+
mcpServer: "mcpServer";
|
|
41
|
+
skill: "skill";
|
|
42
|
+
subAgent: "subAgent";
|
|
43
|
+
task: "task";
|
|
44
|
+
tool: "tool";
|
|
45
|
+
vectorStore: "vectorStore";
|
|
46
|
+
}>>;
|
|
47
|
+
capability_count: import("zod/v4").ZodNumber;
|
|
48
|
+
tool_count: import("zod/v4").ZodNumber;
|
|
49
|
+
skill_count: import("zod/v4").ZodNumber;
|
|
50
|
+
sub_agent_count: import("zod/v4").ZodNumber;
|
|
51
|
+
mcp_server_count: import("zod/v4").ZodNumber;
|
|
52
|
+
vector_store_count: import("zod/v4").ZodNumber;
|
|
53
|
+
task_count: import("zod/v4").ZodNumber;
|
|
54
|
+
trigger_count: import("zod/v4").ZodNumber;
|
|
55
|
+
status: import("zod/v4").ZodEnum<{
|
|
56
|
+
draft: "draft";
|
|
57
|
+
production: "production";
|
|
58
|
+
}>;
|
|
59
|
+
}, import("zod/v4/core").$strip>;
|
|
60
|
+
} & import("./define").TelemetryEventInput & {
|
|
61
|
+
readonly getValidationError: (properties: unknown) => string | null;
|
|
62
|
+
};
|
|
63
|
+
readonly AGENT_EXECUTION_COUNT: {
|
|
64
|
+
readonly name: "Agent execution count";
|
|
65
|
+
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).";
|
|
66
|
+
readonly properties: import("zod/v4").ZodObject<{
|
|
67
|
+
event_version: import("zod/v4").ZodLiteral<"2">;
|
|
68
|
+
agent_id: import("zod/v4").ZodString;
|
|
69
|
+
user_id: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
|
|
70
|
+
run_type: import("zod/v4").ZodEnum<{
|
|
71
|
+
production: "production";
|
|
72
|
+
test: "test";
|
|
73
|
+
}>;
|
|
74
|
+
message_count: import("zod/v4").ZodNumber;
|
|
75
|
+
token_count: import("zod/v4").ZodNumber;
|
|
76
|
+
tool_call_count: import("zod/v4").ZodNumber;
|
|
77
|
+
}, import("zod/v4/core").$strip>;
|
|
78
|
+
} & import("./define").TelemetryEventInput & {
|
|
79
|
+
readonly getValidationError: (properties: unknown) => string | null;
|
|
80
|
+
};
|
|
81
|
+
readonly AGENT_SESSION_METRICS: {
|
|
82
|
+
readonly name: "Agent session metrics";
|
|
83
|
+
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.";
|
|
84
|
+
readonly properties: import("zod/v4").ZodObject<{
|
|
85
|
+
model: import("zod/v4").ZodNullable<import("zod/v4").ZodString>;
|
|
86
|
+
channels: import("zod/v4").ZodArray<import("zod/v4").ZodString>;
|
|
87
|
+
tool_types: import("zod/v4").ZodArray<import("zod/v4").ZodString>;
|
|
88
|
+
tool_count: import("zod/v4").ZodNumber;
|
|
89
|
+
num_skills: import("zod/v4").ZodNumber;
|
|
90
|
+
memory_type: import("zod/v4").ZodEnum<{
|
|
91
|
+
n8n: "n8n";
|
|
92
|
+
n8n_episodic: "n8n_episodic";
|
|
93
|
+
n8n_observational: "n8n_observational";
|
|
94
|
+
n8n_observational_episodic: "n8n_observational_episodic";
|
|
95
|
+
none: "none";
|
|
96
|
+
}>;
|
|
97
|
+
event_version: import("zod/v4").ZodLiteral<"1">;
|
|
98
|
+
agent_id: import("zod/v4").ZodString;
|
|
99
|
+
agent_type: import("zod/v4").ZodOptional<import("zod/v4").ZodLiteral<"inline">>;
|
|
100
|
+
run_type: import("zod/v4").ZodEnum<{
|
|
101
|
+
production: "production";
|
|
102
|
+
test: "test";
|
|
103
|
+
}>;
|
|
104
|
+
turn_status: import("zod/v4").ZodEnum<{
|
|
105
|
+
failed: "failed";
|
|
106
|
+
succeeded: "succeeded";
|
|
107
|
+
}>;
|
|
108
|
+
session_count: import("zod/v4").ZodNumber;
|
|
109
|
+
turn_count: import("zod/v4").ZodNumber;
|
|
110
|
+
latency_ms_sum: import("zod/v4").ZodNumber;
|
|
111
|
+
cost_sum: import("zod/v4").ZodNumber;
|
|
112
|
+
token_count_sum: import("zod/v4").ZodNumber;
|
|
113
|
+
tool_call_count_sum: import("zod/v4").ZodNumber;
|
|
114
|
+
num_skills_sum: import("zod/v4").ZodNumber;
|
|
115
|
+
}, import("zod/v4/core").$strip>;
|
|
116
|
+
} & import("./define").TelemetryEventInput & {
|
|
117
|
+
readonly getValidationError: (properties: unknown) => string | null;
|
|
118
|
+
};
|
|
119
|
+
readonly BUILDER_CREATED_AGENT: {
|
|
120
|
+
readonly name: "Builder created agent";
|
|
121
|
+
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.";
|
|
34
122
|
readonly properties: import("zod/v4").ZodObject<{
|
|
35
123
|
agent_id: import("zod/v4").ZodString;
|
|
36
124
|
project_id: import("zod/v4").ZodString;
|
|
37
125
|
user_id: import("zod/v4").ZodString;
|
|
38
|
-
|
|
39
|
-
|
|
126
|
+
capability_kinds: import("zod/v4").ZodArray<import("zod/v4").ZodEnum<{
|
|
127
|
+
channel: "channel";
|
|
128
|
+
mcpServer: "mcpServer";
|
|
129
|
+
skill: "skill";
|
|
130
|
+
subAgent: "subAgent";
|
|
131
|
+
task: "task";
|
|
132
|
+
tool: "tool";
|
|
133
|
+
vectorStore: "vectorStore";
|
|
134
|
+
}>>;
|
|
135
|
+
capability_count: import("zod/v4").ZodNumber;
|
|
136
|
+
tool_count: import("zod/v4").ZodNumber;
|
|
137
|
+
skill_count: import("zod/v4").ZodNumber;
|
|
138
|
+
sub_agent_count: import("zod/v4").ZodNumber;
|
|
139
|
+
mcp_server_count: import("zod/v4").ZodNumber;
|
|
140
|
+
vector_store_count: import("zod/v4").ZodNumber;
|
|
141
|
+
task_count: import("zod/v4").ZodNumber;
|
|
142
|
+
trigger_count: import("zod/v4").ZodNumber;
|
|
143
|
+
model: import("zod/v4").ZodNullable<import("zod/v4").ZodString>;
|
|
144
|
+
tool_types: import("zod/v4").ZodArray<import("zod/v4").ZodString>;
|
|
145
|
+
changed_parts: import("zod/v4").ZodArray<import("zod/v4").ZodEnum<{
|
|
146
|
+
config: "config";
|
|
147
|
+
credential: "credential";
|
|
148
|
+
instructions: "instructions";
|
|
149
|
+
mcpServers: "mcpServers";
|
|
150
|
+
memory: "memory";
|
|
151
|
+
model: "model";
|
|
152
|
+
name: "name";
|
|
153
|
+
providerTools: "providerTools";
|
|
154
|
+
skills: "skills";
|
|
155
|
+
subAgents: "subAgents";
|
|
156
|
+
tasks: "tasks";
|
|
157
|
+
tools: "tools";
|
|
158
|
+
triggers: "triggers";
|
|
159
|
+
vectorStores: "vectorStores";
|
|
160
|
+
}>>;
|
|
161
|
+
has_published_version: import("zod/v4").ZodBoolean;
|
|
162
|
+
event_version: import("zod/v4").ZodLiteral<"2">;
|
|
163
|
+
}, import("zod/v4/core").$strip>;
|
|
164
|
+
} & import("./define").TelemetryEventInput & {
|
|
165
|
+
readonly getValidationError: (properties: unknown) => string | null;
|
|
166
|
+
};
|
|
167
|
+
readonly USER_CREATED_AGENT: {
|
|
168
|
+
readonly name: "User created agent";
|
|
169
|
+
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.";
|
|
170
|
+
readonly properties: import("zod/v4").ZodObject<{
|
|
171
|
+
agent_id: import("zod/v4").ZodString;
|
|
172
|
+
project_id: import("zod/v4").ZodString;
|
|
173
|
+
user_id: import("zod/v4").ZodString;
|
|
174
|
+
capability_kinds: import("zod/v4").ZodArray<import("zod/v4").ZodEnum<{
|
|
175
|
+
channel: "channel";
|
|
176
|
+
mcpServer: "mcpServer";
|
|
177
|
+
skill: "skill";
|
|
178
|
+
subAgent: "subAgent";
|
|
179
|
+
task: "task";
|
|
180
|
+
tool: "tool";
|
|
181
|
+
vectorStore: "vectorStore";
|
|
182
|
+
}>>;
|
|
183
|
+
capability_count: import("zod/v4").ZodNumber;
|
|
184
|
+
tool_count: import("zod/v4").ZodNumber;
|
|
185
|
+
skill_count: import("zod/v4").ZodNumber;
|
|
186
|
+
sub_agent_count: import("zod/v4").ZodNumber;
|
|
187
|
+
mcp_server_count: import("zod/v4").ZodNumber;
|
|
188
|
+
vector_store_count: import("zod/v4").ZodNumber;
|
|
189
|
+
task_count: import("zod/v4").ZodNumber;
|
|
190
|
+
trigger_count: import("zod/v4").ZodNumber;
|
|
191
|
+
model: import("zod/v4").ZodNullable<import("zod/v4").ZodString>;
|
|
192
|
+
tool_types: import("zod/v4").ZodArray<import("zod/v4").ZodString>;
|
|
193
|
+
changed_parts: import("zod/v4").ZodArray<import("zod/v4").ZodEnum<{
|
|
194
|
+
config: "config";
|
|
195
|
+
credential: "credential";
|
|
196
|
+
instructions: "instructions";
|
|
197
|
+
mcpServers: "mcpServers";
|
|
198
|
+
memory: "memory";
|
|
199
|
+
model: "model";
|
|
200
|
+
name: "name";
|
|
201
|
+
providerTools: "providerTools";
|
|
202
|
+
skills: "skills";
|
|
203
|
+
subAgents: "subAgents";
|
|
204
|
+
tasks: "tasks";
|
|
205
|
+
tools: "tools";
|
|
206
|
+
triggers: "triggers";
|
|
207
|
+
vectorStores: "vectorStores";
|
|
208
|
+
}>>;
|
|
209
|
+
has_published_version: import("zod/v4").ZodBoolean;
|
|
210
|
+
event_version: import("zod/v4").ZodLiteral<"2">;
|
|
211
|
+
}, import("zod/v4/core").$strip>;
|
|
212
|
+
} & import("./define").TelemetryEventInput & {
|
|
213
|
+
readonly getValidationError: (properties: unknown) => string | null;
|
|
214
|
+
};
|
|
215
|
+
readonly MCP_CREATED_AGENT: {
|
|
216
|
+
readonly name: "MCP created agent";
|
|
217
|
+
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.";
|
|
218
|
+
readonly properties: import("zod/v4").ZodObject<{
|
|
219
|
+
agent_id: import("zod/v4").ZodString;
|
|
220
|
+
project_id: import("zod/v4").ZodString;
|
|
221
|
+
user_id: import("zod/v4").ZodString;
|
|
222
|
+
capability_kinds: import("zod/v4").ZodArray<import("zod/v4").ZodEnum<{
|
|
223
|
+
channel: "channel";
|
|
224
|
+
mcpServer: "mcpServer";
|
|
225
|
+
skill: "skill";
|
|
226
|
+
subAgent: "subAgent";
|
|
227
|
+
task: "task";
|
|
228
|
+
tool: "tool";
|
|
229
|
+
vectorStore: "vectorStore";
|
|
230
|
+
}>>;
|
|
231
|
+
capability_count: import("zod/v4").ZodNumber;
|
|
232
|
+
tool_count: import("zod/v4").ZodNumber;
|
|
233
|
+
skill_count: import("zod/v4").ZodNumber;
|
|
234
|
+
sub_agent_count: import("zod/v4").ZodNumber;
|
|
235
|
+
mcp_server_count: import("zod/v4").ZodNumber;
|
|
236
|
+
vector_store_count: import("zod/v4").ZodNumber;
|
|
237
|
+
task_count: import("zod/v4").ZodNumber;
|
|
238
|
+
trigger_count: import("zod/v4").ZodNumber;
|
|
239
|
+
model: import("zod/v4").ZodNullable<import("zod/v4").ZodString>;
|
|
240
|
+
tool_types: import("zod/v4").ZodArray<import("zod/v4").ZodString>;
|
|
241
|
+
changed_parts: import("zod/v4").ZodArray<import("zod/v4").ZodEnum<{
|
|
242
|
+
config: "config";
|
|
243
|
+
credential: "credential";
|
|
244
|
+
instructions: "instructions";
|
|
245
|
+
mcpServers: "mcpServers";
|
|
246
|
+
memory: "memory";
|
|
247
|
+
model: "model";
|
|
248
|
+
name: "name";
|
|
249
|
+
providerTools: "providerTools";
|
|
250
|
+
skills: "skills";
|
|
251
|
+
subAgents: "subAgents";
|
|
252
|
+
tasks: "tasks";
|
|
253
|
+
tools: "tools";
|
|
254
|
+
triggers: "triggers";
|
|
255
|
+
vectorStores: "vectorStores";
|
|
256
|
+
}>>;
|
|
257
|
+
has_published_version: import("zod/v4").ZodBoolean;
|
|
258
|
+
event_version: import("zod/v4").ZodLiteral<"1">;
|
|
259
|
+
}, import("zod/v4/core").$strip>;
|
|
260
|
+
} & import("./define").TelemetryEventInput & {
|
|
261
|
+
readonly getValidationError: (properties: unknown) => string | null;
|
|
262
|
+
};
|
|
263
|
+
readonly USER_MODIFIED_AGENT: {
|
|
264
|
+
readonly name: "User modified agent";
|
|
265
|
+
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.";
|
|
266
|
+
readonly properties: import("zod/v4").ZodObject<{
|
|
267
|
+
agent_id: import("zod/v4").ZodString;
|
|
268
|
+
project_id: import("zod/v4").ZodString;
|
|
269
|
+
user_id: import("zod/v4").ZodString;
|
|
270
|
+
capability_kinds: import("zod/v4").ZodArray<import("zod/v4").ZodEnum<{
|
|
271
|
+
channel: "channel";
|
|
272
|
+
mcpServer: "mcpServer";
|
|
273
|
+
skill: "skill";
|
|
274
|
+
subAgent: "subAgent";
|
|
275
|
+
task: "task";
|
|
276
|
+
tool: "tool";
|
|
277
|
+
vectorStore: "vectorStore";
|
|
278
|
+
}>>;
|
|
279
|
+
capability_count: import("zod/v4").ZodNumber;
|
|
280
|
+
tool_count: import("zod/v4").ZodNumber;
|
|
281
|
+
skill_count: import("zod/v4").ZodNumber;
|
|
282
|
+
sub_agent_count: import("zod/v4").ZodNumber;
|
|
283
|
+
mcp_server_count: import("zod/v4").ZodNumber;
|
|
284
|
+
vector_store_count: import("zod/v4").ZodNumber;
|
|
285
|
+
task_count: import("zod/v4").ZodNumber;
|
|
286
|
+
trigger_count: import("zod/v4").ZodNumber;
|
|
287
|
+
model: import("zod/v4").ZodNullable<import("zod/v4").ZodString>;
|
|
288
|
+
tool_types: import("zod/v4").ZodArray<import("zod/v4").ZodString>;
|
|
289
|
+
changed_parts: import("zod/v4").ZodArray<import("zod/v4").ZodEnum<{
|
|
290
|
+
config: "config";
|
|
291
|
+
credential: "credential";
|
|
292
|
+
instructions: "instructions";
|
|
293
|
+
mcpServers: "mcpServers";
|
|
294
|
+
memory: "memory";
|
|
295
|
+
model: "model";
|
|
296
|
+
name: "name";
|
|
297
|
+
providerTools: "providerTools";
|
|
298
|
+
skills: "skills";
|
|
299
|
+
subAgents: "subAgents";
|
|
300
|
+
tasks: "tasks";
|
|
301
|
+
tools: "tools";
|
|
302
|
+
triggers: "triggers";
|
|
303
|
+
vectorStores: "vectorStores";
|
|
304
|
+
}>>;
|
|
305
|
+
has_published_version: import("zod/v4").ZodBoolean;
|
|
306
|
+
event_version: import("zod/v4").ZodLiteral<"1">;
|
|
307
|
+
}, import("zod/v4/core").$strip>;
|
|
308
|
+
} & import("./define").TelemetryEventInput & {
|
|
309
|
+
readonly getValidationError: (properties: unknown) => string | null;
|
|
310
|
+
};
|
|
311
|
+
readonly BUILDER_MODIFIED_AGENT: {
|
|
312
|
+
readonly name: "Builder modified agent";
|
|
313
|
+
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.";
|
|
314
|
+
readonly properties: import("zod/v4").ZodObject<{
|
|
315
|
+
agent_id: import("zod/v4").ZodString;
|
|
316
|
+
project_id: import("zod/v4").ZodString;
|
|
317
|
+
user_id: import("zod/v4").ZodString;
|
|
318
|
+
capability_kinds: import("zod/v4").ZodArray<import("zod/v4").ZodEnum<{
|
|
319
|
+
channel: "channel";
|
|
320
|
+
mcpServer: "mcpServer";
|
|
321
|
+
skill: "skill";
|
|
322
|
+
subAgent: "subAgent";
|
|
323
|
+
task: "task";
|
|
324
|
+
tool: "tool";
|
|
325
|
+
vectorStore: "vectorStore";
|
|
326
|
+
}>>;
|
|
327
|
+
capability_count: import("zod/v4").ZodNumber;
|
|
328
|
+
tool_count: import("zod/v4").ZodNumber;
|
|
329
|
+
skill_count: import("zod/v4").ZodNumber;
|
|
330
|
+
sub_agent_count: import("zod/v4").ZodNumber;
|
|
331
|
+
mcp_server_count: import("zod/v4").ZodNumber;
|
|
332
|
+
vector_store_count: import("zod/v4").ZodNumber;
|
|
333
|
+
task_count: import("zod/v4").ZodNumber;
|
|
334
|
+
trigger_count: import("zod/v4").ZodNumber;
|
|
335
|
+
model: import("zod/v4").ZodNullable<import("zod/v4").ZodString>;
|
|
336
|
+
tool_types: import("zod/v4").ZodArray<import("zod/v4").ZodString>;
|
|
337
|
+
changed_parts: import("zod/v4").ZodArray<import("zod/v4").ZodEnum<{
|
|
338
|
+
config: "config";
|
|
339
|
+
credential: "credential";
|
|
340
|
+
instructions: "instructions";
|
|
341
|
+
mcpServers: "mcpServers";
|
|
342
|
+
memory: "memory";
|
|
343
|
+
model: "model";
|
|
344
|
+
name: "name";
|
|
345
|
+
providerTools: "providerTools";
|
|
346
|
+
skills: "skills";
|
|
347
|
+
subAgents: "subAgents";
|
|
348
|
+
tasks: "tasks";
|
|
349
|
+
tools: "tools";
|
|
350
|
+
triggers: "triggers";
|
|
351
|
+
vectorStores: "vectorStores";
|
|
352
|
+
}>>;
|
|
353
|
+
has_published_version: import("zod/v4").ZodBoolean;
|
|
354
|
+
event_version: import("zod/v4").ZodLiteral<"1">;
|
|
355
|
+
}, import("zod/v4/core").$strip>;
|
|
356
|
+
} & import("./define").TelemetryEventInput & {
|
|
357
|
+
readonly getValidationError: (properties: unknown) => string | null;
|
|
358
|
+
};
|
|
359
|
+
readonly MCP_MODIFIED_AGENT: {
|
|
360
|
+
readonly name: "MCP modified agent";
|
|
361
|
+
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.";
|
|
362
|
+
readonly properties: import("zod/v4").ZodObject<{
|
|
363
|
+
agent_id: import("zod/v4").ZodString;
|
|
364
|
+
project_id: import("zod/v4").ZodString;
|
|
365
|
+
user_id: import("zod/v4").ZodString;
|
|
366
|
+
capability_kinds: import("zod/v4").ZodArray<import("zod/v4").ZodEnum<{
|
|
367
|
+
channel: "channel";
|
|
368
|
+
mcpServer: "mcpServer";
|
|
369
|
+
skill: "skill";
|
|
370
|
+
subAgent: "subAgent";
|
|
371
|
+
task: "task";
|
|
372
|
+
tool: "tool";
|
|
373
|
+
vectorStore: "vectorStore";
|
|
374
|
+
}>>;
|
|
375
|
+
capability_count: import("zod/v4").ZodNumber;
|
|
376
|
+
tool_count: import("zod/v4").ZodNumber;
|
|
377
|
+
skill_count: import("zod/v4").ZodNumber;
|
|
378
|
+
sub_agent_count: import("zod/v4").ZodNumber;
|
|
379
|
+
mcp_server_count: import("zod/v4").ZodNumber;
|
|
380
|
+
vector_store_count: import("zod/v4").ZodNumber;
|
|
381
|
+
task_count: import("zod/v4").ZodNumber;
|
|
382
|
+
trigger_count: import("zod/v4").ZodNumber;
|
|
383
|
+
model: import("zod/v4").ZodNullable<import("zod/v4").ZodString>;
|
|
384
|
+
tool_types: import("zod/v4").ZodArray<import("zod/v4").ZodString>;
|
|
385
|
+
changed_parts: import("zod/v4").ZodArray<import("zod/v4").ZodEnum<{
|
|
386
|
+
config: "config";
|
|
387
|
+
credential: "credential";
|
|
388
|
+
instructions: "instructions";
|
|
389
|
+
mcpServers: "mcpServers";
|
|
390
|
+
memory: "memory";
|
|
391
|
+
model: "model";
|
|
392
|
+
name: "name";
|
|
393
|
+
providerTools: "providerTools";
|
|
394
|
+
skills: "skills";
|
|
395
|
+
subAgents: "subAgents";
|
|
396
|
+
tasks: "tasks";
|
|
397
|
+
tools: "tools";
|
|
398
|
+
triggers: "triggers";
|
|
399
|
+
vectorStores: "vectorStores";
|
|
400
|
+
}>>;
|
|
401
|
+
has_published_version: import("zod/v4").ZodBoolean;
|
|
402
|
+
event_version: import("zod/v4").ZodLiteral<"1">;
|
|
403
|
+
}, import("zod/v4/core").$strip>;
|
|
404
|
+
} & import("./define").TelemetryEventInput & {
|
|
405
|
+
readonly getValidationError: (properties: unknown) => string | null;
|
|
406
|
+
};
|
|
407
|
+
readonly USER_PUBLISHED_AGENT: {
|
|
408
|
+
readonly name: "User published agent";
|
|
409
|
+
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.";
|
|
410
|
+
readonly properties: import("zod/v4").ZodObject<{
|
|
411
|
+
agent_id: import("zod/v4").ZodString;
|
|
412
|
+
project_id: import("zod/v4").ZodString;
|
|
413
|
+
user_id: import("zod/v4").ZodString;
|
|
414
|
+
capability_kinds: import("zod/v4").ZodArray<import("zod/v4").ZodEnum<{
|
|
415
|
+
channel: "channel";
|
|
416
|
+
mcpServer: "mcpServer";
|
|
417
|
+
skill: "skill";
|
|
418
|
+
subAgent: "subAgent";
|
|
419
|
+
task: "task";
|
|
420
|
+
tool: "tool";
|
|
421
|
+
vectorStore: "vectorStore";
|
|
422
|
+
}>>;
|
|
423
|
+
capability_count: import("zod/v4").ZodNumber;
|
|
424
|
+
tool_count: import("zod/v4").ZodNumber;
|
|
425
|
+
skill_count: import("zod/v4").ZodNumber;
|
|
426
|
+
sub_agent_count: import("zod/v4").ZodNumber;
|
|
427
|
+
mcp_server_count: import("zod/v4").ZodNumber;
|
|
428
|
+
vector_store_count: import("zod/v4").ZodNumber;
|
|
429
|
+
task_count: import("zod/v4").ZodNumber;
|
|
430
|
+
trigger_count: import("zod/v4").ZodNumber;
|
|
431
|
+
model: import("zod/v4").ZodNullable<import("zod/v4").ZodString>;
|
|
432
|
+
tool_types: import("zod/v4").ZodArray<import("zod/v4").ZodString>;
|
|
433
|
+
trigger: import("zod/v4").ZodEnum<{
|
|
40
434
|
channel_connect: "channel_connect";
|
|
41
|
-
|
|
435
|
+
explicit: "explicit";
|
|
436
|
+
republish: "republish";
|
|
42
437
|
slack_setup: "slack_setup";
|
|
43
438
|
}>;
|
|
44
439
|
version_id: import("zod/v4").ZodString;
|
|
440
|
+
event_version: import("zod/v4").ZodLiteral<"2">;
|
|
45
441
|
}, import("zod/v4/core").$strip>;
|
|
46
442
|
} & import("./define").TelemetryEventInput & {
|
|
47
443
|
readonly getValidationError: (properties: unknown) => string | null;
|
|
48
444
|
};
|
|
49
|
-
readonly
|
|
50
|
-
readonly name: "
|
|
51
|
-
readonly description: "
|
|
445
|
+
readonly BUILDER_PUBLISHED_AGENT: {
|
|
446
|
+
readonly name: "Builder published agent";
|
|
447
|
+
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.";
|
|
52
448
|
readonly properties: import("zod/v4").ZodObject<{
|
|
53
449
|
agent_id: import("zod/v4").ZodString;
|
|
54
450
|
project_id: import("zod/v4").ZodString;
|
|
55
451
|
user_id: import("zod/v4").ZodString;
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
452
|
+
capability_kinds: import("zod/v4").ZodArray<import("zod/v4").ZodEnum<{
|
|
453
|
+
channel: "channel";
|
|
454
|
+
mcpServer: "mcpServer";
|
|
455
|
+
skill: "skill";
|
|
456
|
+
subAgent: "subAgent";
|
|
457
|
+
task: "task";
|
|
458
|
+
tool: "tool";
|
|
459
|
+
vectorStore: "vectorStore";
|
|
460
|
+
}>>;
|
|
461
|
+
capability_count: import("zod/v4").ZodNumber;
|
|
462
|
+
tool_count: import("zod/v4").ZodNumber;
|
|
463
|
+
skill_count: import("zod/v4").ZodNumber;
|
|
464
|
+
sub_agent_count: import("zod/v4").ZodNumber;
|
|
465
|
+
mcp_server_count: import("zod/v4").ZodNumber;
|
|
466
|
+
vector_store_count: import("zod/v4").ZodNumber;
|
|
467
|
+
task_count: import("zod/v4").ZodNumber;
|
|
468
|
+
trigger_count: import("zod/v4").ZodNumber;
|
|
469
|
+
model: import("zod/v4").ZodNullable<import("zod/v4").ZodString>;
|
|
470
|
+
tool_types: import("zod/v4").ZodArray<import("zod/v4").ZodString>;
|
|
471
|
+
trigger: import("zod/v4").ZodEnum<{
|
|
472
|
+
channel_connect: "channel_connect";
|
|
473
|
+
explicit: "explicit";
|
|
474
|
+
republish: "republish";
|
|
475
|
+
slack_setup: "slack_setup";
|
|
59
476
|
}>;
|
|
477
|
+
version_id: import("zod/v4").ZodString;
|
|
478
|
+
event_version: import("zod/v4").ZodLiteral<"1">;
|
|
60
479
|
}, import("zod/v4/core").$strip>;
|
|
61
480
|
} & import("./define").TelemetryEventInput & {
|
|
62
481
|
readonly getValidationError: (properties: unknown) => string | null;
|
|
63
482
|
};
|
|
64
|
-
readonly
|
|
65
|
-
readonly name: "
|
|
66
|
-
readonly description: "
|
|
483
|
+
readonly MCP_PUBLISHED_AGENT: {
|
|
484
|
+
readonly name: "MCP published agent";
|
|
485
|
+
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.";
|
|
67
486
|
readonly properties: import("zod/v4").ZodObject<{
|
|
68
487
|
agent_id: import("zod/v4").ZodString;
|
|
488
|
+
project_id: import("zod/v4").ZodString;
|
|
69
489
|
user_id: import("zod/v4").ZodString;
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
490
|
+
capability_kinds: import("zod/v4").ZodArray<import("zod/v4").ZodEnum<{
|
|
491
|
+
channel: "channel";
|
|
492
|
+
mcpServer: "mcpServer";
|
|
493
|
+
skill: "skill";
|
|
494
|
+
subAgent: "subAgent";
|
|
495
|
+
task: "task";
|
|
496
|
+
tool: "tool";
|
|
497
|
+
vectorStore: "vectorStore";
|
|
498
|
+
}>>;
|
|
499
|
+
capability_count: import("zod/v4").ZodNumber;
|
|
500
|
+
tool_count: import("zod/v4").ZodNumber;
|
|
501
|
+
skill_count: import("zod/v4").ZodNumber;
|
|
502
|
+
sub_agent_count: import("zod/v4").ZodNumber;
|
|
503
|
+
mcp_server_count: import("zod/v4").ZodNumber;
|
|
504
|
+
vector_store_count: import("zod/v4").ZodNumber;
|
|
505
|
+
task_count: import("zod/v4").ZodNumber;
|
|
506
|
+
trigger_count: import("zod/v4").ZodNumber;
|
|
507
|
+
model: import("zod/v4").ZodNullable<import("zod/v4").ZodString>;
|
|
508
|
+
tool_types: import("zod/v4").ZodArray<import("zod/v4").ZodString>;
|
|
509
|
+
trigger: import("zod/v4").ZodEnum<{
|
|
510
|
+
channel_connect: "channel_connect";
|
|
511
|
+
explicit: "explicit";
|
|
512
|
+
republish: "republish";
|
|
513
|
+
slack_setup: "slack_setup";
|
|
77
514
|
}>;
|
|
515
|
+
version_id: import("zod/v4").ZodString;
|
|
516
|
+
event_version: import("zod/v4").ZodLiteral<"1">;
|
|
78
517
|
}, import("zod/v4/core").$strip>;
|
|
79
518
|
} & import("./define").TelemetryEventInput & {
|
|
80
519
|
readonly getValidationError: (properties: unknown) => string | null;
|
|
81
520
|
};
|
|
82
|
-
readonly
|
|
83
|
-
readonly name: "
|
|
84
|
-
readonly description: "
|
|
521
|
+
readonly USER_UNPUBLISHED_AGENT: {
|
|
522
|
+
readonly name: "User unpublished agent";
|
|
523
|
+
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.";
|
|
85
524
|
readonly properties: import("zod/v4").ZodObject<{
|
|
86
525
|
agent_id: import("zod/v4").ZodString;
|
|
526
|
+
project_id: import("zod/v4").ZodString;
|
|
87
527
|
user_id: import("zod/v4").ZodString;
|
|
88
|
-
|
|
89
|
-
run_id: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
|
|
90
|
-
skill_added: import("zod/v4").ZodString;
|
|
91
|
-
skills: import("zod/v4").ZodArray<import("zod/v4").ZodString>;
|
|
92
|
-
status: import("zod/v4").ZodEnum<{
|
|
93
|
-
draft: "draft";
|
|
94
|
-
production: "production";
|
|
95
|
-
}>;
|
|
528
|
+
event_version: import("zod/v4").ZodLiteral<"2">;
|
|
96
529
|
}, import("zod/v4/core").$strip>;
|
|
97
530
|
} & import("./define").TelemetryEventInput & {
|
|
98
531
|
readonly getValidationError: (properties: unknown) => string | null;
|
|
99
532
|
};
|
|
100
|
-
readonly
|
|
101
|
-
readonly name: "Builder
|
|
102
|
-
readonly description: "The Instance AI builder
|
|
533
|
+
readonly BUILDER_UNPUBLISHED_AGENT: {
|
|
534
|
+
readonly name: "Builder unpublished agent";
|
|
535
|
+
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`.";
|
|
103
536
|
readonly properties: import("zod/v4").ZodObject<{
|
|
104
537
|
agent_id: import("zod/v4").ZodString;
|
|
538
|
+
project_id: import("zod/v4").ZodString;
|
|
105
539
|
user_id: import("zod/v4").ZodString;
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
540
|
+
event_version: import("zod/v4").ZodLiteral<"1">;
|
|
541
|
+
}, import("zod/v4/core").$strip>;
|
|
542
|
+
} & import("./define").TelemetryEventInput & {
|
|
543
|
+
readonly getValidationError: (properties: unknown) => string | null;
|
|
544
|
+
};
|
|
545
|
+
readonly MCP_UNPUBLISHED_AGENT: {
|
|
546
|
+
readonly name: "MCP unpublished agent";
|
|
547
|
+
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.";
|
|
548
|
+
readonly properties: import("zod/v4").ZodObject<{
|
|
549
|
+
agent_id: import("zod/v4").ZodString;
|
|
550
|
+
project_id: import("zod/v4").ZodString;
|
|
551
|
+
user_id: import("zod/v4").ZodString;
|
|
552
|
+
event_version: import("zod/v4").ZodLiteral<"1">;
|
|
553
|
+
}, import("zod/v4/core").$strip>;
|
|
554
|
+
} & import("./define").TelemetryEventInput & {
|
|
555
|
+
readonly getValidationError: (properties: unknown) => string | null;
|
|
556
|
+
};
|
|
557
|
+
readonly INSTANCE_AI_OPENED_FROM_AGENT_PREVIEW: {
|
|
558
|
+
readonly name: "Instance AI opened from agent preview";
|
|
559
|
+
readonly description: "The user handed a preview chat session off to Instance AI from the agent builder preview panel.";
|
|
560
|
+
readonly properties: import("zod/v4").ZodObject<{
|
|
561
|
+
agent_id: import("zod/v4").ZodString;
|
|
562
|
+
preview_thread_id: import("zod/v4").ZodString;
|
|
563
|
+
preview_execution_id: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
|
|
564
|
+
}, import("zod/v4/core").$strip>;
|
|
565
|
+
} & import("./define").TelemetryEventInput & {
|
|
566
|
+
readonly getValidationError: (properties: unknown) => string | null;
|
|
567
|
+
};
|
|
568
|
+
readonly USER_GAVE_MCP_ACCESS_TO_AGENT: {
|
|
569
|
+
readonly name: "User gave MCP access to agent";
|
|
570
|
+
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.";
|
|
571
|
+
readonly properties: import("zod/v4").ZodObject<{
|
|
572
|
+
agent_id: import("zod/v4").ZodString;
|
|
114
573
|
}, import("zod/v4/core").$strip>;
|
|
115
574
|
} & import("./define").TelemetryEventInput & {
|
|
116
575
|
readonly getValidationError: (properties: unknown) => string | null;
|
|
117
576
|
};
|
|
118
|
-
readonly
|
|
119
|
-
readonly name: "
|
|
120
|
-
readonly description: "The
|
|
577
|
+
readonly USER_SELECTED_AGENTS_FOR_MCP: {
|
|
578
|
+
readonly name: "User selected agent from list";
|
|
579
|
+
readonly description: "The user confirmed a bulk agent selection in the MCP connect-agents dialog. Property is camelCase for warehouse continuity with existing rows.";
|
|
580
|
+
readonly properties: import("zod/v4").ZodObject<{
|
|
581
|
+
agentIds: import("zod/v4").ZodArray<import("zod/v4").ZodString>;
|
|
582
|
+
count: import("zod/v4").ZodNumber;
|
|
583
|
+
}, import("zod/v4/core").$strip>;
|
|
584
|
+
} & import("./define").TelemetryEventInput & {
|
|
585
|
+
readonly getValidationError: (properties: unknown) => string | null;
|
|
586
|
+
};
|
|
587
|
+
readonly USER_DISMISSED_MCP_AGENTS_DIALOG: {
|
|
588
|
+
readonly name: "User dismissed mcp agents dialog";
|
|
589
|
+
readonly description: "The user closed the MCP connect-agents dialog without confirming a selection.";
|
|
590
|
+
readonly properties: import("zod/v4").ZodObject<{}, import("zod/v4/core").$strip>;
|
|
591
|
+
} & import("./define").TelemetryEventInput & {
|
|
592
|
+
readonly getValidationError: (properties: unknown) => string | null;
|
|
593
|
+
};
|
|
594
|
+
readonly USER_CLICKED_CONNECT_AGENTS_FROM_MCP_SETTINGS: {
|
|
595
|
+
readonly name: "User clicked connect agents from mcp settings";
|
|
596
|
+
readonly description: "The user opened the MCP connect-agents dialog from the MCP settings page.";
|
|
597
|
+
readonly properties: import("zod/v4").ZodObject<{}, import("zod/v4/core").$strip>;
|
|
598
|
+
} & import("./define").TelemetryEventInput & {
|
|
599
|
+
readonly getValidationError: (properties: unknown) => string | null;
|
|
600
|
+
};
|
|
601
|
+
readonly BUILDER_ADDED_TASKS: {
|
|
602
|
+
readonly name: "Builder added tasks to agent";
|
|
603
|
+
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.";
|
|
121
604
|
readonly properties: import("zod/v4").ZodObject<{
|
|
122
605
|
agent_id: import("zod/v4").ZodString;
|
|
123
606
|
user_id: import("zod/v4").ZodString;
|
|
124
607
|
thread_id: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
|
|
125
608
|
run_id: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
|
|
126
|
-
|
|
609
|
+
task_added: import("zod/v4").ZodString;
|
|
127
610
|
tasks: import("zod/v4").ZodArray<import("zod/v4").ZodString>;
|
|
128
611
|
status: import("zod/v4").ZodEnum<{
|
|
129
612
|
draft: "draft";
|
|
@@ -135,7 +618,7 @@ export declare const TELEMETRY_EVENT: {
|
|
|
135
618
|
};
|
|
136
619
|
readonly BUILDER_ADDED_TRIGGER: {
|
|
137
620
|
readonly name: "Builder added trigger to agent";
|
|
138
|
-
readonly description: "The Instance AI builder
|
|
621
|
+
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.";
|
|
139
622
|
readonly properties: import("zod/v4").ZodObject<{
|
|
140
623
|
agent_id: import("zod/v4").ZodString;
|
|
141
624
|
user_id: import("zod/v4").ZodString;
|
|
@@ -211,24 +694,15 @@ export declare const TELEMETRY_EVENT: {
|
|
|
211
694
|
};
|
|
212
695
|
readonly USER_CLICKED_NEW_AGENT: {
|
|
213
696
|
readonly name: "User clicked new agent";
|
|
214
|
-
readonly description: "The user clicked a new-agent entry point (button, dropdown, or card).";
|
|
697
|
+
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.";
|
|
215
698
|
readonly properties: import("zod/v4").ZodObject<{
|
|
216
699
|
source: import("zod/v4").ZodEnum<{
|
|
217
700
|
button: "button";
|
|
218
701
|
card: "card";
|
|
219
702
|
dropdown: "dropdown";
|
|
220
703
|
}>;
|
|
221
|
-
session_id: import("zod/v4").ZodString;
|
|
222
|
-
}, import("zod/v4/core").$strip>;
|
|
223
|
-
} & import("./define").TelemetryEventInput & {
|
|
224
|
-
readonly getValidationError: (properties: unknown) => string | null;
|
|
225
|
-
};
|
|
226
|
-
readonly USER_CREATED_AGENT: {
|
|
227
|
-
readonly name: "User created agent";
|
|
228
|
-
readonly description: "A draft agent was created, from the blank new-agent page or inline from a workflow surface (source carries the entry point).";
|
|
229
|
-
readonly properties: import("zod/v4").ZodObject<{
|
|
230
704
|
agent_id: import("zod/v4").ZodString;
|
|
231
|
-
|
|
705
|
+
session_id: import("zod/v4").ZodString;
|
|
232
706
|
}, import("zod/v4/core").$strip>;
|
|
233
707
|
} & import("./define").TelemetryEventInput & {
|
|
234
708
|
readonly getValidationError: (properties: unknown) => string | null;
|
|
@@ -262,36 +736,9 @@ export declare const TELEMETRY_EVENT: {
|
|
|
262
736
|
} & import("./define").TelemetryEventInput & {
|
|
263
737
|
readonly getValidationError: (properties: unknown) => string | null;
|
|
264
738
|
};
|
|
265
|
-
readonly USER_EDITED_AGENT_CONFIG: {
|
|
266
|
-
readonly name: "User edited agent config";
|
|
267
|
-
readonly description: "A builder autosave persisted a config edit; one event fires per changed part.";
|
|
268
|
-
readonly properties: import("zod/v4").ZodObject<{
|
|
269
|
-
agent_id: import("zod/v4").ZodString;
|
|
270
|
-
part: import("zod/v4").ZodEnum<{
|
|
271
|
-
description: "description";
|
|
272
|
-
instructions: "instructions";
|
|
273
|
-
memory: "memory";
|
|
274
|
-
model: "model";
|
|
275
|
-
name: "name";
|
|
276
|
-
skills: "skills";
|
|
277
|
-
subAgents: "subAgents";
|
|
278
|
-
tools: "tools";
|
|
279
|
-
triggers: "triggers";
|
|
280
|
-
vectorStores: "vectorStores";
|
|
281
|
-
}>;
|
|
282
|
-
config_version: import("zod/v4").ZodString;
|
|
283
|
-
status: import("zod/v4").ZodEnum<{
|
|
284
|
-
draft: "draft";
|
|
285
|
-
production: "production";
|
|
286
|
-
}>;
|
|
287
|
-
session_id: import("zod/v4").ZodString;
|
|
288
|
-
}, import("zod/v4/core").$strip>;
|
|
289
|
-
} & import("./define").TelemetryEventInput & {
|
|
290
|
-
readonly getValidationError: (properties: unknown) => string | null;
|
|
291
|
-
};
|
|
292
739
|
readonly USER_ADDED_TRIGGER_TO_AGENT: {
|
|
293
740
|
readonly name: "User added trigger to agent";
|
|
294
|
-
readonly description: "The user
|
|
741
|
+
readonly description: "The user configured and persisted a chat trigger from the agent builder.";
|
|
295
742
|
readonly properties: import("zod/v4").ZodObject<{
|
|
296
743
|
agent_id: import("zod/v4").ZodString;
|
|
297
744
|
trigger_type: import("zod/v4").ZodString;
|
|
@@ -306,97 +753,6 @@ export declare const TELEMETRY_EVENT: {
|
|
|
306
753
|
} & import("./define").TelemetryEventInput & {
|
|
307
754
|
readonly getValidationError: (properties: unknown) => string | null;
|
|
308
755
|
};
|
|
309
|
-
readonly USER_ADDED_TOOLS_TO_AGENT: {
|
|
310
|
-
readonly name: "User added tools to agent";
|
|
311
|
-
readonly 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.";
|
|
312
|
-
readonly properties: import("zod/v4").ZodObject<{
|
|
313
|
-
agent_id: import("zod/v4").ZodString;
|
|
314
|
-
tool_added: import("zod/v4").ZodString;
|
|
315
|
-
tools: import("zod/v4").ZodArray<import("zod/v4").ZodString>;
|
|
316
|
-
config_version: import("zod/v4").ZodString;
|
|
317
|
-
status: import("zod/v4").ZodEnum<{
|
|
318
|
-
draft: "draft";
|
|
319
|
-
production: "production";
|
|
320
|
-
}>;
|
|
321
|
-
session_id: import("zod/v4").ZodString;
|
|
322
|
-
}, import("zod/v4/core").$strip>;
|
|
323
|
-
} & import("./define").TelemetryEventInput & {
|
|
324
|
-
readonly getValidationError: (properties: unknown) => string | null;
|
|
325
|
-
};
|
|
326
|
-
readonly USER_ADDED_SKILLS_TO_AGENT: {
|
|
327
|
-
readonly name: "User added skills to agent";
|
|
328
|
-
readonly 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.";
|
|
329
|
-
readonly properties: import("zod/v4").ZodObject<{
|
|
330
|
-
agent_id: import("zod/v4").ZodString;
|
|
331
|
-
skill_added: import("zod/v4").ZodString;
|
|
332
|
-
skills: import("zod/v4").ZodArray<import("zod/v4").ZodString>;
|
|
333
|
-
config_version: import("zod/v4").ZodString;
|
|
334
|
-
status: import("zod/v4").ZodEnum<{
|
|
335
|
-
draft: "draft";
|
|
336
|
-
production: "production";
|
|
337
|
-
}>;
|
|
338
|
-
session_id: import("zod/v4").ZodString;
|
|
339
|
-
}, import("zod/v4/core").$strip>;
|
|
340
|
-
} & import("./define").TelemetryEventInput & {
|
|
341
|
-
readonly getValidationError: (properties: unknown) => string | null;
|
|
342
|
-
};
|
|
343
|
-
readonly USER_ADDED_TASKS_TO_AGENT: {
|
|
344
|
-
readonly name: "User added tasks to agent";
|
|
345
|
-
readonly 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.";
|
|
346
|
-
readonly properties: import("zod/v4").ZodObject<{
|
|
347
|
-
agent_id: import("zod/v4").ZodString;
|
|
348
|
-
task_added: import("zod/v4").ZodString;
|
|
349
|
-
tasks: import("zod/v4").ZodArray<import("zod/v4").ZodString>;
|
|
350
|
-
config_version: import("zod/v4").ZodString;
|
|
351
|
-
status: import("zod/v4").ZodEnum<{
|
|
352
|
-
draft: "draft";
|
|
353
|
-
production: "production";
|
|
354
|
-
}>;
|
|
355
|
-
session_id: import("zod/v4").ZodString;
|
|
356
|
-
}, import("zod/v4/core").$strip>;
|
|
357
|
-
} & import("./define").TelemetryEventInput & {
|
|
358
|
-
readonly getValidationError: (properties: unknown) => string | null;
|
|
359
|
-
};
|
|
360
|
-
readonly USER_REMOVED_TASKS_FROM_AGENT: {
|
|
361
|
-
readonly name: "User removed tasks from agent";
|
|
362
|
-
readonly 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.";
|
|
363
|
-
readonly properties: import("zod/v4").ZodObject<{
|
|
364
|
-
agent_id: import("zod/v4").ZodString;
|
|
365
|
-
task_removed: import("zod/v4").ZodString;
|
|
366
|
-
tasks: import("zod/v4").ZodArray<import("zod/v4").ZodString>;
|
|
367
|
-
config_version: import("zod/v4").ZodString;
|
|
368
|
-
status: import("zod/v4").ZodEnum<{
|
|
369
|
-
draft: "draft";
|
|
370
|
-
production: "production";
|
|
371
|
-
}>;
|
|
372
|
-
session_id: import("zod/v4").ZodString;
|
|
373
|
-
}, import("zod/v4/core").$strip>;
|
|
374
|
-
} & import("./define").TelemetryEventInput & {
|
|
375
|
-
readonly getValidationError: (properties: unknown) => string | null;
|
|
376
|
-
};
|
|
377
|
-
readonly USER_PUBLISHED_AGENT: {
|
|
378
|
-
readonly name: "User published agent";
|
|
379
|
-
readonly description: "The user published an agent from the builder.";
|
|
380
|
-
readonly properties: import("zod/v4").ZodObject<{
|
|
381
|
-
agent_id: import("zod/v4").ZodString;
|
|
382
|
-
config_version: import("zod/v4").ZodString;
|
|
383
|
-
status: import("zod/v4").ZodLiteral<"production">;
|
|
384
|
-
session_id: import("zod/v4").ZodString;
|
|
385
|
-
}, import("zod/v4/core").$strip>;
|
|
386
|
-
} & import("./define").TelemetryEventInput & {
|
|
387
|
-
readonly getValidationError: (properties: unknown) => string | null;
|
|
388
|
-
};
|
|
389
|
-
readonly USER_UNPUBLISHED_AGENT: {
|
|
390
|
-
readonly name: "User unpublished agent";
|
|
391
|
-
readonly description: "The user unpublished an agent from the builder.";
|
|
392
|
-
readonly properties: import("zod/v4").ZodObject<{
|
|
393
|
-
agent_id: import("zod/v4").ZodString;
|
|
394
|
-
status: import("zod/v4").ZodLiteral<"draft">;
|
|
395
|
-
session_id: import("zod/v4").ZodString;
|
|
396
|
-
}, import("zod/v4/core").$strip>;
|
|
397
|
-
} & import("./define").TelemetryEventInput & {
|
|
398
|
-
readonly getValidationError: (properties: unknown) => string | null;
|
|
399
|
-
};
|
|
400
756
|
readonly USER_OPENED_AGENT_TOOL: {
|
|
401
757
|
readonly name: "User opened agent tool";
|
|
402
758
|
readonly description: "The user opened a tool from the builder capabilities list.";
|
|
@@ -464,27 +820,6 @@ export declare const TELEMETRY_EVENT: {
|
|
|
464
820
|
} & import("./define").TelemetryEventInput & {
|
|
465
821
|
readonly getValidationError: (properties: unknown) => string | null;
|
|
466
822
|
};
|
|
467
|
-
readonly USER_ADDED_AGENT_TOOL: {
|
|
468
|
-
readonly name: "User added agent tool";
|
|
469
|
-
readonly description: "A new tool ref or MCP server was saved to an agent for the first time from the tools modal.";
|
|
470
|
-
readonly properties: import("zod/v4").ZodObject<{
|
|
471
|
-
node_type: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
|
|
472
|
-
workflow: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
|
|
473
|
-
custom_id: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
|
|
474
|
-
server_name: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
|
|
475
|
-
tool_type: import("zod/v4").ZodEnum<{
|
|
476
|
-
custom: "custom";
|
|
477
|
-
mcpServer: "mcpServer";
|
|
478
|
-
node: "node";
|
|
479
|
-
workflow: "workflow";
|
|
480
|
-
}>;
|
|
481
|
-
has_approval: import("zod/v4").ZodBoolean;
|
|
482
|
-
authentication: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
|
|
483
|
-
agent_id: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
|
|
484
|
-
}, import("zod/v4/core").$strip>;
|
|
485
|
-
} & import("./define").TelemetryEventInput & {
|
|
486
|
-
readonly getValidationError: (properties: unknown) => string | null;
|
|
487
|
-
};
|
|
488
823
|
readonly USER_EDITED_AGENT_TOOL: {
|
|
489
824
|
readonly name: "User edited agent tool";
|
|
490
825
|
readonly description: "An existing agent tool's configuration was saved from the tools modal.";
|
|
@@ -503,25 +838,6 @@ export declare const TELEMETRY_EVENT: {
|
|
|
503
838
|
} & import("./define").TelemetryEventInput & {
|
|
504
839
|
readonly getValidationError: (properties: unknown) => string | null;
|
|
505
840
|
};
|
|
506
|
-
readonly USER_REMOVED_AGENT_TOOL: {
|
|
507
|
-
readonly name: "User removed agent tool";
|
|
508
|
-
readonly description: "The user confirmed removing a tool or MCP server from an agent (tools modal or sidebar).";
|
|
509
|
-
readonly properties: import("zod/v4").ZodObject<{
|
|
510
|
-
node_type: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
|
|
511
|
-
workflow: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
|
|
512
|
-
custom_id: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
|
|
513
|
-
server_name: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
|
|
514
|
-
tool_type: import("zod/v4").ZodEnum<{
|
|
515
|
-
custom: "custom";
|
|
516
|
-
mcpServer: "mcpServer";
|
|
517
|
-
node: "node";
|
|
518
|
-
workflow: "workflow";
|
|
519
|
-
}>;
|
|
520
|
-
agent_id: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
|
|
521
|
-
}, import("zod/v4/core").$strip>;
|
|
522
|
-
} & import("./define").TelemetryEventInput & {
|
|
523
|
-
readonly getValidationError: (properties: unknown) => string | null;
|
|
524
|
-
};
|
|
525
841
|
readonly USER_OPENED_AGENT_PREVIEW: {
|
|
526
842
|
readonly name: "User opened agent preview";
|
|
527
843
|
readonly description: "The user opened the agent preview panel in the builder.";
|