@xmanrui/dsh-im 5.6.0 → 5.7.0

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
@@ -44,14 +44,30 @@
44
44
 
45
45
  ---
46
46
 
47
- <a id="recognition"></a>
47
+ ## ❤️ Sponsors
48
48
 
49
- > [!NOTE]
50
- > **DSH-IM has received official sponsorship from DeepSeek Harness in the form of RMB 2,000 in token credits**. Thank you to the DeepSeek Harness team for supporting this project!
51
- >
52
- > This project is independently developed and maintained by community developers.
49
+ <table width="100%">
50
+ <tr>
51
+ <td width="180" align="center" valign="middle">
52
+ <a href="https://88api.ai/sign-up?aff=lJoL"><img src="assets/sponsors/88api.jpg" alt="88API Token Aggregation Platform" width="150"></a>
53
+ </td>
54
+ <td valign="middle">
55
+ <a href="https://88api.ai/sign-up?aff=lJoL"><strong>88API Token Aggregation Platform</strong></a> sponsors this project! Operated by a Hong Kong company, 88API is an all-in-one, multi-model API platform for developers, creators, and AI application users. Its unified interface connects text, image, speech, and video models for workflows including AI coding, translation, content creation, voiceovers, image generation, and video generation. It offers high-quality, discounted access to official DeepSeek inference services and self-hosted DeepSeek inference on its own B300 clusters. It supports major international payment methods, provides invoices, and offers enterprise-grade reliable service. <a href="https://88api.ai/sign-up?aff=lJoL"><strong>Sign up through this link to receive exclusive bonus credits!</strong></a>
56
+ </td>
57
+ </tr>
58
+ <tr>
59
+ <td width="180" align="center" valign="middle">
60
+ <a id="recognition"></a>
61
+ <a href="https://github.com/deepseek-ai/deepseek-harness"><strong>DeepSeek<br>Harness</strong></a>
62
+ </td>
63
+ <td valign="middle">
64
+ <strong>DSH-IM has received official sponsorship from <a href="https://github.com/deepseek-ai/deepseek-harness">DeepSeek Harness</a> in the form of token credits</strong>. Thank you to the DeepSeek Harness team for supporting this project!
65
+ <p>This project is independently developed and maintained by community developers.</p>
66
+ </td>
67
+ </tr>
68
+ </table>
53
69
 
54
- <!-- -->
70
+ ---
55
71
 
56
72
  > [!IMPORTANT]
57
73
  > **Install using the full package name: `@xmanrui/dsh-im`**
package/README.md CHANGED
@@ -45,14 +45,30 @@
45
45
 
46
46
  ---
47
47
 
48
- <a id="recognition"></a>
48
+ ## ❤️ 赞助商
49
49
 
50
- > [!NOTE]
51
- > **DSH-IM 已获得 DeepSeek Harness 官方 Token 赞助,价值人民币 2,000 元**。感谢官方对本项目的支持!
52
- >
53
- > 本项目由社区开发者独立开发与维护。
50
+ <table width="100%">
51
+ <tr>
52
+ <td width="180" align="center" valign="middle">
53
+ <a href="https://88api.ai/sign-up?aff=lJoL"><img src="assets/sponsors/88api.jpg" alt="88API Token聚合平台" width="150"></a>
54
+ </td>
55
+ <td valign="middle">
56
+ <a href="https://88api.ai/sign-up?aff=lJoL"><strong>88API Token聚合平台</strong></a>赞助了本项目!88API 是一家由香港企业运营并且主要面向开发者、创作者与 AI 应用用户的一站式多模型 API 平台,通过统一接口接入文本、图片、语音和视频模型,覆盖 AI 编程、智能翻译、内容创作、配音、图像生成、视频生成等常见工作流。可提供高质量的折扣Deepseek官转算力和自有B300集群自部署Deepseek算力;支持国际主流付款方式,可提供发票,提供企业级稳定服务。<a href="https://88api.ai/sign-up?aff=lJoL"><strong>通过此链接注册可以获取专属赠送额度!</strong></a>
57
+ </td>
58
+ </tr>
59
+ <tr>
60
+ <td width="180" align="center" valign="middle">
61
+ <a id="recognition"></a>
62
+ <a href="https://github.com/deepseek-ai/deepseek-harness"><strong>DeepSeek<br>Harness</strong></a>
63
+ </td>
64
+ <td valign="middle">
65
+ <strong>DSH-IM 已获得 <a href="https://github.com/deepseek-ai/deepseek-harness">DeepSeek Harness</a> 官方 Token 赞助</strong>。感谢官方对本项目的支持!
66
+ <p>本项目由社区开发者独立开发与维护。</p>
67
+ </td>
68
+ </tr>
69
+ </table>
54
70
 
55
- <!-- -->
71
+ ---
56
72
 
57
73
  > [!IMPORTANT]
58
74
  > **安装请认准完整包名:`@xmanrui/dsh-im`**
Binary file
package/lib/client.js CHANGED
@@ -595,7 +595,7 @@ var React47 = __toESM(require("react"), 1);
595
595
  // package.json
596
596
  var package_default = {
597
597
  name: "@xmanrui/dsh-im",
598
- version: "5.6.0",
598
+ version: "5.7.0",
599
599
  icon: "./assets/logo-plugin-message-link-gradient.webp",
600
600
  description: "\u628A\u5FAE\u4FE1\u3001\u98DE\u4E66\u3001\u4F01\u5FAE\u3001\u9489\u9489\u3001QQ\u3001Telegram\u3001WhatsApp\u3001Slack\u3001Discord\u3001Matrix\u63A5\u5165DSH\u3002 Connect Telegram, WhatsApp, Slack, Discord, Matrix, WeChat, Feishu, WeCom, DingTalk, and QQ to DSH.",
601
601
  keywords: [
@@ -2620,6 +2620,7 @@ var CLIENT = Object.freeze({
2620
2620
  "DeepSeek Harness \u4F1A\u8BFB\u53D6\u8BE5\u90AE\u7BB1\u7684\u65B0\u90AE\u4EF6\u4F5C\u4E3A\u6307\u4EE4\uFF0C\u5E76\u5728\u540C\u4E00\u90AE\u4EF6\u7EBF\u7A0B\u5185\u56DE\u590D\u5904\u7406\u7ED3\u679C\u3002": "DeepSeek Harness \u0447\u0438\u0442\u0430\u0435\u0442 \u043D\u043E\u0432\u044B\u0435 \u043F\u0438\u0441\u044C\u043C\u0430 \u0432 \u044D\u0442\u043E\u043C \u044F\u0449\u0438\u043A\u0435 \u043A\u0430\u043A \u043A\u043E\u043C\u0430\u043D\u0434\u044B \u0438 \u043E\u0442\u0432\u0435\u0447\u0430\u0435\u0442 \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u043E\u043C \u0432 \u0442\u043E\u0439 \u0436\u0435 \u0446\u0435\u043F\u043E\u0447\u043A\u0435 \u043F\u0438\u0441\u0435\u043C.",
2621
2621
  "\u90AE\u7BB1\u670D\u52A1\u5546": "\u041F\u043E\u0447\u0442\u043E\u0432\u044B\u0439 \u043F\u0440\u043E\u0432\u0430\u0439\u0434\u0435\u0440",
2622
2622
  "\u90AE\u7BB1\u5730\u5740": "\u0410\u0434\u0440\u0435\u0441 \u043F\u043E\u0447\u0442\u044B",
2623
+ "\u6536\u4EF6\u4EBA": "\u041F\u043E\u043B\u0443\u0447\u0430\u0442\u0435\u043B\u044C",
2623
2624
  "\u5E94\u7528\u5BC6\u7801 / \u6388\u6743\u7801": "\u041F\u0430\u0440\u043E\u043B\u044C \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u044F / \u043A\u043E\u0434 \u0430\u0432\u0442\u043E\u0440\u0438\u0437\u0430\u0446\u0438\u0438",
2624
2625
  "IMAP/SMTP \u6388\u6743\u7801": "\u041A\u043E\u0434 \u0430\u0432\u0442\u043E\u0440\u0438\u0437\u0430\u0446\u0438\u0438 IMAP/SMTP",
2625
2626
  "\u4E0D\u662F\u90AE\u7BB1\u767B\u5F55\u5BC6\u7801\uFF1B\u8BF7\u5728\u90AE\u7BB1\u8BBE\u7F6E\u4E2D\u5355\u72EC\u751F\u6210\u3002": "\u042D\u0442\u043E \u043D\u0435 \u043F\u0430\u0440\u043E\u043B\u044C \u043E\u0442 \u044F\u0449\u0438\u043A\u0430; \u0441\u043E\u0437\u0434\u0430\u0439\u0442\u0435 \u0435\u0433\u043E \u043E\u0442\u0434\u0435\u043B\u044C\u043D\u043E \u0432 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0430\u0445 \u043F\u043E\u0447\u0442\u044B.",
@@ -4037,6 +4038,7 @@ var EN = Object.freeze({
4037
4038
  "DeepSeek Harness \u4F1A\u8BFB\u53D6\u8BE5\u90AE\u7BB1\u7684\u65B0\u90AE\u4EF6\u4F5C\u4E3A\u6307\u4EE4\uFF0C\u5E76\u5728\u540C\u4E00\u90AE\u4EF6\u7EBF\u7A0B\u5185\u56DE\u590D\u5904\u7406\u7ED3\u679C\u3002": "DeepSeek Harness reads new mail in this mailbox as instructions and replies with the result inside the same mail thread.",
4038
4039
  "\u90AE\u7BB1\u670D\u52A1\u5546": "Mail provider",
4039
4040
  "\u90AE\u7BB1\u5730\u5740": "Email address",
4041
+ "\u6536\u4EF6\u4EBA": "Recipient",
4040
4042
  "\u5E94\u7528\u5BC6\u7801 / \u6388\u6743\u7801": "App password / authorization code",
4041
4043
  "IMAP/SMTP \u6388\u6743\u7801": "IMAP/SMTP authorization code",
4042
4044
  "\u4E0D\u662F\u90AE\u7BB1\u767B\u5F55\u5BC6\u7801\uFF1B\u8BF7\u5728\u90AE\u7BB1\u8BBE\u7F6E\u4E2D\u5355\u72EC\u751F\u6210\u3002": "This is not your login password; generate it separately in your mailbox settings.",
@@ -21510,6 +21512,15 @@ var CHANNEL_DEFINITIONS = Object.freeze({
21510
21512
  label: "iMessage",
21511
21513
  kinds: [{ value: "user", label: "\u79C1\u804A" }],
21512
21514
  fields: { user: [{ key: "chatGuid", label: "Chat GUID", placeholder: "iMessage;+;chat123" }] }
21515
+ },
21516
+ // 邮箱渠道在 Host 侧(delivery-adapter 的 case 'email')早于投递设置页面支持,
21517
+ // route 只有 address 一个字段,kind 固定为 user,这里补齐表单定义让投递目标可选。
21518
+ email: {
21519
+ label: "\u90AE\u7BB1",
21520
+ kinds: [{ value: "user", label: "\u6536\u4EF6\u4EBA" }],
21521
+ fields: {
21522
+ user: [{ key: "address", label: "\u90AE\u7BB1\u5730\u5740", placeholder: "name@example.com", inputMode: "email" }]
21523
+ }
21513
21524
  }
21514
21525
  });
21515
21526
  function presentError14(error, fallback) {
@@ -24161,6 +24172,14 @@ ${MARKED}[${TITLE_ATTR}]::after {
24161
24172
  text-overflow: ellipsis;
24162
24173
  pointer-events: none;
24163
24174
  }
24175
+ /* The Host scrolls the original span and publishes these marquee fade hooks.
24176
+ Let the replacement travel as complete text, not a pre-clipped viewport. */
24177
+ ${MARKED}[${TITLE_ATTR}]:is([data-scrolled], [data-clipped])::after {
24178
+ inset-inline-end: auto;
24179
+ width: max-content;
24180
+ overflow: visible;
24181
+ text-overflow: clip;
24182
+ }
24164
24183
  ${Object.entries(uris).map(([channel7, uri]) => `[${CHANNEL_ATTR}="${channel7}"] { --dsh-im-session-logo: url("${uri}"); }`).join("\n")}
24165
24184
  `;
24166
24185
  document2.head.appendChild(style);