mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #2779] [MERGED] Add helper functions for professor mari #5726
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#5726
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/2779
Author: @Sulphuratum
Created: 6/22/2026
Status: ✅ Merged
Merged: 6/22/2026
Merged by: @SpicyMarinara
Base:
staging← Head:staging📝 Commits (4)
173d687Add helper functions for professor mari4059f8dMerge branch 'staging' into staging53d6ec8Merge remote-tracking branch 'origin/staging' into pr-2779-review01099c8Fix Mari data helper review findings📊 Changes
2 files changed (+809 additions, -2 deletions)
View changed files
📝
packages/server/src/services/mari-db/mari-db.service.ts(+802 -0)📝
packages/server/src/services/professor-mari/workspace-agent.service.ts(+7 -2)📄 Description
Linked issue
Closes #2778
Why this change
Help professor mari more easily work with the data structures in the backend without having to spell proper json or understand the syntax of the db
What changed
added four helper functions that call the db: mari lorebooks, mari characters, mari lorebooks, mari personas and mari chats. The last one is read only and allows searching chats by recency or character. The others allow updating single fields or the entire entry as well as create new ones and link lorebooks to characters.
Validation
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
Docs and release impact
UI evidence (if applicable)
Summary by CodeRabbit
New Features
Documentation
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.