@n8n/telemetry 1.1.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.
- 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 +5 -5
|
@@ -12,102 +12,585 @@ export declare const TELEMETRY_EVENT: {
|
|
|
12
12
|
};
|
|
13
13
|
};
|
|
14
14
|
AGENTS: {
|
|
15
|
-
readonly
|
|
16
|
-
readonly name: "Agent
|
|
17
|
-
readonly description: "
|
|
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.";
|
|
18
106
|
readonly properties: import("zod/v4").ZodObject<{
|
|
19
107
|
agent_id: import("zod/v4").ZodString;
|
|
20
108
|
project_id: import("zod/v4").ZodString;
|
|
21
109
|
user_id: import("zod/v4").ZodString;
|
|
22
|
-
|
|
23
|
-
|
|
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<{
|
|
24
418
|
channel_connect: "channel_connect";
|
|
25
|
-
|
|
419
|
+
explicit: "explicit";
|
|
420
|
+
republish: "republish";
|
|
26
421
|
slack_setup: "slack_setup";
|
|
27
422
|
}>;
|
|
28
423
|
version_id: import("zod/v4").ZodString;
|
|
424
|
+
event_version: import("zod/v4").ZodLiteral<"2">;
|
|
29
425
|
}, import("zod/v4/core").$strip>;
|
|
30
426
|
} & import("./define").TelemetryEventInput & {
|
|
31
427
|
readonly getValidationError: (properties: unknown) => string | null;
|
|
32
428
|
};
|
|
33
|
-
readonly
|
|
34
|
-
readonly name: "
|
|
35
|
-
readonly description: "
|
|
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.";
|
|
36
432
|
readonly properties: import("zod/v4").ZodObject<{
|
|
37
433
|
agent_id: import("zod/v4").ZodString;
|
|
38
434
|
project_id: import("zod/v4").ZodString;
|
|
39
435
|
user_id: import("zod/v4").ZodString;
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
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";
|
|
43
460
|
}>;
|
|
461
|
+
version_id: import("zod/v4").ZodString;
|
|
462
|
+
event_version: import("zod/v4").ZodLiteral<"1">;
|
|
44
463
|
}, import("zod/v4/core").$strip>;
|
|
45
464
|
} & import("./define").TelemetryEventInput & {
|
|
46
465
|
readonly getValidationError: (properties: unknown) => string | null;
|
|
47
466
|
};
|
|
48
|
-
readonly
|
|
49
|
-
readonly name: "
|
|
50
|
-
readonly description: "
|
|
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.";
|
|
51
470
|
readonly properties: import("zod/v4").ZodObject<{
|
|
52
471
|
agent_id: import("zod/v4").ZodString;
|
|
472
|
+
project_id: import("zod/v4").ZodString;
|
|
53
473
|
user_id: import("zod/v4").ZodString;
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
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";
|
|
61
498
|
}>;
|
|
499
|
+
version_id: import("zod/v4").ZodString;
|
|
500
|
+
event_version: import("zod/v4").ZodLiteral<"1">;
|
|
62
501
|
}, import("zod/v4/core").$strip>;
|
|
63
502
|
} & import("./define").TelemetryEventInput & {
|
|
64
503
|
readonly getValidationError: (properties: unknown) => string | null;
|
|
65
504
|
};
|
|
66
|
-
readonly
|
|
67
|
-
readonly name: "
|
|
68
|
-
readonly description: "
|
|
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.";
|
|
69
508
|
readonly properties: import("zod/v4").ZodObject<{
|
|
70
509
|
agent_id: import("zod/v4").ZodString;
|
|
510
|
+
project_id: import("zod/v4").ZodString;
|
|
71
511
|
user_id: import("zod/v4").ZodString;
|
|
72
|
-
|
|
73
|
-
run_id: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
|
|
74
|
-
skill_added: import("zod/v4").ZodString;
|
|
75
|
-
skills: import("zod/v4").ZodArray<import("zod/v4").ZodString>;
|
|
76
|
-
status: import("zod/v4").ZodEnum<{
|
|
77
|
-
draft: "draft";
|
|
78
|
-
production: "production";
|
|
79
|
-
}>;
|
|
512
|
+
event_version: import("zod/v4").ZodLiteral<"2">;
|
|
80
513
|
}, import("zod/v4/core").$strip>;
|
|
81
514
|
} & import("./define").TelemetryEventInput & {
|
|
82
515
|
readonly getValidationError: (properties: unknown) => string | null;
|
|
83
516
|
};
|
|
84
|
-
readonly
|
|
85
|
-
readonly name: "Builder
|
|
86
|
-
readonly description: "The Instance AI builder
|
|
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`.";
|
|
87
520
|
readonly properties: import("zod/v4").ZodObject<{
|
|
88
521
|
agent_id: import("zod/v4").ZodString;
|
|
522
|
+
project_id: import("zod/v4").ZodString;
|
|
89
523
|
user_id: import("zod/v4").ZodString;
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
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;
|
|
98
557
|
}, import("zod/v4/core").$strip>;
|
|
99
558
|
} & import("./define").TelemetryEventInput & {
|
|
100
559
|
readonly getValidationError: (properties: unknown) => string | null;
|
|
101
560
|
};
|
|
102
|
-
readonly
|
|
103
|
-
readonly name: "
|
|
104
|
-
readonly description: "The
|
|
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.";
|
|
105
588
|
readonly properties: import("zod/v4").ZodObject<{
|
|
106
589
|
agent_id: import("zod/v4").ZodString;
|
|
107
590
|
user_id: import("zod/v4").ZodString;
|
|
108
591
|
thread_id: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
|
|
109
592
|
run_id: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
|
|
110
|
-
|
|
593
|
+
task_added: import("zod/v4").ZodString;
|
|
111
594
|
tasks: import("zod/v4").ZodArray<import("zod/v4").ZodString>;
|
|
112
595
|
status: import("zod/v4").ZodEnum<{
|
|
113
596
|
draft: "draft";
|
|
@@ -119,7 +602,7 @@ export declare const TELEMETRY_EVENT: {
|
|
|
119
602
|
};
|
|
120
603
|
readonly BUILDER_ADDED_TRIGGER: {
|
|
121
604
|
readonly name: "Builder added trigger to agent";
|
|
122
|
-
readonly description: "The Instance AI builder
|
|
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.";
|
|
123
606
|
readonly properties: import("zod/v4").ZodObject<{
|
|
124
607
|
agent_id: import("zod/v4").ZodString;
|
|
125
608
|
user_id: import("zod/v4").ZodString;
|
|
@@ -195,24 +678,15 @@ export declare const TELEMETRY_EVENT: {
|
|
|
195
678
|
};
|
|
196
679
|
readonly USER_CLICKED_NEW_AGENT: {
|
|
197
680
|
readonly name: "User clicked new agent";
|
|
198
|
-
readonly description: "The user clicked a new-agent entry point (button, dropdown, or card).";
|
|
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.";
|
|
199
682
|
readonly properties: import("zod/v4").ZodObject<{
|
|
200
683
|
source: import("zod/v4").ZodEnum<{
|
|
201
684
|
button: "button";
|
|
202
685
|
card: "card";
|
|
203
686
|
dropdown: "dropdown";
|
|
204
687
|
}>;
|
|
205
|
-
session_id: import("zod/v4").ZodString;
|
|
206
|
-
}, import("zod/v4/core").$strip>;
|
|
207
|
-
} & import("./define").TelemetryEventInput & {
|
|
208
|
-
readonly getValidationError: (properties: unknown) => string | null;
|
|
209
|
-
};
|
|
210
|
-
readonly USER_CREATED_AGENT: {
|
|
211
|
-
readonly name: "User created agent";
|
|
212
|
-
readonly description: "A draft agent was created, from the blank new-agent page or inline from a workflow surface (source carries the entry point).";
|
|
213
|
-
readonly properties: import("zod/v4").ZodObject<{
|
|
214
688
|
agent_id: import("zod/v4").ZodString;
|
|
215
|
-
|
|
689
|
+
session_id: import("zod/v4").ZodString;
|
|
216
690
|
}, import("zod/v4/core").$strip>;
|
|
217
691
|
} & import("./define").TelemetryEventInput & {
|
|
218
692
|
readonly getValidationError: (properties: unknown) => string | null;
|
|
@@ -246,36 +720,9 @@ export declare const TELEMETRY_EVENT: {
|
|
|
246
720
|
} & import("./define").TelemetryEventInput & {
|
|
247
721
|
readonly getValidationError: (properties: unknown) => string | null;
|
|
248
722
|
};
|
|
249
|
-
readonly USER_EDITED_AGENT_CONFIG: {
|
|
250
|
-
readonly name: "User edited agent config";
|
|
251
|
-
readonly description: "A builder autosave persisted a config edit; one event fires per changed part.";
|
|
252
|
-
readonly properties: import("zod/v4").ZodObject<{
|
|
253
|
-
agent_id: import("zod/v4").ZodString;
|
|
254
|
-
part: import("zod/v4").ZodEnum<{
|
|
255
|
-
description: "description";
|
|
256
|
-
instructions: "instructions";
|
|
257
|
-
memory: "memory";
|
|
258
|
-
model: "model";
|
|
259
|
-
name: "name";
|
|
260
|
-
skills: "skills";
|
|
261
|
-
subAgents: "subAgents";
|
|
262
|
-
tools: "tools";
|
|
263
|
-
triggers: "triggers";
|
|
264
|
-
vectorStores: "vectorStores";
|
|
265
|
-
}>;
|
|
266
|
-
config_version: import("zod/v4").ZodString;
|
|
267
|
-
status: import("zod/v4").ZodEnum<{
|
|
268
|
-
draft: "draft";
|
|
269
|
-
production: "production";
|
|
270
|
-
}>;
|
|
271
|
-
session_id: import("zod/v4").ZodString;
|
|
272
|
-
}, import("zod/v4/core").$strip>;
|
|
273
|
-
} & import("./define").TelemetryEventInput & {
|
|
274
|
-
readonly getValidationError: (properties: unknown) => string | null;
|
|
275
|
-
};
|
|
276
723
|
readonly USER_ADDED_TRIGGER_TO_AGENT: {
|
|
277
724
|
readonly name: "User added trigger to agent";
|
|
278
|
-
readonly description: "The user
|
|
725
|
+
readonly description: "The user configured and persisted a chat trigger from the agent builder.";
|
|
279
726
|
readonly properties: import("zod/v4").ZodObject<{
|
|
280
727
|
agent_id: import("zod/v4").ZodString;
|
|
281
728
|
trigger_type: import("zod/v4").ZodString;
|
|
@@ -290,97 +737,6 @@ export declare const TELEMETRY_EVENT: {
|
|
|
290
737
|
} & import("./define").TelemetryEventInput & {
|
|
291
738
|
readonly getValidationError: (properties: unknown) => string | null;
|
|
292
739
|
};
|
|
293
|
-
readonly USER_ADDED_TOOLS_TO_AGENT: {
|
|
294
|
-
readonly name: "User added tools to agent";
|
|
295
|
-
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.";
|
|
296
|
-
readonly properties: import("zod/v4").ZodObject<{
|
|
297
|
-
agent_id: import("zod/v4").ZodString;
|
|
298
|
-
tool_added: import("zod/v4").ZodString;
|
|
299
|
-
tools: import("zod/v4").ZodArray<import("zod/v4").ZodString>;
|
|
300
|
-
config_version: import("zod/v4").ZodString;
|
|
301
|
-
status: import("zod/v4").ZodEnum<{
|
|
302
|
-
draft: "draft";
|
|
303
|
-
production: "production";
|
|
304
|
-
}>;
|
|
305
|
-
session_id: import("zod/v4").ZodString;
|
|
306
|
-
}, import("zod/v4/core").$strip>;
|
|
307
|
-
} & import("./define").TelemetryEventInput & {
|
|
308
|
-
readonly getValidationError: (properties: unknown) => string | null;
|
|
309
|
-
};
|
|
310
|
-
readonly USER_ADDED_SKILLS_TO_AGENT: {
|
|
311
|
-
readonly name: "User added skills to agent";
|
|
312
|
-
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.";
|
|
313
|
-
readonly properties: import("zod/v4").ZodObject<{
|
|
314
|
-
agent_id: import("zod/v4").ZodString;
|
|
315
|
-
skill_added: import("zod/v4").ZodString;
|
|
316
|
-
skills: import("zod/v4").ZodArray<import("zod/v4").ZodString>;
|
|
317
|
-
config_version: import("zod/v4").ZodString;
|
|
318
|
-
status: import("zod/v4").ZodEnum<{
|
|
319
|
-
draft: "draft";
|
|
320
|
-
production: "production";
|
|
321
|
-
}>;
|
|
322
|
-
session_id: import("zod/v4").ZodString;
|
|
323
|
-
}, import("zod/v4/core").$strip>;
|
|
324
|
-
} & import("./define").TelemetryEventInput & {
|
|
325
|
-
readonly getValidationError: (properties: unknown) => string | null;
|
|
326
|
-
};
|
|
327
|
-
readonly USER_ADDED_TASKS_TO_AGENT: {
|
|
328
|
-
readonly name: "User added tasks to agent";
|
|
329
|
-
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.";
|
|
330
|
-
readonly properties: import("zod/v4").ZodObject<{
|
|
331
|
-
agent_id: import("zod/v4").ZodString;
|
|
332
|
-
task_added: import("zod/v4").ZodString;
|
|
333
|
-
tasks: import("zod/v4").ZodArray<import("zod/v4").ZodString>;
|
|
334
|
-
config_version: import("zod/v4").ZodString;
|
|
335
|
-
status: import("zod/v4").ZodEnum<{
|
|
336
|
-
draft: "draft";
|
|
337
|
-
production: "production";
|
|
338
|
-
}>;
|
|
339
|
-
session_id: import("zod/v4").ZodString;
|
|
340
|
-
}, import("zod/v4/core").$strip>;
|
|
341
|
-
} & import("./define").TelemetryEventInput & {
|
|
342
|
-
readonly getValidationError: (properties: unknown) => string | null;
|
|
343
|
-
};
|
|
344
|
-
readonly USER_REMOVED_TASKS_FROM_AGENT: {
|
|
345
|
-
readonly name: "User removed tasks from agent";
|
|
346
|
-
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.";
|
|
347
|
-
readonly properties: import("zod/v4").ZodObject<{
|
|
348
|
-
agent_id: import("zod/v4").ZodString;
|
|
349
|
-
task_removed: import("zod/v4").ZodString;
|
|
350
|
-
tasks: import("zod/v4").ZodArray<import("zod/v4").ZodString>;
|
|
351
|
-
config_version: import("zod/v4").ZodString;
|
|
352
|
-
status: import("zod/v4").ZodEnum<{
|
|
353
|
-
draft: "draft";
|
|
354
|
-
production: "production";
|
|
355
|
-
}>;
|
|
356
|
-
session_id: import("zod/v4").ZodString;
|
|
357
|
-
}, import("zod/v4/core").$strip>;
|
|
358
|
-
} & import("./define").TelemetryEventInput & {
|
|
359
|
-
readonly getValidationError: (properties: unknown) => string | null;
|
|
360
|
-
};
|
|
361
|
-
readonly USER_PUBLISHED_AGENT: {
|
|
362
|
-
readonly name: "User published agent";
|
|
363
|
-
readonly description: "The user published an agent from the builder.";
|
|
364
|
-
readonly properties: import("zod/v4").ZodObject<{
|
|
365
|
-
agent_id: import("zod/v4").ZodString;
|
|
366
|
-
config_version: import("zod/v4").ZodString;
|
|
367
|
-
status: import("zod/v4").ZodLiteral<"production">;
|
|
368
|
-
session_id: import("zod/v4").ZodString;
|
|
369
|
-
}, import("zod/v4/core").$strip>;
|
|
370
|
-
} & import("./define").TelemetryEventInput & {
|
|
371
|
-
readonly getValidationError: (properties: unknown) => string | null;
|
|
372
|
-
};
|
|
373
|
-
readonly USER_UNPUBLISHED_AGENT: {
|
|
374
|
-
readonly name: "User unpublished agent";
|
|
375
|
-
readonly description: "The user unpublished an agent from the builder.";
|
|
376
|
-
readonly properties: import("zod/v4").ZodObject<{
|
|
377
|
-
agent_id: import("zod/v4").ZodString;
|
|
378
|
-
status: import("zod/v4").ZodLiteral<"draft">;
|
|
379
|
-
session_id: import("zod/v4").ZodString;
|
|
380
|
-
}, import("zod/v4/core").$strip>;
|
|
381
|
-
} & import("./define").TelemetryEventInput & {
|
|
382
|
-
readonly getValidationError: (properties: unknown) => string | null;
|
|
383
|
-
};
|
|
384
740
|
readonly USER_OPENED_AGENT_TOOL: {
|
|
385
741
|
readonly name: "User opened agent tool";
|
|
386
742
|
readonly description: "The user opened a tool from the builder capabilities list.";
|
|
@@ -448,27 +804,6 @@ export declare const TELEMETRY_EVENT: {
|
|
|
448
804
|
} & import("./define").TelemetryEventInput & {
|
|
449
805
|
readonly getValidationError: (properties: unknown) => string | null;
|
|
450
806
|
};
|
|
451
|
-
readonly USER_ADDED_AGENT_TOOL: {
|
|
452
|
-
readonly name: "User added agent tool";
|
|
453
|
-
readonly description: "A new tool ref or MCP server was saved to an agent for the first time from the tools modal.";
|
|
454
|
-
readonly properties: import("zod/v4").ZodObject<{
|
|
455
|
-
node_type: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
|
|
456
|
-
workflow: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
|
|
457
|
-
custom_id: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
|
|
458
|
-
server_name: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
|
|
459
|
-
tool_type: import("zod/v4").ZodEnum<{
|
|
460
|
-
custom: "custom";
|
|
461
|
-
mcpServer: "mcpServer";
|
|
462
|
-
node: "node";
|
|
463
|
-
workflow: "workflow";
|
|
464
|
-
}>;
|
|
465
|
-
has_approval: import("zod/v4").ZodBoolean;
|
|
466
|
-
authentication: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
|
|
467
|
-
agent_id: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
|
|
468
|
-
}, import("zod/v4/core").$strip>;
|
|
469
|
-
} & import("./define").TelemetryEventInput & {
|
|
470
|
-
readonly getValidationError: (properties: unknown) => string | null;
|
|
471
|
-
};
|
|
472
807
|
readonly USER_EDITED_AGENT_TOOL: {
|
|
473
808
|
readonly name: "User edited agent tool";
|
|
474
809
|
readonly description: "An existing agent tool's configuration was saved from the tools modal.";
|
|
@@ -487,25 +822,6 @@ export declare const TELEMETRY_EVENT: {
|
|
|
487
822
|
} & import("./define").TelemetryEventInput & {
|
|
488
823
|
readonly getValidationError: (properties: unknown) => string | null;
|
|
489
824
|
};
|
|
490
|
-
readonly USER_REMOVED_AGENT_TOOL: {
|
|
491
|
-
readonly name: "User removed agent tool";
|
|
492
|
-
readonly description: "The user confirmed removing a tool or MCP server from an agent (tools modal or sidebar).";
|
|
493
|
-
readonly properties: import("zod/v4").ZodObject<{
|
|
494
|
-
node_type: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
|
|
495
|
-
workflow: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
|
|
496
|
-
custom_id: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
|
|
497
|
-
server_name: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
|
|
498
|
-
tool_type: import("zod/v4").ZodEnum<{
|
|
499
|
-
custom: "custom";
|
|
500
|
-
mcpServer: "mcpServer";
|
|
501
|
-
node: "node";
|
|
502
|
-
workflow: "workflow";
|
|
503
|
-
}>;
|
|
504
|
-
agent_id: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
|
|
505
|
-
}, import("zod/v4/core").$strip>;
|
|
506
|
-
} & import("./define").TelemetryEventInput & {
|
|
507
|
-
readonly getValidationError: (properties: unknown) => string | null;
|
|
508
|
-
};
|
|
509
825
|
readonly USER_OPENED_AGENT_PREVIEW: {
|
|
510
826
|
readonly name: "User opened agent preview";
|
|
511
827
|
readonly description: "The user opened the agent preview panel in the builder.";
|