[PR #2885] [MERGED] [codex] Prepare v2.0.6 issue sweep #5777

Closed
opened 2026-10-22 04:19:25 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

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

Base: staging ← Head: codex/v2.0.6-issue-sweep


📝 Commits (1)

  • 239194c Prepare v2.0.6 issue sweep

📊 Changes

35 files changed (+522 additions, -116 deletions)

View changed files

📝 CHANGELOG.md (+26 -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/chat/ChatArea.tsx (+2 -0)
📝 packages/client/src/components/chat/ChatBranchSelector.tsx (+26 -29)
📝 packages/client/src/components/modals/ModelDownloadModal.tsx (+116 -2)
📝 packages/client/src/features/chat-settings/sections/TranslationSection.tsx (+60 -19)
📝 packages/client/src/hooks/use-generate.ts (+6 -6)
📝 packages/client/src/hooks/use-translate.ts (+1 -0)
📝 packages/client/src/lib/generation-parameter-errors.ts (+6 -0)
📝 packages/client/src/lib/translate-text.ts (+1 -0)
📝 packages/client/src/stores/sidecar.store.ts (+2 -0)
📝 packages/client/src/stores/translation.store.ts (+1 -0)
📝 packages/server/package.json (+1 -1)
📝 packages/server/src/middleware/privileged-gate.ts (+6 -2)
📝 packages/server/src/routes/chats.routes.ts (+29 -2)
📝 packages/server/src/routes/generate.routes.ts (+5 -1)

...and 15 more files

📄 Description

Linked issue

Closes #2884
Closes #2883
Closes #2881
Closes #2871
Closes #2863
Closes #2862

Why this change

  • Clears the remaining issue queue and packages the fixes as the v2.0.6 staging release candidate.
  • Restores expected behavior around Professor Mari workspace access, translation prompt customization, thinking export, sprite prompt preservation, llama.cpp embedding startup options, memory recall read-behind behavior, branch memory cleanup, and Chat Branches active-row actions.

What changed

  • Added per-chat translation prompt override controls and sent the override through AI translation requests.
  • Added llama.cpp embedding pooling and physical batch-size options to sidecar config, launch args, API validation, and the model download modal.
  • Made Professor Mari workspace access respect trusted LAN and Tailscale clients when loopback-only mode is disabled while keeping database command execution loopback-only.
  • Exported assistant thinking and reasoning content in text and JSONL chat exports, and imported JSONL thinking fields back into message extra metadata.
  • Preserved concise sprite appearance text through prompt compilation and avoided double-appending layout and negative suffixes after prompt review.
  • Made memory recall chunking operate as read-behind storage for chats with a message limit, and prune stale native chunks when branch/edit/delete history no longer matches current messages.
  • Removed the Chat Branches Active pill and restored rename/delete controls for the active branch.
  • Updated CHANGELOG and synchronized v2.0.6 release metadata across packages, homepage-visible APP_VERSION, README, PWA manifest, Windows installer files, and Android versionName/versionCode.

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

  • Command validation completed locally:
    • pnpm version:check
    • git diff --check
    • pnpm check
  • GitHub issue list checked after closing the issue sweep: no open issues remained.
  • Browser/manual click-through was not performed in this pass.

Docs and release impact

  • No docs changes needed
  • Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed
  • Version/release files updated (only if this PR includes a version bump)

UI evidence (if applicable)

  • Not attached; UI changes are limited to Chat Branches action visibility and Translation/Sidecar settings controls, validated by type/lint/build.

Summary by CodeRabbit

  • New Features

    • Added per-chat AI translation prompt overrides, including an option to restore the default prompt.
    • Added “Embedding Endpoint” controls (pooling mode and physical batch size) for non-MLX backends.
  • Bug Fixes

    • Improved chat branch deletion/active chat handling.
    • Included “thinking”/reasoning content in chat exports and imported it into chat metadata.
    • Refined memory recall chunking and cleanup, improving context handling.
    • Improved sprite prompt generation and override-aware sheet layout behavior.
  • Documentation

    • Updated release notes and version references to v2.0.6.

🔄 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/2885 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 6/27/2026 **Status:** ✅ Merged **Merged:** 6/27/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `codex/v2.0.6-issue-sweep` --- ### 📝 Commits (1) - [`239194c`](https://github.com/Pasta-Devs/Marinara-Engine/commit/239194ce36b2041671e47df9eb60eb5de89088c5) Prepare v2.0.6 issue sweep ### 📊 Changes **35 files changed** (+522 additions, -116 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+26 -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/chat/ChatArea.tsx` (+2 -0) 📝 `packages/client/src/components/chat/ChatBranchSelector.tsx` (+26 -29) 📝 `packages/client/src/components/modals/ModelDownloadModal.tsx` (+116 -2) 📝 `packages/client/src/features/chat-settings/sections/TranslationSection.tsx` (+60 -19) 📝 `packages/client/src/hooks/use-generate.ts` (+6 -6) 📝 `packages/client/src/hooks/use-translate.ts` (+1 -0) 📝 `packages/client/src/lib/generation-parameter-errors.ts` (+6 -0) 📝 `packages/client/src/lib/translate-text.ts` (+1 -0) 📝 `packages/client/src/stores/sidecar.store.ts` (+2 -0) 📝 `packages/client/src/stores/translation.store.ts` (+1 -0) 📝 `packages/server/package.json` (+1 -1) 📝 `packages/server/src/middleware/privileged-gate.ts` (+6 -2) 📝 `packages/server/src/routes/chats.routes.ts` (+29 -2) 📝 `packages/server/src/routes/generate.routes.ts` (+5 -1) _...and 15 more files_ </details> ### 📄 Description ## Linked issue Closes #2884 Closes #2883 Closes #2881 Closes #2871 Closes #2863 Closes #2862 ## Why this change - Clears the remaining issue queue and packages the fixes as the v2.0.6 staging release candidate. - Restores expected behavior around Professor Mari workspace access, translation prompt customization, thinking export, sprite prompt preservation, llama.cpp embedding startup options, memory recall read-behind behavior, branch memory cleanup, and Chat Branches active-row actions. ## What changed - Added per-chat translation prompt override controls and sent the override through AI translation requests. - Added llama.cpp embedding pooling and physical batch-size options to sidecar config, launch args, API validation, and the model download modal. - Made Professor Mari workspace access respect trusted LAN and Tailscale clients when loopback-only mode is disabled while keeping database command execution loopback-only. - Exported assistant thinking and reasoning content in text and JSONL chat exports, and imported JSONL thinking fields back into message extra metadata. - Preserved concise sprite appearance text through prompt compilation and avoided double-appending layout and negative suffixes after prompt review. - Made memory recall chunking operate as read-behind storage for chats with a message limit, and prune stale native chunks when branch/edit/delete history no longer matches current messages. - Removed the Chat Branches Active pill and restored rename/delete controls for the active branch. - Updated CHANGELOG and synchronized v2.0.6 release metadata across packages, homepage-visible APP_VERSION, README, PWA manifest, Windows installer files, and Android versionName/versionCode. ## 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 - Command validation completed locally: - `pnpm version:check` - `git diff --check` - `pnpm check` - GitHub issue list checked after closing the issue sweep: no open issues remained. - Browser/manual click-through was not performed in this pass. ## Docs and release impact - [ ] No docs changes needed - [ ] Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed - [ ] Version/release files updated (only if this PR includes a version bump) ## UI evidence (if applicable) - Not attached; UI changes are limited to Chat Branches action visibility and Translation/Sidecar settings controls, validated by type/lint/build. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Added per-chat AI translation prompt overrides, including an option to restore the default prompt. * Added “Embedding Endpoint” controls (pooling mode and physical batch size) for non-MLX backends. * **Bug Fixes** * Improved chat branch deletion/active chat handling. * Included “thinking”/reasoning content in chat exports and imported it into chat metadata. * Refined memory recall chunking and cleanup, improving context handling. * Improved sprite prompt generation and override-aware sheet layout behavior. * **Documentation** * Updated release notes and version references to **v2.0.6**. <!-- 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-22 04:19:25 +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#5777
No description provided.