@earendil-works/pi-coding-agent 0.80.8 → 0.80.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4057,7 +4057,9 @@ export class InteractiveMode {
4057
4057
  }
4058
4058
  }
4059
4059
  showLoginAuthTypeSelector(providerOptions) {
4060
- const subscriptionLabel = "Sign in with an account";
4060
+ const oauthProvider = providerOptions?.find((provider) => provider.authType === "oauth");
4061
+ const oauthLoginLabel = oauthProvider?.method && "loginLabel" in oauthProvider.method ? oauthProvider.method.loginLabel : undefined;
4062
+ const subscriptionLabel = oauthLoginLabel ?? "Sign in with an account";
4061
4063
  const apiKeyLabel = "Sign in with an API key";
4062
4064
  const availableAuthTypes = providerOptions
4063
4065
  ? new Set(providerOptions.map((provider) => provider.authType))