feat: 支持折叠破限设置

This commit is contained in:
yexi committed 2026-08-28 01:49:58 +08:00
1 parent 7bee8d7cd4
commit da7d76f829
6 files changed
+371 -143

No files matched your search

+10
View File
@@ -3,6 +3,11 @@
/** Simplified Chinese dictionary and key source of truth. */
export const zh = {
title: '破限模式',
summaryEnabled: '已开启',
summaryDisabled: '已关闭',
summaryLoading: '读取中',
summaryUnavailable: '设置不可用',
summaryIncompatible: '部分模式不兼容',
description: '开启后,各模式的系统提示词整体替换为以当前原版为底稿、融合破限规则的完整版本;关闭即恢复 DSH 原版提示词。从下一次请求和新建子代理开始生效,不改动正在执行的请求、工具定义、权限配置与会话历史。',
toggle: '启用破限',
scopeNote: '提示词仅由 DSH 生成时才受本插件控制;模型平台或宿主环境中更高优先级的规则不在覆盖范围内。',
@@ -30,6 +35,11 @@ export type UnrestrictedLocaleKey = keyof typeof zh
/** English dictionary checked against the Chinese key set. */
export const en = {
title: 'Unrestricted mode',
summaryEnabled: 'Enabled',
summaryDisabled: 'Disabled',
summaryLoading: 'Loading',
summaryUnavailable: 'Settings unavailable',
summaryIncompatible: 'Some modes incompatible',
description: 'When enabled, each mode\'s system prompt is replaced wholesale by a fused prompt built on its current original; disabling restores the stock DSH prompt. Applies from the next request and new subagents; in-flight requests, tool definitions, permissions, and session history are never touched.',
toggle: 'Enable unrestricted mode',
scopeNote: 'This plugin can only rewrite prompts DSH generates itself; higher-priority rules from the model platform or host environment are out of scope.',