dsh-paste-code-block 0.1.0 → 0.1.1

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 CHANGED
@@ -28,12 +28,20 @@ Paste text/code into the DSH Web composer → it collapses into a **bordered, co
28
28
 
29
29
  Requires DSH `0.1.x` (current developer preview — APIs may change).
30
30
 
31
+ Published on **npm** — install directly by name:
32
+
31
33
  ```sh
32
- # Local install from this directory
33
- dsh plugin --profile web add file:/path/to/dsh-paste-code-block
34
+ dsh plugin --profile web add dsh-paste-code-block
35
+ ```
36
+
37
+ Alternatively, install from this Git repository or a local folder:
34
38
 
35
- # Or after publishing
36
- # dsh plugin --profile web add dsh-paste-code-block
39
+ ```sh
40
+ # From GitHub
41
+ dsh plugin --profile web add github:cjm-m/dsh-paste-code-block
42
+
43
+ # From a local checkout
44
+ dsh plugin --profile web add file:/path/to/dsh-paste-code-block
37
45
  ```
38
46
 
39
47
  **Restart `dsh web`** after installing.
package/README.zh-CN.md CHANGED
@@ -30,12 +30,20 @@
30
30
 
31
31
  需要 DSH `0.1.x`(当前为开发者预览版,接口可能变化)。
32
32
 
33
+ 已发布到 **npm**,可直接按包名安装:
34
+
33
35
  ```sh
34
- # 从本目录本地安装
35
- dsh plugin --profile web add file:/path/to/dsh-paste-code-block
36
+ dsh plugin --profile web add dsh-paste-code-block
37
+ ```
38
+
39
+ 也可以从本 Git 仓库或本地目录安装:
36
40
 
37
- # 或打包发布后
38
- # dsh plugin --profile web add dsh-paste-code-block
41
+ ```sh
42
+ # 从 GitHub
43
+ dsh plugin --profile web add github:cjm-m/dsh-paste-code-block
44
+
45
+ # 从本地目录
46
+ dsh plugin --profile web add file:/path/to/dsh-paste-code-block
39
47
  ```
40
48
 
41
49
  安装后**重启 `dsh web`** 生效。
package/package.json CHANGED
@@ -1,9 +1,17 @@
1
1
  {
2
2
  "name": "dsh-paste-code-block",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Cherry Studio-style paste: pasted text/code blocks into the DSH Web composer render as a bordered, collapsible, language-tagged card instead of a long flat string; the original text is restored as a fenced block on send.",
5
5
  "license": "MIT",
6
6
  "author": "DSH paste-code-block contributors",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "git+https://github.com/cjm-m/dsh-paste-code-block.git"
10
+ },
11
+ "homepage": "https://github.com/cjm-m/dsh-paste-code-block#readme",
12
+ "bugs": {
13
+ "url": "https://github.com/cjm-m/dsh-paste-code-block/issues"
14
+ },
7
15
  "keywords": [
8
16
  "dsh",
9
17
  "deepseek-harness",