Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
TypeScript agentic-aiagentsaiai-agentsaiagentsdeveloper-toolsfunction-callinggpt-4javascriptjsllmllmopsmcppythonremote-mcp-serverssetypescript
/**
* Map of experimental feature flags used to gate CLI commands and skill output.
*
* Extracted into its own module so that the skill build/validate scripts
* (`skills-src/`) can import it without pulling in `@composio/core` (which
* requires a prior build step).
*/
export const CLI_EXPERIMENTAL_FEATURES = {
LISTEN: 'listen',
LOCAL_TOOLS: 'local_tools',
} as const;
export const CLI_RELEASE_CHANNELS = ['stable', 'beta'] as const;
export type CliReleaseChannel = (typeof CLI_RELEASE_CHANNELS)[number];
export type CliExperimentalFeature =
(typeof CLI_EXPERIMENTAL_FEATURES)[keyof typeof CLI_EXPERIMENTAL_FEATURES];
export const isExperimentalFeatureEnabledByDefault = (
feature: string,
channel: CliReleaseChannel
) => {
switch (feature) {
case CLI_EXPERIMENTAL_FEATURES.LISTEN:
case CLI_EXPERIMENTAL_FEATURES.LOCAL_TOOLS:
return channel === 'beta';
default:
return channel === 'beta';
}
};