()
| 145 | * independent floors. |
| 146 | */ |
| 147 | export async function checkEnvLessBridgeMinVersion(): Promise<string | null> { |
| 148 | const cfg = await getEnvLessBridgeConfig() |
| 149 | if (cfg.min_version && lt(MACRO.VERSION, cfg.min_version)) { |
| 150 | return `Your version of Claude Code (${MACRO.VERSION}) is too old for Remote Control.\nVersion ${cfg.min_version} or higher is required. Run \`claude update\` to update.` |
| 151 | } |
| 152 | return null |
| 153 | } |
| 154 | |
| 155 | /** |
| 156 | * Whether to nudge users toward upgrading their claude.ai app when a |
no test coverage detected