()
| 1 | export function getCliDisplayCommand(): string { |
| 2 | const explicitCommand = process.env.NCODE_CLI_DISPLAY_COMMAND?.trim() |
| 3 | if (explicitCommand) { |
| 4 | return explicitCommand |
| 5 | } |
| 6 | |
| 7 | if (process.env.NCODE_BUILD_MODE === 'noumena') { |
| 8 | return 'code' |
| 9 | } |
| 10 | |
| 11 | return 'claude' |
| 12 | } |
| 13 | |
| 14 | export function getTeleportResumeCommand(sessionId: string): string { |
| 15 | return `${getCliDisplayCommand()} --teleport ${sessionId}` |
no outgoing calls
no test coverage detected