mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #577] [MERGED] Fix/lorebook scoping #4680
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#4680
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/577
Author: @Promansis
Created: 5/8/2026
Status: ✅ Merged
Merged: 5/9/2026
Merged by: @Romuromylus
Base:
main← Head:fix/lorebook-scoping📝 Commits (10+)
7f638a4first pass lorebook fix49bee2clorebook second passd45dd01Lorebook pass #318d6f82Lorebook final passa7d5772UI changes in the Chat Drawer and Lorebook editoraec3891defaults syntax tweakde51ccbfix: restore lorebook editor error statee180d82fix: disabled lorebooks no longer slip into activeLorebookIdSet just because they’re pinnedadc4d9eFix lorebook marker character matchingbdc7eb6Show stale lorebook resource links📊 Changes
36 files changed (+2689 additions, -441 deletions)
View changed files
📝
packages/client/src/components/chat/ChatSettingsDrawer.tsx(+156 -25)📝
packages/client/src/components/lorebooks/LorebookEditor.tsx(+378 -104)📝
packages/client/src/components/panels/LorebooksPanel.tsx(+83 -60)📝
packages/client/src/components/presets/PresetEditor.tsx(+91 -4)📝
packages/client/src/hooks/use-chats.ts(+12 -1)📝
packages/client/src/hooks/use-generate.ts(+3 -0)📝
packages/client/src/hooks/use-lorebooks.ts(+13 -20)📝
packages/client/src/hooks/use-presets.ts(+2 -1)📝
packages/server/src/db/file-backed-store.ts(+4 -0)📝
packages/server/src/db/migrate.ts(+91 -1)📝
packages/server/src/db/schema/lorebooks.ts(+35 -1)📝
packages/server/src/routes/backup.routes.ts(+20 -0)📝
packages/server/src/routes/chats.routes.ts(+27 -3)📝
packages/server/src/routes/generate.routes.ts(+117 -41)📝
packages/server/src/routes/generate/dry-run-route.ts(+68 -4)📝
packages/server/src/routes/generate/lorebook-keeper-utils.ts(+4 -0)📝
packages/server/src/routes/lorebooks.routes.ts(+22 -2)📝
packages/server/src/routes/prompt-reviewer.routes.ts(+2 -0)📝
packages/server/src/routes/prompts.routes.ts(+34 -0)📝
packages/server/src/services/import/marinara.importer.ts(+17 -0)...and 16 more files
📄 Description
Why this change
Closes #588 (or Fixes/Resolves) referencing an open issue.
What changed
Validation
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
pnpm check; TypeScript, ESLint, and production builds passed.docker build -t marinara-engine:pr-check -f Dockerfile ..Docs and release impact
UI evidence (if applicable)
Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.