新增: F-15阶段2手动上下文管理(2 IPC+3事件+前端按钮+status渲染)
This commit is contained in:
@@ -140,5 +140,25 @@ export default {
|
||||
exportJson: 'JSON',
|
||||
exportTxt: '纯文本',
|
||||
exportFailed: '导出失败:{msg}',
|
||||
|
||||
// ── F-15 阶段2: 手动上下文管理(清空 / 压缩) ──
|
||||
// 按钮(Header 操作区:垃圾桶 + 压缩图标)
|
||||
clearContext: '清空上下文',
|
||||
compressContext: '压缩上下文',
|
||||
// 二次确认(清空不可逆语义,防误触;历史归档保留不删)
|
||||
clearContextConfirm: '确定清空当前对话上下文?历史消息归档保留,不影响新对话',
|
||||
// 折叠分隔条(连续同 status 合并一条;{n}=合并的消息条数)
|
||||
contextArchived: '已归档 {n} 条消息',
|
||||
compressed: '已压缩上下文',
|
||||
compressing: '压缩中…',
|
||||
clearSuccess: '上下文已清空',
|
||||
compressSuccess: '上下文已压缩',
|
||||
compressError: '压缩失败:{msg}',
|
||||
clearError: '清空失败:{msg}',
|
||||
// 折叠条展开 / 收起
|
||||
expand: '展开',
|
||||
collapse: '收起',
|
||||
// 压缩摘要块标题(展开后 system 摘要消息前的标签)
|
||||
compressedSummaryLabel: '上下文摘要',
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user