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 CHANGED
@@ -11,7 +11,7 @@ Your book stays local, the model is the DeepSeek you already configured, and eve
11
11
 
12
12
  [![DSH version](https://img.shields.io/badge/DSH-%E2%89%A5%200.2.1--rc.5%20%3C%200.3.0-4f7864?style=flat-square)](#install)
13
13
  [![Node for builds](https://img.shields.io/badge/Node-%E2%89%A5%2022.19-4f7864?style=flat-square)](https://nodejs.org)
14
- [![status](https://img.shields.io/badge/status-v0.1.1%20in%20development-a97f2b?style=flat-square)](#roadmap)
14
+ [![Version](https://img.shields.io/github/v/release/ZzimaR/dsh-yanfield?label=version&style=flat-square)](https://github.com/ZzimaR/dsh-yanfield/releases/latest)
15
15
  [![license](https://img.shields.io/badge/license-PolyForm%20Noncommercial-a97f2b?style=flat-square)](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 [GitHub Releases](https://github.com/ZzimaR/dsh-yanfield/releases).
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 https://github.com/ZzimaR/dsh-yanfield/releases/latest/download/dsh-yanfield.tgz
45
+ dsh plugin --profile web add dsh-yanfield
46
46
 
47
47
  # Desktop
48
- dsh plugin --profile desktop add https://github.com/ZzimaR/dsh-yanfield/releases/latest/download/dsh-yanfield.tgz
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 or roll back, copy the version-specific `dsh-yanfield.tgz` link from Releases (for example, `releases/download/v0.1.1/dsh-yanfield.tgz`). Run `dsh plugin --profile <profile> add <link>` in the same profile and restart Harness. This also replaces an earlier install from the repository URL.
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
  [![DSH 版本](https://img.shields.io/badge/DSH-%E2%89%A5%200.2.1--rc.5%20%3C%200.3.0-4f7864?style=flat-square)](#安装)
13
13
  [![构建用 Node](https://img.shields.io/badge/Node-%E2%89%A5%2022.19-4f7864?style=flat-square)](https://nodejs.org)
14
- [![状态](https://img.shields.io/badge/status-v0.1.1%20%E5%BC%80%E5%8F%91%E4%B8%AD-a97f2b?style=flat-square)](#路线图)
14
+ [![版本](https://img.shields.io/github/v/release/ZzimaR/dsh-yanfield?label=version&style=flat-square)](https://github.com/ZzimaR/dsh-yanfield/releases/latest)
15
15
  [![许可](https://img.shields.io/badge/license-PolyForm%20Noncommercial-a97f2b?style=flat-square)](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 选择下面一条命令,安装 [GitHub Releases](https://github.com/ZzimaR/dsh-yanfield/releases) 提供的预构建包。
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 https://github.com/ZzimaR/dsh-yanfield/releases/latest/download/dsh-yanfield.tgz
45
+ dsh plugin --profile web add dsh-yanfield
46
46
 
47
47
  # 桌面版
48
- dsh plugin --profile desktop add https://github.com/ZzimaR/dsh-yanfield/releases/latest/download/dsh-yanfield.tgz
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
- 更新或回退时,从 Releases 复制目标版本的 `dsh-yanfield.tgz` 链接(形如 `releases/download/v0.1.1/dsh-yanfield.tgz`),用同一个 profile 执行 `dsh plugin --profile <profile> add <链接>`,然后重启 Harness。之前用仓库地址安装的用户也可以用这个方法切换到 Release 包。
60
+ 更新时用同一个 profile 执行 `dsh plugin --profile <profile> add dsh-yanfield@latest`,然后重启 Harness。回退可把 `@latest` 换成目标版本,例如 `@0.1.1`。之前用 GitHub 地址安装的用户也可以用这个命令切到 npm。
59
61
 
60
62
  ## 第一次使用
61
63