From 104552dc3d3a714ef1776a4cd9677748d1e8735d Mon Sep 17 00:00:00 2001 From: finalerock44 <77282157+finalerock44@users.noreply.github.com> Date: Wed, 24 Jun 2026 20:42:00 +0100 Subject: [PATCH] feat(live): add a beta warning to `dcd live start` Prints a beta notice (billed at $0.03/min, contact support to enroll) before starting a session. The API's new enrollment gate returns a 403 whose "contact support" message the CLI already surfaces verbatim on a non-enrolled org. --- src/commands/live.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/commands/live.ts b/src/commands/live.ts index 2e2e017..cf925a5 100644 --- a/src/commands/live.ts +++ b/src/commands/live.ts @@ -171,6 +171,14 @@ const startSub = defineCommand({ throw new CliError('--android-device and --android-api-level must be provided together.'); } + logger.log(ui.warn(colors.bold('Live is in beta'))); + logger.log( + ui.branch([ + 'Live device sessions are a beta feature, billed at $0.03/min.', + `${colors.dim('Not enrolled?')} Contact support to request access.`, + ]), + ); + logger.log(ui.running(`Starting ${platform} live session…`)); const session = await ApiGateway.startLiveSession(apiUrl, auth, {