mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-22 02:54:31 -07:00
feat(core): implement context-aware persistent policy approvals (#23257)
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
*/
|
||||
|
||||
import { type FunctionCall } from '@google/genai';
|
||||
import { type ApprovalMode } from '../policy/types.js';
|
||||
import type {
|
||||
ToolConfirmationOutcome,
|
||||
ToolConfirmationPayload,
|
||||
@@ -150,6 +151,7 @@ export interface UpdatePolicy {
|
||||
commandPrefix?: string | string[];
|
||||
mcpName?: string;
|
||||
allowRedirection?: boolean;
|
||||
modes?: ApprovalMode[];
|
||||
}
|
||||
|
||||
export interface ToolPolicyRejection {
|
||||
|
||||
Reference in New Issue
Block a user