fix(plugins): preserve settings slot and privileged tier

This commit is contained in:
Chris Rowland
2026-07-04 14:49:26 +02:00
committed by Linus Rath
parent 9da27df249
commit 95b5a81924
2 changed files with 4 additions and 0 deletions
+1
View File
@@ -341,6 +341,7 @@ export async function POST(request: NextRequest) {
author: (manifest.author as string) || 'Unknown',
description: (manifest.description as string) || '',
type: (manifest.type as string) || 'hook',
...(manifest.tier === 'privileged' ? { tier: 'privileged' } : {}),
permissions,
entrypoint,
enabled: existingPlugin?.enabled ?? true,