fix: support current DSH client runtime
This commit is contained in:
@@ -2,6 +2,8 @@
|
||||
|
||||
## 安装
|
||||
|
||||
Web 和官方 Desktop 使用独立的 profile。下面的 `dsh plugin --profile web` 命令只适用于 Web;官方 Desktop 请在桌面应用的「设置 → 皮肤市场」或插件管理器中安装同名 npm 包,安装后完全退出并重新打开 Desktop。不要把 Web profile 的安装结果当成 Desktop 已安装。
|
||||
|
||||
- #### 方法一, 提示词安装:
|
||||
<details>
|
||||
<summary>  点击展开提示词</summary>
|
||||
@@ -78,10 +80,10 @@ dsh --profile web --dump-config | grep -B1 -A2 liang-intensity
|
||||
|
||||
### 方式二:从 GitHub Release tarball 安装
|
||||
|
||||
从本仓库 [Releases](https://github.com/kingOfSoySauce/dsh-liang-skin/releases) 页面下载 `dsh-client-liang-intensity-skin-0.1.7.tgz`(包内已包含构建好的 `lib/client.js`,安装时不需要执行任何 prepare 脚本),然后:
|
||||
从本仓库 [Releases](https://github.com/kingOfSoySauce/dsh-liang-skin/releases) 页面下载 `dsh-client-liang-intensity-skin-0.1.8.tgz`(包内已包含构建好的 `lib/client.js`,安装时不需要执行任何 prepare 脚本),然后:
|
||||
|
||||
```sh
|
||||
dsh plugin --profile web add ./dsh-client-liang-intensity-skin-0.1.7.tgz
|
||||
dsh plugin --profile web add ./dsh-client-liang-intensity-skin-0.1.8.tgz
|
||||
```
|
||||
|
||||
|
||||
|
||||
File diff suppressed because one or more lines are too long
4
package-lock.json
generated
4
package-lock.json
generated
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "dsh-client-liang-intensity-skin",
|
||||
"version": "0.1.7",
|
||||
"version": "0.1.8",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "dsh-client-liang-intensity-skin",
|
||||
"version": "0.1.7",
|
||||
"version": "0.1.8",
|
||||
"devDependencies": {
|
||||
"@types/react": "~18.3.1",
|
||||
"esbuild": "^0.25.0",
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
{
|
||||
"name": "dsh-client-liang-intensity-skin",
|
||||
"version": "0.1.7",
|
||||
"private": true,
|
||||
"version": "0.1.8",
|
||||
"description": "滑动变祖:an opt-in adaptive reasoning slider skin for DeepSeek Harness",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
@@ -58,7 +57,6 @@
|
||||
"client": {
|
||||
"platform": "web",
|
||||
"inject": [
|
||||
"@deepseek-ai/dsh-client-runtime",
|
||||
"@deepseek-ai/dsh-client-ui-conversation",
|
||||
"@deepseek-ai/dsh-client-ui-model-selection",
|
||||
"@deepseek-ai/dsh-client-ui-settings",
|
||||
|
||||
@@ -15,7 +15,6 @@ await build({
|
||||
external: [
|
||||
"react",
|
||||
"react/jsx-runtime",
|
||||
"@deepseek-ai/dsh-client-runtime/client",
|
||||
],
|
||||
define: {
|
||||
"process.env.NODE_ENV": '"production"',
|
||||
|
||||
@@ -5,7 +5,8 @@ import {
|
||||
useState,
|
||||
useSyncExternalStore,
|
||||
} from "react";
|
||||
import type { ClientContext, SnapshotStore } from "@deepseek-ai/dsh-client-runtime/client";
|
||||
import type { Context as ClientContext } from "@deepseek-ai/cordis";
|
||||
import type { SnapshotStore } from "@deepseek-ai/dsh-client-store";
|
||||
import type {} from "@deepseek-ai/dsh-client-ui-conversation/client";
|
||||
import type {} from "@deepseek-ai/dsh-client-ui-settings/client";
|
||||
import type {} from "@deepseek-ai/dsh-client-ui-model-selection/client";
|
||||
|
||||
Reference in New Issue
Block a user