Astra v2.2.52
- 채팅 기록 목록 누락 수정: 후처리 예외로 _saveCurrentSession 이 건너뛰던 회귀를 try/finally 로 보장, _saveCurrentSession 자체도 throw 방지. 1인 기업 모드 업무 턴(_runCompanyTurn)도 요청/보고서 쌍으로 기록 (_saveCompanyTurnSession). - Self-Reflector 실행 검증 크로스플랫폼화: .py 는 python3 자동 탐지, .ts 는 로컬 node_modules/typescript/bin/tsc 직접 호출. - 버전 2.2.52 상향 + package-lock 동기화 + 재패키징. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -191,9 +191,17 @@ export async function handleChatMessage(provider: SidebarChatProvider, data: any
|
||||
}
|
||||
return true;
|
||||
}
|
||||
await provider._handlePrompt(data);
|
||||
await provider._autoWriteChronicleAfterPrompt();
|
||||
await provider._saveCurrentSession();
|
||||
try {
|
||||
await provider._handlePrompt(data);
|
||||
await provider._autoWriteChronicleAfterPrompt();
|
||||
} finally {
|
||||
// Persist the session even if _handlePrompt or the chronicle
|
||||
// auto-write throws *after* the answer already streamed —
|
||||
// otherwise the reply shows in the UI but never lands in the
|
||||
// 기록(Chat History) list. This is the regression that made
|
||||
// recent conversations stop appearing.
|
||||
await provider._saveCurrentSession();
|
||||
}
|
||||
return true;
|
||||
case 'activity':
|
||||
provider._lmStudio?.activity.bump();
|
||||
|
||||
Reference in New Issue
Block a user