mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #2805] [MERGED] Refactor Professor Mari workspace runtime to not use native tool calling anymore! #5739
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#5739
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/2805
Author: @ghost
Created: 6/22/2026
Status: ✅ Merged
Merged: 6/22/2026
Merged by: @SpicyMarinara
Base:
staging← Head:codex/professor-mari-command-runtime📝 Commits (4)
f11e67aRefactor Professor Mari workspace to native command runtimea340a7aMake Professor Mari workspace loop fluid9d45688Harden Professor Mari workspace data mutations41f40c2Resolve staging conflicts for Professor Mari command runtime📊 Changes
3 files changed (+1454 additions, -1029 deletions)
View changed files
📝
packages/client/src/components/chat/HomeProfessorMariChat.tsx(+18 -30)📝
packages/server/src/services/mari-db/mari-db.service.ts(+120 -18)📝
packages/server/src/services/professor-mari/workspace-agent.service.ts(+1316 -981)📄 Description
Summary
This PR replaces Professor Mari’s Pi-backed workspace path with a Marinara-native workspace command runtime and hardens the data mutation flow so Mari can work reliably
across local/remote models without depending on native provider tool calls.
Why
Professor Mari’s Home workspace mode was brittle with local models and generic command execution. It could:
Changes
Reworked
packages/server/src/services/professor-mari/workspace-agent.service.tsread,grep,find,ls,edit,write,bash.say + tool_callsaction frames.mari ...approval flow.mari ...commands directly instead of relying on shell parsing.Hardened
packages/server/src/services/mari-db/mari-db.service.tstables/characters.json-style full table files from character helper JSON input.mari db patch characters ... {"appearance": ...}cannot falsely “succeed” while changing nothing visible.Updated
packages/client/src/components/chat/HomeProfessorMariChat.tsxValidation
pnpm checkpassed.>=24 <26v22.22.3Manual verification needed
mari characters update --appearance ... --applyupdates the editor/readback.Linked issue
No linked issue yet. One should be opened or linked before submitting the PR.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.