dsh-better-workplace 1.4.2 → 1.4.3
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/CHANGELOG.md +6 -0
- package/README.en.md +21 -11
- package/README.md +19 -8
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# 更新记录
|
|
2
2
|
|
|
3
|
+
## 1.4.3
|
|
4
|
+
|
|
5
|
+
- 包已发布到 npm:`npm view dsh-better-workplace version` 可查到;`dsh plugin add dsh-better-workplace`、DSH 面板里的「添加插件」输入裸包名都能直接装,不再需要 `github:` 前缀。
|
|
6
|
+
- 两条 README 的安装章节改为「npm 包名优先」,GitHub 地址与 Release 压缩包降为备选路径。
|
|
7
|
+
- 新增 npm 版本徽章。
|
|
8
|
+
|
|
3
9
|
## 1.4.2
|
|
4
10
|
|
|
5
11
|
- 新增发布流水线:推送 `v*` 标签后,GitHub Actions 会核对语法、打出 `dsh-better-workplace-<版本>.tgz` 与源码 `zip`、生成 `SHA256SUMS`,并创建 Release。配置 `NPM_TOKEN` 后同一条流水线还会发布到 npm。
|
package/README.en.md
CHANGED
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
[](LICENSE)
|
|
9
9
|
[](package.json)
|
|
10
10
|
[](https://github.com/Alail691/dsh-better-workplace/releases)
|
|
11
|
+
[](https://www.npmjs.com/package/dsh-better-workplace)
|
|
11
12
|
|
|
12
13
|

|
|
13
14
|
|
|
@@ -110,35 +111,44 @@ after once the first message lands.
|
|
|
110
111
|
|
|
111
112
|
## Installation
|
|
112
113
|
|
|
113
|
-
This is a standard DSH plugin
|
|
114
|
+
This is a standard DSH plugin bundle (its `package.json` declares `dsh.bundle.patch`), and it is published on npm. Pick whichever route suits you.
|
|
114
115
|
|
|
115
116
|
### 1. From the DSH panel (least work)
|
|
116
117
|
|
|
117
|
-
1. Open the
|
|
118
|
-
2.
|
|
118
|
+
1. Open the plugin panel in the sidebar and pick **Add plugin**
|
|
119
|
+
2. Enter the package name:
|
|
119
120
|
|
|
120
121
|
```
|
|
121
|
-
|
|
122
|
+
dsh-better-workplace
|
|
122
123
|
```
|
|
123
124
|
|
|
124
|
-
|
|
125
|
-
3. Confirm. DSH clones the repository and registers the plugin in the active profile.
|
|
125
|
+
3. Confirm, and DSH installs the bundle into the current profile and enables it.
|
|
126
126
|
|
|
127
|
-
|
|
127
|
+
If this profile cannot install npm packages (see "Make sure the profile can install anything at all" below), paste the GitHub address instead — the result is the same:
|
|
128
|
+
|
|
129
|
+
```
|
|
130
|
+
github:Alail691/dsh-better-workplace
|
|
131
|
+
```
|
|
128
132
|
|
|
129
133
|
### 2. From the command line
|
|
130
134
|
|
|
131
135
|
```bash
|
|
132
|
-
dsh plugin --profile web add
|
|
136
|
+
dsh plugin --profile web add dsh-better-workplace
|
|
133
137
|
```
|
|
134
138
|
|
|
135
|
-
Everything after `add` is handed to pnpm
|
|
139
|
+
Everything after `add` is handed straight to pnpm, so these all work:
|
|
136
140
|
|
|
137
141
|
```bash
|
|
138
|
-
#
|
|
142
|
+
# pin a version
|
|
143
|
+
dsh plugin --profile web add dsh-better-workplace@1.4.3
|
|
144
|
+
|
|
145
|
+
# straight from the repository
|
|
146
|
+
dsh plugin --profile web add github:Alail691/dsh-better-workplace
|
|
147
|
+
|
|
148
|
+
# from the tarball attached to a release (no git needed; replace <version> with the real file name)
|
|
139
149
|
dsh plugin --profile web add https://github.com/Alail691/dsh-better-workplace/releases/latest/download/dsh-better-workplace-<version>.tgz
|
|
140
150
|
|
|
141
|
-
#
|
|
151
|
+
# from a local checkout
|
|
142
152
|
dsh plugin --profile web add /path/to/dsh-better-workplace
|
|
143
153
|
```
|
|
144
154
|
|
package/README.md
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
[](LICENSE)
|
|
4
4
|
[](package.json)
|
|
5
5
|
[](https://github.com/Alail691/dsh-better-workplace/releases)
|
|
6
|
+
[](https://www.npmjs.com/package/dsh-better-workplace)
|
|
6
7
|
|
|
7
8
|
> 给 DeepSeek Harness(DSH)的每个对话一个独立工作目录。
|
|
8
9
|
> 每个对话都有自己的分类文件夹,工作区根目录不再是杂物堆。
|
|
@@ -78,31 +79,40 @@ hover 卡片自带的那行是相对距离(「3 分钟前」),它由客户
|
|
|
78
79
|
|
|
79
80
|
## 安装
|
|
80
81
|
|
|
81
|
-
这是一个标准 DSH 插件包(`package.json` 里声明了 `dsh.bundle.patch
|
|
82
|
+
这是一个标准 DSH 插件包(`package.json` 里声明了 `dsh.bundle.patch`),并且已经发布到 npm。四种装法,任选其一。
|
|
82
83
|
|
|
83
84
|
### 一、在 DSH 界面里装(最省事)
|
|
84
85
|
|
|
85
86
|
1. 打开侧栏的插件面板 →「添加插件」
|
|
86
|
-
2.
|
|
87
|
+
2. 输入包名:
|
|
87
88
|
|
|
88
89
|
```
|
|
89
|
-
|
|
90
|
+
dsh-better-workplace
|
|
90
91
|
```
|
|
91
92
|
|
|
92
|
-
|
|
93
|
-
3. 确认安装,DSH 会克隆仓库并把插件登记进当前 profile。
|
|
93
|
+
3. 确认安装,DSH 会把包装进当前 profile 并启用。
|
|
94
94
|
|
|
95
|
-
|
|
95
|
+
如果这台机器的 profile 装不了 npm 包(见下面「安装前先确认 profile 能装包」),就把输入框里的内容换成 GitHub 地址,效果一样:
|
|
96
|
+
|
|
97
|
+
```
|
|
98
|
+
github:Alail691/dsh-better-workplace
|
|
99
|
+
```
|
|
96
100
|
|
|
97
101
|
### 二、用命令行装
|
|
98
102
|
|
|
99
103
|
```bash
|
|
100
|
-
dsh plugin --profile web add
|
|
104
|
+
dsh plugin --profile web add dsh-better-workplace
|
|
101
105
|
```
|
|
102
106
|
|
|
103
|
-
`add` 之后的参数会原样交给 pnpm
|
|
107
|
+
`add` 之后的参数会原样交给 pnpm,所以下面几种写法都成立:
|
|
104
108
|
|
|
105
109
|
```bash
|
|
110
|
+
# 指定版本
|
|
111
|
+
dsh plugin --profile web add dsh-better-workplace@1.4.3
|
|
112
|
+
|
|
113
|
+
# 直接从 GitHub 仓库装
|
|
114
|
+
dsh plugin --profile web add github:Alail691/dsh-better-workplace
|
|
115
|
+
|
|
106
116
|
# 从 Release 里的 tgz 安装(不需要 git,把 <版本> 换成 Release 页面上的实际文件名)
|
|
107
117
|
dsh plugin --profile web add https://github.com/Alail691/dsh-better-workplace/releases/latest/download/dsh-better-workplace-<版本>.tgz
|
|
108
118
|
|
|
@@ -112,6 +122,7 @@ dsh plugin --profile web add /path/to/dsh-better-workplace
|
|
|
112
122
|
|
|
113
123
|
### 三、手工挂载(完全离线,改动最少)
|
|
114
124
|
|
|
125
|
+
|
|
115
126
|
```bash
|
|
116
127
|
git clone https://github.com/Alail691/dsh-better-workplace.git
|
|
117
128
|
```
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-better-workplace",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.3",
|
|
4
4
|
"description": "Per-session workspace subdirectories for DSH: folders appear at the first message, are named YYYYMMDDHHmmss, carry docs/src/data/assets/tmp category subfolders, and unused drafts leave nothing behind.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.js",
|