@michengai/dsh-im-connect 1.0.7 → 1.0.9
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 +26 -0
- package/CHANGELOG.zh-CN.md +26 -0
- package/client.js +1042 -1298
- package/lib/client.js +1039 -1295
- package/lib/manager.d.ts +0 -1
- package/lib/manager.d.ts.map +1 -1
- package/lib/manager.js +0 -15
- package/lib/manager.js.map +1 -1
- package/package.json +1 -1
- package/src/manager.ts +0 -13
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,31 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.0.9 - 2026-10-20
|
|
4
|
+
|
|
5
|
+
- Share sidebar tab storage with Automation and migrate legacy values; preserve selection on the first valid session snapshot, fall back safely after contribution removal, and restore it on reattachment. Exclude session rows and title substrings from new-chat detection, with regression tests executing the real shell effects.
|
|
6
|
+
|
|
7
|
+
- Drop the channel group menu's Archive all action and its stop-then-archive follow-up: the injected menu now only offers Channel settings, and the archive/stop modals, their state, and their dictionaries are gone. Render the official tree when the Host session snapshot carries no `phase` (older Hosts report baselines differently), and show the load error banner instead of an empty tab when the Host session list fails.
|
|
8
|
+
- Align the sidebar Tasks / Channels / Scheduled tabs with Archive Manager: 32px container, 28px tabs, 6–12px adaptive horizontal padding, 13/20 typography, and matching indicator styling; the indicator width still follows the dynamic tab count and labels no longer wrap when the Mica skin narrows the sidebar.
|
|
9
|
+
- Use the host `IconQueueOutline` for the Channels tab, matching the automation plugin; externally registered channel tabs also receive the same icon.
|
|
10
|
+
- Unify the sidebar wrapper protocol with `__dshNativeTabWrapped`, `__dshNativeTabOriginal`, and `__dshNativeTabOwner` while keeping legacy automation flags readable; name both wrappers `DshNativeTabWorkspaceShell`.
|
|
11
|
+
- Replace the sidebar Channels list with the host WorkspaceBrowser: it defaults to By channel grouping with channel brand icons on group headers, supports the official search, sort, and archive filters, and injects Channel settings into the channel group menu. Remove the self-drawn channel rail, its styles, and its tests; when the official tree is unavailable the tab shows a clear message instead of falling back.
|
|
12
|
+
- Migrate the remaining UI glyphs (feedback, modal close, select chevron, loading spinner, update actions, add, feedback, platform caret, and the settings-nav mask) to host icons; only the channel brand marks and the GitHub brand mark remain custom-drawn.
|
|
13
|
+
- The Channels tab now shows the channel brand icon before each channel session; single-channel workspaces use their channel logo instead of the folder icon; the group menu's Channel settings opens the IM settings page; and the header's add button becomes Add channel, opening the same settings page.
|
|
14
|
+
- Channel sessions are no longer hidden from the official task tree; the Channels tab is a filtered view of the same sessions. Opening a channel session from the task tree stays on the task tree instead of jumping to Channels.
|
|
15
|
+
- Remove the self-drawn task-list fallback: when the official task tree is unavailable, show a clear message instead of rendering `TaskList` / `TaskListView`; drop the `rail.noTasks` strings and `.ima-native` styles.
|
|
16
|
+
- Unify official task-tree session filters: honor registry `sessionFilters` with `getRevision()`, so adding or removing a filter takes effect immediately regardless of whether automation or IM wrapped the sidebar first.
|
|
17
|
+
- Unify official task-tree session opening: register `sessionOpeners` so scheduled openers run first, channel sessions still resolve/ensure, and unmatched sessions fall back to the host regardless of which plugin wrapped first.
|
|
18
|
+
- Fix the Channels tab using the plugin translator instead of the host translator when IM owns the sidebar, which rendered host group/sort labels as raw keys.
|
|
19
|
+
- Keep the channel group menu injector mounted across the 4-second poll, restore host menu items on teardown, and activate injected actions only from the primary button.
|
|
20
|
+
- Restore the per-channel settings deep link; the header add button still opens IM settings when the settings entry is unavailable.
|
|
21
|
+
- Fix the channel add button doing nothing with "could not open IM settings" when the current sidebar exposes Settings only in the official account menu: fall back to that menu entry, then select the IM Assistant section.
|
|
22
|
+
- Refresh the host session list when channel membership changes, so channel sessions appear under Tasks without a page reload.
|
|
23
|
+
|
|
24
|
+
## 1.0.8 - 2026-10-19
|
|
25
|
+
|
|
26
|
+
- Let the account settings page fill the host content column by removing the 1080px cap.
|
|
27
|
+
- Only decorate settings nav buttons that render the host `svg` as a direct child, so wrapped icons keep the host layout.
|
|
28
|
+
|
|
3
29
|
## 1.0.7 - 2026-10-19
|
|
4
30
|
|
|
5
31
|
- Fix the Add account / Account settings dialog not scrolling when its content is taller than the window: once the dialog is capped to the viewport, the content area scrolls normally with the wheel or a trackpad, keeping the QR code and the Cancel / Confirm buttons reachable (Issue #40).
|
package/CHANGELOG.zh-CN.md
CHANGED
|
@@ -4,6 +4,32 @@
|
|
|
4
4
|
|
|
5
5
|
以下记录近期发布的版本。Git 标签与 GitHub Release 现已和这些条目同步;历史条目继续保留原始发布提交链接。
|
|
6
6
|
|
|
7
|
+
## 1.0.9 - 2026-10-20
|
|
8
|
+
|
|
9
|
+
- 与自动化插件统一侧栏页签存储并兼容旧值;首个有效主会话不覆盖用户选择,贡献注销后回退有效任务页,重接入恢复原选择。新建控件识别排除会话行和标题子串,补充执行真实外壳 effect 的回归测试。
|
|
10
|
+
|
|
11
|
+
- 移除频道组菜单的「归档整组」及其「停止后归档」后续:注入的菜单只保留「频道设置」,对应的归档/停止弹窗、状态和词典一并删除。宿主会话快照不带 `phase` 时(旧宿主以其他方式报告基线)仍按就绪渲染官方树;宿主会话列表失败时显示加载失败横幅,不再显示空白页签。
|
|
12
|
+
- 侧边栏「任务 / 频道 / 定时」页签对齐归档管理:32px 容器、28px 页签、6–12px 自适应横向内边距、13/20 字体和相同滑块样式;动态页签数量保持滑块宽度正确,云母皮肤压缩侧栏时标签不换行。
|
|
13
|
+
- 频道页签改用宿主 `IconQueueOutline`,与自动化插件的频道图标一致;外部注册的频道页签也会补上同一图标。
|
|
14
|
+
- 统一侧栏包裹协议:新增 `__dshNativeTabWrapped`、`__dshNativeTabOriginal`、`__dshNativeTabOwner`,保留自动化插件旧标记兼容;包裹组件统一命名 `DshNativeTabWorkspaceShell`。
|
|
15
|
+
- 侧边栏「频道」改为复用宿主 WorkspaceBrowser:默认按频道分组,分组头显示频道品牌图标,支持官方搜索、排序和归档筛选,并在频道组菜单注入「频道设置」。删除自绘频道列表及其样式和测试;官方树不可用时显示明确提示,不再回退自绘列表。
|
|
16
|
+
- 其余界面图形(反馈、弹窗关闭、下拉箭头、加载、更新操作、添加、问题反馈、平台折叠和设置导航 mask)改用宿主图标;仅频道品牌标和 GitHub 品牌标保留自绘。
|
|
17
|
+
- 频道页签完善:频道会话行前显示所属频道品牌标;按工作区/工作区树分组时,单一频道的工作区用频道 logo 替换文件夹;分组菜单「频道设置」直接打开 IM 设置页;头部新增「添加频道」按钮,同样打开 IM 设置页。
|
|
18
|
+
- 频道会话不再从官方任务树隐藏;「频道」页签只是同一批会话的过滤视图。从任务树打开频道会话时停留在任务页签,不再自动跳回频道页签。
|
|
19
|
+
- 删除自绘任务列表兜底:官方任务树不可用时显示明确提示,不再渲染 `TaskList` / `TaskListView`;同步移除 `rail.noTasks` 文案和 `.ima-native` 样式。
|
|
20
|
+
- 统一官方任务树的会话过滤器:跟随注册表 `sessionFilters` 和 `getRevision()`,过滤器增删后立即生效,不再取决于 automation 与 IM 谁先包裹侧栏。
|
|
21
|
+
- 统一官方任务树的会话打开:注册 `sessionOpeners`,定时 opener 优先,频道路由继续 resolve/ensure,未匹配时回退宿主;不再依赖谁先包裹侧栏。
|
|
22
|
+
- 修复 IM 包裹侧栏时频道页签误用插件词条,导致宿主分组、排序等文案显示原始 key。
|
|
23
|
+
- 修复频道分组菜单每 4 秒重建的问题:轮询不再拆除注入器,关闭时恢复被隐藏的宿主菜单项;菜单动作只响应主键。
|
|
24
|
+
- 频道设置菜单恢复按频道深链;新增频道头部按钮在设置入口不可用时仍能打开 IM 设置页。
|
|
25
|
+
- 修复当前侧栏未渲染独立设置按钮、仅在官方账号菜单提供「设置」时,频道「添加」按钮无响应并输出「无法打开 IM 助理设置页」:现在回退到账号菜单入口,再选中 IM 助理分区。
|
|
26
|
+
- 修复启用 IM 后频道会话立即出现在「频道」,但「任务」页签要刷新页面才显示:频道成员变化时主动刷新宿主会话列表。
|
|
27
|
+
|
|
28
|
+
## 1.0.8 - 2026-10-19
|
|
29
|
+
|
|
30
|
+
- 账号设置页占满宿主内容区,移除 1080px 宽度上限。
|
|
31
|
+
- 设置导航图标只处理宿主直接渲染在按钮里的 svg;包裹型图标不再注入,避免打乱宿主布局。
|
|
32
|
+
|
|
7
33
|
## 1.0.7 - 2026-10-19
|
|
8
34
|
|
|
9
35
|
- 修复「添加账号 / 账号设置」弹窗内容超出窗口高度时无法滚动的问题:弹窗高度受视口限制后,内容区可以正常用滚轮或滑动手动滚动,底部的二维码和取消 / 确定按钮保持可见(Issue #40)。
|