Skip to content

Commit 8641b21

Browse files
authored
Add isSubtask to telemetry (#3141)
1 parent 02ff4bd commit 8641b21

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/core/webview/ClineProvider.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1517,6 +1517,11 @@ export class ClineProvider extends EventEmitter<ClineProviderEvents> implements
15171517
properties.diffStrategy = currentCline.diffStrategy.getName()
15181518
}
15191519

1520+
// Add isSubtask property that indicates whether this task is a subtask
1521+
if (currentCline) {
1522+
properties.isSubtask = !!currentCline.parentTask
1523+
}
1524+
15201525
return properties
15211526
}
15221527
}

0 commit comments

Comments
 (0)