@michengai/dsh-im-connect 1.0.35 → 1.0.38

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/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.0.38] - 2026-11-13
4
+
5
+ ### Settings UI Standardization
6
+
7
+ - Unified settings header card: wrapped the header in an elevated card container for seamless visual consistency across settings.
8
+ - Native button and icon styling: updated the issue feedback action to use the host's native pen icon and outline button primitive.
9
+
10
+ ## [1.0.37] - 2026-11-12
11
+
12
+ ### Compatibility & Dependencies
13
+
14
+ - Verified full compatibility with DeepSeek Harness `0.2.2-rc.2`, covering `0.2.0-rc.1` through `0.2.2-rc.2` and subsequent `0.2.x` pre-releases.
15
+ - Align development dependencies with official `0.2.2-rc.2` and Schemastery `3.19.0`, and update documentation compatibility lists and CI contract test coverage (`0.2.0-rc.1` through `0.2.1-rc.5`).
16
+
3
17
  ## [1.0.35] - 2026-11-10
4
18
 
5
19
  ### Telegram connection resilience, reaction reliability, and delivery safeguards
@@ -1,5 +1,19 @@
1
1
  # 更新日志
2
2
 
3
+ ## [1.0.38] - 2026-11-13
4
+
5
+ ### 设置页规范化与视觉对齐
6
+
7
+ - 统一设置页头部卡片视觉:外层包裹独立卡片边框容器,消除设置页顶部的裸露悬空感。
8
+ - 交互按钮与图标对齐:问题反馈链接统一接入宿主原生笔刷图标与轮廓按钮原语。
9
+
10
+ ## [1.0.37] - 2026-11-12
11
+
12
+ ### 兼容性与依赖升级
13
+
14
+ - 完成 DeepSeek Harness `0.2.2-rc.2` 全量兼容验证,支持范围涵盖 `0.2.0-rc.1` 至 `0.2.2-rc.2` 及后续同代预发布版本。
15
+ - 对齐开发依赖至官方 `0.2.2-rc.2` 与 Schemastery `3.19.0`,并同步更新说明文档中的已验证版本列表与 CI 契约测试范围(覆盖 `0.2.0-rc.1` 至 `0.2.1-rc.5`)。
16
+
3
17
  ## [1.0.35] - 2026-11-10
4
18
 
5
19
  ### Telegram 连接韧性、状态表情与收口稳定性提升
package/README.en.md CHANGED
@@ -204,7 +204,7 @@ For a desktop workbench, download [DSH Codex Desktop](https://github.com/Micheng
204
204
  ## Prerequisites
205
205
 
206
206
  - A working DeepSeek Harness Web installation with `dsh` available in PowerShell.
207
- - Host compatibility: Full DeepSeek Harness `0.2.x` line (`>=0.2.0-rc.1 <0.3.0-0`), verified with `0.2.0-rc.1`, `0.2.0-rc.2`, `0.2.1-rc.1`–`0.2.1-rc.5`, and `0.2.2-rc.1`, and forwards-compatible with subsequent `0.2.x` RC releases without requiring routine plugin version bumps. Legacy versions and breaking changes in the `0.3.0` generation are rejected by the version gate. If you still use a `0.1.x` host, install plugin `0.1.78` instead of `@latest`.
207
+ - Host compatibility: Full DeepSeek Harness `0.2.x` line (`>=0.2.0-rc.1 <0.3.0-0`), verified with `0.2.0-rc.1`, `0.2.0-rc.2`, `0.2.1-rc.1`–`0.2.1-rc.5`, `0.2.2-rc.1`, and `0.2.2-rc.2`, and forwards-compatible with subsequent `0.2.x` RC releases without requiring routine plugin version bumps. Legacy versions and breaking changes in the `0.3.0` generation are rejected by the version gate. If you still use a `0.1.x` host, install plugin `0.1.78` instead of `@latest`.
208
208
  - Examples use the `web` profile; replace it with the target profile.
209
209
  - Source installation and development require Node.js 22+. npm installation does not require running `npm install` in an arbitrary directory.
210
210
  - After install, restart `dsh web` and hard-refresh the browser before opening **Settings → IM Assistant**.
package/README.md CHANGED
@@ -204,7 +204,7 @@ IM 消息发起的处理结束后,会在正文和文件投递完成后给出
204
204
  ## 前置条件
205
205
 
206
206
  - 已可正常运行 DeepSeek Harness Web,且可在 PowerShell 中使用 `dsh`。
207
- - 宿主支持范围:DeepSeek Harness `0.2.x` 全系列(`>=0.2.0-rc.1 <0.3.0-0`),已验证兼容 `0.2.0-rc.1`、`0.2.0-rc.2`、`0.2.1-rc.1`~`0.2.1-rc.5`、`0.2.2-rc.1`,并自动支持后续全部 0.2.x RC 版本,同代宿主升级无需重复等待发版。早期版本与 `0.3.0` 代际破坏性更新由版本门拦截。仍在使用 `0.1.x` 的,请安装插件 `0.1.78`,不要装 `@latest`。
207
+ - 宿主支持范围:DeepSeek Harness `0.2.x` 全系列(`>=0.2.0-rc.1 <0.3.0-0`),已验证兼容 `0.2.0-rc.1`、`0.2.0-rc.2`、`0.2.1-rc.1`~`0.2.1-rc.5`、`0.2.2-rc.1`、`0.2.2-rc.2`,并自动支持后续全部 0.2.x RC 版本,同代宿主升级无需重复等待发版。早期版本与 `0.3.0` 代际破坏性更新由版本门拦截。仍在使用 `0.1.x` 的,请安装插件 `0.1.78`,不要装 `@latest`。
208
208
  - 以下示例使用 `web` profile;请替换为实际目标 profile。
209
209
  - 从源码安装或二次开发需要 Node.js 22+;仅从 npm 安装无需在任意目录执行 `npm install`。
210
210
  - 安装后必须重启 `dsh web`,并在浏览器硬刷新,才能看到「设置 → IM助理」。
package/README.zh-CN.md CHANGED
@@ -204,7 +204,7 @@ IM 消息发起的处理结束后,会在正文和文件投递完成后给出
204
204
  ## 前置条件
205
205
 
206
206
  - 已可正常运行 DeepSeek Harness Web,且可在 PowerShell 中使用 `dsh`。
207
- - 宿主支持范围:DeepSeek Harness `0.2.x` 全系列(`>=0.2.0-rc.1 <0.3.0-0`),已验证兼容 `0.2.0-rc.1`、`0.2.0-rc.2`、`0.2.1-rc.1`~`0.2.1-rc.5`、`0.2.2-rc.1`,并自动支持后续全部 0.2.x RC 版本,同代宿主升级无需重复等待发版。早期版本与 `0.3.0` 代际破坏性更新由版本门拦截。仍在使用 `0.1.x` 的,请安装插件 `0.1.78`,不要装 `@latest`。
207
+ - 宿主支持范围:DeepSeek Harness `0.2.x` 全系列(`>=0.2.0-rc.1 <0.3.0-0`),已验证兼容 `0.2.0-rc.1`、`0.2.0-rc.2`、`0.2.1-rc.1`~`0.2.1-rc.5`、`0.2.2-rc.1`、`0.2.2-rc.2`,并自动支持后续全部 0.2.x RC 版本,同代宿主升级无需重复等待发版。早期版本与 `0.3.0` 代际破坏性更新由版本门拦截。仍在使用 `0.1.x` 的,请安装插件 `0.1.78`,不要装 `@latest`。
208
208
  - 以下示例使用 `web` profile;请替换为实际目标 profile。
209
209
  - 从源码安装或二次开发需要 Node.js 22+;仅从 npm 安装无需在任意目录执行 `npm install`。
210
210
  - 安装后必须重启 `dsh web`,并在浏览器硬刷新,才能看到「设置 → IM助理」。
package/client.js CHANGED
@@ -44,6 +44,7 @@ window.__ModuleLoader__.load({
44
44
  const IconChevronRightOutline = pickHostIcon("IconChevronRightOutlineRegular");
45
45
  const IconPlusOutline = pickHostIcon("IconPlusOutlineRegular");
46
46
  const IconEditOutline = pickHostIcon("IconEditOutlineRegular");
47
+ const IconListPenOutline = pickHostIcon("IconListPenOutlineMedium", "IconListPenOutlineRegular", "IconListPenOutline", "IconEditOutlineRegular", "IconEditOutline");
47
48
  const IconLoadingOutline = pickHostIcon("IconLoadingOutlineRegular");
48
49
  function alertIcon(type) {
49
50
  if (type === "success") return h(IconCheckCircleOutline, { size: 14 });
@@ -3023,7 +3024,9 @@ window.__ModuleLoader__.load({
3023
3024
  const CSS = `
3024
3025
  .ima-page,.ima-account-modal,.ima-bind-modal,.ima-inspector{--ima-text:var(--dsw-alias-label-primary,var(--dsh-text,#e6edf3));--ima-muted:var(--dsw-alias-label-tertiary,var(--dsh-text-muted,#8b949e));--ima-line:var(--dsw-alias-border-l2,var(--dsh-border,rgba(255,255,255,.1)));--ima-card:var(--dsw-alias-bg-layer-2,rgba(255,255,255,.04));--ima-card-hover:var(--dsw-alias-interactive-bg-hover,rgba(255,255,255,.06));--ima-ok:var(--dsw-alias-state-success-primary,#3fb950);--ima-warning:var(--dsw-alias-state-warning-primary,#d29922);--ima-danger:var(--dsw-alias-state-error-primary,#f85149);--ima-accent:var(--dsw-alias-brand-primary,#4b7cff)}
3025
3026
  .ima-page{box-sizing:border-box;max-width:none;width:100%;margin:0;padding:0 0 32px;color:var(--ima-text)}
3026
- .ima-head{display:flex;flex-direction:column;align-items:stretch;gap:12px;margin-bottom:12px}
3027
+ .ima-section-card{box-sizing:border-box;display:flex;flex-direction:column;gap:12px;padding:18px 20px;background:var(--dsw-alias-bg-layer-2,#18181b);border:1px solid var(--dsw-alias-border-l1,rgba(255,255,255,0.08));border-radius:12px;margin-bottom:16px}
3028
+ body:not([data-ds-dark-theme]) .ima-section-card{background:var(--dsw-alias-bg-layer-2,#ffffff);border-color:var(--dsw-alias-border-l1,rgba(0,0,0,0.08))}
3029
+ .ima-head{display:flex;flex-direction:column;align-items:stretch;gap:12px;margin-bottom:0}
3027
3030
  .ima-heading h2,.ima-title{margin:0;font-size:24px;line-height:32px;font-weight:600;letter-spacing:-.4px;white-space:nowrap;text-align:left}
3028
3031
  .ima-title-row{display:flex;align-items:center;gap:8px 12px;min-width:0;flex-wrap:wrap}
3029
3032
  .ima-title-links{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
@@ -4949,28 +4952,30 @@ window.__ModuleLoader__.load({
4949
4952
  const selectedAccount = allAccounts.find((item) => item.id === settingsAccount);
4950
4953
 
4951
4954
  return h("section", { className: "ima-page ima-account-page", "aria-label": t("settings.aria") },
4952
- h("header", { className: "ima-head" },
4953
- h("div", { className: "ima-heading" },
4954
- h("div", { className: "ima-title-row" },
4955
- h("h2", { className: "ima-title" }, t("settings.title")),
4956
- h("div", { className: "ima-title-links" },
4957
- h(PrimitiveButton, {
4958
- variant: "outline",
4959
- size: "sm",
4960
- "aria-label": t("settings.viewProject"),
4961
- icon: h(GithubMark16),
4962
- onClick: () => { window.open("https://github.com/MichengAI/dsh-im-connect", "_blank", "noreferrer"); }
4963
- }, t("settings.viewProject")),
4964
- h(PrimitiveButton, {
4965
- variant: "outline",
4966
- size: "sm",
4967
- "aria-label": t("settings.feedback"),
4968
- icon: h(FeedbackIcon),
4969
- onClick: () => { window.open("https://github.com/MichengAI/dsh-im-connect/issues", "_blank", "noreferrer"); }
4970
- }, t("settings.feedback")),
4955
+ h("div", { className: "ima-section-card" },
4956
+ h("header", { className: "ima-head" },
4957
+ h("div", { className: "ima-heading" },
4958
+ h("div", { className: "ima-title-row" },
4959
+ h("h2", { className: "ima-title" }, t("settings.title")),
4960
+ h("div", { className: "ima-title-links" },
4961
+ h(PrimitiveButton, {
4962
+ variant: "outline",
4963
+ size: "sm",
4964
+ "aria-label": t("settings.viewProject"),
4965
+ icon: h(GithubMark16),
4966
+ onClick: () => { window.open("https://github.com/MichengAI/dsh-im-connect", "_blank", "noreferrer"); }
4967
+ }, t("settings.viewProject")),
4968
+ h(PrimitiveButton, {
4969
+ variant: "outline",
4970
+ size: "sm",
4971
+ "aria-label": t("settings.feedback"),
4972
+ icon: h(IconListPenOutline, { size: 14 }),
4973
+ onClick: () => { window.open("https://github.com/MichengAI/dsh-im-connect/issues", "_blank", "noreferrer"); }
4974
+ }, t("settings.feedback")),
4975
+ ),
4971
4976
  ),
4977
+ h("p", { className: "ima-sub" }, t("settings.description")),
4972
4978
  ),
4973
- h("p", { className: "ima-sub" }, t("settings.description")),
4974
4979
  ),
4975
4980
  ),
4976
4981
  error && h(NoticeBar, { type: "error", className: "ima-error" }, error),
package/lib/client.js CHANGED
@@ -90,6 +90,7 @@ function resolveApiUrl(path) {
90
90
  const IconChevronRightOutline = pickHostIcon("IconChevronRightOutlineRegular");
91
91
  const IconPlusOutline = pickHostIcon("IconPlusOutlineRegular");
92
92
  const IconEditOutline = pickHostIcon("IconEditOutlineRegular");
93
+ const IconListPenOutline = pickHostIcon("IconListPenOutlineMedium", "IconListPenOutlineRegular", "IconListPenOutline", "IconEditOutlineRegular", "IconEditOutline");
93
94
  const IconLoadingOutline = pickHostIcon("IconLoadingOutlineRegular");
94
95
  function alertIcon(type) {
95
96
  if (type === "success") return h(IconCheckCircleOutline, { size: 14 });
@@ -3069,7 +3070,9 @@ function resolveApiUrl(path) {
3069
3070
  const CSS = `
3070
3071
  .ima-page,.ima-account-modal,.ima-bind-modal,.ima-inspector{--ima-text:var(--dsw-alias-label-primary,var(--dsh-text,#e6edf3));--ima-muted:var(--dsw-alias-label-tertiary,var(--dsh-text-muted,#8b949e));--ima-line:var(--dsw-alias-border-l2,var(--dsh-border,rgba(255,255,255,.1)));--ima-card:var(--dsw-alias-bg-layer-2,rgba(255,255,255,.04));--ima-card-hover:var(--dsw-alias-interactive-bg-hover,rgba(255,255,255,.06));--ima-ok:var(--dsw-alias-state-success-primary,#3fb950);--ima-warning:var(--dsw-alias-state-warning-primary,#d29922);--ima-danger:var(--dsw-alias-state-error-primary,#f85149);--ima-accent:var(--dsw-alias-brand-primary,#4b7cff)}
3071
3072
  .ima-page{box-sizing:border-box;max-width:none;width:100%;margin:0;padding:0 0 32px;color:var(--ima-text)}
3072
- .ima-head{display:flex;flex-direction:column;align-items:stretch;gap:12px;margin-bottom:12px}
3073
+ .ima-section-card{box-sizing:border-box;display:flex;flex-direction:column;gap:12px;padding:18px 20px;background:var(--dsw-alias-bg-layer-2,#18181b);border:1px solid var(--dsw-alias-border-l1,rgba(255,255,255,0.08));border-radius:12px;margin-bottom:16px}
3074
+ body:not([data-ds-dark-theme]) .ima-section-card{background:var(--dsw-alias-bg-layer-2,#ffffff);border-color:var(--dsw-alias-border-l1,rgba(0,0,0,0.08))}
3075
+ .ima-head{display:flex;flex-direction:column;align-items:stretch;gap:12px;margin-bottom:0}
3073
3076
  .ima-heading h2,.ima-title{margin:0;font-size:24px;line-height:32px;font-weight:600;letter-spacing:-.4px;white-space:nowrap;text-align:left}
3074
3077
  .ima-title-row{display:flex;align-items:center;gap:8px 12px;min-width:0;flex-wrap:wrap}
3075
3078
  .ima-title-links{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
@@ -4995,28 +4998,30 @@ function resolveApiUrl(path) {
4995
4998
  const selectedAccount = allAccounts.find((item) => item.id === settingsAccount);
4996
4999
 
4997
5000
  return h("section", { className: "ima-page ima-account-page", "aria-label": t("settings.aria") },
4998
- h("header", { className: "ima-head" },
4999
- h("div", { className: "ima-heading" },
5000
- h("div", { className: "ima-title-row" },
5001
- h("h2", { className: "ima-title" }, t("settings.title")),
5002
- h("div", { className: "ima-title-links" },
5003
- h(PrimitiveButton, {
5004
- variant: "outline",
5005
- size: "sm",
5006
- "aria-label": t("settings.viewProject"),
5007
- icon: h(GithubMark16),
5008
- onClick: () => { window.open("https://github.com/MichengAI/dsh-im-connect", "_blank", "noreferrer"); }
5009
- }, t("settings.viewProject")),
5010
- h(PrimitiveButton, {
5011
- variant: "outline",
5012
- size: "sm",
5013
- "aria-label": t("settings.feedback"),
5014
- icon: h(FeedbackIcon),
5015
- onClick: () => { window.open("https://github.com/MichengAI/dsh-im-connect/issues", "_blank", "noreferrer"); }
5016
- }, t("settings.feedback")),
5001
+ h("div", { className: "ima-section-card" },
5002
+ h("header", { className: "ima-head" },
5003
+ h("div", { className: "ima-heading" },
5004
+ h("div", { className: "ima-title-row" },
5005
+ h("h2", { className: "ima-title" }, t("settings.title")),
5006
+ h("div", { className: "ima-title-links" },
5007
+ h(PrimitiveButton, {
5008
+ variant: "outline",
5009
+ size: "sm",
5010
+ "aria-label": t("settings.viewProject"),
5011
+ icon: h(GithubMark16),
5012
+ onClick: () => { window.open("https://github.com/MichengAI/dsh-im-connect", "_blank", "noreferrer"); }
5013
+ }, t("settings.viewProject")),
5014
+ h(PrimitiveButton, {
5015
+ variant: "outline",
5016
+ size: "sm",
5017
+ "aria-label": t("settings.feedback"),
5018
+ icon: h(IconListPenOutline, { size: 14 }),
5019
+ onClick: () => { window.open("https://github.com/MichengAI/dsh-im-connect/issues", "_blank", "noreferrer"); }
5020
+ }, t("settings.feedback")),
5021
+ ),
5017
5022
  ),
5023
+ h("p", { className: "ima-sub" }, t("settings.description")),
5018
5024
  ),
5019
- h("p", { className: "ima-sub" }, t("settings.description")),
5020
5025
  ),
5021
5026
  ),
5022
5027
  error && h(NoticeBar, { type: "error", className: "ima-error" }, error),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@michengai/dsh-im-connect",
3
- "version": "1.0.35",
3
+ "version": "1.0.38",
4
4
  "description": "DSH IM Connect — 将主流即时通讯平台接入本机 DeepSeek Harness · Connect major messaging platforms to local DeepSeek Harness agents",
5
5
  "type": "module",
6
6
  "packageManager": "pnpm@11.22.0",
@@ -99,20 +99,21 @@
99
99
  },
100
100
  "devDependencies": {
101
101
  "@deepseek-ai/cordis": "4.1.0",
102
- "@deepseek-ai/dsh-agent": "0.2.2-rc.1",
103
- "@deepseek-ai/dsh-client-locale": "0.2.2-rc.1",
104
- "@deepseek-ai/dsh-client-ui-primitives": "0.2.2-rc.1",
105
- "@deepseek-ai/dsh-client-ui-settings": "0.2.2-rc.1",
106
- "@deepseek-ai/dsh-client-ui-slots": "0.2.2-rc.1",
107
- "@deepseek-ai/dsh-host-webserver": "0.2.2-rc.1",
108
- "@deepseek-ai/schemastery": "3.18.5",
102
+ "@deepseek-ai/dsh-agent": "0.2.2-rc.2",
103
+ "@deepseek-ai/dsh-client-locale": "0.2.2-rc.2",
104
+ "@deepseek-ai/dsh-client-ui-primitives": "0.2.2-rc.2",
105
+ "@deepseek-ai/dsh-client-ui-settings": "0.2.2-rc.2",
106
+ "@deepseek-ai/dsh-client-ui-slots": "0.2.2-rc.2",
107
+ "@deepseek-ai/dsh-error": "0.2.2-rc.2",
108
+ "@deepseek-ai/dsh-host-webserver": "0.2.2-rc.2",
109
+ "@deepseek-ai/schemastery": "3.19.0",
109
110
  "@types/node": "^22.10.0",
110
111
  "@types/qrcode": "^1.5.6",
111
112
  "esbuild": "^0.25.0",
112
113
  "react": "^18.3.1",
113
114
  "react-dom": "^18.3.1",
114
115
  "typescript": "5.9.3",
115
- "@deepseek-ai/dsh-llm": "0.2.2-rc.1"
116
+ "@deepseek-ai/dsh-llm": "0.2.2-rc.2"
116
117
  },
117
118
  "dsh": {
118
119
  "manifestVersion": 1,