()
| 128 | * warns against startup-path usage, which this isn't. |
| 129 | */ |
| 130 | export async function getEnvLessBridgeConfig(): Promise<EnvLessBridgeConfig> { |
| 131 | const raw = await getFeatureValue_DEPRECATED<unknown>( |
| 132 | 'tengu_bridge_repl_v2_config', |
| 133 | DEFAULT_ENV_LESS_BRIDGE_CONFIG, |
| 134 | ) |
| 135 | const parsed = envLessBridgeConfigSchema().safeParse(raw) |
| 136 | return parsed.success ? parsed.data : DEFAULT_ENV_LESS_BRIDGE_CONFIG |
| 137 | } |
| 138 | |
| 139 | /** |
| 140 | * Returns an error message if the current CLI version is below the minimum |
no outgoing calls
no test coverage detected