mirror of
https://github.com/multica-ai/multica.git
synced 2026-08-02 18:13:27 +02:00
Reuse the existing `composio_mcp_apps` feature flag instead of the separate `agent_access_picker` flag introduced in #4879. The MUL-3963 permission_mode + invocation_targets model exists to gate Composio sharing, so the create-flow access picker ships on the same switch as the rest of the Composio rollout — environments that already enable Composio (`FF_COMPOSIO_MCP_APPS=true`) now also see the aligned Private / Public-to picker in Create / Duplicate. - Drop `AGENT_ACCESS_PICKER_FLAG` (frontend keys.ts + index re-export). - Drop `AgentAccessPicker` (server featureflags list). - `CreateAgentDialog` reads `COMPOSIO_MCP_APPS_FLAG` instead. - Tests updated to set the composio flag. All 10 create-agent-dialog tests + Composio-related tabs tests pass. Co-authored-by: Eve <eve@multica-ai.local> Co-authored-by: multica-agent <github@multica.ai>
32 lines
887 B
TypeScript
32 lines
887 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 { COMPOSIO_MCP_APPS_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";
|