mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-05-12 12:54:07 -07:00
feat(core): add project-level memory scope to save_memory tool (#24161)
This commit is contained in:
@@ -266,6 +266,11 @@ export class Storage {
|
||||
return path.join(historyDir, identifier);
|
||||
}
|
||||
|
||||
getProjectMemoryDir(): string {
|
||||
const identifier = this.getProjectIdentifier();
|
||||
return path.join(Storage.getGlobalGeminiDir(), 'memory', identifier);
|
||||
}
|
||||
|
||||
getWorkspaceSettingsPath(): string {
|
||||
return path.join(this.getGeminiDir(), 'settings.json');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user