@michengai/dsh-agency-agents 1.2.16 → 1.2.18
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 +15 -0
- package/CHANGELOG.zh-CN.md +15 -0
- package/README.md +4 -4
- package/README.zh-CN.md +4 -4
- package/lib/client.js +28 -26
- package/lib/index.js +1 -1
- package/lib/remote.d.ts +18 -57
- package/lib/remote.js +1 -1
- package/lib/{src-CSYgxZsN.js → src-C-tLCf9B.js} +19 -15
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,21 @@
|
|
|
4
4
|
|
|
5
5
|
This file records features and upgrade boundaries. npm and GitHub Releases remain the publication source of truth.
|
|
6
6
|
|
|
7
|
+
## 1.2.18 - 2026-10-27
|
|
8
|
+
|
|
9
|
+
- **Align composer trigger typography and hover state with host toolbar primitives**:
|
|
10
|
+
- **Typography & Metrics Alignment**: Matched the composer bottom toolbar "Experts" trigger button metrics with host native controls (13px font size, 20px line height, 500 font weight, and 8px compact horizontal padding), eliminating font size and visual weight discrepancies;
|
|
11
|
+
- **Hover State Harmonization**: Kept the secondary label color tone (`var(--dsw-alias-label-secondary)`) upon hover, surfacing the native `var(--dsw-alias-interactive-bg-hover)` capsule backdrop without abruptly flashing to bold black text (`label-primary`).
|
|
12
|
+
|
|
13
|
+
## 1.2.17 - 2026-10-27
|
|
14
|
+
|
|
15
|
+
- **Align expert recommendation UX with host Menu primitive and zero-occlusion upward expansion** (Issue #27 follow-up):
|
|
16
|
+
- **Unified Upward Expansion (Zero Occlusion)**: Standardized both hero workspace row and dock top layouts to `side="top"`, ensuring menu surfaces strictly expand upwards from the trigger anchor, completely eliminating occlusion over the composer input and send button;
|
|
17
|
+
- **Host Primitive Alignment & Style Cleanups**: Removed invasive `!important` absolute positioning overrides in favor of native `.sideTop` and `.alignEnd` rules in `@deepseek-ai/dsh-client-ui-primitives` `Menu`; replaced raw button anchor with native `Button variant="ghost" size="sm"` primitive;
|
|
18
|
+
- **Two-Line Menu Layout**: Display candidates with primary name, team badge tag, and contextual match reason in a structured two-line list that smoothly closes on outside clicks;
|
|
19
|
+
- **Double Scrollbar Prevention**: Omitted outer container `overflow-y: auto` to rely entirely on the host Menu primitive's internal `.scrollable .viewport` container;
|
|
20
|
+
- **Real Unit Test Guarding**: Extracted `buildRecommendMenuItems` pure function with full Vitest coverage and mutation validation for localized item structures and team tags.
|
|
21
|
+
|
|
7
22
|
## 1.2.16 - 2026-10-26
|
|
8
23
|
|
|
9
24
|
- **Composer Task Recommendations**: Real-time expert and team recommendations above the chat input based on user draft semantics (Issue #27):
|
package/CHANGELOG.zh-CN.md
CHANGED
|
@@ -4,6 +4,21 @@
|
|
|
4
4
|
|
|
5
5
|
本文件记录版本功能与升级边界。正式发布状态以 npm 和 GitHub Releases 为准。
|
|
6
6
|
|
|
7
|
+
## 1.2.18 - 2026-10-27
|
|
8
|
+
|
|
9
|
+
- **对话输入框底栏「专家」触发器排版与悬停交互对齐宿主规范**:
|
|
10
|
+
- **排版指标对齐**:底栏「专家」入口按钮全面对齐宿主原生底栏控件(13px 字号、20px 行高、500 字重及 8px 紧凑内边距),彻底消除字号偏小及与「完全权限」等原生选择器的视觉错位;
|
|
11
|
+
- **悬停态交互平滑一致**:鼠标悬浮时仅平滑呈现微浅灰胶囊背景(`var(--dsw-alias-interactive-bg-hover)`),前景色保持次级灰(`label-secondary`),彻底消除移入时光标处字体突然跳黑变粗的割裂感。
|
|
12
|
+
|
|
13
|
+
## 1.2.17 - 2026-10-27
|
|
14
|
+
|
|
15
|
+
- **专家推荐交互全面对齐宿主 Menu 下拉控件与无遮挡布局**(Issue #27 后续优化):
|
|
16
|
+
- **全场景统一向上展开(Zero Occlusion)**:新会话(Hero 工作区行右端)与已有会话(输入框右上沿)一律统一配置为 `side="top"`,菜单底边严格贴合在触发器上方展开,彻底消除遮挡下方主输入框与发送按钮的体验缺陷;
|
|
17
|
+
- **对齐宿主原生原语与清除违规样式**:全面移除插件层手写的 `!important` 绝对定位等侵入性 CSS,改用宿主 `@deepseek-ai/dsh-client-ui-primitives` 中的 `Menu` 原生 `.sideTop` 与 `.alignEnd` 定位,触发按钮接入官方 `Button variant="ghost" size="sm"` 原语;
|
|
18
|
+
- **两行式推荐呈现**:候选卡片采用宿主标准两行式排布(首行展示专家/团队名称及「团队」蓝底标识,次行展示具体的语义匹配理由),点击外部时平滑收起;
|
|
19
|
+
- **防范双层滚动条**:外层容器清理多余的 `overflow-y: auto`,交由宿主 Menu 内部的 `.scrollable .viewport` 统筹长列表滚动;
|
|
20
|
+
- **真实单测守护与消除假绿**:抽离 `buildRecommendMenuItems` 纯函数并由单测深度断言两行式结构与团队标签,通过变异测试守护逻辑可靠性。
|
|
21
|
+
|
|
7
22
|
## 1.2.16 - 2026-10-26
|
|
8
23
|
|
|
9
24
|
- **输入框上方智能推荐条(Composer Task Recommendations)**:当用户在主会话聊天框键入任务草稿时,基于草稿语义在输入框上方实时推荐最匹配的专家与专家团队(Issue #27):
|
package/README.md
CHANGED
|
@@ -93,14 +93,14 @@ A native compact **Batch Actions** dropdown menu is available on the right of th
|
|
|
93
93
|
|
|
94
94
|
### Composer Task Recommendations
|
|
95
95
|
|
|
96
|
-
Real-time expert and expert team suggestions displayed
|
|
96
|
+
Real-time expert and expert team suggestions displayed as a native dropdown at the top-right of the chat composer based on draft semantics (Issue #27):
|
|
97
97
|
|
|
98
98
|
- **Zero-Token Local Scoring Engine**: Client-side tokenizer, stop-word filtering, and lightweight scoring algorithm (< 3ms) debounced at 250ms, incurring zero network overhead and zero LLM token consumption;
|
|
99
|
-
- **Native
|
|
100
|
-
- **One-Click Mention & Deduplication**: Click candidate
|
|
99
|
+
- **Native Two-Line Menu & Zero Occlusion**: Built with host primitives (`@deepseek-ai/dsh-client-ui-primitives` `Menu`), aligned to the right in both new and existing sessions and popping upward (`side="top"`) to prevent blocking the input box and send button;
|
|
100
|
+
- **One-Click Mention & Deduplication**: Click candidate items to insert references directly into the input via host `insertReference`; already referenced experts are automatically filtered out from suggestions, auto-dismissing on outside clicks or empty input;
|
|
101
101
|
- **Dedicated Extension Toggle**: Toggle under **Settings → Plugins** (default off), supporting host volatile hot-reloading and persistence.
|
|
102
102
|
|
|
103
|
-
> This README describes version 1.2.
|
|
103
|
+
> This README describes version 1.2.18. **This is a breaking upgrade: DeepSeek Harness 0.1.x is no longer supported.** Installation on an older host is rejected by the version gate. npm and GitHub Releases determine publication status. See the [changelog](CHANGELOG.md) for the full boundary. Expert and team settings are retained; back up settings before downgrading to 1.0.x.
|
|
104
104
|
## Screenshots
|
|
105
105
|
|
|
106
106
|
The screenshots below show the 1.0.0 interface in Chinese. Experts and expert teams share the same settings page.
|
package/README.zh-CN.md
CHANGED
|
@@ -93,14 +93,14 @@
|
|
|
93
93
|
|
|
94
94
|
### 输入框任务智能推荐(Task Recommendations)
|
|
95
95
|
|
|
96
|
-
|
|
96
|
+
在主会话聊天框键入任务内容时,系统基于草稿语义在输入框右上沿提供实时的专家与专家团队智能推荐下拉菜单(Issue #27):
|
|
97
97
|
|
|
98
98
|
- **零 Token 本地纯计算**:采用纯客户端切词、停用词过滤与轻量打分算法(耗时 `< 3ms`),配合 `250ms` 键入防抖,全程不调用后台大模型,零网络延迟与 Token 消耗;
|
|
99
|
-
-
|
|
100
|
-
- **一键引用与智能排除**:点击推荐项自动通过宿主原生 `insertReference`
|
|
99
|
+
- **原生两行式下拉与零遮挡**:使用宿主原生 `@deepseek-ai/dsh-client-ui-primitives` 中的 `Menu` 组件,新会话对齐工作区行最右端、已有会话对齐输入框右上沿并一律向上弹开,彻底避免遮挡输入框与发送按钮;
|
|
100
|
+
- **一键引用与智能排除**:点击推荐项自动通过宿主原生 `insertReference` 将实体插入输入框草稿中,已引用的专家自动从推荐列表中排除,输入清空或点击外部时自动收起;
|
|
101
101
|
- **独立配置开关**:在「设置 → 插件」扩展配置中提供「任务智能推荐」独立开关(默认关闭),支持实时热更新并持久化保存。
|
|
102
102
|
|
|
103
|
-
> 本 README 描述 1.2.
|
|
103
|
+
> 本 README 描述 1.2.18。**这是破坏性升级:不再支持 DeepSeek Harness 0.1.x。** 在旧宿主上安装会被版本门拒绝。正式发行以 npm 和 GitHub Releases 为准。完整边界见[更新日志](CHANGELOG.zh-CN.md)。专家和专家团配置仍保留;回退 1.0.x 前先备份设置。
|
|
104
104
|
## 界面预览
|
|
105
105
|
|
|
106
106
|
以下为 1.0.0 中文界面截图,专家与专家团共用同一个设置页面。
|