mirror of
https://github.com/multica-ai/multica.git
synced 2026-07-22 17:49:48 +02:00
Co-authored-by: Eve <eve@multica-ai.local> Co-authored-by: multica-agent <github@multica.ai>
36 lines
936 B
TypeScript
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";
|