@tomflow/proflow-platform-host 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 +13 -0
- package/SETUP.md +7 -4
- package/dist/deployment/adapter.d.ts +11 -12
- package/dist/deployment/adapter.js +7 -2
- 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
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# @tomflow/proflow-platform-host
|
|
2
|
+
|
|
3
|
+
## 0.1.8
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Replace JSON terminal protocols with typed CLI outcomes, add real-time Chinese progress and lifecycle summaries, publish DOCS content, standardize executable setup plans and package-owned setup commands, and preserve only user-owned pnpm policy during uninstall.
|
|
8
|
+
|
|
9
|
+
## 0.1.7
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Align all Modules to the seven-command setup contract with executable package-owned setup guidance and full Platform setup aggregation.
|
package/SETUP.md
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
# @tomflow/proflow-platform-host — Module Setup
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
## STEP-PLATFORM-HOST-01 — 完成模块自动配置
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
Responsible: AI
|
|
6
|
+
Interactive executable: `platform setup --module platform-host`
|
|
7
|
+
Non-interactive executable: `platform setup --module platform-host`
|
|
8
|
+
Required inputs: none
|
|
9
|
+
Verify: `platform status`
|
|
10
|
+
Success condition: `platform-host.setupStatus=READY`.
|
|
@@ -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.8";
|
|
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.8";
|
|
28
28
|
};
|
|
29
29
|
observedEffects: string[];
|
|
30
30
|
}>;
|
|
@@ -34,7 +34,7 @@ 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.8";
|
|
38
38
|
data: {
|
|
39
39
|
setupStatus: "FAILED" | "READY";
|
|
40
40
|
runtimeStatus: "RUNNING" | "STOPPED";
|
|
@@ -48,11 +48,11 @@ export declare const behaviorAdapter: {
|
|
|
48
48
|
readonly ok: true;
|
|
49
49
|
readonly status: "SUCCEEDED";
|
|
50
50
|
readonly moduleRef: "platform-host";
|
|
51
|
-
readonly moduleVersion: "0.1.
|
|
51
|
+
readonly moduleVersion: "0.1.8";
|
|
52
52
|
} | {
|
|
53
53
|
contract: "deployment.result.v1";
|
|
54
54
|
moduleRef: "platform-host";
|
|
55
|
-
moduleVersion: "0.1.
|
|
55
|
+
moduleVersion: "0.1.8";
|
|
56
56
|
ok: false;
|
|
57
57
|
status: "FAILED";
|
|
58
58
|
error: {
|
|
@@ -69,10 +69,9 @@ export declare const behaviorAdapter: {
|
|
|
69
69
|
ok: true;
|
|
70
70
|
status: "SUCCEEDED";
|
|
71
71
|
moduleRef: "platform-host";
|
|
72
|
-
moduleVersion: "0.1.
|
|
72
|
+
moduleVersion: "0.1.8";
|
|
73
73
|
data: {
|
|
74
74
|
docs: string;
|
|
75
|
-
setup: string;
|
|
76
75
|
};
|
|
77
76
|
};
|
|
78
77
|
observedEffects: never[];
|
|
@@ -83,7 +82,7 @@ export declare const behaviorAdapter: {
|
|
|
83
82
|
ok: true;
|
|
84
83
|
status: "SUCCEEDED";
|
|
85
84
|
moduleRef: "platform-host";
|
|
86
|
-
moduleVersion: "0.1.
|
|
85
|
+
moduleVersion: "0.1.8";
|
|
87
86
|
data: {
|
|
88
87
|
host: string;
|
|
89
88
|
port: number;
|
|
@@ -94,7 +93,7 @@ export declare const behaviorAdapter: {
|
|
|
94
93
|
result: {
|
|
95
94
|
contract: "deployment.result.v1";
|
|
96
95
|
moduleRef: "platform-host";
|
|
97
|
-
moduleVersion: "0.1.
|
|
96
|
+
moduleVersion: "0.1.8";
|
|
98
97
|
ok: false;
|
|
99
98
|
status: "FAILED";
|
|
100
99
|
error: {
|
|
@@ -111,7 +110,7 @@ export declare const behaviorAdapter: {
|
|
|
111
110
|
readonly ok: true;
|
|
112
111
|
readonly status: "SUCCEEDED";
|
|
113
112
|
readonly moduleRef: "platform-host";
|
|
114
|
-
readonly moduleVersion: "0.1.
|
|
113
|
+
readonly moduleVersion: "0.1.8";
|
|
115
114
|
};
|
|
116
115
|
observedEffects: string[];
|
|
117
116
|
} | {
|
|
@@ -120,11 +119,11 @@ export declare const behaviorAdapter: {
|
|
|
120
119
|
readonly ok: true;
|
|
121
120
|
readonly status: "SUCCEEDED";
|
|
122
121
|
readonly moduleRef: "platform-host";
|
|
123
|
-
readonly moduleVersion: "0.1.
|
|
122
|
+
readonly moduleVersion: "0.1.8";
|
|
124
123
|
} | {
|
|
125
124
|
contract: "deployment.result.v1";
|
|
126
125
|
moduleRef: "platform-host";
|
|
127
|
-
moduleVersion: "0.1.
|
|
126
|
+
moduleVersion: "0.1.8";
|
|
128
127
|
ok: false;
|
|
129
128
|
status: "FAILED";
|
|
130
129
|
error: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { randomBytes } from "node:crypto";
|
|
2
|
-
import { existsSync } from "node:fs";
|
|
2
|
+
import { existsSync, readFileSync } from "node:fs";
|
|
3
3
|
import { chmod, mkdir, readFile, writeFile } from "node:fs/promises";
|
|
4
4
|
import { dirname, join, resolve } from "node:path";
|
|
5
5
|
import { deterministicLoopbackPort, ensureModuleSecretFile, readModuleSharedFacts, writeModuleSharedFacts, } from "@tomflow/proflow-module-contract";
|
|
@@ -139,7 +139,12 @@ export const behaviorAdapter = {
|
|
|
139
139
|
observedEffects: [],
|
|
140
140
|
}),
|
|
141
141
|
docs: async (_context) => ({
|
|
142
|
-
result: {
|
|
142
|
+
result: {
|
|
143
|
+
...base,
|
|
144
|
+
data: {
|
|
145
|
+
docs: readFileSync(new URL("../DOCS.md", import.meta.url), "utf8"),
|
|
146
|
+
},
|
|
147
|
+
},
|
|
143
148
|
observedEffects: [],
|
|
144
149
|
}),
|
|
145
150
|
start: async (context) => {
|
|
@@ -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.8";
|
|
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.8",
|
|
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.8",
|
|
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-
|
|
30
|
-
"@tomflow/proflow-
|
|
31
|
-
"@tomflow/proflow-task-
|
|
32
|
-
"@tomflow/proflow-
|
|
33
|
-
"@tomflow/proflow-
|
|
27
|
+
"@tomflow/proflow-execution-contracts": "^0.1.6",
|
|
28
|
+
"@tomflow/proflow-task-store-sqlite": "^0.1.6",
|
|
29
|
+
"@tomflow/proflow-module-contract": "^0.1.8",
|
|
30
|
+
"@tomflow/proflow-agent-runtime": "^0.1.6",
|
|
31
|
+
"@tomflow/proflow-task-migration-runner": "^0.1.6",
|
|
32
|
+
"@tomflow/proflow-task-orchestration": "^0.1.5",
|
|
33
|
+
"@tomflow/proflow-execution-browser-extension": "^0.1.7"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
|
-
"@tomflow/proflow-agent-gateway": "^0.1.
|
|
37
|
-
"@tomflow/proflow-
|
|
38
|
-
"@tomflow/proflow-
|
|
39
|
-
"@tomflow/proflow-model-runtime": "^0.1.
|
|
36
|
+
"@tomflow/proflow-agent-gateway": "^0.1.8",
|
|
37
|
+
"@tomflow/proflow-execution-runtime": "^0.1.9",
|
|
38
|
+
"@tomflow/proflow-deployment-conformance": "^0.1.6",
|
|
39
|
+
"@tomflow/proflow-model-runtime": "^0.1.9"
|
|
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