@kuanbandu/dsh-email 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 +12 -20
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,5 +1,6 @@
1
1
  # dsh-email — 让 DeepSeek Harness 收发你自己的邮箱
2
2
 
3
+ [![npm](https://img.shields.io/npm/v/@kuanbandu/dsh-email.svg)](https://www.npmjs.com/package/@kuanbandu/dsh-email)
3
4
  [![license](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)
4
5
  [![DeepSeek Harness](https://img.shields.io/badge/DeepSeek%20Harness-plugin-6b4bf5.svg)](https://github.com/kuanbandu/dsh-email)
5
6
 
@@ -17,13 +18,15 @@ DeepSeek Harness(DSH)的邮件插件:**在 Web UI 的「设置 → 邮件
17
18
 
18
19
  ## 安装
19
20
 
20
- ### 方式一:Release 资产(一行命令,已验证)
21
+ ### 方式一:npm(推荐)
21
22
 
22
23
  ```bash
23
24
  cd ~/.dsh/profiles/web # 你的 profile 目录
24
- pnpm add https://github.com/kuanbandu/dsh-email/releases/download/v0.1.0/kuanbandu-dsh-email-0.1.0.tgz
25
+ pnpm add @kuanbandu/dsh-email
25
26
  ```
26
27
 
28
+ 或者干脆让 agent 装:**用 `plugin_manager` 的 `install_bundle` 安装 `@kuanbandu/dsh-email`**。
29
+
27
30
  再把包名加进同目录 `package.json` 的 `dsh.profile.bundles`:
28
31
 
29
32
  ```json
@@ -34,33 +37,22 @@ pnpm add https://github.com/kuanbandu/dsh-email/releases/download/v0.1.0/kuanban
34
37
 
35
38
  重启一次 DSH(Host 半侧在启动时加载),刷新 Web UI 页面。
36
39
 
37
- ### 方式二:从 git 装
40
+ ### 方式二:Release 资产(不走 npm registry)
38
41
 
39
42
  ```bash
40
43
  cd ~/.dsh/profiles/web
41
- pnpm add git+https://github.com/kuanbandu/dsh-email.git
42
- ```
43
-
44
- > 若 `git` 连不上 GitHub(报 `GnuTLS, handshake failed`),多半是本机 git 走了不通 GitHub 的代理,加前缀强制直连:
45
- > `GIT_CONFIG_COUNT=1 GIT_CONFIG_KEY_0=http.proxy GIT_CONFIG_VALUE_0= pnpm add git+https://github.com/kuanbandu/dsh-email.git`
46
-
47
- ### 方式三:clone 后让 agent 装
48
-
49
- ```bash
50
- git clone https://github.com/kuanbandu/dsh-email.git ~/dsh-email
44
+ pnpm add https://github.com/kuanbandu/dsh-email/releases/latest/download/kuanbandu-dsh-email.tgz
51
45
  ```
52
46
 
53
- 然后让 agent 用 `plugin_manager` 的 `install_bundle`,`target` 填 `/home/<你>/dsh-email` 这个绝对路径。
54
-
55
- ### 方式四:npm(待发布)
47
+ ### 方式三:从 git
56
48
 
57
49
  ```bash
58
- cd ~/.dsh/profiles/<你的 profile>
59
- pnpm add @kuanbandu/dsh-email
50
+ cd ~/.dsh/profiles/web
51
+ pnpm add git+https://github.com/kuanbandu/dsh-email.git
60
52
  ```
61
53
 
62
- 或在 DSH 里说一句:**用 `plugin_manager` 的 `install_bundle` 安装 `@kuanbandu/dsh-email`**。
63
- 发布状态见 [PUBLISHING.md](PUBLISHING.md)(账户开了 auth-and-writes 2FA,需要一次性 2FA 才能上传)。
54
+ > 若 `git` 连不上 GitHub(报 `GnuTLS, handshake failed`),多半是本机 git 走了不通 GitHub 的代理,加前缀强制直连:
55
+ > `GIT_CONFIG_COUNT=1 GIT_CONFIG_KEY_0=http.proxy GIT_CONFIG_VALUE_0= pnpm add git+https://github.com/kuanbandu/dsh-email.git`
64
56
 
65
57
  ## 登录
66
58
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kuanbandu/dsh-email",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Email for DeepSeek Harness: log in once in the Web UI, then read, search and send mail through agent tools (IMAP/SMTP, zero dependencies, proxy aware).",
5
5
  "type": "module",
6
6
  "main": "./index.js",