dsh-yanfield 0.1.1 → 0.1.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.en.md +7 -5
- package/README.md +7 -5
- package/dist/client.js +31 -31
- package/dist/host.js +10 -8
- package/package.json +1 -1
package/README.en.md
CHANGED
|
@@ -11,7 +11,7 @@ Your book stays local, the model is the DeepSeek you already configured, and eve
|
|
|
11
11
|
|
|
12
12
|
[](#install)
|
|
13
13
|
[](https://nodejs.org)
|
|
14
|
-
[](https://github.com/ZzimaR/dsh-yanfield/releases/latest)
|
|
15
15
|
[](LICENSE)
|
|
16
16
|
|
|
17
17
|
[Install](#install) · [First run](#first-run) · [Features](#features) · [AI and cost](#ai-and-cost) · [Screenshots](#screenshots) · [Data and backup](#data-and-backup) · [Troubleshooting](#troubleshooting) · [Development](#development) · [中文](README.md)
|
|
@@ -38,24 +38,26 @@ Yanfield is a **DeepSeek Harness plugin**, not a standalone app. After installat
|
|
|
38
38
|
|
|
39
39
|
## Install
|
|
40
40
|
|
|
41
|
-
Requires DeepSeek Harness `>=0.2.1-rc.5 <0.3.0`. Choose the command for your profile to install the prebuilt package from [
|
|
41
|
+
Requires DeepSeek Harness `>=0.2.1-rc.5 <0.3.0`. Choose the command for your profile to install the prebuilt package from [npm](https://www.npmjs.com/package/dsh-yanfield).
|
|
42
42
|
|
|
43
43
|
```bash
|
|
44
44
|
# Web
|
|
45
|
-
dsh plugin --profile web add
|
|
45
|
+
dsh plugin --profile web add dsh-yanfield
|
|
46
46
|
|
|
47
47
|
# Desktop
|
|
48
|
-
dsh plugin --profile desktop add
|
|
48
|
+
dsh plugin --profile desktop add dsh-yanfield
|
|
49
49
|
```
|
|
50
50
|
|
|
51
51
|
Then **quit Harness completely and start it again** — a page refresh is not enough, because the plugin ships host-side code.
|
|
52
52
|
|
|
53
|
+
For offline installation, download `dsh-yanfield.tgz` from [GitHub Releases](https://github.com/ZzimaR/dsh-yanfield/releases/latest) and run `dsh plugin --profile <profile> add "<local archive path>"`.
|
|
54
|
+
|
|
53
55
|
How to confirm it worked:
|
|
54
56
|
|
|
55
57
|
1. a 「砚田」 entry appears in the left sidebar;
|
|
56
58
|
2. Check the version and build time in `砚田 → Settings → About`. The build time comes from the bundle.
|
|
57
59
|
|
|
58
|
-
To update
|
|
60
|
+
To update, run `dsh plugin --profile <profile> add dsh-yanfield@latest` in the same profile and restart Harness. To roll back, replace `@latest` with the desired version, such as `@0.1.1`. This also switches an existing GitHub install to npm.
|
|
59
61
|
|
|
60
62
|
## First run
|
|
61
63
|
|
package/README.md
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
|
|
12
12
|
[](#安装)
|
|
13
13
|
[](https://nodejs.org)
|
|
14
|
-
[](https://github.com/ZzimaR/dsh-yanfield/releases/latest)
|
|
15
15
|
[](LICENSE)
|
|
16
16
|
|
|
17
17
|
[安装](#安装) · [第一次使用](#第一次使用) · [功能](#功能) · [AI 与费用](#ai-与费用) · [截图](#截图) · [数据与备份](#数据与备份) · [排障](#排障) · [开发](#开发) · [English](README.en.md)
|
|
@@ -38,24 +38,26 @@
|
|
|
38
38
|
|
|
39
39
|
## 安装
|
|
40
40
|
|
|
41
|
-
需要 DeepSeek Harness `>=0.2.1-rc.5 <0.3.0`。按你启动的 profile 选择下面一条命令,安装 [
|
|
41
|
+
需要 DeepSeek Harness `>=0.2.1-rc.5 <0.3.0`。按你启动的 profile 选择下面一条命令,安装 [npm](https://www.npmjs.com/package/dsh-yanfield) 上的预构建包。
|
|
42
42
|
|
|
43
43
|
```bash
|
|
44
44
|
# Web 版
|
|
45
|
-
dsh plugin --profile web add
|
|
45
|
+
dsh plugin --profile web add dsh-yanfield
|
|
46
46
|
|
|
47
47
|
# 桌面版
|
|
48
|
-
dsh plugin --profile desktop add
|
|
48
|
+
dsh plugin --profile desktop add dsh-yanfield
|
|
49
49
|
```
|
|
50
50
|
|
|
51
51
|
安装完成后**完全退出 Harness 再重新打开**(只刷新页面不够:插件含宿主侧代码,需要重启进程)。
|
|
52
52
|
|
|
53
|
+
如果需要离线安装,可以从 [GitHub Releases](https://github.com/ZzimaR/dsh-yanfield/releases/latest) 下载 `dsh-yanfield.tgz`,再运行 `dsh plugin --profile <profile> add "<本地安装包路径>"`。
|
|
54
|
+
|
|
53
55
|
确认装好:
|
|
54
56
|
|
|
55
57
|
1. 左侧导航出现「砚田」;
|
|
56
58
|
2. 打开 `砚田 → 设置 → 关于`,核对版本和构建时间。构建时间是产物生成时间。
|
|
57
59
|
|
|
58
|
-
|
|
60
|
+
更新时用同一个 profile 执行 `dsh plugin --profile <profile> add dsh-yanfield@latest`,然后重启 Harness。回退可把 `@latest` 换成目标版本,例如 `@0.1.1`。之前用 GitHub 地址安装的用户也可以用这个命令切到 npm。
|
|
59
61
|
|
|
60
62
|
## 第一次使用
|
|
61
63
|
|