mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #8134] [MERGED] deps: adopt Motion 14 while preserving API-1 package animations #8120
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#8120
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/8134
Author: @SpicyMarinara
Created: 10/23/2026
Status: ✅ Merged
Merged: 10/23/2026
Merged by: @SpicyMarinara
Base:
staging← Head:feat/motion14-host-coexistence📝 Commits (7)
fbf5da6chore: start coordinated pnpm 12 migrationb07d05dchore(pnpm): migrate policy and pinned-runner handoff to pnpm 120c95af4chore: track Motion 14 host coexistence8881b9dfix(pnpm): ship runner helpers in Docker and validate project lock documents0d99ba2deps: add Motion 14 while retaining the API-1 Motion 13 host slot14c0f11fix: keep Mari dependency approvals on pinned pnpm22124bdMerge commit '14c0f11a1e' into feat/motion14-host-coexistence📊 Changes
30 files changed (+798 additions, -164 deletions)
View changed files
📝
.github/workflows/prealpha-platform-builds.yml(+1 -1)📝
.npmrc(+1 -6)📝
Dockerfile(+2 -0)📝
Dockerfile.lite(+3 -2)📝
docs/TROUBLESHOOTING.md(+4 -4)📝
docs/development/optional-agent-packages.md(+15 -7)📝
e2e/marinara-host-namespace.e2e.ts(+74 -0)📝
package.json(+23 -51)📝
packages/client/.instructions.md(+3 -3)📝
packages/client/package.json(+2 -1)📝
packages/client/src/lib/marinara-host-contract.ts(+22 -1)📝
packages/client/src/lib/marinara-host.ts(+4 -2)📝
packages/client/vite.config.ts(+24 -1)📝
packages/server/src/routes/updates.routes.ts(+1 -1)📝
packages/server/src/services/professor-mari/workspace-change-review.service.ts(+72 -16)📝
packages/shared/src/schemas/capability-package.schema.ts(+3 -1)📝
pnpm-lock.yaml(+198 -11)📝
pnpm-workspace.yaml(+43 -17)📝
scripts/check-workspace-install.mjs(+13 -2)📝
scripts/ensure-native-deps.mjs(+11 -2)...and 10 more files
📄 Description
Why
The Engine can use Motion 14 without replacing the complete Motion 13 namespace promised to installed API-1 packages. Replacing that existing slot would remove exports and change animation contexts. Separate published slots keep old packages working while allowing new consumers to opt in.
What changed
framer-motionto 14.5.0, the highest major-14 release outside the existing 24-hour release-age window. Retain exact 13.5.1 throughframer-motion-v13; both registry SHA-512 integrities are pinned. Version 14.6.0 was rejected by the unchanged supply-chain age policy.__MARINARA_HOST__.version === 1and the complete existingmodules['framer-motion']namespace on Motion 13. Addmodules['motion/react']for Motion 14 under capability API 1.377, retaining API-1 installed-package compatibility.MARINARA_HOST_MODULE_IMPORTS, which maps public slots to their actual dependencies. Coordinated Agents tooling in Pasta-Devs/Marinara-Agents#1600 uses that mapping for export inventories and TypeScript paths, and rejects an undeclared/older-host opt-in.Closes #8078. Translated documentation is tracked in #8136. Depends on #8131 until its pnpm migration is merged.
Validation
corepack pnpm checkpasses on the integrated final pnpm migration, including build, types, lint, formatting and localization; the existing HomeProfessorMari hook warning remains.git diff --checkpasses.version:checkpasses.22124bd23da35f6ae0b29cb7625cdaaa768137f2.Exact-head hosted CI and platform checks pass. Dottore's full review completed with 0 actionable defects, 1 non-blocking Markdown wrapping nit, and no unresolved threads. The raw-source wrapping note leaves rendered Markdown unchanged; the reviewed English translation source is retained. The
motionmajor-table key is the public package base ofmotion/react, consistently with other subpath entries; regressions resolve its mapped physical dependency and separately retain the legacy-major assertion.Claim boundary and manual checks
All 19 current official client entrypoints were inspected. Only Noodle and Slurp2 consume host Motion; both mount separate React roots and neither source uses cross-root layout IDs, layout groups, Motion config/global config or context exports. The other 17 clients have no host Motion reference.
CapabilityElementmounts custom elements; the shared host Modal uses CSS. Their complete legacy namespace is retained. The browser proof uses synthetic package roots; actual Noodle/Slurp browsing and physical hardware were not rerun.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.