dsh-workspace-scratch 0.2.1 → 0.2.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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 qhdhiman
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -25,32 +25,37 @@
25
25
 
26
26
  ## 安装(已发布到 npm)
27
27
 
28
- **插件已发布**:`dsh-workspace-scratch@0.2.1` → https://www.npmjs.com/package/dsh-workspace-scratch
28
+ **插件已发布**:`dsh-workspace-scratch@0.2.2` → https://www.npmjs.com/package/dsh-workspace-scratch
29
29
 
30
30
  ### 通过官方 Discover 安装
31
31
 
32
32
  在 DSH 里 **Plugins → Discover** 添加这个索引地址:
33
33
 
34
34
  ```
35
- https://unpkg.com/dsh-workspace-scratch@0.2.1/plugin-index.json
35
+ https://unpkg.com/dsh-workspace-scratch@0.2.2/plugin-index.json
36
36
  ```
37
37
 
38
38
  然后搜索 `工作区` / `workspace` / `scratch`,点安装。
39
39
 
40
- > 该地址已实测返回 200 且无重定向(Discover 拒绝重定向),索引也通过官方
41
- > `@deepseek-ai/dsh-plugin-market-index` 校验。带版本号意味着**每次发新版要换 URL**;
42
- > 建好 GitHub 仓库后可改用 `raw.githubusercontent.com` 的稳定地址。
40
+ > 已实测:HTTP 200、**无重定向**(Discover 拒绝重定向)、索引通过官方
41
+ > `@deepseek-ai/dsh-plugin-market-index` 校验。
42
+ >
43
+ > 仓库地址:https://github.com/qhdhiman/dsh-workspace-scratch
44
+ >
45
+ > 为什么用 unpkg 而不是 GitHub raw:`raw.githubusercontent.com` 在部分网络环境
46
+ > (含本机实测)SSL 握手即失败,且 `cdn.jsdelivr.net` 也不可达;**unpkg 是实测可用的**。
47
+ > 代价是 URL 带版本号,**发新版要更新 URL**。
43
48
 
44
49
  ### 直接安装
45
50
 
46
51
  ```bash
47
- dsh plugin --profile <profile> install dsh-workspace-scratch@0.2.1
52
+ dsh plugin --profile <profile> install dsh-workspace-scratch@0.2.2
48
53
  ```
49
54
 
50
55
  或在对话里:
51
56
 
52
57
  ```text
53
- plugin_manager install_bundle target: "dsh-workspace-scratch@0.2.1"
58
+ plugin_manager install_bundle target: "dsh-workspace-scratch@0.2.2"
54
59
  ```
55
60
 
56
61
  ## 本地开发安装
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-workspace-scratch",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "description": "Keep a DeepSeek Harness workspace clean: every session gets a hidden .dsh directory for its scratch files and durable memory notes, plus scratch/memory tools, prompt guidance and a Settings page.",
5
5
  "type": "module",
6
6
  "icon": "./icon.svg",
@@ -20,7 +20,8 @@
20
20
  "locale/*.json",
21
21
  "icon.svg",
22
22
  "README.md",
23
- "plugin-index.json"
23
+ "plugin-index.json",
24
+ "LICENSE"
24
25
  ],
25
26
  "engines": {
26
27
  "node": ">=20.0.0",
@@ -59,5 +60,13 @@
59
60
  "publishConfig": {
60
61
  "registry": "https://registry.npmjs.org/",
61
62
  "access": "public"
63
+ },
64
+ "repository": {
65
+ "type": "git",
66
+ "url": "git+https://github.com/qhdhiman/dsh-workspace-scratch.git"
67
+ },
68
+ "homepage": "https://github.com/qhdhiman/dsh-workspace-scratch#readme",
69
+ "bugs": {
70
+ "url": "https://github.com/qhdhiman/dsh-workspace-scratch/issues"
62
71
  }
63
72
  }
package/plugin-index.json CHANGED
@@ -49,8 +49,8 @@
49
49
  },
50
50
  "versions": [
51
51
  {
52
- "version": "0.2.1",
53
- "publishTimestamp": 1795578491,
52
+ "version": "0.2.2",
53
+ "publishTimestamp": 1795579620,
54
54
  "source": {
55
55
  "type": "npm"
56
56
  },