mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #8150] [MERGED] fix(agents): filter modes and clarify custom agent limits #8127
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#8127
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/8150
Author: @SpicyMarinara
Created: 10/23/2026
Status: ✅ Merged
Merged: 10/23/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/agents-library-controls📝 Commits (3)
ceed0cachore: start agent library controls issue workc2914cffix(agents): align mode filters and custom controls3fe8549test(agents): cover renamed official configurations📊 Changes
4 files changed (+245 additions, -25 deletions)
View changed files
➕
e2e/agent-library-controls.e2e.ts(+196 -0)📝
packages/client/src/components/agents/AgentEditor.tsx(+19 -0)📝
packages/client/src/components/panels/AgentsPanel.tsx(+28 -25)📝
packages/client/src/localization/locales/en.json(+2 -0)📄 Description
Linked issue
Closes #8146
Closes #8149
Partially addresses #8148: only the new custom-agent notice. Per-chat lorebook attachments are owned by a separate coordinated change, so this PR does not close #8148.
Owner: @SpicyMarinara; implemented by Codex.
Why this change
The installed Agents library checked only optional manifest mode restrictions, so it still showed Roleplay-only agents under Conversation and Game despite the runtime's stricter mode policy. Copying official agents also suggested that a prompt-based custom copy could inherit their dedicated functions.
What changed
Validation
Final head:
3fe8549c6e0328ed3549140aa06f03839dfb5d01, Node 24.22.1 and pinned pnpm 12.15.0 through a task-local Corepack wrapper. Production code was validated atc2914cfc817133bb86d6754e195c047da850358c; the final commit only strengthens the official-agent test fixture, with E2E type checking and the full focused browser matrix rerun afterward.pnpm check: passed, including localization, formatting, lint/type checks and the production build. The existingHomeProfessorMariChat.tsxmissing-effect-dependency warning remains unrelated.pnpm regression:ui e2e/agent-library-controls.e2e.ts e2e/agent-apps-category.e2e.ts --workers=2: 21/21 passed across desktop Chromium, mobile Chromium and mobile WebKit.pnpm smoke:ui: 7/7 passed after the final code change.node scripts/run-regressions.mjs --filter agent-duplicate-defaults: 1/1 passed, preserving custom-agent copy defaults.git diff --check: passed.useCapabilityAgentRegistryinstalls every manifest inBUILT_IN_AGENTSbefore publishing its result,customAgentsexcludes those types, and folder cards use the same metadata. The browser fixture now includes a renamed persisted official config and delayed metadata, and verifies that official Copy remains absent. This is not a claim of zero review findings.The browser runs used controlled API fixtures and disposable app data on isolated ports 7840–7843. Screenshot inspection covered desktop dark/light themes and iPhone-sized WebKit. Native-device and container execution are not claimed by this PR.
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
Docs and release impact
This changes existing library controls and adds inline creation guidance. It does not alter downloadable agent definitions or release metadata.
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue openedUI evidence
Before/after screenshot gallery, including desktop light/dark and mobile WebKit
Source gist. The published HTML matches the local gallery bytes; screenshots are temporary PR evidence and are not committed to the repository.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.