fix(mcp): preserve investigation input policy
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
/** Select explicit non-secret permission settings safe for managed MCP registrations. */
|
||||
export const registrationPermissionEnvironment = (
|
||||
environment: Readonly<Record<string, string | undefined>>,
|
||||
): Readonly<Record<string, string>> => {
|
||||
const investigationRoots = environment.REA_INVESTIGATION_INPUT_ROOTS_JSON;
|
||||
return investigationRoots === undefined
|
||||
? {}
|
||||
: { REA_INVESTIGATION_INPUT_ROOTS_JSON: investigationRoots };
|
||||
};
|
||||
Reference in New Issue
Block a user