Files
cline-multi-mirror/src/shared/services/feature-flags/feature-flags.ts
T
Bee 32b8fa44cb refactor: Integrate Posthog into Feature Flags & Telemetry & Error Services (#5275)
* refactor: posthog services: feature flags + error + telemtry

- Convert PostHogClientProvider to singleton with lifecycle management
- Update ErrorServices to use PostHogClientProvider
- Update Telementry Service
- Update and enable Feature Flags service

* replace logger

* fix imports - part 1

* update distinct ID

* update

* update

* clean up

* revert autoformat

* fix merge conflicts

* clean up autoformat

* revert autoformatter

* clean up logs
2025-08-05 13:00:44 -07:00

8 lines
225 B
TypeScript

export const FEATURE_FLAGS = {
CUSTOM_INSTRUCTIONS: "custom-instructions",
// Further flags here
DEV_ENV_POSTHOG: "dev-env-posthog",
} as const
export type FeatureFlag = (typeof FEATURE_FLAGS)[keyof typeof FEATURE_FLAGS]