feat: rebrand from Dyad to MoreMinimore

- Update package.json description to reflect new branding
- Add fix_chat_input function to update Pro URL references
- Rename all Dyad-related functions and tags to MoreMinimore
- Update test files to use new function names
- Remove Pro restrictions from Annotator component
- Update branding text throughout the application
This commit is contained in:
Kunthawat Greethong
2025-12-19 17:26:32 +07:00
parent 6bb756fdd7
commit 29248688f3
68 changed files with 544 additions and 1435 deletions

View File

@@ -1,4 +1,4 @@
import { isDyadProEnabled, type LargeLanguageModel } from "@/lib/schemas";
import { isMoreMinimoreProEnabled, type LargeLanguageModel } from "@/lib/schemas";
import { Button } from "@/components/ui/button";
import {
Tooltip,
@@ -118,14 +118,14 @@ export function ModelPicker() {
? modelsByProviders["auto"].filter((model) => {
if (
settings &&
!isDyadProEnabled(settings) &&
!isMoreMinimoreProEnabled(settings) &&
["turbo", "value"].includes(model.apiName)
) {
return false;
}
if (
settings &&
isDyadProEnabled(settings) &&
isMoreMinimoreProEnabled(settings) &&
model.apiName === "free"
) {
return false;
@@ -157,7 +157,7 @@ export function ModelPicker() {
const provider = providers?.find((p) => p.id === providerId);
return !(provider && provider.secondary);
});
if (settings && isDyadProEnabled(settings)) {
if (settings && isMoreMinimoreProEnabled(settings)) {
primaryProviders.unshift(["auto", TURBO_MODELS]);
}
const secondaryProviders = providerEntries.filter(([providerId, models]) => {
@@ -270,7 +270,7 @@ export function ModelPicker() {
// we will use the paid models (in MoreMinimore Pro backend) which
// don't have the free limitations.
if (
isDyadProEnabled(settings) &&
isMoreMinimoreProEnabled(settings) &&
model.apiName.endsWith(":free")
) {
return false;
@@ -290,7 +290,7 @@ export function ModelPicker() {
<span>{providerDisplayName}</span>
{provider?.type === "cloud" &&
!provider?.secondary &&
isDyadProEnabled(settings) && (
isMoreMinimoreProEnabled(settings) && (
<span className="text-[10px] bg-gradient-to-r from-indigo-600 via-indigo-500 to-indigo-600 bg-[length:200%_100%] animate-[shimmer_5s_ease-in-out_infinite] text-white px-1.5 py-0.5 rounded-full font-medium">
Pro
</span>