/** * Forgen — Notepad 코어 모듈 * * .compound/notepad.md 파일을 관리합니다. * compaction(컨텍스트 압축)에서 살아남는 영구 컨텍스트 노트 저장소로, * 세션이 바뀌어도 유지되어야 하는 중요 메모를 보관합니다. * * 사용 위치: {프로젝트루트}/.compound/notepad.md */ /** {repo}/.compound/notepad.md 경로 반환 */ export declare function getNotepadPath(cwd: string): string; /** notepad.md 내용 읽기. 파일이 없으면 빈 문자열 반환. */ export declare function readNotepad(cwd: string): string; /** notepad.md 전체를 content로 덮어쓰기. 부모 디렉토리가 없으면 자동 생성. */ export declare function writeNotepad(cwd: string, content: string): void; /** * notepad.md 끝에 타임스탬프와 함께 항목 추가. * 형식: `\n## [YYYY-MM-DD HH:mm]\n{entry}\n` */ export declare function appendToNotepad(cwd: string, entry: string): void; /** notepad.md 내용 초기화 (빈 파일로 덮어쓰기). */ export declare function clearNotepad(cwd: string): void; /** * CLI 핸들러: `forgen notepad ` * * - show: 현재 notepad 내용 출력 * - add "내용": 타임스탬프와 함께 항목 추가 * - edit: notepad.md 파일 경로 출력 (에디터에서 직접 편집용) * - clear: notepad 초기화 */ export declare function handleNotepad(args: string[]): Promise;