[PR #3333] [MERGED] [codex] Polish settings and conversation prompt wrapping #5881

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

📋 Pull Request Information

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

Base: staging ← Head: codex/settings-addons-generations


📝 Commits (1)

  • 0a5637f Polish settings and conversation prompt wrapping

📊 Changes

18 files changed (+324 additions, -126 deletions)

View changed files

📝 .github/agents/chai-workflow.md (+1 -0)
📝 AGENTS.md (+1 -0)
📝 CHANGELOG.md (+3 -0)
📝 CONTRIBUTING.md (+6 -4)
📝 docs/EXTENSIONS.md (+2 -2)
📝 docs/FRONTEND.md (+1 -1)
📝 docs/IMAGE_GENERATION.md (+2 -2)
📝 docs/SCENE_VIDEO_GENERATION.md (+1 -1)
📝 docs/STORYBOARD_ENGINE_GUIDE.md (+2 -2)
📝 package.json (+2 -0)
📝 packages/client/src/components/chat/HomeCreditsModal.tsx (+26 -22)
📝 packages/client/src/components/panels/SettingsPanel.tsx (+85 -54)
📝 packages/client/src/components/panels/settings/SettingControls.tsx (+1 -1)
📝 packages/server/src/routes/chats.routes.ts (+4 -3)
📝 packages/server/src/routes/generate.routes.ts (+61 -22)
📝 packages/server/src/routes/generate/dry-run-route.ts (+13 -12)
📝 packages/server/src/routes/generate/generate-route-utils.ts (+17 -0)
➕ scripts/sync-credits.mjs (+96 -0)

📄 Description

Summary

This PR finishes the v2.1.1 settings/credits polish and fixes Conversation-mode prompt wrapping.

  • Reorganizes Settings into Addons, Generations, Imports, and accent-styled Danger Zone behavior.
  • Refreshes Credits from GitHub contributors and adds release workflow helpers for syncing/checking credits.
  • Updates contributor/release docs around credits and the new Settings layout.
  • Makes Conversation mode respect the selected preset wrap format for instructions, daily summaries/date blocks, context, memories, and lorebook injections.

Why

Conversation mode had bespoke prompt assembly that bypassed the normal preset wrapper formatter, so users choosing Markdown or None still received XML-wrapped supplemental sections such as lore. The settings and credits changes keep v2.1.1 release surfaces aligned with the current UI and contributor list.

Validation

  • pnpm check
  • pnpm regression:prompt
  • pnpm credits:check

Manual verification needed

  • Manually verify the Settings navigation in the browser in light and dark themes.
  • Manually verify Conversation prompt preview/send output for presets using XML, Markdown, and None wrap formats.

No linked issue was provided for the settings/credits work; one should be opened before final submission if maintainers require every PR to map to an issue.

Summary by CodeRabbit

  • New Features

    • Added a credits sync/check workflow for release preparation and refreshed the in-app contributors (Credits) list.
  • Bug Fixes

    • Conversation mode now honors the user-selected prompt wrap format (XML, Markdown, or None) across instructions, summaries, memories, and lore content.
  • Improvements

    • Reorganized Settings navigation with clearer Generations and Addons sections, plus updated Danger Zone and style profile editor defaults.
  • Documentation

    • Updated guidance to match the new Settings navigation paths for themes/extensions and generation-related prompt templates.

🔄 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/3333 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 7/7/2026 **Status:** ✅ Merged **Merged:** 7/7/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `codex/settings-addons-generations` --- ### 📝 Commits (1) - [`0a5637f`](https://github.com/Pasta-Devs/Marinara-Engine/commit/0a5637ff8d4634c34040420b850ea1b4bdd08b2e) Polish settings and conversation prompt wrapping ### 📊 Changes **18 files changed** (+324 additions, -126 deletions) <details> <summary>View changed files</summary> 📝 `.github/agents/chai-workflow.md` (+1 -0) 📝 `AGENTS.md` (+1 -0) 📝 `CHANGELOG.md` (+3 -0) 📝 `CONTRIBUTING.md` (+6 -4) 📝 `docs/EXTENSIONS.md` (+2 -2) 📝 `docs/FRONTEND.md` (+1 -1) 📝 `docs/IMAGE_GENERATION.md` (+2 -2) 📝 `docs/SCENE_VIDEO_GENERATION.md` (+1 -1) 📝 `docs/STORYBOARD_ENGINE_GUIDE.md` (+2 -2) 📝 `package.json` (+2 -0) 📝 `packages/client/src/components/chat/HomeCreditsModal.tsx` (+26 -22) 📝 `packages/client/src/components/panels/SettingsPanel.tsx` (+85 -54) 📝 `packages/client/src/components/panels/settings/SettingControls.tsx` (+1 -1) 📝 `packages/server/src/routes/chats.routes.ts` (+4 -3) 📝 `packages/server/src/routes/generate.routes.ts` (+61 -22) 📝 `packages/server/src/routes/generate/dry-run-route.ts` (+13 -12) 📝 `packages/server/src/routes/generate/generate-route-utils.ts` (+17 -0) ➕ `scripts/sync-credits.mjs` (+96 -0) </details> ### 📄 Description ## Summary This PR finishes the v2.1.1 settings/credits polish and fixes Conversation-mode prompt wrapping. - Reorganizes Settings into Addons, Generations, Imports, and accent-styled Danger Zone behavior. - Refreshes Credits from GitHub contributors and adds release workflow helpers for syncing/checking credits. - Updates contributor/release docs around credits and the new Settings layout. - Makes Conversation mode respect the selected preset wrap format for instructions, daily summaries/date blocks, context, memories, and lorebook injections. ## Why Conversation mode had bespoke prompt assembly that bypassed the normal preset wrapper formatter, so users choosing Markdown or None still received XML-wrapped supplemental sections such as lore. The settings and credits changes keep v2.1.1 release surfaces aligned with the current UI and contributor list. ## Validation - pnpm check - pnpm regression:prompt - pnpm credits:check ## Manual verification needed - Manually verify the Settings navigation in the browser in light and dark themes. - Manually verify Conversation prompt preview/send output for presets using XML, Markdown, and None wrap formats. No linked issue was provided for the settings/credits work; one should be opened before final submission if maintainers require every PR to map to an issue. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Added a credits sync/check workflow for release preparation and refreshed the in-app contributors (Credits) list. * **Bug Fixes** * Conversation mode now honors the user-selected prompt wrap format (XML, Markdown, or None) across instructions, summaries, memories, and lore content. * **Improvements** * Reorganized Settings navigation with clearer **Generations** and **Addons** sections, plus updated Danger Zone and style profile editor defaults. * **Documentation** * Updated guidance to match the new Settings navigation paths for themes/extensions and generation-related prompt templates. <!-- 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:04:47 +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#5881
No description provided.