Rename project from "Cheating Daddy" to "Mastermind" across all files, update version to 0.6.0, and implement migration functionality for users with existing configurations. Enhance onboarding experience with migration options and update relevant documentation.
Build and Release / build (x64, ubuntu-latest, linux) (push) Has been skipped
Build and Release / build (arm64, macos-latest, darwin) (push) Has been cancelled
Build and Release / build (x64, macos-latest, darwin) (push) Has been cancelled
Build and Release / build (x64, windows-latest, win32) (push) Has been cancelled
Build and Release / release (push) Has been cancelled

This commit is contained in:
Илья Глазунов
2026-01-16 01:16:43 +03:00
parent 656e8f0932
commit 06e178762d
17 changed files with 318 additions and 133 deletions
+5 -5
View File
@@ -150,7 +150,7 @@ export class MainView extends LitElement {
}
async _loadApiKey() {
this.apiKey = await cheatingDaddy.storage.getApiKey();
this.apiKey = await mastermind.storage.getApiKey();
this.requestUpdate();
}
@@ -186,7 +186,7 @@ export class MainView extends LitElement {
async handleInput(e) {
this.apiKey = e.target.value;
await cheatingDaddy.storage.setApiKey(e.target.value);
await mastermind.storage.setApiKey(e.target.value);
// Clear error state when user starts typing
if (this.showApiKeyError) {
this.showApiKeyError = false;
@@ -226,7 +226,7 @@ export class MainView extends LitElement {
<div class="input-group">
<input
type="password"
placeholder="Enter your Gemini API Key"
placeholder="Enter your AI Provider API Key"
.value=${this.apiKey}
@input=${this.handleInput}
class="${this.showApiKeyError ? 'api-key-error' : ''}"
@@ -235,10 +235,10 @@ export class MainView extends LitElement {
${this.getStartButtonText()}
</button>
</div>
<p class="description">
<!-- <p class="description">
dont have an api key?
<span @click=${this.handleAPIKeyHelpClick} class="link">get one here</span>
</p>
</p> -->
`;
}
}