Files
multica/packages/core/feature-flags/index.ts
Multica Eve 6c6143e8fc fix(agents): always enable skill toggles (MUL-4520) (#5381)
Co-authored-by: Eve <eve@multica-ai.local>
Co-authored-by: multica-agent <github@multica.ai>
2026-07-14 13:39:57 +08:00

36 lines
936 B
TypeScript

/**
* Public surface for @multica/core/feature-flags.
*
* Keep this list minimal — every new export becomes a contract we have to
* preserve across the monorepo. Add to it only when a real caller appears.
*/
export type {
Decision,
EvalContext,
PercentRollout,
Provider,
Reason,
Rule,
} from "./types";
export { FeatureFlagService } from "./service";
export { StaticProvider } from "./static-provider";
export { ChainProvider } from "./chain-provider";
export {
AGENT_BUILDER_FLAG,
COMPOSIO_MCP_APPS_FLAG,
RESOURCE_LABELS_FLAG,
} from "./keys";
export {
FeatureFlagsProvider,
useFeatureFlagService,
useFlag,
useVariant,
} from "./context";
// Hash helpers are exported for tests and for callers that want to share
// the bucketing logic without going through a Provider (rare; usually a
// red flag that the caller should be using the Service instead).
export { bucketFor, inPercent } from "./hash";