mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #1372] [MERGED] Fix hostable runtime command parity #5041
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#5041
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/1372
Author: @cha1latte
Created: 5/27/2026
Status: ✅ Merged
Merged: 5/27/2026
Merged by: @cha1latte
Base:
refactor← Head:fix/refactor-issue-1346-hostable-commands📝 Commits (1)
701a457Fix hostable runtime command parity📊 Changes
3 files changed (+852 additions, -61 deletions)
View changed files
📝
src-tauri/src/commands/storage.rs(+15 -15)📝
src-tauri/src/http_dispatch.rs(+689 -24)📝
src/shared/api/remote-runtime.ts(+148 -22)📄 Description
Linked issue
Closes #1346
Why this change
/api/invokeruntime only exposed 40 commands while desktop exposed 171, leaving many remote-capable refactor features unreachable when the app is configured to use a Remote Runtime URL.What changed
REMOTE_COMMANDSto include every desktop command that can be represented as a JSON request/response command./api/invokedispatch handlers for the added remote commands, reusing the same Rust storage/capability modules as the desktop Tauri command wrappers.fonts_open_folder,game_assets_open_folder,spotify_authorize,import_st_bulk_run_events, andllm_stream_channel.Refactor impact
Primary owner:
Shared API / remote runtime / Rust HTTP dispatch.
Impact areas reviewed:
Boundary notes:
/api/llm/stream.Pressure points touched:
src-tauri/src/lib.rscommand registration is used as ground truth by the new parity test.src/shared/api/remote-runtime.tssrc-tauri/src/http_dispatch.rssrc-tauri/src/commands/storage.rsValidation
pnpm checkpasses locallypnpm typecheckpasses locallypnpm buildpasses locallypnpm check:architecturepasses locallypnpm check:docspasses locallycargo check --manifest-path src-tauri/Cargo.toml --workspacepasses locallyManual verification notes
node scratch\issue-1346-command-parity.mjs: desktop=171, desktop-only=5, remote allowlist=166, HTTP dispatch=166, no missing or extra remote commands.cargo test --manifest-path src-tauri\Cargo.toml --workspace remote_runtime_command_surfaces_match_desktop_minus_documented_desktop_only.pnpm check.node C:\Users\celia\.codex\tools\marinara-proof-gate.mjs scratch\bugfix-verification.json.Docs and release impact
README.mdCONTRIBUTING.mddocs/developer/AGENTS.mdUI evidence
N/A; non-UI remote runtime dispatch fix.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.