[PR #2833] [MERGED] Add help output and additional update-entry and delete-entry helper functions #5758

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

📋 Pull Request Information

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

Base: staging ← Head: staging


📝 Commits (4)

📊 Changes

2 files changed (+103 additions, -14 deletions)

View changed files

📝 packages/server/src/services/mari-db/mari-db.service.ts (+102 -13)
📝 packages/server/src/services/professor-mari/workspace-agent.service.ts (+1 -1)

📄 Description

Linked issue

Closes #2832

Why this change

  • Some common functions were missing from the helper functions, causing professor mari to have to switch to db often. Since this moves from cleartext to json input she gets a little confused. There was also no ability to update tags for any resources

What changed

  • Add mari lorebooks update-entry and delete-entry
  • Add tag input to all update commands
  • Change some help text to make it easier to understand for llms

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

  • Added some tags to an existing character
  • Created, updated and deleted a lorebook entry

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)

image image image image

(I used a local model so it is a bit yappy in between, but it works just fine.)

Summary by CodeRabbit

  • New Features

    • Added tagging support (--tags flag) for characters, personas, and lorebooks through CLI commands
    • Added two new subcommands for lorebook entry management: update-entry for modifications and delete-entry for removal
  • Documentation

    • Enhanced help and usage text across CLI commands to document new tagging capabilities and entry management subcommands

🔄 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/2833 **Author:** [@Sulphuratum](https://github.com/Sulphuratum) **Created:** 6/23/2026 **Status:** ✅ Merged **Merged:** 6/23/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `staging` --- ### 📝 Commits (4) - [`3cdaa6f`](https://github.com/Pasta-Devs/Marinara-Engine/commit/3cdaa6f5524f91a1a6fae02583f88ed96d04ad1a) Add tag handling and lorebook updating stuff - [`4ec6e68`](https://github.com/Pasta-Devs/Marinara-Engine/commit/4ec6e68ad11a8cc9ad8eff350025658260ed67da) Merge branch 'staging' of https://github.com/Sulphuratum/Marinara-Engine into staging - [`2c6ae03`](https://github.com/Pasta-Devs/Marinara-Engine/commit/2c6ae039c8aa47a28ba05b58146e69c348714383) Address Mari DB review feedback - [`b1d0751`](https://github.com/Pasta-Devs/Marinara-Engine/commit/b1d0751cf7bfa3bfa7822c278b8f27a40359abc1) Merge branch 'staging' into staging ### 📊 Changes **2 files changed** (+103 additions, -14 deletions) <details> <summary>View changed files</summary> 📝 `packages/server/src/services/mari-db/mari-db.service.ts` (+102 -13) 📝 `packages/server/src/services/professor-mari/workspace-agent.service.ts` (+1 -1) </details> ### 📄 Description <!-- Target branch: `staging`. The default base in this UI is `main` (release branch). --> <!-- Change the base to `staging` before submitting unless this is a maintainer-approved mainline change. --> <!-- See CONTRIBUTING.md § Branches. --> ## Linked issue <!-- Every PR should reference a feature request or issue report. If there isn't one yet, open one first to gather opinions: --> <!-- https://github.com/Pasta-Devs/Marinara-Engine/issues/new/choose --> Closes #2832 ## Why this change <!-- What user problem, bug, or goal does this solve? --> - Some common functions were missing from the helper functions, causing professor mari to have to switch to db often. Since this moves from cleartext to json input she gets a little confused. There was also no ability to update tags for any resources ## What changed <!-- List the key changes in this PR --> - Add mari lorebooks update-entry and delete-entry - Add tag input to all update commands - Change some help text to make it easier to understand for llms ## Validation <!-- Required: include commands run and/or manual checks performed --> - [x] `pnpm check` passes locally - [x] Container (Docker / Podman) built and ran without issue - [x] Ran the app, clicked through the changes manually - [x] Checked edge cases (light + dark mode, mobile viewport, empty states, error paths) - [x] Above manual verification completed (describe below) - [x] Read and followed `CONTRIBUTING.md` ### Manual verification notes - Added some tags to an existing character - Created, updated and deleted a lorebook entry ## Docs and release impact - [x] 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) <img width="507" height="373" alt="image" src="https://github.com/user-attachments/assets/a731a859-7030-4374-8193-aa7d09cde4df" /> <img width="500" height="336" alt="image" src="https://github.com/user-attachments/assets/6deb5ad8-7c37-4d27-a095-e7c24b832188" /> <img width="513" height="359" alt="image" src="https://github.com/user-attachments/assets/77ae8e2a-1fe5-4f1d-96c7-5c07895b2a16" /> <img width="504" height="337" alt="image" src="https://github.com/user-attachments/assets/29addf45-5751-4be4-962e-01083095fe6d" /> (I used a local model so it is a bit yappy in between, but it works just fine.) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Added tagging support (`--tags` flag) for characters, personas, and lorebooks through CLI commands * Added two new subcommands for lorebook entry management: `update-entry` for modifications and `delete-entry` for removal * **Documentation** * Enhanced help and usage text across CLI commands to document new tagging capabilities and entry management subcommands <!-- 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:15 +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#5758
No description provided.