dsh-workbench-tasks 5.12.1 → 5.12.2

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/lib/client.js CHANGED
@@ -13163,7 +13163,7 @@ var require_timeline_view = __commonJS({
13163
13163
  var TimelineView = require_timeline_view()({ React, COPY, injectCss, statusInfo, configClient, CFG_FALLBACK, TaskItem, EditModal, DoneModal, TimelineModal, CreateModal });
13164
13164
  host.registerAddon({
13165
13165
  id: "wb-addon-tasks",
13166
- version: "5.12.1",
13166
+ version: "5.12.2",
13167
13167
  icon: ICONS["list-checks"],
13168
13168
  // 贡献声明写在 registerAddon 里:卸载任务插件时宿主按 addonId 一起撤销,
13169
13169
  // 不会在邮件里留一个渲染即报错的孤儿按钮。
package/lib/index.js CHANGED
@@ -137,7 +137,15 @@ export function apply(ctx) {
137
137
  update: { source: "npm", package: "dsh-workbench-tasks" },
138
138
  category: "work",
139
139
  roles: TASK_ROLES,
140
- tables: ["task", "task_node", "task_timeline", "task_timeline_link", "task_workspace", "task_workspace_link"],
140
+ // 六张表都随备份迁移、也参与云同步,逐张声明数据性质(缺省按未声明处理=不同步)。
141
+ tables: [
142
+ { name: "task", persistence: "persistent" },
143
+ { name: "task_node", persistence: "persistent" },
144
+ { name: "task_timeline", persistence: "persistent" },
145
+ { name: "task_timeline_link", persistence: "persistent" },
146
+ { name: "task_workspace", persistence: "persistent" },
147
+ { name: "task_workspace_link", persistence: "persistent" },
148
+ ],
141
149
  // 配置声明交给宿主:宿主据此建 host_config_scheme、渲染统一配置页并迁移旧 task_config_scheme。
142
150
  config: configDecl(),
143
151
  sync: taskSync,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-workbench-tasks",
3
- "version": "5.12.1",
3
+ "version": "5.12.2",
4
4
  "description": "个人工作台任务插件:任务树、优先级、截止日、时间线与重启",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
@@ -17,7 +17,7 @@
17
17
  "id": "wb-addon-tasks",
18
18
  "title": "任务",
19
19
  "description": "任务树 + 统计/记录/时间线/工作区四个视图:紧急/已关闭/已开启/已完成/总览,可按标签筛选,附统计报表;配置项由宿主统一配置中心渲染",
20
- "version": "5.12.1",
20
+ "version": "5.12.2",
21
21
  "minShell": "0.21.0",
22
22
  "tables": [
23
23
  "task",
@@ -91,7 +91,7 @@
91
91
  "./package.json": "./package.json"
92
92
  },
93
93
  "dependencies": {
94
- "dsh-workbench-host": "^0.24.1"
94
+ "dsh-workbench-host": "^0.28.0"
95
95
  },
96
96
  "dsh": {
97
97
  "bundle": {