[codex] Harden context compression history handling (#848)
* Use token threshold for chat compression * Add compression settings controls * Use config for chat compression * Cover protected messages in compression tests * Remove message-count compression limit * Harden compression window fallback * Rebuild stale compression snapshots * Harden stale compression snapshots * Update changelog for compression hardening * Prefer local history session details
This commit is contained in:
@@ -549,6 +549,7 @@ export default {
|
||||
account: '계정',
|
||||
agent: '에이전트',
|
||||
memory: '메모리',
|
||||
compression: '압축',
|
||||
session: '세션',
|
||||
privacy: '개인정보',
|
||||
apiServer: 'API 서버',
|
||||
@@ -599,6 +600,18 @@ export default {
|
||||
userCharLimit: '사용자 프로필 문자 제한',
|
||||
userCharLimitHint: 'USER.md 최대 문자 수',
|
||||
},
|
||||
compression: {
|
||||
enabled: '압축 활성화',
|
||||
enabledHint: '긴 채팅 기록이 모델 컨텍스트를 넘기 전에 자동 압축',
|
||||
threshold: '압축 임계값',
|
||||
thresholdHint: '추정 토큰이 이 컨텍스트 비율을 넘으면 압축 시작',
|
||||
targetRatio: '목표 비율',
|
||||
targetRatioHint: '압축 후 기록 크기를 컨텍스트 비율로 지정',
|
||||
protectLastN: '최근 메시지 보호',
|
||||
protectLastNHint: '이 수만큼 최신 메시지는 압축하지 않음',
|
||||
protectFirstN: '처음 메시지 보호',
|
||||
protectFirstNHint: '이 수만큼 처음 메시지는 압축하지 않음',
|
||||
},
|
||||
session: {
|
||||
mode: '초기화 모드',
|
||||
modeHint: '세션 초기화 트리거 조건',
|
||||
@@ -953,6 +966,7 @@ export default {
|
||||
new_0_5_30_6: 'Harden Windows compatibility for path detection, file downloads, and job/update subprocesses so they no longer flash terminal windows',
|
||||
new_0_5_30_7: 'Fix config writes and provider presets: validate .env keys, route FUN-Codex through the Responses API, and refresh Z.AI/GLM model lists',
|
||||
new_0_5_30_8: 'Polish frontend details including collapsed sidebar layout, short group labels, sidebar divider, and conversation outline styling',
|
||||
new_0_5_30_9: 'Context compression now follows Profile compression settings and hardens stale snapshots by reusing previous summaries with a safe tail instead of recompressing full history',
|
||||
new_0_5_5_1: '🎉 노동절 감사합니다! 오늘은 쉬니까 양해 부탁드립니다',
|
||||
new_0_5_5_2: 'Hermes 세션 기록 페이지 추가',
|
||||
new_0_5_5_3: '기록 페이지는 독립적으로 세션 관리',
|
||||
|
||||
Reference in New Issue
Block a user