dsh-custom-mode 1.12.1 → 1.12.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.i18n.yaml CHANGED
@@ -1,5 +1,5 @@
1
1
  # 双语配对一致性记录:两侧在「上次确认一致」时的 git blob 哈希。
2
2
  # 两份文档权威相同——改完任意一侧,请把另一侧也改掉,然后重新记录:
3
3
  # node tools/verify-translation-pairing.mjs --write
4
- README.md: 76fa2912ffb915b664b12346c9b1b2d5a9ca7637
5
- README.zh.md: cba5304f70adb125af94b2bd9f24b8b73af50fd8
4
+ README.md: 3f1f06f1d3b0f1778291d8807a8d70d1002d00e9
5
+ README.zh.md: 6894c1478969a6bb5b04bb7a7675c06d6ea8395b
package/README.md CHANGED
@@ -37,16 +37,18 @@ range, but they no longer get a CI leg of their own.
37
37
 
38
38
  The four official modes (`standard` / `ptc` / `minimal` / `cordis`) are untouched.
39
39
 
40
- | | |
41
- | --- | --- |
42
- | ![Mode name and base mode](https://raw.githubusercontent.com/BOWLUNA/dsh-custom-mode/main/docs/images/01-mode-switch.png) | ![Plugin switches](https://raw.githubusercontent.com/BOWLUNA/dsh-custom-mode/main/docs/images/02-plugin-switches.png) |
43
- | ![System prompt](https://raw.githubusercontent.com/BOWLUNA/dsh-custom-mode/main/docs/images/03-system-prompt.png) | ![Mode picker](https://raw.githubusercontent.com/BOWLUNA/dsh-custom-mode/main/docs/images/04-preset-picker.png) |
40
+ <p align="center">
41
+ <img src="https://raw.githubusercontent.com/BOWLUNA/dsh-custom-mode/main/docs/images/01-mode-switch.png" width="360" alt="Base mode and plugin switches">
42
+ <img src="https://raw.githubusercontent.com/BOWLUNA/dsh-custom-mode/main/docs/images/02-plugin-switches.png" width="360" alt="Plugin switches"><br>
43
+ <img src="https://raw.githubusercontent.com/BOWLUNA/dsh-custom-mode/main/docs/images/03-system-prompt.png" width="360" alt="System prompt">
44
+ <img src="https://raw.githubusercontent.com/BOWLUNA/dsh-custom-mode/main/docs/images/04-preset-picker.png" width="360" alt="Mode picker">
45
+ </p>
44
46
 
45
- The assistant manager, cropped to its own section. All five images are English, **all exactly 800x800**, and
46
- shot on a throwaway `DSH_HOME` with no sessions by `tools/screenshots/shoot-fresh.mjs` (the rendered page
47
- is what `tools/browser-verify.mjs` checks):
47
+ <p align="center">
48
+ <img src="https://raw.githubusercontent.com/BOWLUNA/dsh-custom-mode/main/docs/images/05-assistant-manager.png" width="360" alt="Assistants">
49
+ </p>
48
50
 
49
- ![Assistant manager](https://raw.githubusercontent.com/BOWLUNA/dsh-custom-mode/main/docs/images/05-assistant-manager.png)
51
+ The four views above are one 2×2 set. The assistant manager sits on its own, centered. Every file is English and exactly 800×800, shot on a throwaway `DSH_HOME` with no sessions.
50
52
 
51
53
  ## Install
52
54
 
@@ -54,7 +56,7 @@ One command installs everything — the settings-page plugin, and the preset it
54
56
  activation:
55
57
 
56
58
  ```sh
57
- dsh plugin --profile web add dsh-custom-mode@1.12.1 # pin the version to get this one for sure
59
+ dsh plugin --profile web add dsh-custom-mode@1.12.2 # pin the version to get this one for sure
58
60
  # A bare `add dsh-custom-mode` is subject to pnpm's release cooldown (`minimumReleaseAge`, 1 day by
59
61
  # default): for hours after a release it can silently install an OLDER version — measured: a bare
60
62
  # install 38 minutes after 1.3.0 shipped landed on 1.0.3. Check what you got with `npm ls
@@ -394,7 +396,7 @@ installing again — your data is not touched:
394
396
 
395
397
  ```sh
396
398
  # the pinned form: what you ask for is what you get
397
- dsh plugin --profile web add dsh-custom-mode@1.12.1
399
+ dsh plugin --profile web add dsh-custom-mode@1.12.2
398
400
  # then restart the DSH process that serves the web profile
399
401
  ```
400
402
 
package/README.zh.md CHANGED
@@ -31,22 +31,25 @@ base mode / plugin switches / multi-assistant / multi-persona。
31
31
 
32
32
  官方四个模式(`standard` / `ptc` / `minimal` / `cordis`)不受影响。
33
33
 
34
- | | |
35
- | --- | --- |
36
- | ![模式名称与基础模式](https://raw.githubusercontent.com/BOWLUNA/dsh-custom-mode/main/docs/images/01-mode-switch.png) | ![插件开关](https://raw.githubusercontent.com/BOWLUNA/dsh-custom-mode/main/docs/images/02-plugin-switches.png) |
37
- | ![系统提示词](https://raw.githubusercontent.com/BOWLUNA/dsh-custom-mode/main/docs/images/03-system-prompt.png) | ![模式选择器](https://raw.githubusercontent.com/BOWLUNA/dsh-custom-mode/main/docs/images/04-preset-picker.png) |
34
+ <p align="center">
35
+ <img src="https://raw.githubusercontent.com/BOWLUNA/dsh-custom-mode/main/docs/images/01-mode-switch.png" width="360" alt="基础模式与插件开关">
36
+ <img src="https://raw.githubusercontent.com/BOWLUNA/dsh-custom-mode/main/docs/images/02-plugin-switches.png" width="360" alt="插件开关"><br>
37
+ <img src="https://raw.githubusercontent.com/BOWLUNA/dsh-custom-mode/main/docs/images/03-system-prompt.png" width="360" alt="系统提示词">
38
+ <img src="https://raw.githubusercontent.com/BOWLUNA/dsh-custom-mode/main/docs/images/04-preset-picker.png" width="360" alt="模式选择器">
39
+ </p>
38
40
 
39
- 多助手管理器(裁到它自己那一段)。五张图都是英文、**统一 800x800**,由一个**没有会话记录的**一次性
40
- `DSH_HOME` 拍出,脚本是 `tools/screenshots/shoot-fresh.mjs`(渲染后的页面由 `tools/browser-verify.mjs` 校验):
41
+ <p align="center">
42
+ <img src="https://raw.githubusercontent.com/BOWLUNA/dsh-custom-mode/main/docs/images/05-assistant-manager.png" width="360" alt="助手">
43
+ </p>
41
44
 
42
- ![助手管理器](https://raw.githubusercontent.com/BOWLUNA/dsh-custom-mode/main/docs/images/05-assistant-manager.png)
45
+ 上面四张是一组 2×2。助手管理器单独居中。五张都是英文,文件都是 800×800,用一个没有会话记录的一次性 `DSH_HOME` 拍出。
43
46
 
44
47
  ## 安装
45
48
 
46
49
  一条命令装完——设置页插件,以及它在首次激活时自动播种的 preset:
47
50
 
48
51
  ```sh
49
- dsh plugin --profile web add dsh-custom-mode@1.12.1 # 钉版本才能确定拿到这一版
52
+ dsh plugin --profile web add dsh-custom-mode@1.12.2 # 钉版本才能确定拿到这一版
50
53
  # 不带版本号会受 pnpm 的发布冷却期影响(`minimumReleaseAge`,默认一天):发布后数小时内按名安装
51
54
  # 可能**静默装到旧版** —— 实测 1.3.0 发布 38 分钟后按名安装装到了 1.0.3。用 profile 里的
52
55
  # `npm ls dsh-custom-mode` 核对实际装到的版本,或像上面那样钉版本。
@@ -65,7 +68,7 @@ dsh `0.1.6-alpha.2` 起有插件管理页:**侧边栏 → 插件 → 添加插
65
68
 
66
69
  | 输入 | 填什么 | 说明 |
67
70
  | --- | --- | --- |
68
- | **包名** | `dsh-custom-mode` | 受 pnpm 发布冷却期影响,可能装到旧版。要这一版请钉 `@1.12.1` |
71
+ | **包名** | `dsh-custom-mode` | 受 pnpm 发布冷却期影响,可能装到旧版。要这一版请钉 `@1.12.2` |
69
72
  | **GitHub 仓库地址** | `https://github.com/BOWLUNA/dsh-custom-mode` | 指向**仓库根**即可 |
70
73
  | **本地插件目录** | `<你 clone 的路径>` | 就是仓库根 —— 仓库根**本身**就是发布包 |
71
74
 
@@ -297,7 +300,7 @@ MIT
297
300
 
298
301
  ```sh
299
302
  # 钉版本的写法:要哪版就是哪版
300
- dsh plugin --profile web add dsh-custom-mode@1.12.1
303
+ dsh plugin --profile web add dsh-custom-mode@1.12.2
301
304
  # 然后重启为该 profile 提供服务的 DSH 进程
302
305
  ```
303
306
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-custom-mode",
3
- "version": "1.12.1",
3
+ "version": "1.12.2",
4
4
  "description": "Custom modes and custom prompts for DeepSeek Harness (dsh): edit a mode's system prompt on the settings page (it takes effect on the next model step), pick its base mode, switch plugin rows one by one, and keep several assistants side by side — coding, chat or roleplay (RP) personas (multi-mode / multi-agent).",
5
5
  "license": "MIT",
6
6
  "type": "module",