@tomflow/proflow-platform-host 0.1.11 → 0.1.13
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 +12 -0
- package/dist/deployment/adapter.d.ts +19 -12
- package/dist/deployment/adapter.js +27 -13
- package/dist/deployment/descriptor.d.ts +1 -1
- package/dist/deployment/descriptor.js +1 -1
- package/package.json +12 -12
- package/proflow.module.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @tomflow/proflow-platform-host
|
|
2
2
|
|
|
3
|
+
## 0.1.13
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Ship the Phase 3 browser, tunnel, model automation, platform readiness, and documentation closure as one verifiable platform snapshot.
|
|
8
|
+
|
|
9
|
+
## 0.1.12
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Distinguish dependency blocking from verified failure, expose Module-owned status diagnostics, remove automatic docs paging, consolidate start checks, add contextual help, and clarify uninstall output.
|
|
14
|
+
|
|
3
15
|
## 0.1.11
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
@@ -6,7 +6,7 @@ export declare const behaviorAdapter: {
|
|
|
6
6
|
ok: true;
|
|
7
7
|
status: "SUCCEEDED";
|
|
8
8
|
moduleRef: "platform-host";
|
|
9
|
-
moduleVersion: "0.1.
|
|
9
|
+
moduleVersion: "0.1.13";
|
|
10
10
|
data: {
|
|
11
11
|
endpoint: string;
|
|
12
12
|
stateRoot: string;
|
|
@@ -24,7 +24,7 @@ export declare const behaviorAdapter: {
|
|
|
24
24
|
readonly ok: true;
|
|
25
25
|
readonly status: "SUCCEEDED";
|
|
26
26
|
readonly moduleRef: "platform-host";
|
|
27
|
-
readonly moduleVersion: "0.1.
|
|
27
|
+
readonly moduleVersion: "0.1.13";
|
|
28
28
|
};
|
|
29
29
|
observedEffects: string[];
|
|
30
30
|
}>;
|
|
@@ -34,10 +34,17 @@ export declare const behaviorAdapter: {
|
|
|
34
34
|
ok: true;
|
|
35
35
|
status: "SUCCEEDED";
|
|
36
36
|
moduleRef: "platform-host";
|
|
37
|
-
moduleVersion: "0.1.
|
|
37
|
+
moduleVersion: "0.1.13";
|
|
38
38
|
data: {
|
|
39
|
-
setupStatus: "
|
|
39
|
+
setupStatus: "BLOCKED" | "READY";
|
|
40
40
|
runtimeStatus: "RUNNING" | "STOPPED";
|
|
41
|
+
issues?: {
|
|
42
|
+
scope: "SETUP";
|
|
43
|
+
code: string;
|
|
44
|
+
message: string;
|
|
45
|
+
relatedModuleRefs: string[];
|
|
46
|
+
nextCommand: string;
|
|
47
|
+
}[];
|
|
41
48
|
};
|
|
42
49
|
};
|
|
43
50
|
observedEffects: never[];
|
|
@@ -48,11 +55,11 @@ export declare const behaviorAdapter: {
|
|
|
48
55
|
readonly ok: true;
|
|
49
56
|
readonly status: "SUCCEEDED";
|
|
50
57
|
readonly moduleRef: "platform-host";
|
|
51
|
-
readonly moduleVersion: "0.1.
|
|
58
|
+
readonly moduleVersion: "0.1.13";
|
|
52
59
|
} | {
|
|
53
60
|
contract: "deployment.result.v1";
|
|
54
61
|
moduleRef: "platform-host";
|
|
55
|
-
moduleVersion: "0.1.
|
|
62
|
+
moduleVersion: "0.1.13";
|
|
56
63
|
ok: false;
|
|
57
64
|
status: "FAILED";
|
|
58
65
|
error: {
|
|
@@ -69,7 +76,7 @@ export declare const behaviorAdapter: {
|
|
|
69
76
|
ok: true;
|
|
70
77
|
status: "SUCCEEDED";
|
|
71
78
|
moduleRef: "platform-host";
|
|
72
|
-
moduleVersion: "0.1.
|
|
79
|
+
moduleVersion: "0.1.13";
|
|
73
80
|
data: {
|
|
74
81
|
docs: string;
|
|
75
82
|
};
|
|
@@ -82,7 +89,7 @@ export declare const behaviorAdapter: {
|
|
|
82
89
|
ok: true;
|
|
83
90
|
status: "SUCCEEDED";
|
|
84
91
|
moduleRef: "platform-host";
|
|
85
|
-
moduleVersion: "0.1.
|
|
92
|
+
moduleVersion: "0.1.13";
|
|
86
93
|
data: {
|
|
87
94
|
host: string;
|
|
88
95
|
port: number;
|
|
@@ -93,7 +100,7 @@ export declare const behaviorAdapter: {
|
|
|
93
100
|
result: {
|
|
94
101
|
contract: "deployment.result.v1";
|
|
95
102
|
moduleRef: "platform-host";
|
|
96
|
-
moduleVersion: "0.1.
|
|
103
|
+
moduleVersion: "0.1.13";
|
|
97
104
|
ok: false;
|
|
98
105
|
status: "FAILED";
|
|
99
106
|
error: {
|
|
@@ -110,7 +117,7 @@ export declare const behaviorAdapter: {
|
|
|
110
117
|
readonly ok: true;
|
|
111
118
|
readonly status: "SUCCEEDED";
|
|
112
119
|
readonly moduleRef: "platform-host";
|
|
113
|
-
readonly moduleVersion: "0.1.
|
|
120
|
+
readonly moduleVersion: "0.1.13";
|
|
114
121
|
};
|
|
115
122
|
observedEffects: string[];
|
|
116
123
|
} | {
|
|
@@ -119,11 +126,11 @@ export declare const behaviorAdapter: {
|
|
|
119
126
|
readonly ok: true;
|
|
120
127
|
readonly status: "SUCCEEDED";
|
|
121
128
|
readonly moduleRef: "platform-host";
|
|
122
|
-
readonly moduleVersion: "0.1.
|
|
129
|
+
readonly moduleVersion: "0.1.13";
|
|
123
130
|
} | {
|
|
124
131
|
contract: "deployment.result.v1";
|
|
125
132
|
moduleRef: "platform-host";
|
|
126
|
-
moduleVersion: "0.1.
|
|
133
|
+
moduleVersion: "0.1.13";
|
|
127
134
|
ok: false;
|
|
128
135
|
status: "FAILED";
|
|
129
136
|
error: {
|
|
@@ -118,20 +118,34 @@ export const behaviorAdapter = {
|
|
|
118
118
|
observedEffects: service ? ["Manage the platform-host process"] : [],
|
|
119
119
|
};
|
|
120
120
|
},
|
|
121
|
-
status: async (context) =>
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
: "
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
121
|
+
status: async (context) => {
|
|
122
|
+
const ready = await dependencies(context);
|
|
123
|
+
return {
|
|
124
|
+
result: {
|
|
125
|
+
...base,
|
|
126
|
+
data: {
|
|
127
|
+
setupStatus: ready ? "READY" : "BLOCKED",
|
|
128
|
+
runtimeStatus: (await running(context))
|
|
129
|
+
? "RUNNING"
|
|
130
|
+
: "STOPPED",
|
|
131
|
+
...(ready
|
|
132
|
+
? {}
|
|
133
|
+
: {
|
|
134
|
+
issues: [
|
|
135
|
+
{
|
|
136
|
+
scope: "SETUP",
|
|
137
|
+
code: "UPSTREAM_NOT_READY",
|
|
138
|
+
message: "等待 Execution 与 Model Runtime 发布服务信息",
|
|
139
|
+
relatedModuleRefs: ["execution-runtime", "model-runtime"],
|
|
140
|
+
nextCommand: "platform setup --module model-runtime",
|
|
141
|
+
},
|
|
142
|
+
],
|
|
143
|
+
}),
|
|
144
|
+
},
|
|
131
145
|
},
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
}
|
|
146
|
+
observedEffects: [],
|
|
147
|
+
};
|
|
148
|
+
},
|
|
135
149
|
setup: async (context) => ({
|
|
136
150
|
result: (await dependencies(context))
|
|
137
151
|
? base
|
|
@@ -3,7 +3,7 @@ export declare const descriptor: {
|
|
|
3
3
|
readonly contractVersion: "1.0.0";
|
|
4
4
|
readonly moduleRef: "platform-host";
|
|
5
5
|
readonly packageName: "@tomflow/proflow-platform-host";
|
|
6
|
-
readonly moduleVersion: "0.1.
|
|
6
|
+
readonly moduleVersion: "0.1.13";
|
|
7
7
|
readonly kind: "service";
|
|
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: "platform-host",
|
|
5
5
|
packageName: "@tomflow/proflow-platform-host",
|
|
6
|
-
moduleVersion: "0.1.
|
|
6
|
+
moduleVersion: "0.1.13",
|
|
7
7
|
kind: "service",
|
|
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-platform-host",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.13",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -24,19 +24,19 @@
|
|
|
24
24
|
],
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"zod": "4.1.12",
|
|
27
|
-
"@tomflow/proflow-
|
|
28
|
-
"@tomflow/proflow-
|
|
29
|
-
"@tomflow/proflow-module-contract": "^0.1.
|
|
30
|
-
"@tomflow/proflow-task-
|
|
31
|
-
"@tomflow/proflow-task-store-sqlite": "^0.1.
|
|
32
|
-
"@tomflow/proflow-
|
|
33
|
-
"@tomflow/proflow-execution-contracts": "^0.1.
|
|
27
|
+
"@tomflow/proflow-execution-browser-extension": "^0.1.13",
|
|
28
|
+
"@tomflow/proflow-agent-runtime": "^0.1.10",
|
|
29
|
+
"@tomflow/proflow-module-contract": "^0.1.13",
|
|
30
|
+
"@tomflow/proflow-task-migration-runner": "^0.1.11",
|
|
31
|
+
"@tomflow/proflow-task-store-sqlite": "^0.1.11",
|
|
32
|
+
"@tomflow/proflow-task-orchestration": "^0.1.9",
|
|
33
|
+
"@tomflow/proflow-execution-contracts": "^0.1.10"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
|
-
"@tomflow/proflow-agent-gateway": "^0.1.
|
|
37
|
-
"@tomflow/proflow-deployment-conformance": "^0.1.
|
|
38
|
-
"@tomflow/proflow-
|
|
39
|
-
"@tomflow/proflow-
|
|
36
|
+
"@tomflow/proflow-agent-gateway": "^0.1.13",
|
|
37
|
+
"@tomflow/proflow-deployment-conformance": "^0.1.11",
|
|
38
|
+
"@tomflow/proflow-model-runtime": "^0.1.15",
|
|
39
|
+
"@tomflow/proflow-execution-runtime": "^0.1.14"
|
|
40
40
|
},
|
|
41
41
|
"description": "Provides the ProFlow local application composition root that binds Task, Agent, Execution and Model owner transports.",
|
|
42
42
|
"keywords": [
|
package/proflow.module.json
CHANGED