mirror of
https://github.com/yexi-by/dsh-unrestricted.git
synced 2026-11-28 02:30:22 +08:00
精简:移除重复的插件更新器
This commit is contained in:
1 parent
35e3e7d9bc
commit
1b4d8b9205
18 files changed
+223
-1467
No files matched your search
@@ -71,8 +71,8 @@ Each DSH preset structures its prompt sections differently:
|
||||
### Structural Section Fusion
|
||||
During assembly, the plugin locates and fuses prompt sections by DSH's canonical section names (`deployment:persona-prefix`, `plan:policy`, `tools:ptc-only`, `tool:structured_output`) with idempotency guards, supporting both DSH Web and DSH Desktop without brittle exact-string or hash checks. If a custom preset omits the persona section, it safely falls back to the stock prompt.
|
||||
|
||||
### Prompt Preview & Updates
|
||||
The settings UI queries an RPC endpoint to preview the full assembled system prompt, line count, and byte size for each mode, and checks GitHub Releases for one-click updates.
|
||||
### Prompt preview
|
||||
The settings UI queries an RPC endpoint to preview the full assembled system prompt, line count, and byte size for each mode. Version checks and installation use DSH’s built-in plugin manager.
|
||||
|
||||
---
|
||||
|
||||
|
||||
@@ -71,8 +71,8 @@ DSH の各実行モードに応じてプロンプトセクションを処理し
|
||||
### 構造化セクション融合
|
||||
組み立て時には DSH の標準セクション名(`deployment:persona-prefix`、`plan:policy`、`tools:ptc-only`、`tool:structured_output`)に基づいて冪等に融合を行うため、文面のハッシュ照合に依存せず DSH Web と DSH Desktop の双方で安定して動作します。カスタムプリセットにペルソナセクションがない場合は自動的に標準プロンプトへフォールバックします。
|
||||
|
||||
### プロンプトプレビューと更新確認
|
||||
設定画面から RPC エンドポイントを通じて各モードのシステムプロンプト全文、総行数、サイズをプレビューでき、GitHub Releases の新バージョン確認とワンクリック更新にも対応しています。
|
||||
### プロンプトプレビュー
|
||||
設定画面から RPC エンドポイントを通じて各モードのシステムプロンプト全文、総行数、サイズをプレビューできます。バージョン確認とインストールには DSH 標準のプラグイン管理画面を使用します。
|
||||
|
||||
---
|
||||
|
||||
|
||||
@@ -71,8 +71,8 @@ DSH 不同运行模式下的提示词分块结构不同,插件分别处理如
|
||||
### 结构化段落融合
|
||||
每次组装时,插件按 DSH 官方系统提示词的结构化段落名称(`deployment:persona-prefix`、`plan:policy`、`tools:ptc-only`、`tool:structured_output`)进行定位与幂等融合,不依赖脆弱的逐字文本比对或哈希校验,同时兼容 DSH Web 与 DSH 桌面端。若自定义模式不包含角色设定段落,则自动保留官方原版提示词并在设置界面提示。
|
||||
|
||||
### 提示词预览与版本更新
|
||||
前端设置卡片可通过 RPC 接口实时预览各运行模式组装后的完整系统提示词、总行数与体积,并支持检测 GitHub Releases 新版本与一键更新。
|
||||
### 提示词预览
|
||||
前端设置卡片通过 RPC 接口预览各运行模式组装后的完整系统提示词、总行数与体积。版本检查和安装统一使用 DSH 原生插件管理页。
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in new issue
Block a user