mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #4149] [MERGED] Gate external Agent imports behind permission review #6253
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#6253
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/4149
Author: @SpicyMarinara
Created: 7/26/2026
Status: ✅ Merged
Merged: 7/26/2026
Merged by: @SpicyMarinara
Base:
staging← Head:agent/custom-agent-import-gate📝 Commits (2)
8b4c901Gate external Agent imports16cfa61fix: address custom agent import review📊 Changes
23 files changed (+1037 additions, -124 deletions)
View changed files
📝
README.md(+1 -1)📝
docs/CONFIGURATION.md(+7 -1)📝
docs/agents/custom-agents.md(+20 -3)📝
e2e/core-flows.e2e.ts(+144 -0)📝
packages/client/src/components/agents/AgentEditor.tsx(+90 -4)📝
packages/client/src/components/agents/CustomAgentRepositoriesModal.tsx(+52 -2)📝
packages/client/src/components/panels/AgentsPanel.tsx(+261 -38)📝
packages/client/src/components/panels/SettingsPanel.tsx(+37 -0)📝
packages/client/src/hooks/use-agents.ts(+31 -1)📝
packages/client/src/hooks/use-generate.ts(+2 -1)📝
packages/client/src/lib/agent-transfer.ts(+22 -15)📝
packages/client/src/localization/locales/en.json(+64 -0)📝
packages/server/src/routes/agents.routes.ts(+87 -0)📝
packages/server/src/routes/custom-agent-repositories.routes.ts(+12 -0)📝
packages/server/src/routes/generate.routes.ts(+11 -4)📝
packages/server/src/routes/generate/agent-result-capabilities.ts(+8 -23)📝
packages/server/src/routes/generate/retry-agents-route.ts(+18 -25)➕
packages/server/src/services/agents/custom-agent-import-policy.service.ts(+16 -0)📝
packages/server/src/services/agents/custom-agent-repositories.service.ts(+16 -2)📝
packages/server/src/services/prompt/marker-expander.ts(+13 -1)...and 3 more files
📄 Description
Linked issue
Closes #4147
Why this change
What changed
.envchange.Validation
pnpm checkpasses locallyCONTRIBUTING.mdAutomated evidence gathered while preparing the PR:
pnpm check— passed (one pre-existingNoodleHome.tsxhook warning)pnpm localization:check— passedpnpm regression:agent-import-security— passedpnpm regression:docs— passedpnpm exec playwright test -c playwright.config.ts -g "external Agent imports require"— mobile flow passed; desktop project intentionally skipped because the policy is persisted in the shared test servergit diff --check— passedManual verification notes
Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue opened (see CONTRIBUTING.md § Translated documentation)README,
docs/CONFIGURATION.md, anddocs/agents/custom-agents.mdare updated. Translation follow-up: #4148.UI evidence (if applicable)
Summary by CodeRabbit
New Features
Bug Fixes
Documentation
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.