Add isSubtask to telemetry (#3141)

This commit is contained in:
Matt Rubens 2025-05-02 23:16:21 -04:00 • committed by GitHub
parent 02ff4bd941
commit 8641b215c6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1517,6 +1517,11 @@ export class ClineProvider extends EventEmitter<ClineProviderEvents> implements
properties.diffStrategy = currentCline.diffStrategy.getName()
}
// Add isSubtask property that indicates whether this task is a subtask
if (currentCline) {
properties.isSubtask = !!currentCline.parentTask
}
return properties
}
}