mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #3203] [MERGED] [codex] Support Professor Mari file attachments #5843
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#5843
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/3203
Author: @SpicyMarinara
Created: 7/4/2026
Status: ✅ Merged
Merged: 7/4/2026
Merged by: @SpicyMarinara
Base:
staging← Head:codex/professor-mari-file-attachments📝 Commits (1)
e3edcf0Support Professor Mari file attachments📊 Changes
2 files changed (+300 additions, -194 deletions)
View changed files
📝
packages/client/src/components/chat/HomeProfessorMariChat.tsx(+274 -172)📝
packages/server/src/services/professor-mari/workspace-agent.service.ts(+26 -22)📄 Description
What changed
Professor Mari's chat composer now uses a paperclip as the first left-side control and accepts images, PDFs, and common readable text/data files instead of images only.
The workspace prompt path now preserves those attachments for Professor Mari: images continue through vision inputs, PDFs are passed as provider-native file inputs where supported, and readable text/data files are appended into the prompt as attached file blocks.
Why
Professor Mari previously exposed an image-only attachment flow. That made the UI too narrow for workspace help where PDFs, JSON, Markdown, logs, and similar files are natural inputs.
Notes
No linked issue was provided for this small maintainer-requested change. One should be opened before final submission if the project board needs issue tracking for it.
Validation
git diff --checkpnpm --filter @marinara-engine/server lintpnpm --filter @marinara-engine/client lintpnpm build:clientManual verification
Summary by CodeRabbit
New Features
Bug Fixes
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.