mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-22 11:04:42 -07:00
Serialize function calls that mutate state (#8513)
This commit is contained in:
committed by
GitHub
parent
efb57e1cef
commit
e76dda37ad
@@ -532,6 +532,14 @@ export enum Kind {
|
||||
Other = 'other',
|
||||
}
|
||||
|
||||
// Function kinds that have side effects
|
||||
export const MUTATOR_KINDS: Kind[] = [
|
||||
Kind.Edit,
|
||||
Kind.Delete,
|
||||
Kind.Move,
|
||||
Kind.Execute,
|
||||
] as const;
|
||||
|
||||
export interface ToolLocation {
|
||||
// Absolute path to the file
|
||||
path: string;
|
||||
|
||||
Reference in New Issue
Block a user