@tomflow/proflow-task-migration-runner 0.1.6 → 0.1.8

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 CHANGED
@@ -1,5 +1,17 @@
1
1
  # @tomflow/proflow-task-migration-runner
2
2
 
3
+ ## 0.1.8
4
+
5
+ ### Patch Changes
6
+
7
+ - Improve terminal progress and localized status output, publish readable Chinese module docs, and add guided setup assistants for external resources.
8
+
9
+ ## 0.1.7
10
+
11
+ ### Patch Changes
12
+
13
+ - Resolve DOCS.md from both source and built deployment adapters, prove all 24 built adapters return the published body, and announce package synchronization before the package manager blocks.
14
+
3
15
  ## 0.1.6
4
16
 
5
17
  ### Patch Changes
package/DOCS.md CHANGED
@@ -1,27 +1,11 @@
1
- # @tomflow/proflow-task-migration-runner — Module Docs
1
+ # task-migration-runner
2
2
 
3
- Module ref: `task-migration-runner`
4
- Domain: `task-orchestration`
5
- Kind: `cli`
3
+ Task Migration Runner(任务迁移工具)负责按顺序升级 Task Store(任务存储)的 SQLite 数据结构,并验证升级结果。
6
4
 
7
- Deterministically discovers, applies and verifies Task Store SQLite schema migrations.
5
+ ## 主要能力
8
6
 
9
- ## Standard management surface
7
+ - 发现尚未执行的 Migration(迁移)。
8
+ - 在事务中执行升级,失败时回滚。
9
+ - 记录版本并支持重复运行。
10
10
 
11
- `install / uninstall / status / setup / docs / start / stop`
12
-
13
- ## Provides
14
-
15
- - None.
16
-
17
- ## Requires
18
-
19
- - None.
20
-
21
- ## Public setup inputs
22
-
23
- - None. Deterministic/private values and cross-Module shared facts are not public configuration.
24
-
25
- ## Ownership boundary
26
-
27
- Module business APIs and any module-specific extra commands remain package-owned. Platform does not proxy or interpret them. Current human/external preparation is documented in `SETUP.md`.
11
+ 平台安装时会自动调用它;普通用户通常不需要手工执行。
@@ -4,7 +4,7 @@ export declare const behaviorAdapter: {
4
4
  result: {
5
5
  contract: "deployment.result.v1";
6
6
  moduleRef: "task-migration-runner";
7
- moduleVersion: "0.1.6";
7
+ moduleVersion: "0.1.8";
8
8
  ok: false;
9
9
  status: "FAILED";
10
10
  error: {
@@ -20,7 +20,7 @@ export declare const behaviorAdapter: {
20
20
  ok: true;
21
21
  status: "SUCCEEDED";
22
22
  moduleRef: "task-migration-runner";
23
- moduleVersion: "0.1.6";
23
+ moduleVersion: "0.1.8";
24
24
  data: {
25
25
  applied: number[];
26
26
  pending: number[];
@@ -34,7 +34,7 @@ export declare const behaviorAdapter: {
34
34
  readonly ok: true;
35
35
  readonly status: "SUCCEEDED";
36
36
  readonly moduleRef: "task-migration-runner";
37
- readonly moduleVersion: "0.1.6";
37
+ readonly moduleVersion: "0.1.8";
38
38
  };
39
39
  observedEffects: never[];
40
40
  }>;
@@ -44,7 +44,7 @@ export declare const behaviorAdapter: {
44
44
  ok: true;
45
45
  status: "SUCCEEDED";
46
46
  moduleRef: "task-migration-runner";
47
- moduleVersion: "0.1.6";
47
+ moduleVersion: "0.1.8";
48
48
  data: {
49
49
  setupStatus: "FAILED" | "READY";
50
50
  runtimeStatus: "NOT_APPLICABLE";
@@ -58,11 +58,11 @@ export declare const behaviorAdapter: {
58
58
  readonly ok: true;
59
59
  readonly status: "SUCCEEDED";
60
60
  readonly moduleRef: "task-migration-runner";
61
- readonly moduleVersion: "0.1.6";
61
+ readonly moduleVersion: "0.1.8";
62
62
  } | {
63
63
  contract: "deployment.result.v1";
64
64
  moduleRef: "task-migration-runner";
65
- moduleVersion: "0.1.6";
65
+ moduleVersion: "0.1.8";
66
66
  ok: false;
67
67
  status: "FAILED";
68
68
  error: {
@@ -79,7 +79,7 @@ export declare const behaviorAdapter: {
79
79
  ok: true;
80
80
  status: "SUCCEEDED";
81
81
  moduleRef: "task-migration-runner";
82
- moduleVersion: "0.1.6";
82
+ moduleVersion: "0.1.8";
83
83
  data: {
84
84
  docs: string;
85
85
  };
@@ -92,7 +92,7 @@ export declare const behaviorAdapter: {
92
92
  readonly ok: true;
93
93
  readonly status: "SUCCEEDED";
94
94
  readonly moduleRef: "task-migration-runner";
95
- readonly moduleVersion: "0.1.6";
95
+ readonly moduleVersion: "0.1.8";
96
96
  };
97
97
  observedEffects: never[];
98
98
  }>;
@@ -102,7 +102,7 @@ export declare const behaviorAdapter: {
102
102
  readonly ok: true;
103
103
  readonly status: "SUCCEEDED";
104
104
  readonly moduleRef: "task-migration-runner";
105
- readonly moduleVersion: "0.1.6";
105
+ readonly moduleVersion: "0.1.8";
106
106
  };
107
107
  observedEffects: never[];
108
108
  }>;
@@ -112,7 +112,7 @@ export declare const behaviorAdapter: {
112
112
  ok: true;
113
113
  status: "SUCCEEDED";
114
114
  moduleRef: "task-migration-runner";
115
- moduleVersion: "0.1.6";
115
+ moduleVersion: "0.1.8";
116
116
  data: {
117
117
  applied: number[];
118
118
  pending: number[];
@@ -120,7 +120,7 @@ export declare const behaviorAdapter: {
120
120
  } | {
121
121
  contract: "deployment.result.v1";
122
122
  moduleRef: "task-migration-runner";
123
- moduleVersion: "0.1.6";
123
+ moduleVersion: "0.1.8";
124
124
  ok: false;
125
125
  status: "FAILED";
126
126
  error: {
@@ -137,7 +137,7 @@ export declare const behaviorAdapter: {
137
137
  ok: true;
138
138
  status: "SUCCEEDED";
139
139
  moduleRef: "task-migration-runner";
140
- moduleVersion: "0.1.6";
140
+ moduleVersion: "0.1.8";
141
141
  data: {
142
142
  migrated: boolean;
143
143
  appliedVersions: number[];
@@ -93,7 +93,7 @@ export const behaviorAdapter = {
93
93
  result: {
94
94
  ...base,
95
95
  data: {
96
- docs: readFileSync(new URL("../DOCS.md", import.meta.url), "utf8"),
96
+ docs: readFileSync(new URL(import.meta.url.includes("/dist/") ? "../../DOCS.md" : "../DOCS.md", import.meta.url), "utf8"),
97
97
  },
98
98
  },
99
99
  observedEffects: [],
@@ -3,7 +3,7 @@ export declare const descriptor: {
3
3
  readonly contractVersion: "1.0.0";
4
4
  readonly moduleRef: "task-migration-runner";
5
5
  readonly packageName: "@tomflow/proflow-task-migration-runner";
6
- readonly moduleVersion: "0.1.6";
6
+ readonly moduleVersion: "0.1.8";
7
7
  readonly kind: "cli";
8
8
  readonly templateVersion: "1.0.0";
9
9
  readonly platformCompatibility: ">=1.0.0 <2.0.0";
@@ -3,7 +3,7 @@ export const descriptor = {
3
3
  contractVersion: "1.0.0",
4
4
  moduleRef: "task-migration-runner",
5
5
  packageName: "@tomflow/proflow-task-migration-runner",
6
- moduleVersion: "0.1.6",
6
+ moduleVersion: "0.1.8",
7
7
  kind: "cli",
8
8
  templateVersion: "1.0.0",
9
9
  platformCompatibility: ">=1.0.0 <2.0.0",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tomflow/proflow-task-migration-runner",
3
- "version": "0.1.6",
3
+ "version": "0.1.8",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -23,8 +23,8 @@
23
23
  "SETUP.md"
24
24
  ],
25
25
  "dependencies": {
26
- "@tomflow/proflow-module-contract": "^0.1.8",
27
- "@tomflow/proflow-task-store-sqlite": "^0.1.6"
26
+ "@tomflow/proflow-module-contract": "^0.1.10",
27
+ "@tomflow/proflow-task-store-sqlite": "^0.1.8"
28
28
  },
29
29
  "description": "Deterministically discovers, applies and verifies Task Store SQLite schema migrations.",
30
30
  "keywords": [
@@ -3,7 +3,7 @@
3
3
  "contractVersion": "1.0.0",
4
4
  "moduleRef": "task-migration-runner",
5
5
  "packageName": "@tomflow/proflow-task-migration-runner",
6
- "moduleVersion": "0.1.6",
6
+ "moduleVersion": "0.1.8",
7
7
  "kind": "cli",
8
8
  "templateVersion": "1.0.0",
9
9
  "platformCompatibility": ">=1.0.0 <2.0.0",