mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #3826] [MERGED] Harden host folder and Giphy failure paths #6119
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#6119
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/3826
Author: @Xelvanis
Created: 7/19/2026
Status: ✅ Merged
Merged: 7/19/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/host-folder-and-giphy-hardening📝 Commits (2)
d7c6437Harden host folder and Giphy failure paths646e4b2Address Giphy and folder action review feedback📊 Changes
9 files changed (+151 additions, -57 deletions)
View changed files
📝
packages/client/src/components/agents/AgentEditor.tsx(+10 -10)📝
packages/client/src/components/panels/SettingsPanel.tsx(+15 -4)📝
packages/client/src/hooks/use-game-assets.ts(+2 -2)📝
packages/client/src/hooks/use-scene-analysis.ts(+1 -2)📝
packages/client/src/lib/host-device.ts(+7 -0)➕
packages/server/src/lib/open-folder-in-file-manager.ts(+22 -0)📝
packages/server/src/routes/fonts.routes.ts(+10 -8)📝
packages/server/src/routes/game-assets.routes.ts(+8 -5)📝
packages/server/src/routes/gifs.routes.ts(+76 -26)📄 Description
Linked issue
Closes #3824
Closes #3825
Why this change
xdg-openfor authenticated or trusted non-loopback clients and return absolute host paths.What changed
debugModeandstreaminginputs from the scene-analysis hook API.Validation
pnpm checkpasses locallyCONTRIBUTING.mdValidation notes
pnpm checkpassed on the final branch based directly on the latestorigin/staging.localtest.meclient received the host-only message for Fonts and Game Assets; Game Assets did not also show the generic failure toast.Docs and release impact
No documentation or release metadata changes are needed. Existing user-facing behavior remains the same except for safer access boundaries and clearer upstream failure responses.
UI evidence (if applicable)
No screenshots attached. The affected UI behavior consists of guard and error states exercised manually.
Summary by CodeRabbit
New Features
Bug Fixes
Security
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.