dsh-conversation-links 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.
Files changed (2) hide show
  1. package/README.md +18 -3
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,6 +1,7 @@
1
1
  # dsh-conversation-links(对话引用)
2
2
 
3
3
  [![license](https://img.shields.io/badge/license-MIT-blue.svg)](./LICENSE)
4
+ [![npm](https://img.shields.io/npm/v/dsh-conversation-links.svg)](https://www.npmjs.com/package/dsh-conversation-links)
4
5
  [![dsh](https://img.shields.io/badge/dsh-%3E%3D0.2.0--rc.2-4c7dff.svg)](https://github.com/deepseek-ai)
5
6
  [![platform](https://img.shields.io/badge/platform-web-lightgrey.svg)](#)
6
7
 
@@ -12,17 +13,31 @@
12
13
 
13
14
  ## 安装
14
15
 
16
+ 两种方式,任选其一(装完刷新 DSH 页面即可,桌面上可 Ctrl+R):
17
+
18
+ **从 GitHub Release 下载**(无需 clone):
19
+
20
+ 下载 [最新 Release](https://github.com/Penguin-SAMA/dsh-conversation-links/releases/latest) 的
21
+ `dsh-conversation-links-<version>.tgz`,解压得到 `package/` 目录,然后:
22
+
23
+ ```text
24
+ plugin_manager action=install_bundle target=<解压出的 package 目录绝对路径>
25
+ ```
26
+
27
+ **从源码 clone**:
28
+
15
29
  ```bash
16
30
  git clone https://github.com/Penguin-SAMA/dsh-conversation-links.git
17
31
  ```
18
32
 
19
- 然后让 DSH 安装这个本地包目录(把路径换成你 clone 下来的位置):
20
-
21
33
  ```text
22
34
  plugin_manager action=install_bundle target=<clone 目录的绝对路径>
23
35
  ```
24
36
 
25
- 装完刷新一下 DSH 页面即可(桌面上可以直接 Ctrl+R)。卸载:`plugin_manager action=set_bundle target=dsh-conversation-links enabled=false`。
37
+ 卸载:`plugin_manager action=set_bundle target=dsh-conversation-links enabled=false`。
38
+
39
+ > npm 上也发布了(`npm i dsh-conversation-links`),但 DSH 的 `install_bundle` 需要**绝对目录路径**,
40
+ > 所以从 npm 安装时请指向 `node_modules/dsh-conversation-links` 的绝对路径,其余同上。
26
41
 
27
42
  ## 用法
28
43
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-conversation-links",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "DSH 插件:跨对话引用 —— @ 引用其他对话、从左侧栏拖拽对话进输入框、打开对话勾选消息插入到另一个对话。",
5
5
  "keywords": [
6
6
  "dsh",