[PR #4447] [MERGED] Bump v2.4.1 and fix assigned issue sweep #6383

Closed
opened 2026-10-23 04:09:54 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/4447
Author: @SpicyMarinara
Created: 8/2/2026
Status: ✅ Merged
Merged: 8/2/2026
Merged by: @SpicyMarinara

Base: staging ← Head: agent/v2.4.1-issue-sweep


📝 Commits (3)

📊 Changes

36 files changed (+537 additions, -78 deletions)

View changed files

📝 CHANGELOG.md (+17 -0)
📝 README.md (+1 -1)
📝 android/app/build.gradle (+3 -3)
📝 package.json (+1 -1)
📝 packages/client/package.json (+1 -1)
📝 packages/client/public/manifest.json (+1 -1)
📝 packages/client/src/components/agents/RegexScriptEditor.tsx (+175 -38)
📝 packages/client/src/components/characters/CharacterRegexSection.tsx (+2 -0)
📝 packages/client/src/components/chat/HomeCreditsModal.tsx (+13 -11)
📝 packages/client/src/components/panels/PresetsPanel.tsx (+2 -0)
📝 packages/client/src/hooks/use-apply-regex.ts (+27 -4)
📝 packages/client/src/hooks/use-regex-scripts.ts (+1 -0)
📝 packages/client/src/localization/locales/en.json (+11 -1)
📝 packages/server/package.json (+1 -1)
📝 packages/server/src/db/schema/regex-scripts.ts (+2 -0)
📝 packages/server/src/db/seed-regex.ts (+2 -0)
📝 packages/server/src/routes/chats.routes.ts (+1 -0)
📝 packages/server/src/routes/connections.routes.ts (+8 -3)
📝 packages/server/src/routes/generate.routes.ts (+4 -0)
📝 packages/server/src/routes/generate/dry-run-route.ts (+1 -0)

...and 16 more files

📄 Description

Important

Contributions target staging. Only SpicyMarinara may promote this repository staging branch or a same-repository hotfix/* branch to main.
Outside and first-time contributors also require an approving review from SpicyMarinara.

Linked issues

Closes #4442
Closes #4443
Closes #4444
Closes #4446
Closes #4448

Why this change

Ship the v2.4.1 maintenance release with a focused sweep of small user-facing defects: duplicate Default chat profiles, Conversation/Scene branch leakage, unsupported guidance for custom image agents, missing preset-scoped regex behavior and outdated target controls, and Gemini model fetching that sent the key in both the header and URL.

What changed

  • Bumped the Engine and all derived release surfaces to v2.4.1, including the Home page release label and Android versionCode 42.
  • Refreshed the generated Credits modal and documented every fix in CHANGELOG.md.
  • Normalized each chat mode to one stable built-in Default settings profile and one active profile.
  • Kept converted Scene chats out of Conversation branch groups.
  • Added prompt-preset targeting for regex scripts across storage, import/export, prompt and display application, and refreshed the character/preset target controls.
  • Taught Professor Mari the supported image_prompt, activation keyword, and trigger_image_generation custom-agent contract.
  • Kept Gemini credentials solely in x-goog-api-key when listing models, including through compatible proxies.

Automated validation completed locally

  • pnpm check
  • pnpm regression:prompt
  • pnpm --filter @marinara-engine/server exec tsx ../../scripts/regressions/open-issues.regression.ts
  • pnpm --filter @marinara-engine/server exec tsx ../../scripts/regressions/chat-branch-lineage.regression.ts
  • pnpm version:check
  • pnpm credits:check
  • git diff --check

Validation

  • pnpm check passes locally
  • Container (Docker / Podman) built and ran without issue
  • Ran the app, clicked through the changes manually
  • Checked edge cases (light + dark mode, mobile viewport, empty states, error paths)
  • Above manual verification completed (describe below)
  • Read and followed CONTRIBUTING.md

Manual verification notes

  • Manually verify the Home page displays v2.4.1.
  • Manually verify startup reduces duplicate Default settings profiles to one per chat mode.
  • Manually convert a Scene from a branched Conversation and confirm the original remains in the Conversation sidebar.
  • Manually create an IMG_PROMPT: custom image agent through Professor Mari and verify marker activation.
  • Manually scope regexes to characters and prompt presets, checking the refreshed picker in desktop and narrow layouts.
  • Manually fetch Google Gemini models with both the direct API and a compatible proxy.

Docs and release impact

  • No docs changes needed
  • Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed
  • Translated docs on the docs-i18n branch updated to match, or a [docs-i18n] <paths> follow-up issue opened
  • Version/release files updated (only if this PR includes a version bump)

UI evidence

The Home label remains bound to shared APP_VERSION, and the production client build passed. Manual browser verification remains listed above because the in-app browser could not initialize in this environment.

Summary by CodeRabbit

  • New Features

    • Regex scripts can target specific prompt presets, with selection, validation, import, and export support.
    • Improved support for custom image-generating agents in Professor Mari.
    • Updated the application to version 2.4.1 across supported platforms.
  • Bug Fixes

    • Fixed duplicate default settings profiles.
    • Improved conversation and scene grouping and branching behavior.
    • Corrected Gemini API authentication headers and compatible proxy authentication.
    • Improved Google model pagination URL handling.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Pasta-Devs/Marinara-Engine/pull/4447 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 8/2/2026 **Status:** ✅ Merged **Merged:** 8/2/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `agent/v2.4.1-issue-sweep` --- ### 📝 Commits (3) - [`34c68a1`](https://github.com/Pasta-Devs/Marinara-Engine/commit/34c68a17d77f61026a785681e2e42c83b7d52974) bump version to v2.4.1 - [`6701a3d`](https://github.com/Pasta-Devs/Marinara-Engine/commit/6701a3defb24c428b55df5faaeb1af0416fc6a1f) fix v2.4.1 issue sweep - [`38af406`](https://github.com/Pasta-Devs/Marinara-Engine/commit/38af40654af173b78be36928b4999663bb04e261) address CodeRabbit review ### 📊 Changes **36 files changed** (+537 additions, -78 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+17 -0) 📝 `README.md` (+1 -1) 📝 `android/app/build.gradle` (+3 -3) 📝 `package.json` (+1 -1) 📝 `packages/client/package.json` (+1 -1) 📝 `packages/client/public/manifest.json` (+1 -1) 📝 `packages/client/src/components/agents/RegexScriptEditor.tsx` (+175 -38) 📝 `packages/client/src/components/characters/CharacterRegexSection.tsx` (+2 -0) 📝 `packages/client/src/components/chat/HomeCreditsModal.tsx` (+13 -11) 📝 `packages/client/src/components/panels/PresetsPanel.tsx` (+2 -0) 📝 `packages/client/src/hooks/use-apply-regex.ts` (+27 -4) 📝 `packages/client/src/hooks/use-regex-scripts.ts` (+1 -0) 📝 `packages/client/src/localization/locales/en.json` (+11 -1) 📝 `packages/server/package.json` (+1 -1) 📝 `packages/server/src/db/schema/regex-scripts.ts` (+2 -0) 📝 `packages/server/src/db/seed-regex.ts` (+2 -0) 📝 `packages/server/src/routes/chats.routes.ts` (+1 -0) 📝 `packages/server/src/routes/connections.routes.ts` (+8 -3) 📝 `packages/server/src/routes/generate.routes.ts` (+4 -0) 📝 `packages/server/src/routes/generate/dry-run-route.ts` (+1 -0) _...and 16 more files_ </details> ### 📄 Description > [!IMPORTANT] > Contributions target `staging`. Only `SpicyMarinara` may promote this repository staging branch or a same-repository `hotfix/*` branch to `main`. > Outside and first-time contributors also require an approving review from `SpicyMarinara`. ## Linked issues Closes #4442 Closes #4443 Closes #4444 Closes #4446 Closes #4448 ## Why this change Ship the v2.4.1 maintenance release with a focused sweep of small user-facing defects: duplicate Default chat profiles, Conversation/Scene branch leakage, unsupported guidance for custom image agents, missing preset-scoped regex behavior and outdated target controls, and Gemini model fetching that sent the key in both the header and URL. ## What changed - Bumped the Engine and all derived release surfaces to v2.4.1, including the Home page release label and Android `versionCode 42`. - Refreshed the generated Credits modal and documented every fix in `CHANGELOG.md`. - Normalized each chat mode to one stable built-in Default settings profile and one active profile. - Kept converted Scene chats out of Conversation branch groups. - Added prompt-preset targeting for regex scripts across storage, import/export, prompt and display application, and refreshed the character/preset target controls. - Taught Professor Mari the supported `image_prompt`, activation keyword, and `trigger_image_generation` custom-agent contract. - Kept Gemini credentials solely in `x-goog-api-key` when listing models, including through compatible proxies. ## Automated validation completed locally - `pnpm check` - `pnpm regression:prompt` - `pnpm --filter @marinara-engine/server exec tsx ../../scripts/regressions/open-issues.regression.ts` - `pnpm --filter @marinara-engine/server exec tsx ../../scripts/regressions/chat-branch-lineage.regression.ts` - `pnpm version:check` - `pnpm credits:check` - `git diff --check` ## Validation - [ ] `pnpm check` passes locally - [ ] Container (Docker / Podman) built and ran without issue - [ ] Ran the app, clicked through the changes manually - [ ] Checked edge cases (light + dark mode, mobile viewport, empty states, error paths) - [ ] Above manual verification completed (describe below) - [ ] Read and followed `CONTRIBUTING.md` ### Manual verification notes - Manually verify the Home page displays v2.4.1. - Manually verify startup reduces duplicate Default settings profiles to one per chat mode. - Manually convert a Scene from a branched Conversation and confirm the original remains in the Conversation sidebar. - Manually create an `IMG_PROMPT:` custom image agent through Professor Mari and verify marker activation. - Manually scope regexes to characters and prompt presets, checking the refreshed picker in desktop and narrow layouts. - Manually fetch Google Gemini models with both the direct API and a compatible proxy. ## Docs and release impact - [ ] No docs changes needed - [ ] Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed - [ ] Translated docs on the `docs-i18n` branch updated to match, or a `[docs-i18n] <paths>` follow-up issue opened - [ ] Version/release files updated (only if this PR includes a version bump) ## UI evidence The Home label remains bound to shared `APP_VERSION`, and the production client build passed. Manual browser verification remains listed above because the in-app browser could not initialize in this environment. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Regex scripts can target specific prompt presets, with selection, validation, import, and export support. * Improved support for custom image-generating agents in Professor Mari. * Updated the application to version 2.4.1 across supported platforms. * **Bug Fixes** * Fixed duplicate default settings profiles. * Improved conversation and scene grouping and branching behavior. * Corrected Gemini API authentication headers and compatible proxy authentication. * Improved Google model pagination URL handling. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-23 04:09:54 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#6383
No description provided.