feat: v2.62.0 - Astra Autonomous Loop (AAL) foundation & enhanced file analysis

This commit is contained in:
g1nation
2026-05-04 12:58:43 +09:00
parent 445d530b63
commit 215c5f9457
23 changed files with 2964 additions and 62 deletions
+6 -6
View File
@@ -3,8 +3,9 @@
* Project Memory (프로젝트 기억)
*
* 프로젝트별 요구사항, 코드 구조, 아키텍처 결정, 버그 기록 등을
* 프로젝트 로컬에 저장하고 관리합니다.
* 저장 위치: {projectRoot}/.astra/project_memory.json
* Astra 확장 프로그램 내부에 저장하고 관리합니다.
* 저장 위치: {ConnectAI}/.astra/project_memory.json
* (기존: {projectRoot}/.astra/ → 변경됨)
* ============================================================
*/
@@ -12,6 +13,7 @@ import * as fs from 'fs';
import * as path from 'path';
import * as crypto from 'crypto';
import { ProjectMemoryStore, ArchitectureDecision, BugRecord, MemoryContextResult } from './types';
import { getAstraDataDir } from '../core/astraPath';
export class ProjectMemory {
private store: ProjectMemoryStore;
@@ -19,10 +21,8 @@ export class ProjectMemory {
private dirty = false;
constructor(projectRoot: string) {
const astraDir = path.join(projectRoot, '.astra');
if (!fs.existsSync(astraDir)) {
fs.mkdirSync(astraDir, { recursive: true });
}
// .astra 디렉토리를 ConnectAI 내부에서 해결 (사용자 프로젝트 루트에 생성하지 않음)
const astraDir = getAstraDataDir();
this.filePath = path.join(astraDir, 'project_memory.json');
this.store = this.load(projectRoot);
}