Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions src/platform/telemetry/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,22 @@ export interface RunButtonProperties {
is_app_mode?: boolean
}

/**
* Classifies how a template workflow has been edited relative to its
* original baseline at the time of execution. Used to distinguish runs
* that explore variations (seed/prompt only) from runs that materially
* change the workflow graph.
*
* Only meaningful when `is_template = true` and a baseline was captured
* when the template was loaded. Omitted otherwise.
*/
export type TemplateChangeType =
| 'unchanged'
| 'seed_only'
| 'prompt_only'
| 'seed_and_prompt'
| 'structural'

/**
* Execution context for workflow tracking
*/
Expand All @@ -86,6 +102,7 @@ export interface ExecutionContext {
template_models?: string[]
template_use_case?: string
template_license?: string
template_change_type?: TemplateChangeType
// Node composition metrics
custom_node_count: number
api_node_count: number
Expand Down
Loading
Loading