@michengai/dsh-automation 1.0.4 → 1.0.6
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 +14 -0
- package/CHANGELOG.zh-CN.md +14 -0
- package/README.md +1 -1
- package/README.zh-CN.md +1 -1
- package/lib/client.js +38 -60
- package/lib/client.js.map +3 -3
- package/lib/index.js +1 -2
- package/lib/types/client/ScheduleRail.d.ts +12 -9
- package/lib/types/client/create-task-request.d.ts +9 -0
- package/lib/types/client/helpers.d.ts +1 -10
- package/lib/types/client/host-icon-markup.d.ts +3 -0
- package/lib/types/client/host-icon-resolve.d.ts +2 -4
- package/lib/types/client/host-icons.d.ts +19 -26
- package/lib/types/client/icons.d.ts +0 -18
- package/lib/types/client/locales.d.ts +4 -90
- package/lib/types/client/native-tabs.d.ts +24 -0
- package/lib/types/client/protocol.d.ts +0 -3
- package/lib/types/client/records-view-store.d.ts +32 -0
- package/lib/types/client/schedule-overview.d.ts +2 -1
- package/lib/types/client/schedule-rail-model.d.ts +54 -52
- package/lib/types/client/settings-nav-icon.d.ts +3 -3
- package/lib/types/client/workspace-menu.d.ts +38 -0
- package/lib/types/domain.d.ts +0 -1
- package/lib/types/executor.d.ts +7 -6
- package/package.json +2 -1
- package/lib/types/client/native-group-actions.d.ts +0 -30
- package/lib/types/client/native-session-list.d.ts +0 -31
- package/lib/types/client/native-session-menu.d.ts +0 -49
- package/lib/types/client/workspace-toolbar-metrics.d.ts +0 -2
- package/lib/types/client/workspace-toolbar.d.ts +0 -15
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,20 @@
|
|
|
4
4
|
|
|
5
5
|
Upcoming changes and recent published versions are listed below. Git tags and GitHub Releases now mirror these entries; historical sections retain links to their original release commits.
|
|
6
6
|
|
|
7
|
+
## 1.0.6 - 2026-10-22
|
|
8
|
+
|
|
9
|
+
- Fix sidebar rebound on collapse after searching: prevent the official workspace tree from mistakenly triggering `expandSidebar` on narrow rail mount due to historical search requests, keeping sidebar collapse stable (Issue #20).
|
|
10
|
+
- Fix sidebar tabs remaining in English in Chinese locale: resolve segment tab memo caching, dynamically refreshing tab labels to "任务" (Tasks) and "定时" (Scheduled) once locale dictionaries are ready (Issue #20).
|
|
11
|
+
- Secondary view persistence: preserve the active view selection (Records vs. Tasks) in local storage so collapsing the sidebar or remounting does not reset view state.
|
|
12
|
+
|
|
13
|
+
## 1.0.5 - 2026-10-20
|
|
14
|
+
|
|
15
|
+
- Fix the session list (including pinned sessions) being cleared when collapsing the sidebar on desktop or opening the drawer on mobile (Issue #18).
|
|
16
|
+
- The Records view now adopts the host's native workspace tree: supporting independent grouping by task or workspace, official sorting, and direct shortcuts to Task settings from group menus, with a restored New scheduled task button in the header.
|
|
17
|
+
- Tasks overview enhancements: added search, sorting, and create buttons, allowing quick filtering by task name.
|
|
18
|
+
- Seamless sidebar tab coordination: top-level Tasks, Channels, and Scheduled tabs as well as Records/Tasks view tabs match host styling with adaptive padding that prevents label wrapping. Tab selection is shared and preserved alongside the IM plugin across reloads.
|
|
19
|
+
- Session integration and icon refinements: idle scheduled sessions show the official clock icon in the main task tree, and dropdown arrows now flip correctly when expanding menus.
|
|
20
|
+
|
|
7
21
|
## 1.0.4 - 2026-10-19
|
|
8
22
|
|
|
9
23
|
- Let the settings page fill the host content column by removing the 1080px cap.
|
package/CHANGELOG.zh-CN.md
CHANGED
|
@@ -4,6 +4,20 @@
|
|
|
4
4
|
|
|
5
5
|
以下记录待发布变更及近期已发布版本。Git 标签与 GitHub Release 现已和这些条目同步;历史条目继续保留原始发布提交链接。
|
|
6
6
|
|
|
7
|
+
## 1.0.6 - 2026-10-22
|
|
8
|
+
|
|
9
|
+
- 修复搜索后侧栏无法收起(收起后瞬间弹回)的缺陷:阻断官方任务树在窄轨收起状态下因历史搜索请求而误调 `expandSidebar` 导致侧栏秒弹回的问题,保障收起操作稳定执行(Issue #20)。
|
|
10
|
+
- 修复中文环境下侧栏页签未能汉化的问题:解决分段器页签在首帧过度缓存的问题,语言字典就绪后即时刷新为中文「任务」与「定时」(Issue #20)。
|
|
11
|
+
- 二级视图状态持久化:将定时界面的二级页签(记录 / 任务)选择持久化至本地存储,收起侧栏或重新挂载后稳定保留当前视图,不再被重置回「记录」。
|
|
12
|
+
|
|
13
|
+
## 1.0.5 - 2026-10-20
|
|
14
|
+
|
|
15
|
+
- 修复桌面端折叠侧栏或移动端打开侧栏抽屉时,整个会话列表(含置顶会话)被清空并报错 React 冲突的问题(Issue #18)。
|
|
16
|
+
- 「定时 → 记录」改用官方原生树视图渲染:支持按任务、按工作区等方式独立分组与排序,分组菜单提供直达「任务设置」入口;头部恢复「新建」定时任务按钮。
|
|
17
|
+
- 「定时 → 任务」总览完善:补齐搜索、排序与新建入口,搜索支持按任务名称快速过滤。
|
|
18
|
+
- 侧边栏页签深度协同:顶部「任务 / 频道 / 定时」以及记录/任务视图切换页签全面对齐宿主几何尺寸与滑块样式,自适应内边距防止窄栏折行;与 IM 插件共享侧栏选中记忆,刷新或换壳时保留当前页签。
|
|
19
|
+
- 会话打通与图标优化:空闲定时会话在主任务树中带官方时钟图标标识;修复任务分组下拉箭头展开时不翻转的问题。
|
|
20
|
+
|
|
7
21
|
## 1.0.4 - 2026-10-19
|
|
8
22
|
|
|
9
23
|
- 设置页占满宿主内容区,移除 1080px 宽度上限。
|
package/README.md
CHANGED
|
@@ -31,7 +31,7 @@ Let DSH handle work on a schedule. Set up tasks in Settings or describe the timi
|
|
|
31
31
|
|
|
32
32
|
## Interface
|
|
33
33
|
|
|
34
|
-
Scheduled
|
|
34
|
+
Scheduled sessions appear in both the official **Tasks** tree and the **Scheduled** tab. Idle scheduled sessions show the official clock icon in **Tasks**. **Scheduled → Records** groups by task by default and can switch to By workspace, Workspace tree, or Flat. By workspace keeps workspaces visible and only filters sessions to scheduled runs; the header + opens New scheduled task directly. Those groups cannot be added, renamed, or deleted:
|
|
35
35
|
|
|
36
36
|

|
|
37
37
|
|
package/README.zh-CN.md
CHANGED
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
|
|
32
32
|
## 界面预览
|
|
33
33
|
|
|
34
|
-
工作区左侧「任务 / 频道 /
|
|
34
|
+
工作区左侧「任务 / 频道 / 定时」分列。定时会话会同时出现在「任务」的官方工作区树和「定时」页签;空闲的定时会话在「任务」里带官方时钟图标。「定时 → 记录」默认按任务分组,可切换按工作区、工作区树或平铺;按工作区模式保留工作区,只把会话过滤为定时会话;头部「+」直接打开新建定时任务。分组不可新增、重命名或删除:
|
|
35
35
|
|
|
36
36
|

|
|
37
37
|
|