mirror of
https://github.com/yexi-by/dsh-unrestricted.git
synced 2026-11-28 10:30:23 +08:00
等待 HTTP 服务就绪再注册私有 RPC(v0.2.10)
This commit is contained in:
1 parent
c7afd4e03d
commit
ae6c7663fe
5 files changed
+36
-15
No files matched your search
+11
-4
@@ -82,7 +82,7 @@ The plugin handles each DSH execution preset according to its prompt structure:
|
||||
|
||||
### Structural Fusion & Fallback
|
||||
|
||||
The plugin fuses sections structurally by DSH's canonical section names (`deployment:persona-prefix`, `plan:policy`, `tools:ptc-only`, `tool:structured_output`) with idempotency guards, supporting both the latest DSH Web (`0.2.2-rc.1`) and DSH Desktop (`0.2.1-rc.5`) without brittle exact-string hash checks. If a custom preset omits the persona section, it safely falls back to the stock prompt.
|
||||
The plugin fuses sections structurally by DSH's canonical section names (`deployment:persona-prefix`, `plan:policy`, `tools:ptc-only`, `tool:structured_output`) with idempotency guards, supporting both the latest DSH Web (`0.2.2-rc.3`) and DSH Desktop (`0.2.1-rc.5`) without brittle exact-string hash checks. If a custom preset omits the persona section, it safely falls back to the stock prompt.
|
||||
|
||||
### Instant Toggle
|
||||
|
||||
@@ -92,12 +92,19 @@ The toggle state is saved in the profile's `cordis.patch.yml` and takes effect o
|
||||
|
||||
## Installation & Updates
|
||||
|
||||
For Desktop `0.2.1-rc.5` or the official `dsh-v0.2.2-rc.3` tag, add these dependencies to the `connection` entry in the profile’s `cordis.patch.yml`, preserving any existing configuration.
|
||||
|
||||
```yaml
|
||||
- id: connection
|
||||
inject: [webStartup, webServer]
|
||||
```
|
||||
|
||||
```sh
|
||||
# Install on DSH Web
|
||||
dsh plugin --profile web add github:yexi-by/dsh-unrestricted#v0.2.8
|
||||
dsh plugin --profile web add github:yexi-by/dsh-unrestricted#v0.2.10
|
||||
|
||||
# Install on DSH Desktop
|
||||
dsh plugin --profile desktop add github:yexi-by/dsh-unrestricted#v0.2.8
|
||||
dsh plugin --profile desktop add github:yexi-by/dsh-unrestricted#v0.2.10
|
||||
```
|
||||
|
||||
Restart `dsh web` or DSH Desktop after installing, then follow [Usage](#usage) to enable it.
|
||||
@@ -108,7 +115,7 @@ Use the update controls in DSH’s built-in plugin manager, or the CLI commands
|
||||
|
||||
```sh
|
||||
dsh plugin --profile web remove dsh-unrestricted
|
||||
dsh plugin --profile web add github:yexi-by/dsh-unrestricted#v0.2.8
|
||||
dsh plugin --profile web add github:yexi-by/dsh-unrestricted#v0.2.10
|
||||
```
|
||||
|
||||
Restart `dsh web` or DSH Desktop.
|
||||
|
||||
Reference in new issue
Block a user