dsh-better-workplace 1.4.2 → 1.4.4

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 CHANGED
@@ -1,5 +1,17 @@
1
1
  # 更新记录
2
2
 
3
+ ## 1.4.4
4
+
5
+ - 两份 README 新增「收录声明」章节:授权 DSH Plugin(https://dsh-plugin.org/)收录本仓库并展示插件信息,同时列出 npm 一键安装与源码安装命令。
6
+ - 仓库已加 GitHub topic `dsh-plugin`,满足插件市场自动扫描要求。
7
+ - `package.json` 补充 `keywords`,便于插件市场与 npm 检索。
8
+
9
+ ## 1.4.3
10
+
11
+ - 包已发布到 npm:`npm view dsh-better-workplace version` 可查到;`dsh plugin add dsh-better-workplace`、DSH 面板里的「添加插件」输入裸包名都能直接装,不再需要 `github:` 前缀。
12
+ - 两条 README 的安装章节改为「npm 包名优先」,GitHub 地址与 Release 压缩包降为备选路径。
13
+ - 新增 npm 版本徽章。
14
+
3
15
  ## 1.4.2
4
16
 
5
17
  - 新增发布流水线:推送 `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](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)
9
9
  [![node](https://img.shields.io/badge/node-%3E%3D22-brightgreen.svg)](package.json)
10
10
  [![release](https://img.shields.io/github/v/release/Alail691/dsh-better-workplace)](https://github.com/Alail691/dsh-better-workplace/releases)
11
+ [![npm](https://img.shields.io/npm/v/dsh-better-workplace.svg)](https://www.npmjs.com/package/dsh-better-workplace)
11
12
 
12
13
  ![Workspace layout: a cluttered root before, one timestamped folder per conversation after](assets/en/overview.png)
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 package (`package.json` declares `dsh.bundle.patch`). Pick whichever of the three routes you prefer.
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 plugins panel in the sidebar, then **Add plugin**.
118
- 2. Paste the **repository address** — a repository, not a bare package name:
118
+ 1. Open the plugin panel in the sidebar and pick **Add plugin**
119
+ 2. Enter the package name:
119
120
 
120
121
  ```
121
- github:Alail691/dsh-better-workplace
122
+ dsh-better-workplace
122
123
  ```
123
124
 
124
- `https://github.com/Alail691/dsh-better-workplace` works too.
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
- Typing just `dsh-better-workplace` answers "plugin not found": that is an npm package name, and this project lives on GitHub only — it is not published to npm.
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 github:Alail691/dsh-better-workplace
136
+ dsh plugin --profile web add dsh-better-workplace
133
137
  ```
134
138
 
135
- Everything after `add` is handed to pnpm unchanged, so a repository address, an `https://` link, a local directory, or a `.tgz` all work:
139
+ Everything after `add` is handed straight to pnpm, so these all work:
136
140
 
137
141
  ```bash
138
- # From the .tgz attached to a release (no git required; replace <version> with the file name on the release page)
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
- # From a local checkout
151
+ # from a local checkout
142
152
  dsh plugin --profile web add /path/to/dsh-better-workplace
143
153
  ```
144
154
 
@@ -412,6 +422,19 @@ Two details worth keeping in mind when extending this plugin:
412
422
  global `__ModuleLoader__` / `react` provided by the shell.
413
423
  - `engines.node >= 22` (ESM, `import.meta.dirname`)
414
424
 
425
+ ## Listing statement
426
+
427
+ This project authorises [DSH Plugin](https://dsh-plugin.org/) to list this repository and display the plugin's information on that site.
428
+
429
+ 本项目授权 DSH Plugin(https://dsh-plugin.org/)收录本仓库,并在该站展示插件信息。
430
+
431
+ - Package name: `dsh-better-workplace`, published to npm
432
+ - One-step install: `dsh plugin --profile web add dsh-better-workplace`
433
+ - From source: `dsh plugin --profile web add github:Alail691/dsh-better-workplace`
434
+ - The plugin exports `apply(ctx)` and the repository root carries a `package.json`, as the DeepSeek Harness Plugin convention requires
435
+
436
+ This plugin is maintained independently by the community. It is not affiliated with, endorsed by, or connected to DeepSeek AI.
437
+
415
438
  ## License
416
439
 
417
440
  [MIT](LICENSE) © 2026 Alail691
package/README.md CHANGED
@@ -3,6 +3,7 @@
3
3
  [![license](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)
4
4
  [![node](https://img.shields.io/badge/node-%3E%3D22-brightgreen.svg)](package.json)
5
5
  [![release](https://img.shields.io/github/v/release/Alail691/dsh-better-workplace)](https://github.com/Alail691/dsh-better-workplace/releases)
6
+ [![npm](https://img.shields.io/npm/v/dsh-better-workplace.svg)](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. 粘贴 **GitHub 地址**,注意是仓库地址而不是包名:
87
+ 2. 输入包名:
87
88
 
88
89
  ```
89
- github:Alail691/dsh-better-workplace
90
+ dsh-better-workplace
90
91
  ```
91
92
 
92
- `https://github.com/Alail691/dsh-better-workplace` 也可以。
93
- 3. 确认安装,DSH 会克隆仓库并把插件登记进当前 profile。
93
+ 3. 确认安装,DSH 会把包装进当前 profile 并启用。
94
94
 
95
- 只输入 `dsh-better-workplace` 会提示「未找到插件」——那是 npm 包名,本项目目前只在 GitHub 上,没有发布到 npm。
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 github:Alail691/dsh-better-workplace
104
+ dsh plugin --profile web add dsh-better-workplace
101
105
  ```
102
106
 
103
- `add` 之后的参数会原样交给 pnpm,所以仓库地址、`https://` 链接、本地目录、`.tgz` 文件都能用:
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
  ```
@@ -365,6 +376,17 @@ Shell 重定向**不会**被拦截:这一版 DSH 在文件系统层没有否
365
376
  - 不 import 任何 `@deepseek-ai/*` 运行时包:宿主侧只用注入的 `tools` 与 `systemPrompt`,加上可选的 `ctx.get('workingDirectory')` 和一条 `ctx.inject(['webServer'], …)` 子 fiber 提供映射路由;浏览器侧只碰 `slots` 与外壳提供的全局 `__ModuleLoader__` / `react`
366
377
  - `engines.node >= 22`(ESM、`import.meta.dirname`)
367
378
 
379
+ ## 收录声明
380
+
381
+ 本项目授权 DSH Plugin(https://dsh-plugin.org/)收录本仓库,并在该站展示插件信息。
382
+
383
+ - 插件包名:`dsh-better-workplace`,已发布到 npm(`npm view dsh-better-workplace version` 可查)
384
+ - 一键安装:`dsh plugin --profile web add dsh-better-workplace`
385
+ - 源码安装:`dsh plugin --profile web add github:Alail691/dsh-better-workplace`
386
+ - 插件导出 `apply(ctx)`,仓库根目录带 `package.json`,符合 DeepSeek Harness Plugin 规范
387
+
388
+ 本插件由社区独立维护,与 DeepSeek AI 无隶属关系,不代表官方。
389
+
368
390
  ## 许可证
369
391
 
370
392
  [MIT](LICENSE) © 2026 Alail691
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-better-workplace",
3
- "version": "1.4.2",
3
+ "version": "1.4.4",
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",
@@ -49,7 +49,8 @@
49
49
  "session",
50
50
  "isolation",
51
51
  "organization",
52
- "hover-card"
52
+ "hover-card",
53
+ "organizer"
53
54
  ],
54
55
  "engines": {
55
56
  "node": ">=22"