+ {option.label}: {option.warning} +
+ ))} {approval.detail ? ( document.removeEventListener("keydown", handler);
@@ -235,10 +235,11 @@ const ComposerPendingUserInputCard = memo(function ComposerPendingUserInputCard(
{activeQuestion.options.map((option, index) => {
const isOptimisticallySelected =
optimisticSingleSelect?.questionId === activeQuestion.id &&
- optimisticSingleSelect.optionLabel === option.label;
+ optimisticSingleSelect.optionLabel === (option.value ?? option.label);
const isSelected =
isOptimisticallySelected ||
- (!customAnswerActive && progress.selectedOptionLabels.includes(option.label));
+ (!customAnswerActive &&
+ progress.selectedOptionLabels.includes(option.value ?? option.label));
const shortcutKey = index < 9 ? index + 1 : null;
const className = cn(
"group flex w-full items-center gap-3 rounded-lg border px-3 py-2 text-left outline-none transition-all duration-150 focus-visible:border-primary/40 focus-visible:ring-1 focus-visible:ring-primary/25",
@@ -272,13 +273,13 @@ const ComposerPendingUserInputCard = memo(function ComposerPendingUserInputCard(
);
return (
Antigravity runs on {props.environmentLabel}.
+ {!props.enabled ? ( +This connection cannot change provider setup.
+ ) : props.provider?.setup === undefined ? ( ++ Update this environment to install Antigravity and sign in with Google here. +
+ ) : ( +Runtime
++ {installationStatusMessage} +
+ {installation?.phase === "downloading" && + installation.totalBytes !== null && + installation.totalBytes > 0 ? ( + + ) : null} + {installation?.message && installation.message !== installationStatusMessage ? ( +{installation.message}
+ ) : null} + {usesCustomBinary ? ( ++ This instance uses the binary path below. Installing a managed runtime does not change + that path. +
+ ) : null} + {!installed && !usesCustomBinary && !installActive && installation?.totalBytes ? ( ++ Downloads {Math.ceil(installation.totalBytes / 1_000_000)} MB from Google. +
+ ) : null} + {!installed && !provider.setup?.canInstall ? ( ++ Automatic installation is unavailable here. Set an existing binary path below or use a + supported remote environment. +
+ ) : null} +{methodLabel}
++ {authStatusMessage} +
+ {authorizationUrl ? ( + <> ++ Link expires at{" "} + + . +
+ ) : null} + + > + ) : auth?.phase === "waiting" ? ( ++ Sign-in is open in another client. Complete or cancel it there. +
+ ) : null} +{pendingLabel}.
: null} + {error || queryError ? ( ++ {error ?? queryError} +
+ {queryError ? ( + + ) : null} +