dsh-workbuddy-files 0.1.4 → 0.1.5
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.md +35 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -133,10 +133,44 @@ dsh web # 重启 web 界面
|
|
|
133
133
|
|
|
134
134
|
`dsh plugin add` 会:在 `$DSH_HOME/profiles/web` 里 `pnpm add` 该包,并因为本包声明了 `dsh.bundle.patch`,自动把 `dsh-workbuddy-files` 追加进 profile 的 `dsh.profile.bundles` 层栈(可在 `~/.dsh/profiles/web/package.json` 中核对)。卸载:`dsh plugin --profile web remove dsh-workbuddy-files`。
|
|
135
135
|
|
|
136
|
-
### 方式二:npm
|
|
136
|
+
### 方式二:npm registry 安装(在其他设备上安装,推荐)
|
|
137
|
+
|
|
138
|
+
前置:目标设备已安装 DSH 与 pnpm。
|
|
137
139
|
|
|
138
140
|
```powershell
|
|
141
|
+
npm i -g pnpm # 若尚未安装
|
|
142
|
+
# DSH 未安装时:npm i -g @deepseek-ai/dsh
|
|
143
|
+
|
|
139
144
|
dsh plugin --profile web add dsh-workbuddy-files
|
|
145
|
+
dsh web # 重启 web 界面,刷新页面即生效
|
|
146
|
+
```
|
|
147
|
+
|
|
148
|
+
### 方式三:GitHub 直装(npm registry 不可达时)
|
|
149
|
+
|
|
150
|
+
仓库自带 `lib/` 构建产物(clone 即可用,无需构建):
|
|
151
|
+
|
|
152
|
+
```powershell
|
|
153
|
+
dsh plugin --profile web add "github:miaoxintechnology/dsh-workbuddy-files"
|
|
154
|
+
dsh web
|
|
155
|
+
```
|
|
156
|
+
|
|
157
|
+
### 方式四:离线拷贝
|
|
158
|
+
|
|
159
|
+
把整个项目目录拷到目标设备,然后:
|
|
160
|
+
|
|
161
|
+
```powershell
|
|
162
|
+
dsh plugin --profile web add file:<项目目录绝对路径>
|
|
163
|
+
dsh web
|
|
164
|
+
```
|
|
165
|
+
|
|
166
|
+
### 更新与卸载
|
|
167
|
+
|
|
168
|
+
```powershell
|
|
169
|
+
# 更新到指定版本(显式版本号可绕过 pnpm 的「新版本最小发布年龄」供应链门禁)
|
|
170
|
+
dsh plugin --profile web add dsh-workbuddy-files@0.1.5
|
|
171
|
+
|
|
172
|
+
# 卸载
|
|
173
|
+
dsh plugin --profile web remove dsh-workbuddy-files
|
|
140
174
|
```
|
|
141
175
|
|
|
142
176
|
### 配置(可选)
|