mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-11-08 01:57:31 +01:00
Handle manifest-free verified builtin providers in policy staging
Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
1 parent
4b20957878
commit
cd719a1b19
1 file changed
+6
-1
@@ -412,7 +412,12 @@ export class AcpxRuntimeHost {
|
||||
...(options.providerPolicy === undefined ? {} : { providerPolicy: {
|
||||
...options.providerPolicy,
|
||||
systemInstructions: boundedInstructions(options.systemInstructions),
|
||||
protectedPaths: [...(options.providerPolicy.protectedPaths ?? []), dirname(installation.agentServerPackageJsonPath)],
|
||||
protectedPaths: [
|
||||
...(options.providerPolicy.protectedPaths ?? []),
|
||||
...(installation.agentServerPackageJsonPath === null
|
||||
? []
|
||||
: [dirname(installation.agentServerPackageJsonPath)]),
|
||||
],
|
||||
} }),
|
||||
}),
|
||||
dependencies.retainAdmissionCleanup,
|
||||
|
||||
Reference in new issue
Block a user