feat: add bounded history previews across nine channels

Add shared /history parsing, read-only session access, message filtering, and bounded replies. Default to three messages, cap at five, and exclude saved history commands.

Include channel integration tests, translations, command help, and the Issue #62 implementation plan.
This commit is contained in:
xmanrui 2026-08-28 03:01:53 +08:00
parent bf0e157cd4
commit 8c6c31a1b6
23 changed files with 1965 additions and 221 deletions

View file

@ -344,6 +344,7 @@ async function runSessionBindCommand(command, harness, conversationKey) {
t('标题:{title}', { title }),
`ID:${boundSessionId}`,
t('归档:{archived}', { archived: bound?.archived === true ? t('是') : t('否') }),
t('发送 /history 查看最近对话。'),
].join('\n');
return commandResult(message, splitWorkspaceCommandMessage(message));
} catch (error) {