Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
Mirrored from https://github.com/Camo67/composio.git
Synced Nov 21, 18:30 UTC
fix(cli): honor disabled telemetry in identity link; make alias idempotent
Review follow-ups on the direct-to-PostHog telemetry: - linkApolloIdentityForAnalytics now checks the disabled/opt-out state BEFORE touching disk, so a disabled (TELEMETRY_DISABLED/CI/etc.) login no longer creates ~/.composio/analytics.json with the install_id + Apollo id. Honors the disabled-means-no-op contract. - Emit the $create_alias only on the first association of an install with an Apollo user: a repeat login is redundant, and PostHog rejects re-aliasing one install into a second account. Gates on the persisted apollo_user_id. Tests: disabled path now asserts the identity file is absent; alias test asserts a repeat login does not re-spawn the alias worker. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>