From ab63f682d81d7e2312742344fececa9d1a039839 Mon Sep 17 00:00:00 2001 From: yexi Date: Sun, 25 Oct 2026 19:36:00 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=87=E6=A1=A3=EF=BC=9A=E8=A1=A5=E5=85=85?= =?UTF-8?q?=20macOS=20=E6=A1=8C=E9=9D=A2=E7=89=88=E5=AE=89=E8=A3=85?= =?UTF-8?q?=E7=A4=BA=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.en.md | 35 ++++++++++++++++++++++++++++++++--- README.ja.md | 35 ++++++++++++++++++++++++++++++++--- README.md | 37 +++++++++++++++++++++++++++++++++---- 3 files changed, 97 insertions(+), 10 deletions(-) diff --git a/README.en.md b/README.en.md index c4957dc..f8c7703 100644 --- a/README.en.md +++ b/README.en.md @@ -6,7 +6,7 @@ The plugin stays lightweight: the existing switches enable or disable the rules as a whole, preserving DSH's interface layout, tool-calling protocols, Plan Mode, code execution (PTC), and subagent mechanics. -`0.2.4` fixes prompt registration conflicts in Minimal subagents with custom personas, missing native structured-output instructions, and overlapping settings requests that could overwrite a newer preview or clear the busy state too early. The prompt rules and existing switches remain unchanged. It supports DSH `0.2.1-rc.2` (`687f282e86`) with `engines.dsh` set to `>=0.2.0-rc.2 <0.2.2-0`, retaining installation support for desktop `0.2.0-rc.2`. For desktop, this update synchronizes the installed plugin only; the desktop UI is not operated or tested. +`0.2.4` fixes prompt registration conflicts in Minimal subagents with custom personas, missing native structured-output instructions, and overlapping settings requests that could overwrite a newer preview or clear the busy state too early. The prompt rules and existing switches remain unchanged. It supports DSH `0.2.1-rc.2` (`687f282e86`) with `engines.dsh` set to `>=0.2.0-rc.2 <0.2.2-0`, retaining installation support for desktop `0.2.0-rc.2`. The desktop app is supported on Windows and macOS. The native model reasoning settings and plugin index do not replace this plugin's per-mode prompt assembly. Reasoning levels remain managed by the native model settings. @@ -134,7 +134,7 @@ dsh plugin --profile web remove dsh-unrestricted ### Desktop App -For users running the official DeepSeek Harness desktop application. +For users running the official DeepSeek Harness desktop application on Windows or macOS. > **Note**: The desktop app runs on an isolated `desktop` profile. Use the desktop app's bundled CLI binary rather than a global `dsh` command. @@ -144,28 +144,57 @@ On Windows, the default path is: %LOCALAPPDATA%\Programs\DeepSeek Harness\resources\runtime\cli\bin\dsh.cmd ``` +On macOS, the default path is: +```text +/Applications/DeepSeek Harness.app/Contents/Resources/runtime/cli/bin/dsh +``` + +If the app is installed elsewhere, replace the application path in the commands with its actual location. + #### 2. Install 1. Completely exit the desktop app. -2. Run in PowerShell or CMD: +2. Run the command for your operating system in a terminal. + + **Windows (PowerShell):** ```powershell & "$env:LOCALAPPDATA\Programs\DeepSeek Harness\resources\runtime\cli\bin\dsh.cmd" plugin --profile desktop add github:yexi-by/dsh-unrestricted#v0.2.4 ``` + + **macOS (Terminal):** + ```sh + "/Applications/DeepSeek Harness.app/Contents/Resources/runtime/cli/bin/dsh" plugin --profile desktop add "github:yexi-by/dsh-unrestricted#v0.2.4" + ``` 3. Launch the desktop app and follow the activation steps below. #### 3. Update 1. Completely exit the desktop app. 2. Reinstall with the new version: + + **Windows (PowerShell):** ```powershell & "$env:LOCALAPPDATA\Programs\DeepSeek Harness\resources\runtime\cli\bin\dsh.cmd" plugin --profile desktop remove dsh-unrestricted & "$env:LOCALAPPDATA\Programs\DeepSeek Harness\resources\runtime\cli\bin\dsh.cmd" plugin --profile desktop add github:yexi-by/dsh-unrestricted# ``` + + **macOS (Terminal):** + ```sh + "/Applications/DeepSeek Harness.app/Contents/Resources/runtime/cli/bin/dsh" plugin --profile desktop remove dsh-unrestricted + "/Applications/DeepSeek Harness.app/Contents/Resources/runtime/cli/bin/dsh" plugin --profile desktop add "github:yexi-by/dsh-unrestricted#" + ``` 3. Restart the desktop app. #### 4. Uninstall + +**Windows (PowerShell):** ```powershell & "$env:LOCALAPPDATA\Programs\DeepSeek Harness\resources\runtime\cli\bin\dsh.cmd" plugin --profile desktop remove dsh-unrestricted ``` +**macOS (Terminal):** +```sh +"/Applications/DeepSeek Harness.app/Contents/Resources/runtime/cli/bin/dsh" plugin --profile desktop remove dsh-unrestricted +``` + --- ### Local Source Install diff --git a/README.ja.md b/README.ja.md index f2571c0..1271743 100644 --- a/README.ja.md +++ b/README.ja.md @@ -6,7 +6,7 @@ プラグインは軽量な構成を維持し、既存のスイッチでルール全体を有効・無効にします。DSH 本来の画面レイアウト、ツール呼び出しプロトコル、計画モード(Plan Mode)、コード実行(PTC)、サブエージェントの実行ロジックを維持します。 -`0.2.4` は、カスタムペルソナを持つ Minimal サブエージェントのプロンプト登録競合、公式の構造化出力指示の欠落、設定画面の並行リクエストによる古いプレビューの上書きや処理中状態の早期解除を修正します。既存のプロンプトルールとスイッチは変更しません。DSH `0.2.1-rc.2`(`687f282e86`)に対応し、`engines.dsh` は `>=0.2.0-rc.2 <0.2.2-0` です。デスクトップ版 `0.2.0-rc.2` へのインストールも引き続きサポートします。今回はローカルのデスクトップ用インストールのみ同期し、デスクトップ UI の操作・検証は行いません。 +`0.2.4` は、カスタムペルソナを持つ Minimal サブエージェントのプロンプト登録競合、公式の構造化出力指示の欠落、設定画面の並行リクエストによる古いプレビューの上書きや処理中状態の早期解除を修正します。既存のプロンプトルールとスイッチは変更しません。DSH `0.2.1-rc.2`(`687f282e86`)に対応し、`engines.dsh` は `>=0.2.0-rc.2 <0.2.2-0` です。デスクトップ版 `0.2.0-rc.2` へのインストールも引き続きサポートします。デスクトップ版は Windows と macOS に対応しています。 公式の推論レベル設定とプラグイン索引は、本プラグインのモード別プロンプト組み立てを代替しません。推論レベルは公式のモデル設定で管理します。 @@ -132,7 +132,7 @@ dsh plugin --profile web remove dsh-unrestricted ### デスクトップ版 -DeepSeek Harness 公式デスクトップアプリ環境。 +Windows または macOS の DeepSeek Harness 公式デスクトップアプリ環境。 > **注意**:デスクトップ版は独立した `desktop` プロファイルを使用します。グローバルの `dsh` コマンドではなく、アプリ付属の CLI を指定して実行する必要があります。 @@ -142,28 +142,57 @@ Windows の標準パス: %LOCALAPPDATA%\Programs\DeepSeek Harness\resources\runtime\cli\bin\dsh.cmd ``` +macOS の標準パス: +```text +/Applications/DeepSeek Harness.app/Contents/Resources/runtime/cli/bin/dsh +``` + +アプリを別の場所にインストールした場合は、コマンド内のアプリのパスを実際の場所に置き換えてください。 + #### 2. インストール手順 1. デスクトップアプリを完全に終了します。 -2. PowerShell 等で以下を実行します: +2. お使いの OS に対応するコマンドをターミナルで実行します。 + + **Windows(PowerShell):** ```powershell & "$env:LOCALAPPDATA\Programs\DeepSeek Harness\resources\runtime\cli\bin\dsh.cmd" plugin --profile desktop add github:yexi-by/dsh-unrestricted#v0.2.4 ``` + + **macOS(ターミナル):** + ```sh + "/Applications/DeepSeek Harness.app/Contents/Resources/runtime/cli/bin/dsh" plugin --profile desktop add "github:yexi-by/dsh-unrestricted#v0.2.4" + ``` 3. デスクトップアプリを起動し、下記の使用方法に従って設定を完了します。 #### 3. アップデート手順 1. デスクトップアプリを完全に終了します。 2. アンインストールと再インストールを実行します: + + **Windows(PowerShell):** ```powershell & "$env:LOCALAPPDATA\Programs\DeepSeek Harness\resources\runtime\cli\bin\dsh.cmd" plugin --profile desktop remove dsh-unrestricted & "$env:LOCALAPPDATA\Programs\DeepSeek Harness\resources\runtime\cli\bin\dsh.cmd" plugin --profile desktop add github:yexi-by/dsh-unrestricted#新バージョン ``` + + **macOS(ターミナル):** + ```sh + "/Applications/DeepSeek Harness.app/Contents/Resources/runtime/cli/bin/dsh" plugin --profile desktop remove dsh-unrestricted + "/Applications/DeepSeek Harness.app/Contents/Resources/runtime/cli/bin/dsh" plugin --profile desktop add "github:yexi-by/dsh-unrestricted#新バージョン" + ``` 3. デスクトップアプリを再起動します。 #### 4. アンインストール + +**Windows(PowerShell):** ```powershell & "$env:LOCALAPPDATA\Programs\DeepSeek Harness\resources\runtime\cli\bin\dsh.cmd" plugin --profile desktop remove dsh-unrestricted ``` +**macOS(ターミナル):** +```sh +"/Applications/DeepSeek Harness.app/Contents/Resources/runtime/cli/bin/dsh" plugin --profile desktop remove dsh-unrestricted +``` + --- ### ローカルソースインストール diff --git a/README.md b/README.md index 752d892..fa0ef6e 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ 插件保持轻量:通过现有开关整体启停破限规则,保留 DSH 原有的界面布局、工具调用协议、计划模式(Plan Mode)、代码执行(PTC)以及子代理运行逻辑。 -`0.2.4` 修复 Minimal 自定义角色子代理的提示词注册冲突、结构化子代理遗漏官方输出指引,以及设置页并发请求导致的旧预览覆盖和忙碌状态提前解除。现有提示词规则与开关保持不变。支持 DSH `0.2.1-rc.3`(`22ddee3792`),`engines.dsh` 为 `>=0.2.0-rc.2 <0.2.2-0`;保留桌面版 `0.2.0-rc.2` 的安装支持,本轮桌面端仅同步安装副本,不操作或验证桌面界面。 +`0.2.4` 修复 Minimal 自定义角色子代理的提示词注册冲突、结构化子代理遗漏官方输出指引,以及设置页并发请求导致的旧预览覆盖和忙碌状态提前解除。现有提示词规则与开关保持不变。支持 DSH `0.2.1-rc.3`(`22ddee3792`),`engines.dsh` 为 `>=0.2.0-rc.2 <0.2.2-0`;保留桌面版 `0.2.0-rc.2` 的安装支持。桌面端支持 Windows 与 macOS。 官方新增的自定义模型推理等级与插件索引不替代本插件的按模式提示词组装功能;本轮保留插件。模型推理等级统一由官方模型设置管理。 @@ -134,38 +134,67 @@ dsh plugin --profile web remove dsh-unrestricted ### 桌面端(Desktop App) -适用于 DeepSeek Harness 官方桌面客户端。 +适用于 Windows 与 macOS 上的 DeepSeek Harness 官方桌面客户端。 > **注意**:桌面端使用独立的 `desktop` profile,不能使用全局 `dsh` 命令,必须调用桌面端自带的 CLI 工具执行配置。 #### 1. 桌面端 CLI 路径 -以 Windows 为例,默认路径为: +Windows 默认路径: ```text %LOCALAPPDATA%\Programs\DeepSeek Harness\resources\runtime\cli\bin\dsh.cmd ``` +macOS 默认路径: +```text +/Applications/DeepSeek Harness.app/Contents/Resources/runtime/cli/bin/dsh +``` + +如果应用安装在其他位置,请将命令中的应用路径替换为实际路径。 + #### 2. 安装步骤 1. 完全退出正在运行的桌面客户端。 -2. 打开 PowerShell 或 CMD,执行安装命令: +2. 根据系统在终端执行安装命令。 + + **Windows(PowerShell):** ```powershell & "$env:LOCALAPPDATA\Programs\DeepSeek Harness\resources\runtime\cli\bin\dsh.cmd" plugin --profile desktop add github:yexi-by/dsh-unrestricted#v0.2.4 ``` + + **macOS(终端):** + ```sh + "/Applications/DeepSeek Harness.app/Contents/Resources/runtime/cli/bin/dsh" plugin --profile desktop add "github:yexi-by/dsh-unrestricted#v0.2.4" + ``` 3. 启动桌面客户端,按下方说明启用插件与功能开关。 #### 3. 更新步骤 1. 完全退出桌面客户端。 2. 执行重新安装命令: + + **Windows(PowerShell):** ```powershell & "$env:LOCALAPPDATA\Programs\DeepSeek Harness\resources\runtime\cli\bin\dsh.cmd" plugin --profile desktop remove dsh-unrestricted & "$env:LOCALAPPDATA\Programs\DeepSeek Harness\resources\runtime\cli\bin\dsh.cmd" plugin --profile desktop add github:yexi-by/dsh-unrestricted#目标版本号 ``` + + **macOS(终端):** + ```sh + "/Applications/DeepSeek Harness.app/Contents/Resources/runtime/cli/bin/dsh" plugin --profile desktop remove dsh-unrestricted + "/Applications/DeepSeek Harness.app/Contents/Resources/runtime/cli/bin/dsh" plugin --profile desktop add "github:yexi-by/dsh-unrestricted#目标版本号" + ``` 3. 重新打开桌面客户端。 #### 4. 卸载步骤 + +**Windows(PowerShell):** ```powershell & "$env:LOCALAPPDATA\Programs\DeepSeek Harness\resources\runtime\cli\bin\dsh.cmd" plugin --profile desktop remove dsh-unrestricted ``` +**macOS(终端):** +```sh +"/Applications/DeepSeek Harness.app/Contents/Resources/runtime/cli/bin/dsh" plugin --profile desktop remove dsh-unrestricted +``` + --- ### 本地源码安装