mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-03-13 07:30:52 -07:00
fix(rebase): Resolve conflicts from rebase onto abhijit-2592
Manually resolved merge conflicts in CLI and Core config files that occurred during the rebase of the extensible plan mode feature branch onto `abhijit-2592/read-proj-dir-policy-file`.
This commit is contained in:
@@ -813,12 +813,8 @@ export async function loadCliConfig(
|
||||
coreTools: settings.tools?.core || undefined,
|
||||
allowedTools: allowedTools.length > 0 ? allowedTools : undefined,
|
||||
policyEngineConfig,
|
||||
<<<<<<< HEAD
|
||||
policyUpdateConfirmationRequest,
|
||||
excludeTools,
|
||||
=======
|
||||
excludeTools: finalExcludeTools,
|
||||
>>>>>>> 45fcd9869 (Fix: Enable write_file in Plan Mode via workspace policy)
|
||||
toolDiscoveryCommand: settings.tools?.discoveryCommand,
|
||||
toolCallCommand: settings.tools?.callCommand,
|
||||
mcpServerCommand,
|
||||
|
||||
@@ -74,9 +74,6 @@ export function getPolicyDirectories(
|
||||
dirs.push(workspacePoliciesDir);
|
||||
}
|
||||
|
||||
// Admin tier (highest priority)
|
||||
dirs.push(Storage.getSystemPoliciesDir());
|
||||
|
||||
// Default tier (lowest priority)
|
||||
dirs.push(defaultPoliciesDir ?? DEFAULT_CORE_POLICIES_DIR);
|
||||
|
||||
@@ -180,11 +177,7 @@ export async function createPolicyEngineConfig(
|
||||
const policyDirs = getPolicyDirectories(
|
||||
defaultPoliciesDir,
|
||||
settings.policyPaths,
|
||||
<<<<<<< HEAD
|
||||
settings.workspacePoliciesDir,
|
||||
=======
|
||||
workspacePoliciesDir,
|
||||
>>>>>>> 45fcd9869 (Fix: Enable write_file in Plan Mode via workspace policy)
|
||||
);
|
||||
const securePolicyDirs = await filterSecurePolicyDirectories(policyDirs);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user