mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #5311] [MERGED] feat: let custom agents route active chat characters #6724
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#6724
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/5311
Author: @SpicyMarinara
Created: 8/20/2026
Status: ✅ Merged
Merged: 8/20/2026
Merged by: @SpicyMarinara
Base:
staging← Head:feat/5310-custom-agent-character-routing📝 Commits (5)
b94b3dffeat: let agents route active chat characters2feff23feat: route active characters before generation05639f5fix: address character routing reviewe4d8ce6chore: clarify routing cadence diagnosticsb3a670aMerge remote-tracking branch 'origin/staging' into feat/5310-custom-agent-character-routing📊 Changes
9 files changed (+524 additions, -75 deletions)
View changed files
📝
CHANGELOG.md(+1 -0)📝
packages/client/src/components/agents/AgentEditor.tsx(+41 -7)📝
packages/client/src/lib/custom-agent-result-examples.ts(+4 -0)📝
packages/client/src/localization/locales/en.json(+5 -0)📝
packages/server/src/routes/generate.routes.ts(+333 -68)📝
packages/server/src/routes/generate/generate-route-utils.ts(+37 -0)📝
packages/server/src/services/agents/agent-executor.ts(+18 -0)📝
packages/shared/src/types/agent.ts(+9 -0)➕
scripts/regressions/character-activity-agent.regression.ts(+76 -0)📄 Description
Linked issue
Closes #5310
Why this change
What changed
manage_chat_characterscustom-Agent capability andcharacter_activity_updateresult type.activeCharacterIdslist.inactiveCharacterIdsmetadata, and assembles the current reply with only the selected cards.Validation
pnpm checkpasses locallyCONTRIBUTING.mdAutomated results:
pnpm check— passed.pnpm localization:check— passed.pnpm format:check— passed.pnpm regression:node -- --filter character-activity-agent— passed.pnpm smoke:ui— the custom-Agent result-format coverage passed on mobile and desktop. The complete suite reached all 360 cases but retained unrelated failures and did not exit cleanly during teardown.pnpm regression:prompt— stopped at the existing Beholder message-order assertion; this branch does not change that code path andorigin/staginghas the same ordering.Manual verification notes
Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue opened (see CONTRIBUTING.md § Translated documentation)The user-facing change is recorded under
CHANGELOG.md[Unreleased]. No long-form docs or release metadata changed.UI evidence (if applicable)
Summary by CodeRabbit
New Features
Bug Fixes
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.