/**
 * Feature flag helpers.
 *
 * Each helper in this module reads a `SKYRAMP_FEATURE_*` env var and returns
 * a boolean. These helpers treat a flag as ON only when the env var is
 * exactly `"1"`; anything else (unset, empty, "0", "true", "false", etc.) is
 * treated as OFF.
 */
/**
 * Gates BOTH consumer-side contract tests AND the SDK's "default mode"
 * fallback (where omitting both `providerMode` and `consumerMode` causes the
 * SDK to generate BOTH provider and consumer tests).
 *
 * `providerMode` itself is exposed regardless of this flag.
 *
 * When OFF (default):
 *   - `skyramp_contract_test_generation` only exposes provider-mode
 *     parameters in its input schema, and the tool description, validation,
 *     and post-generation instructions all assume provider-only behavior.
 *   - The SDK is always invoked with `providerMode: true`, so the
 *     "neither mode set ⇒ generate both" default cannot leak through. Only
 *     a provider contract test is ever generated.
 *   - Testbot recommendation prompts no longer suggest `consumerMode: true`
 *     contract tests.
 *
 * When ON (`SKYRAMP_FEATURE_CONTRACT_CONSUMER_MODE=1`):
 *   - Restores the previous behavior: `consumerMode` / `consumerOutput` are
 *     exposed on the input schema, recommendation prompts mention consumer
 *     contract tests, and the SDK's "no mode set ⇒ generate both" default
 *     is preserved.
 */
export function isContractConsumerModeEnabled() {
    return process.env.SKYRAMP_FEATURE_CONTRACT_CONSUMER_MODE === "1";
}
/**
 * Returns true when running inside a TestBot environment
 * (SKYRAMP_FEATURE_TESTBOT=1).
 */
export function isTestbotEnabled() {
    return process.env.SKYRAMP_FEATURE_TESTBOT === "1";
}
