2
0

refactor: 将 liang-intensisy 皮肤重命名为 long-intensity

file: 替换梁圣的资源为龙圣
This commit is contained in:
2026-10-24 23:06:51 +08:00
parent f6c90d173c
commit 55fffb8604
36 changed files with 28 additions and 28 deletions

View File

@@ -2,7 +2,7 @@
## 安装 ## 安装
Web 和官方 Desktop 使用独立的 profile。下面的 `dsh plugin --profile web` 命令只适用于 Web;官方 Desktop 请在桌面应用的「设置 → 皮肤市场」或插件管理器中安装 npm 包 `@leon___/dsh-client-liang-intensity-skin`,安装后完全退出并重新打开 Desktop。不要把 Web profile 的安装结果当成 Desktop 已安装。 Web 和官方 Desktop 使用独立的 profile。下面的 `dsh plugin --profile web` 命令只适用于 Web;官方 Desktop 请在桌面应用的「设置 → 皮肤市场」或插件管理器中安装 npm 包 `@leon___/dsh-client-long-intensity-skin`,安装后完全退出并重新打开 Desktop。不要把 Web profile 的安装结果当成 Desktop 已安装。
- #### 方法一, 提示词安装: - #### 方法一, 提示词安装:
<details> <details>
@@ -14,13 +14,13 @@ Web 和官方 Desktop 使用独立的 profile。下面的 `dsh plugin --profile
请把“滑动变祖”皮肤安装到 DSH 的 web profile。必须先检查冲突,确认可以继续后再安装。 请把“滑动变祖”皮肤安装到 DSH 的 web profile。必须先检查冲突,确认可以继续后再安装。
1. 安装前只读检查 web profile 的 package.json(dependencies 与 dsh.profile.bundles)、profile 的 cordis.patch.yml 和 $DSH_HOME/cordis.patch.yml(如有)。 1. 安装前只读检查 web profile 的 package.json(dependencies 与 dsh.profile.bundles)、profile 的 cordis.patch.yml 和 $DSH_HOME/cordis.patch.yml(如有)。
2. 从当前启用的 bundles 中识别其他皮肤、主题或外观插件:排除 @deepseek-ai/dsh-base、@deepseek-ai/dsh-web-app、dsh-skin-market 和本次目标 @leon___/dsh-client-liang-intensity-skin;读取候选 package.json 的名称、描述、dsh.client/dsh.bundle 声明,必要时再读 README。 2. 从当前启用的 bundles 中识别其他皮肤、主题或外观插件:排除 @deepseek-ai/dsh-base、@deepseek-ai/dsh-web-app、dsh-skin-market 和本次目标 @leon___/dsh-client-long-intensity-skin;读取候选 package.json 的名称、描述、dsh.client/dsh.bundle 声明,必要时再读 README。
3. 如果发现其他已启用的皮肤插件,列出它们并停在安装前,提醒我先停用;未经我确认不得修改任何 profile 文件,也不得执行安装。 3. 如果发现其他已启用的皮肤插件,列出它们并停在安装前,提醒我先停用;未经我确认不得修改任何 profile 文件,也不得执行安装。
4. 如果没有冲突,明确说“未检测到其他已启用的皮肤插件”,然后执行: 4. 如果没有冲突,明确说“未检测到其他已启用的皮肤插件”,然后执行:
dsh plugin --profile web add 'github:kingOfSoySauce/dsh-liang-skin' dsh plugin --profile web add 'github:kingOfSoySauce/dsh-long-skin'
5. 安装后读取 web profile 的 package.json,确认 dependencies 和 dsh.profile.bundles 中都有 @leon___/dsh-client-liang-intensity-skin;再检查目标 package.json 的 dsh.client/dsh.bundle 声明和 liang-intensity-skin loader 注册项。任一缺失都要报告安装或注册失败。 5. 安装后读取 web profile 的 package.json,确认 dependencies 和 dsh.profile.bundles 中都有 @leon___/dsh-client-long-intensity-skin;再检查目标 package.json 的 dsh.client/dsh.bundle 声明和 liang-intensity-skin loader 注册项。任一缺失都要报告安装或注册失败。
6. 告诉我如何重启 DSH Web。不要替我安装、停用或卸载其他皮肤。 6. 告诉我如何重启 DSH Web。不要替我安装、停用或卸载其他皮肤。
``` ```
@@ -77,16 +77,16 @@ dsh plugin --profile web add 'github:kingOfSoySauce/dsh-liang-skin'
### 方式一:从 GitHub 安装最新版(推荐) ### 方式一:从 GitHub 安装最新版(推荐)
```sh ```sh
dsh plugin --profile web add 'github:kingOfSoySauce/dsh-liang-skin' dsh plugin --profile web add 'github:kingOfSoySauce/dsh-long-skin'
dsh --profile web --dump-config | grep -B1 -A2 liang-intensity dsh --profile web --dump-config | grep -B1 -A2 liang-intensity
``` ```
### 方式二:从 GitHub Release tarball 安装 ### 方式二:从 GitHub Release tarball 安装
从本仓库 [Releases](https://github.com/kingOfSoySauce/dsh-liang-skin/releases) 页面下载 `leon___-dsh-client-liang-intensity-skin-0.1.11.tgz`(包内已包含构建好的 `lib/client.js`,安装时不需要执行任何 prepare 脚本),然后: 从本仓库 [Releases](https://github.com/kingOfSoySauce/dsh-long-skin/releases) 页面下载 `leon___-dsh-client-long-intensity-skin-0.1.11.tgz`(包内已包含构建好的 `lib/client.js`,安装时不需要执行任何 prepare 脚本),然后:
```sh ```sh
dsh plugin --profile web add ./leon___-dsh-client-liang-intensity-skin-0.1.11.tgz dsh plugin --profile web add ./leon___-dsh-client-long-intensity-skin-0.1.11.tgz
``` ```
@@ -95,8 +95,8 @@ dsh plugin --profile web add ./leon___-dsh-client-liang-intensity-skin-0.1.11.tg
### 方式三:克隆后从本地路径安装(开发迭代) ### 方式三:克隆后从本地路径安装(开发迭代)
```sh ```sh
git clone https://github.com/kingOfSoySauce/dsh-liang-skin.git git clone https://github.com/kingOfSoySauce/dsh-long-skin.git
cd dsh-liang-skin cd dsh-long-skin
dsh plugin --profile web add . dsh plugin --profile web add .
``` ```
@@ -105,7 +105,7 @@ dsh plugin --profile web add .
### 验证与重启 ### 验证与重启
安装成功后 `dsh plugin` 会自动把插件注册进 profile 的 `dsh.profile.bundles`(见 `~/.dsh/profiles/web/package.json`),无需手动改配置;`--dump-config` 的输出中应出现 `dsh-client-liang-intensity-skin` 配置层(上面命令里的 grep 就是为此准备的)。 安装成功后 `dsh plugin` 会自动把插件注册进 profile 的 `dsh.profile.bundles`(见 `~/.dsh/profiles/web/package.json`),无需手动改配置;`--dump-config` 的输出中应出现 `dsh-client-long-intensity-skin` 配置层(上面命令里的 grep 就是为此准备的)。
如果正式 DSH 正在运行,让执行安装的 agent 给用户两个选择: 如果正式 DSH 正在运行,让执行安装的 agent 给用户两个选择:
@@ -117,7 +117,7 @@ dsh plugin --profile web add .
### 卸载 ### 卸载
```sh ```sh
dsh plugin --profile web remove @leon___/dsh-client-liang-intensity-skin dsh plugin --profile web remove @leon___/dsh-client-long-intensity-skin
``` ```
`remove` 会自动把插件从 `dsh.profile.bundles` 中摘除;重启后设置入口完全移除。 `remove` 会自动把插件从 `dsh.profile.bundles` 中摘除;重启后设置入口完全移除。

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 139 KiB

After

Width:  |  Height:  |  Size: 171 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 27 KiB

After

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 28 KiB

After

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 27 KiB

After

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 28 KiB

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 28 KiB

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 29 KiB

After

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 28 KiB

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 23 KiB

After

Width:  |  Height:  |  Size: 114 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 27 KiB

After

Width:  |  Height:  |  Size: 113 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 28 KiB

After

Width:  |  Height:  |  Size: 155 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 45 KiB

After

Width:  |  Height:  |  Size: 157 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 96 KiB

After

Width:  |  Height:  |  Size: 179 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 157 KiB

After

Width:  |  Height:  |  Size: 195 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 149 KiB

After

Width:  |  Height:  |  Size: 196 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 28 KiB

After

Width:  |  Height:  |  Size: 48 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 29 KiB

After

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 30 KiB

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 28 KiB

After

Width:  |  Height:  |  Size: 138 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 53 KiB

After

Width:  |  Height:  |  Size: 173 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 147 KiB

After

Width:  |  Height:  |  Size: 276 KiB

View File

@@ -1,3 +1,3 @@
- insert: - insert:
- id: liang-intensity-skin - id: liang-intensity-skin
name: '@leon___/dsh-client-liang-intensity-skin' name: '@leon___/dsh-client-long-intensity-skin'

View File

@@ -13,12 +13,12 @@ Windows Desktop 尚无本地实机验证。请报告者升级后完全退出并
## 更新 ## 更新
官方 Desktop:在插件管理器或皮肤市场更新 npm 包 `@leon___/dsh-client-liang-intensity-skin` 至 `0.1.11`,完全退出并重新打开 Desktop。 官方 Desktop:在插件管理器或皮肤市场更新 npm 包 `@leon___/dsh-client-long-intensity-skin` 至 `0.1.11`,完全退出并重新打开 Desktop。
Web: Web:
```sh ```sh
dsh plugin --profile web add '@leon___/dsh-client-liang-intensity-skin@0.1.11' dsh plugin --profile web add '@leon___/dsh-client-long-intensity-skin@0.1.11'
``` ```
安装后完全停止并重新启动 DSH Web。Web profile 与官方 Desktop 的安装状态彼此独立。 安装后完全停止并重新启动 DSH Web。Web profile 与官方 Desktop 的安装状态彼此独立。

View File

@@ -1,4 +1,4 @@
window.__ModuleLoader__.load({id:"@leon___/dsh-client-liang-intensity-skin",factory:(require)=>{var module={exports:{}};var exports=module.exports; window.__ModuleLoader__.load({id:"@leon___/dsh-client-long-intensity-skin",factory:(require)=>{var module={exports:{}};var exports=module.exports;
"use strict"; "use strict";
var __defProp = Object.defineProperty; var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor; var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -940,7 +940,7 @@ function paletteForFrame(rawFrame) {
// src/client/index.tsx // src/client/index.tsx
var import_jsx_runtime = require("react/jsx-runtime"); var import_jsx_runtime = require("react/jsx-runtime");
var PACKAGE_ID = "dsh-client-liang-intensity-skin"; var PACKAGE_ID = "dsh-client-long-intensity-skin";
var LOCALE_NAMESPACE = "liang.skin"; var LOCALE_NAMESPACE = "liang.skin";
var ASSET_PREFIX = `/plugins/${PACKAGE_ID}/assets`; var ASSET_PREFIX = `/plugins/${PACKAGE_ID}/assets`;
var BIND_EFFORT_KEY = "dsh-liang-intensity-skin.bind-effort"; var BIND_EFFORT_KEY = "dsh-liang-intensity-skin.bind-effort";

File diff suppressed because one or more lines are too long

4
package-lock.json generated
View File

@@ -1,11 +1,11 @@
{ {
"name": "@leon___/dsh-client-liang-intensity-skin", "name": "@leon___/dsh-client-long-intensity-skin",
"version": "0.1.12", "version": "0.1.12",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "@leon___/dsh-client-liang-intensity-skin", "name": "@leon___/dsh-client-long-intensity-skin",
"version": "0.1.12", "version": "0.1.12",
"devDependencies": { "devDependencies": {
"@types/react": "~18.3.1", "@types/react": "~18.3.1",

View File

@@ -1,13 +1,13 @@
{ {
"name": "@leon___/dsh-client-liang-intensity-skin", "name": "@leon___/dsh-client-long-intensity-skin",
"version": "0.1.12", "version": "0.1.12",
"description": "滑动变祖:an opt-in adaptive reasoning slider skin for DeepSeek Harness", "description": "滑动变祖:an opt-in adaptive reasoning slider skin for DeepSeek Harness",
"repository": { "repository": {
"type": "git", "type": "git",
"url": "git+https://github.com/kingOfSoySauce/dsh-liang-skin.git" "url": "git+https://github.com/kingOfSoySauce/dsh-long-skin.git"
}, },
"homepage": "https://github.com/kingOfSoySauce/dsh-liang-skin#readme", "homepage": "https://github.com/kingOfSoySauce/dsh-long-skin#readme",
"bugs": "https://github.com/kingOfSoySauce/dsh-liang-skin/issues", "bugs": "https://github.com/kingOfSoySauce/dsh-long-skin/issues",
"type": "module", "type": "module",
"main": "./src/index.js", "main": "./src/index.js",
"exports": { "exports": {

View File

@@ -1,6 +1,6 @@
import { build } from "esbuild"; import { build } from "esbuild";
const id = "@leon___/dsh-client-liang-intensity-skin"; const id = "@leon___/dsh-client-long-intensity-skin";
await build({ await build({
entryPoints: ["src/client/index.tsx"], entryPoints: ["src/client/index.tsx"],

View File

@@ -8,7 +8,7 @@ import { chromium } from "playwright-core";
// Self-contained host contracts; native Desktop acceptance remains manual. // Self-contained host contracts; native Desktop acceptance remains manual.
const projectRoot = fileURLToPath(new URL("../", import.meta.url)); const projectRoot = fileURLToPath(new URL("../", import.meta.url));
const packageId = "@leon___/dsh-client-liang-intensity-skin"; const packageId = "@leon___/dsh-client-long-intensity-skin";
const viewport = { width: 1100, height: 700 }; const viewport = { width: 1100, height: 700 };
const css = await readFile(new URL("../src/client/skin.css", import.meta.url), "utf8"); const css = await readFile(new URL("../src/client/skin.css", import.meta.url), "utf8");
const compiled = await build({ absWorkingDir: projectRoot, const compiled = await build({ absWorkingDir: projectRoot,

View File

@@ -24,7 +24,7 @@ import {
type EffortLike, type EffortLike,
} from "./logic"; } from "./logic";
const PACKAGE_ID = "dsh-client-liang-intensity-skin"; const PACKAGE_ID = "dsh-client-long-intensity-skin";
const LOCALE_NAMESPACE = "liang.skin"; const LOCALE_NAMESPACE = "liang.skin";
const ASSET_PREFIX = `/plugins/${PACKAGE_ID}/assets`; const ASSET_PREFIX = `/plugins/${PACKAGE_ID}/assets`;
const BIND_EFFORT_KEY = "dsh-liang-intensity-skin.bind-effort"; const BIND_EFFORT_KEY = "dsh-liang-intensity-skin.bind-effort";

View File

@@ -1,7 +1,7 @@
export const PREVIEW_MAX_FRAME = 240; export const PREVIEW_MAX_FRAME = 240;
export const MAX_LEVEL = 30; export const MAX_LEVEL = 30;
const LIANG_RANKS = ["小难梁", "牢梁", "梁子", "梁圣", "梁神", "梁祖"] as const; const LIANG_RANKS = ["小龙娘", "牢龙", "龙子", "龙圣", "龙神", "龙祖"] as const;
export interface EffortLike { export interface EffortLike {
id: string; id: string;

View File

@@ -4,7 +4,7 @@ import { parseSingleRange } from "./range.js";
export { parseSingleRange } from "./range.js"; export { parseSingleRange } from "./range.js";
export const PACKAGE_ID = "dsh-client-liang-intensity-skin"; export const PACKAGE_ID = "dsh-client-long-intensity-skin";
export const SETTINGS_NAMESPACE = "liang-intensity-skin"; export const SETTINGS_NAMESPACE = "liang-intensity-skin";
export const ASSET_PREFIX = `/plugins/${PACKAGE_ID}/assets/`; export const ASSET_PREFIX = `/plugins/${PACKAGE_ID}/assets/`;