mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #7583] [MERGED] fix(agents): list 2D Avatars and 3D Avatars under the Roleplay and Game filters #7813
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#7813
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/7583
Author: @SpicyMarinara
Created: 10/14/2026
Status: ✅ Merged
Merged: 10/14/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/avatars-catalog-mode-filter📝 Commits (2)
822c29dfix(agents): list 2D Avatars and 3D Avatars under the Roleplay and Game filtersd7a3ffcMerge remote-tracking branch 'origin/staging' into HEAD📊 Changes
2 files changed (+9 additions, -0 deletions)
View changed files
📝
packages/client/src/components/agents/AgentCatalogView.tsx(+2 -0)📝
scripts/regressions/agent-catalog-kind-badges.regression.ts(+7 -0)📄 Description
Linked issue
Part of #7537 (avatar agents epic). Found while reviewing Pasta-Devs/Marinara-Agents#1372, which offers both avatar agents to
stagingtesters in Download Agents. That fix cannot go in the Agents PR because the filter is Engine code.Why this change
OFFICIAL_PACKAGE_MODESinAgentCatalogView.tsx). The catalog entry does not carry the package'smodeAllowlist, which lives inagents.jsoninside the ZIP.2d-avatarsand3d-avatarswere missing from that map, sopackageModes()returned[]for them. Once Agents#1372 lists them on astagingEngine, a tester who picks Roleplay or Game, the only modes these agents support, sees neither agent. Under All, their rows show no mode badges.2b9165c80for the new trackers,c17a146baforruleset-5e-2014).What changed
packages/client/src/components/agents/AgentCatalogView.tsx: adds"2d-avatars": ["roleplay", "game"]and"3d-avatars": ["roleplay", "game"]. That matches themodeAllowlistboth packages declare in theiragents.json.scripts/regressions/agent-catalog-kind-badges.regression.ts: asserts both entries, next to the existing Storyboard, Beholder, Gacha Forge and Slurp checks.No copy, localization keys, styling or server code changed.
Validation
pnpm checkpasses locallyCONTRIBUTING.mdCommands run by the agent at
822c29da1(based onstaging1cd98bc16). The boxes above are left for a human.pnpm check: exit 0. Impeccable, localization, Prettier, lint (0 errors), e2e and token-estimation types, and the production build all pass.npx eslintonAgentCatalogView.tsxalone is clean.node scripts/run-regressions.mjs --filter agent-catalog-kind-badges: passed. With theAgentCatalogView.tsxchange stashed, it fails with2d-avatars must stay listed under the Roleplay and Game catalog filters.node scripts/run-regressions.mjs --filter assigned-issues-5474-5502and--filter mobile-tracker-help-layout, which also pin the catalog filter and badges: passed.2d-avatarsand3d-avatarsentries from Agents#1372'scatalog/preview/v2/catalog.jsonand clicked each mode filter (desktop Chromium):{"All":2,"Conversation":0,"Roleplay":2,"Game":2}, and each row shows the badges["Roleplay","Game"];{"All":2,"Conversation":0,"Roleplay":0,"Game":0}with no badges, which reproduces the report.pnpm regression:ui e2e/agent-apps-category.e2e.ts --project=desktop-chromium --workers=1: 1 passed.pnpm smoke:ui: 7 passed.git diff --check: clean.coderabbit review --agent --committed, base1cd98bc16): 1 trivial finding, rejected. See the PR comment.Manual verification notes
On a
stagingEngine after this PR merges, and after Agents#1372 merges into Agentsstaging(until then the avatar agents are not in the catalog):Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n] <paths>follow-up issue opened (see CONTRIBUTING.md § Translated documentation)No docs change in this PR. Separate from it, Agents#1372 flags that
docs/agents/avatars.md("Downloading the agents") still says both agents are not in Download Agents yet, which stops being true forstagingtesters once that PR lands.UI evidence (if applicable)
No visual change beyond the two existing badges appearing on the avatar rows and the filters including them. The Playwright counts above are the evidence.
Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.