@devries-cameron20 / composio Mirror · read-only
Fork 0

Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.

Mirrored from https://github.com/Camo67/composio.git

Synced Nov 21, 04:45 UTC

next
ts 22 lines 912 Bytes
Raw
1 import { flag, optionalString } from './env';
2
3 /**
4 * Diagnostics and developer overrides. None of these are documented for end users except the
5 * two `*_DEBUG` toggles, which the hidden `--perf-debug` / `--tool-debug` / `--telemetry-debug`
6 * global flags override (see `src/services/runtime-flags.ts`).
7 */
8 export const DEBUG_CONFIG = {
9 // Write performance / tool / telemetry diagnostics to stderr
10 PERF_DEBUG: flag('COMPOSIO_PERF_DEBUG'),
11 TOOL_DEBUG: flag('COMPOSIO_TOOL_DEBUG'),
12 TELEMETRY_DEBUG: flag('COMPOSIO_CLI_TELEMETRY_DEBUG'),
13
14 // Upgrade from this local binary instead of downloading a GitHub release
15 UPGRADE_TARGET: optionalString('DEBUG_OVERRIDE_UPGRADE_TARGET'),
16
17 // Report this as the running CLI version
18 VERSION: optionalString('DEBUG_OVERRIDE_VERSION'),
19
20 // Replay previously cached API responses instead of calling the backend
21 FORCE_USE_CACHE: flag('FORCE_USE_CACHE'),
22 };