feat(hermes): add human delay settings

This commit is contained in:
晴天
2026-05-24 22:31:52 +08:00
parent b2146b54cb
commit 8c963cd3d4
8 changed files with 452 additions and 1 deletions

View File

@@ -640,6 +640,20 @@ export default {
hermesUnauthorizedDmConfigBehavior_pair: _('回复配对码', 'Reply with pairing code', '回覆配對碼'),
hermesUnauthorizedDmConfigBehavior_ignore: _('静默忽略', 'Silently ignore', '靜默忽略'),
hermesUnauthorizedDmConfigFootnote: _('pair 是默认值会拒绝访问但在私信中回复一次性配对码ignore 会静默丢弃陌生私信。平台级覆盖仍可在渠道配置或 raw YAML 中单独设置。', 'pair is the default: Hermes denies access but replies with a one-time pairing code in DMs. ignore silently drops unknown DMs. Platform-level overrides can still be set in channel settings or raw YAML.', 'pair 是預設值會拒絕存取但在私訊中回覆一次性配對碼ignore 會靜默丟棄陌生私訊。平台級覆蓋仍可在頻道設定或 raw YAML 中單獨設定。'),
hermesHumanDelayConfigTitle: _('响应节奏', 'Response pacing', '回應節奏'),
hermesHumanDelayConfigDesc: _('控制消息平台回复分块之间的等待时间,降低刷屏或模拟更自然发送节奏。', 'Control the wait time between reply chunks on messaging platforms to reduce flooding or mimic a more natural sending rhythm.', '控制訊息平台回覆分塊之間的等待時間,降低刷屏或模擬更自然的傳送節奏。'),
hermesHumanDelayConfigStatusReady: _('结构化配置', 'structured settings', '結構化設定'),
hermesHumanDelayConfigSave: _('保存响应节奏', 'Save pacing', '儲存回應節奏'),
hermesHumanDelayConfigSaveSuccess: _('响应节奏已保存,建议重启 Hermes Gateway 生效', 'Response pacing saved. Restart Hermes Gateway to take effect.', '回應節奏已儲存,建議重啟 Hermes Gateway 生效'),
hermesHumanDelayConfigLoadFailed: _('加载响应节奏失败', 'Load response pacing failed', '載入回應節奏失敗'),
hermesHumanDelayConfigSaveFailed: _('保存响应节奏失败', 'Save response pacing failed', '儲存回應節奏失敗'),
hermesHumanDelayConfigMode: _('节奏模式', 'Pacing mode', '節奏模式'),
hermesHumanDelayConfigMode_off: _('关闭', 'Off', '關閉'),
hermesHumanDelayConfigMode_natural: _('自然节奏', 'Natural pacing', '自然節奏'),
hermesHumanDelayConfigMode_custom: _('自定义范围', 'Custom range', '自訂範圍'),
hermesHumanDelayConfigMinMs: _('最小延迟 ms', 'Minimum delay ms', '最小延遲 ms'),
hermesHumanDelayConfigMaxMs: _('最大延迟 ms', 'Maximum delay ms', '最大延遲 ms'),
hermesHumanDelayConfigFootnote: _('natural 使用 800-2500mscustom 使用下方范围。Signal 等平台可能忽略或仅部分支持该设置。', 'natural uses 800-2500ms; custom uses the range below. Platforms such as Signal may ignore or only partially support this setting.', 'natural 使用 800-2500mscustom 使用下方範圍。Signal 等平台可能忽略或僅部分支援此設定。'),
hermesSecurityConfigTitle: _('Tirith 安全扫描', 'Tirith security scanning', 'Tirith 安全掃描'),
hermesSecurityConfigDesc: _('控制终端命令执行前的 Tirith 内容扫描,拦截明显的 URL 伪装、管道执行和注入风险。', 'Control Tirith content scanning before terminal commands run to catch obvious URL spoofing, pipe-to-shell, and injection risks.', '控制終端命令執行前的 Tirith 內容掃描,攔截明顯的 URL 偽裝、管道執行和注入風險。'),
hermesSecurityConfigStatusReady: _('结构化配置', 'structured settings', '結構化設定'),