feat(core): add project-level memory scope to save_memory tool (#24161)

This commit is contained in:
Sandy Tao
2026-03-30 18:32:15 -07:00
committed by GitHub
parent 80929c48c5
commit 46d6b119b6
19 changed files with 382 additions and 63 deletions
+5
View File
@@ -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');
}