dsh-email 0.10.1 → 0.10.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 +1 -1
- package/README.md +2 -2
- package/lib/index.js +2 -2
- package/package.json +1 -1
package/README.en.md
CHANGED
|
@@ -42,7 +42,7 @@ Example:
|
|
|
42
42
|
|
|
43
43
|
## Compatibility
|
|
44
44
|
|
|
45
|
-
Verified against `@deepseek-ai/dsh@0.1.2-alpha.
|
|
45
|
+
Verified against source-run `@deepseek-ai/dsh@0.1.2-alpha.4` on 2026-09-02 (69 tests plus a Web-profile startup smoke test). Built for the cordis patch-bundle plugin model (`cordis.patch.yml` + `dsh.bundle.patch`). No runtime imports of `@deepseek-ai/*` internals.
|
|
46
46
|
|
|
47
47
|
## Installation
|
|
48
48
|
|
package/README.md
CHANGED
|
@@ -55,7 +55,7 @@ Email tools for DeepSeek Harness: list, read, search and send mail through stand
|
|
|
55
55
|
|
|
56
56
|
## 兼容性
|
|
57
57
|
|
|
58
|
-
在 `@deepseek-ai/dsh@0.1.2-alpha.
|
|
58
|
+
在 `@deepseek-ai/dsh@0.1.2-alpha.4` 源码模式下实测通过(2026-09-02,69 项测试及 Web profile 启动冒烟)。遵循 cordis 组合包补丁模型(`cordis.patch.yml` + `dsh.bundle.patch`),运行时不 import 任何 `@deepseek-ai/*` 内部模块。
|
|
59
59
|
|
|
60
60
|
## 安装
|
|
61
61
|
|
|
@@ -194,4 +194,4 @@ MIT。这是一个社区插件,与 DeepSeek 官方无关;`@deepseek-ai/*`
|
|
|
194
194
|
|
|
195
195
|
- [dsh-slack](https://github.com/STARDUSTLC666/dsh-slack) — Slack 通知/收件箱
|
|
196
196
|
- [dsh-dingtalk](https://github.com/STARDUSTLC666/dsh-dingtalk) — 钉钉群通知(零依赖)
|
|
197
|
-
- [dsh-email](https://github.com/STARDUSTLC666/dsh-email) — 邮件八件套 + Web 设置页 + 新邮件弹窗
|
|
197
|
+
- [dsh-email](https://github.com/STARDUSTLC666/dsh-email) — 邮件八件套 + Web 设置页 + 新邮件弹窗
|
package/lib/index.js
CHANGED
|
@@ -626,12 +626,12 @@ export function apply(ctx, config = {}) {
|
|
|
626
626
|
}
|
|
627
627
|
let reason;
|
|
628
628
|
if (exec.name === 'email_send') {
|
|
629
|
-
const args = (exec.
|
|
629
|
+
const args = (exec.arguments ?? {});
|
|
630
630
|
const attachCount = Array.isArray(args.attachments) ? args.attachments.length : 0;
|
|
631
631
|
reason = '发送邮件给 ' + args.to + ',主题「' + args.subject + '」' + (attachCount > 0 ? ',附件 ' + attachCount + ' 个' : '');
|
|
632
632
|
}
|
|
633
633
|
else {
|
|
634
|
-
const args = (exec.
|
|
634
|
+
const args = (exec.arguments ?? {});
|
|
635
635
|
const mode = typeof args.mode === 'string' && args.mode.trim() !== '' ? args.mode.trim().toLowerCase() : 'reply';
|
|
636
636
|
const modeLabel = mode === 'forward' ? '转发' : mode === 'reply-all' ? '回复全部' : '回复';
|
|
637
637
|
reason = modeLabel + '邮件(原邮件 uid=' + args.uid + ')' + (mode === 'forward' && typeof args.to === 'string' && args.to.trim() !== '' ? ',收件人 ' + args.to : '');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-email",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.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",
|