fix: /clear 이후 이전 transcript가 남는 문제 수정 - #52
Open
Yoonwoo-Ha wants to merge 1 commit into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
문제
GJC와 Claude Code는
/clear실행 후에도 provider session ID와 JSONL 파일을 그대로 유지합니다.기존 ChatMux는 이를 새 대화 경계로 인식하지 않아 다음 문제가 있었습니다.
/clear후 새 대화를 시작해도 이전 메시지가 채팅에 남음변경 사항
GJC
type: custom,customType: context_clear이벤트를 대화 경계로 처리합니다./clear문자열은 경계로 취급하지 않습니다.Claude Code
<command-name>/clear</command-name>만 경계로 인식합니다.클라이언트 캐시
historyEpoch를 추가했습니다.호환성
historyEpoch는 optional 필드이므로 기존 provider 응답과 호환됩니다.테스트
npm run typechecknpm run lintnpm run build로컬 전체 테스트에서는 933개 중 931개가 통과했습니다. 나머지 2개는 사용자 HOME에 설치된 Codex/OpenCode skill 목록이 테스트 fixture에 추가되어 발생하는 기존 환경 의존 실패이며, 이번 변경 파일과는 무관합니다.