@michengai/dsh-automation 1.0.0 → 1.0.1

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.
@@ -7,6 +7,8 @@ export declare const en: {
7
7
  readonly "sidebar.channelsTab": "Channels";
8
8
  readonly "sidebar.views": "Scheduled views";
9
9
  readonly "sidebar.viewOverview": "Task overview";
10
+ readonly "sidebar.runsTab": "Records";
11
+ readonly "sidebar.overviewTab": "Tasks";
10
12
  readonly "sidebar.empty": "No scheduled runs yet.";
11
13
  readonly "sidebar.tasksEmpty": "No web tasks yet.";
12
14
  readonly "sidebar.ungrouped": "Ungrouped";
@@ -2,6 +2,12 @@ import type { Translate } from './contracts.js';
2
2
  import type { AutomationViewModel } from './protocol.js';
3
3
  import type { AutomationTaskSettingsRequest } from './task-settings-request.js';
4
4
  export type ScheduleView = 'runs' | 'overview';
5
+ /**
6
+ * 视图切换页签与内容面板共用的面板 id。
7
+ * 执行记录与任务总览同一时刻只渲染一个面板,所有页签的 `aria-controls` 都指向它,
8
+ * 避免未挂载面板造成悬空引用;调用方渲染面板时必须带上 `id` 与 `role="tabpanel"`。
9
+ */
10
+ export declare const SCHEDULE_VIEW_PANEL_ID = "dsh-st-rail-panel";
5
11
  export declare function ScheduleViewSwitch({ t, view, onChange, }: {
6
12
  readonly t: Translate;
7
13
  readonly view: ScheduleView;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@michengai/dsh-automation",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "DSH Automation — 在独立 DSH Session 中按计划执行和管理编码任务 · Schedule and manage coding tasks in isolated DSH sessions",
5
5
  "type": "module",
6
6
  "packageManager": "pnpm@11.22.0",