@tomflow/proflow-task-store-sqlite 0.1.7 → 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 +6 -0
- package/DOCS.md +7 -23
- package/dist/deployment/adapter.d.ts +8 -8
- package/dist/deployment/descriptor.d.ts +1 -1
- package/dist/deployment/descriptor.js +1 -1
- package/package.json +4 -4
- package/proflow.module.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @tomflow/proflow-task-store-sqlite
|
|
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
|
+
|
|
3
9
|
## 0.1.7
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
package/DOCS.md
CHANGED
|
@@ -1,27 +1,11 @@
|
|
|
1
|
-
#
|
|
1
|
+
# task-store-sqlite
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
Domain: `task-orchestration`
|
|
5
|
-
Kind: `library`
|
|
3
|
+
Task Store SQLite(任务 SQLite 存储)为任务领域提供本机持久化,保存任务、节点、角色绑定、文档和幂等记录。
|
|
6
4
|
|
|
7
|
-
|
|
5
|
+
## 工作方式
|
|
8
6
|
|
|
9
|
-
|
|
7
|
+
- 使用 SQLite 事务保证多项更新同时成功或同时失败。
|
|
8
|
+
- 使用 WAL(预写日志)提高可靠性和并发读取能力。
|
|
9
|
+
- 启动时检查数据库结构和完整性。
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
## Provides
|
|
14
|
-
|
|
15
|
-
- None.
|
|
16
|
-
|
|
17
|
-
## Requires
|
|
18
|
-
|
|
19
|
-
- `task-orchestration` `>=1.0.0 <2.0.0`
|
|
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
|
+
数据库由模块维护,不建议直接编辑 `.proflow/state` 中的文件。
|
|
@@ -7,7 +7,7 @@ export declare const behaviorAdapter: {
|
|
|
7
7
|
ok: true;
|
|
8
8
|
status: "SUCCEEDED";
|
|
9
9
|
moduleRef: "task-store-sqlite";
|
|
10
|
-
moduleVersion: "0.1.
|
|
10
|
+
moduleVersion: "0.1.8";
|
|
11
11
|
data: {
|
|
12
12
|
databasePath: string;
|
|
13
13
|
};
|
|
@@ -20,7 +20,7 @@ export declare const behaviorAdapter: {
|
|
|
20
20
|
readonly ok: true;
|
|
21
21
|
readonly status: "SUCCEEDED";
|
|
22
22
|
readonly moduleRef: "task-store-sqlite";
|
|
23
|
-
readonly moduleVersion: "0.1.
|
|
23
|
+
readonly moduleVersion: "0.1.8";
|
|
24
24
|
};
|
|
25
25
|
observedEffects: never[];
|
|
26
26
|
}>;
|
|
@@ -30,7 +30,7 @@ export declare const behaviorAdapter: {
|
|
|
30
30
|
ok: true;
|
|
31
31
|
status: "SUCCEEDED";
|
|
32
32
|
moduleRef: "task-store-sqlite";
|
|
33
|
-
moduleVersion: "0.1.
|
|
33
|
+
moduleVersion: "0.1.8";
|
|
34
34
|
data: {
|
|
35
35
|
setupStatus: "FAILED" | "READY";
|
|
36
36
|
runtimeStatus: "NOT_APPLICABLE";
|
|
@@ -44,11 +44,11 @@ export declare const behaviorAdapter: {
|
|
|
44
44
|
readonly ok: true;
|
|
45
45
|
readonly status: "SUCCEEDED";
|
|
46
46
|
readonly moduleRef: "task-store-sqlite";
|
|
47
|
-
readonly moduleVersion: "0.1.
|
|
47
|
+
readonly moduleVersion: "0.1.8";
|
|
48
48
|
} | {
|
|
49
49
|
contract: "deployment.result.v1";
|
|
50
50
|
moduleRef: "task-store-sqlite";
|
|
51
|
-
moduleVersion: "0.1.
|
|
51
|
+
moduleVersion: "0.1.8";
|
|
52
52
|
ok: false;
|
|
53
53
|
status: "FAILED";
|
|
54
54
|
error: {
|
|
@@ -65,7 +65,7 @@ export declare const behaviorAdapter: {
|
|
|
65
65
|
ok: true;
|
|
66
66
|
status: "SUCCEEDED";
|
|
67
67
|
moduleRef: "task-store-sqlite";
|
|
68
|
-
moduleVersion: "0.1.
|
|
68
|
+
moduleVersion: "0.1.8";
|
|
69
69
|
data: {
|
|
70
70
|
docs: string;
|
|
71
71
|
};
|
|
@@ -78,7 +78,7 @@ export declare const behaviorAdapter: {
|
|
|
78
78
|
readonly ok: true;
|
|
79
79
|
readonly status: "SUCCEEDED";
|
|
80
80
|
readonly moduleRef: "task-store-sqlite";
|
|
81
|
-
readonly moduleVersion: "0.1.
|
|
81
|
+
readonly moduleVersion: "0.1.8";
|
|
82
82
|
};
|
|
83
83
|
observedEffects: never[];
|
|
84
84
|
}>;
|
|
@@ -88,7 +88,7 @@ export declare const behaviorAdapter: {
|
|
|
88
88
|
readonly ok: true;
|
|
89
89
|
readonly status: "SUCCEEDED";
|
|
90
90
|
readonly moduleRef: "task-store-sqlite";
|
|
91
|
-
readonly moduleVersion: "0.1.
|
|
91
|
+
readonly moduleVersion: "0.1.8";
|
|
92
92
|
};
|
|
93
93
|
observedEffects: never[];
|
|
94
94
|
}>;
|
|
@@ -3,7 +3,7 @@ export declare const descriptor: {
|
|
|
3
3
|
readonly contractVersion: "1.0.0";
|
|
4
4
|
readonly moduleRef: "task-store-sqlite";
|
|
5
5
|
readonly packageName: "@tomflow/proflow-task-store-sqlite";
|
|
6
|
-
readonly moduleVersion: "0.1.
|
|
6
|
+
readonly moduleVersion: "0.1.8";
|
|
7
7
|
readonly kind: "library";
|
|
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-store-sqlite",
|
|
5
5
|
packageName: "@tomflow/proflow-task-store-sqlite",
|
|
6
|
-
moduleVersion: "0.1.
|
|
6
|
+
moduleVersion: "0.1.8",
|
|
7
7
|
kind: "library",
|
|
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-store-sqlite",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.8",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -20,11 +20,11 @@
|
|
|
20
20
|
"SETUP.md"
|
|
21
21
|
],
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@tomflow/proflow-
|
|
24
|
-
"@tomflow/proflow-
|
|
23
|
+
"@tomflow/proflow-module-contract": "^0.1.10",
|
|
24
|
+
"@tomflow/proflow-task-orchestration": "^0.1.7"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
|
-
"@tomflow/proflow-task-migration-runner": "^0.1.
|
|
27
|
+
"@tomflow/proflow-task-migration-runner": "^0.1.8"
|
|
28
28
|
},
|
|
29
29
|
"description": "Provides the node:sqlite store and repository adapters for Task-owned structured facts.",
|
|
30
30
|
"keywords": [
|
package/proflow.module.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"contractVersion": "1.0.0",
|
|
4
4
|
"moduleRef": "task-store-sqlite",
|
|
5
5
|
"packageName": "@tomflow/proflow-task-store-sqlite",
|
|
6
|
-
"moduleVersion": "0.1.
|
|
6
|
+
"moduleVersion": "0.1.8",
|
|
7
7
|
"kind": "library",
|
|
8
8
|
"templateVersion": "1.0.0",
|
|
9
9
|
"platformCompatibility": ">=1.0.0 <2.0.0",
|