dsh-email 0.8.0 → 0.8.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/README.en.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # dsh-email
2
2
 
3
+ ![npm](https://img.shields.io/npm/v/dsh-email) ![downloads](https://img.shields.io/npm/dm/dsh-email) ![license](https://img.shields.io/github/license/STARDUSTLC666/dsh-email) ![stars](https://img.shields.io/github/stars/STARDUSTLC666/dsh-email?style=social)
4
+
3
5
  [![Awesome DSH Plugin](https://awesome-dsh-plugin.com/badge.svg)](https://awesome-dsh-plugin.com)
4
6
 
5
7
  ![dsh-email banner](https://raw.githubusercontent.com/STARDUSTLC666/dsh-email/main/assets/banner.png)
@@ -23,17 +25,16 @@ Example:
23
25
 
24
26
  > Check the 10 newest unread messages in my QQ mailbox and list the ones that need a reply.
25
27
 
26
- ### v0.6.2 improvements
28
+ ### Changelog
27
29
 
28
- - Server-side search now covers `cc`, so the search truly spans subject / sender / recipients / CC.
29
- - The client-side body fallback also matches `to` and `cc`; one malformed message no longer aborts the whole batch scan.
30
- - Mail lists are sorted by UID descending to guarantee newest-first results.
31
- - `email_send` validates `attachments` as a string array of file paths and trims each path.
30
+ - **0.8.2**: `since` / `until` parameter descriptions unified to English, consistent with the other parameters, so multilingual agents read them correctly.
31
+ - **0.8.0/0.8.1**: `email_list` / `email_search` gained `since` / `until` date-range filters; new `email_health` self-check (account/connection/config in one call); adapted to harness 0.1.2 (removed the deleted client-injection declaration).
32
+ - **0.6.2**: server-side search covers `cc` (subject / sender / recipients / CC); the body fallback scan also matches `to` / `cc` and one malformed message no longer aborts the batch; lists are UID-descending (newest first); `email_send` strictly validates attachment paths.
32
33
 
33
34
 
34
35
  ## Compatibility
35
36
 
36
- Verified against `@deepseek-ai/dsh@0.1.1-rc.2` on 2026-08-26. Built for the cordis patch-bundle plugin model (`cordis.patch.yml` + `dsh.bundle.patch`). No runtime imports of `@deepseek-ai/*` internals.
37
+ Verified against `@deepseek-ai/dsh@0.1.2-alpha.2` on 2026-08-31. Built for the cordis patch-bundle plugin model (`cordis.patch.yml` + `dsh.bundle.patch`). No runtime imports of `@deepseek-ai/*` internals.
37
38
 
38
39
  ## Installation
39
40
 
@@ -145,4 +146,4 @@ pnpm test # 构建 + node --test(配置/解析/注册与审批门,44
145
146
 
146
147
  ## License
147
148
 
148
- MIT. This is a community plugin, not affiliated with DeepSeek; `@deepseek-ai/*` is an officially reserved namespace.
149
+ MIT. This is a community plugin, not affiliated with DeepSeek; `@deepseek-ai/*` is an officially reserved namespace.
package/README.md CHANGED
@@ -33,17 +33,16 @@ Email tools for DeepSeek Harness: list, read, search and send mail through stand
33
33
 
34
34
  > 帮我看下 QQ 邮箱最新的 10 封未读,把要回复的列出来。
35
35
 
36
- ### v0.6.2 优化
36
+ ### 版本记录
37
37
 
38
- - 服务器端搜索补齐 `cc`,搜索范围真正覆盖主题 / 发件人 / 收件人 / 抄送。
39
- - 正文回退扫描的匹配范围也加入 `to` / `cc`;单封邮件解析失败不会中断整批扫描。
40
- - 邮件列表结果强制按 UID 降序,保证「最新在前」。
41
- - `email_send` 的附件参数严格校验为路径字符串数组,并做 trim。
38
+ - **0.8.2**:`since` / `until` 参数描述与其余参数统一为英文,方便多语言 agent 理解。
39
+ - **0.8.0/0.8.1**:`email_list` / `email_search` 新增 `since` / `until` 日期范围过滤;新增 `email_health` 自检(账号/连接/配置一键体检);适配 harness 0.1.2(清理已删除的客户端注入声明)。
40
+ - **0.6.2**:服务器端搜索补齐 `cc`,搜索范围真正覆盖主题 / 发件人 / 收件人 / 抄送;正文回退扫描也匹配 `to` / `cc`,单封解析失败不中断整批;列表强制 UID 降序「最新在前」;`email_send` 附件参数严格校验。
42
41
 
43
42
 
44
43
  ## 兼容性
45
44
 
46
- 在 `@deepseek-ai/dsh@0.1.1-rc.2` 上验证(2026-08-26)。遵循 cordis 组合包补丁模型(`cordis.patch.yml` + `dsh.bundle.patch`),运行时不 import 任何 `@deepseek-ai/*` 内部模块。
45
+ 在 `@deepseek-ai/dsh@0.1.2-alpha.2` 上验证(2026-08-31)。遵循 cordis 组合包补丁模型(`cordis.patch.yml` + `dsh.bundle.patch`),运行时不 import 任何 `@deepseek-ai/*` 内部模块。
47
46
 
48
47
  ## 安装
49
48
 
package/lib/index.js CHANGED
@@ -255,8 +255,8 @@ export function apply(ctx, config = {}) {
255
255
  limit: { type: 'integer', description: 'How many messages to return, 1-100, default 20' },
256
256
  offset: { type: 'integer', description: 'Skip this many newest messages first, default 0' },
257
257
  unreadOnly: { type: 'boolean', description: 'Only list unread messages, default false' },
258
- since: { type: 'string', description: '只列出该日期(含)之后收到的邮件,如 2026-08-01(可选)' },
259
- until: { type: 'string', description: '只列出该日期(含)之前收到的邮件,如 2026-08-26(可选)' },
258
+ since: { type: 'string', description: 'Only list messages received on or after this date, e.g. 2026-08-01 (optional)' },
259
+ until: { type: 'string', description: 'Only list messages received on or before this date, e.g. 2026-08-26 (optional)' },
260
260
  account: { type: 'string', description: ACCOUNT_HINT },
261
261
  }),
262
262
  output: {
@@ -299,8 +299,8 @@ export function apply(ctx, config = {}) {
299
299
  query: { type: 'string', required: true, description: 'Keyword to search for' },
300
300
  folder: { type: 'string', description: 'IMAP folder to search in; defaults to the account inboxFolder' },
301
301
  limit: { type: 'integer', description: 'How many matches to return, 1-100, default 10' },
302
- since: { type: 'string', description: '只搜索该日期(含)之后的邮件,如 2026-08-01(可选)' },
303
- until: { type: 'string', description: '只搜索该日期(含)之前的邮件,如 2026-08-26(可选)' },
302
+ since: { type: 'string', description: 'Only search messages received on or after this date, e.g. 2026-08-01 (optional)' },
303
+ until: { type: 'string', description: 'Only search messages received on or before this date, e.g. 2026-08-26 (optional)' },
304
304
  account: { type: 'string', description: ACCOUNT_HINT },
305
305
  }),
306
306
  output: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-email",
3
- "version": "0.8.0",
3
+ "version": "0.8.2",
4
4
  "description": "IMAP/SMTP email tools for DeepSeek Harness: list, read, search and send mail, with QQ/163/126/Sina/Aliyun/Gmail/Outlook/iCloud presets.",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
@@ -52,7 +52,6 @@
52
52
  },
53
53
  "client": {
54
54
  "inject": [
55
- "@deepseek-ai/dsh-client-runtime",
56
55
  "@deepseek-ai/dsh-client-ui-settings"
57
56
  ],
58
57
  "platform": "web"