mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-21 10:34:35 -07:00
feat(policy): support auto-add to policy by default and scoped persistence (#20361)
This commit is contained in:
@@ -70,7 +70,7 @@ class McpToolInvocation extends BaseToolInvocation<
|
||||
};
|
||||
}
|
||||
|
||||
protected override getPolicyUpdateOptions(
|
||||
override getPolicyUpdateOptions(
|
||||
_outcome: ToolConfirmationOutcome,
|
||||
): PolicyUpdateOptions | undefined {
|
||||
return {
|
||||
@@ -177,7 +177,7 @@ class TypeTextInvocation extends BaseToolInvocation<
|
||||
};
|
||||
}
|
||||
|
||||
protected override getPolicyUpdateOptions(
|
||||
override getPolicyUpdateOptions(
|
||||
_outcome: ToolConfirmationOutcome,
|
||||
): PolicyUpdateOptions | undefined {
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user