@tomflow/proflow-platform-host 0.1.9 → 0.1.11
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/DOCS.md +25 -18
- package/dist/deployment/adapter.d.ts +11 -11
- 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.11
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Upgrade the ProFlow terminal experience, stream Registry and package-manager progress, publish structured Chinese Module documentation, and provide numbered package-owned Setup assistants.
|
|
8
|
+
|
|
9
|
+
## 0.1.10
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Improve terminal progress and localized status output, publish readable Chinese module docs, and add guided setup assistants for external resources.
|
|
14
|
+
|
|
3
15
|
## 0.1.9
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/DOCS.md
CHANGED
|
@@ -1,30 +1,37 @@
|
|
|
1
|
-
#
|
|
1
|
+
# platform-host — 平台组合服务
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
Domain: `platform-architecture`
|
|
5
|
-
Kind: `service`
|
|
3
|
+
## 模块定位与作用
|
|
6
4
|
|
|
7
|
-
|
|
5
|
+
ProFlow 的本地 Composition Root(组合根),把 Task、Agent、Execution 和 Model 的公开端口装配为受认证的本地 HTTP 服务。
|
|
8
6
|
|
|
9
|
-
##
|
|
7
|
+
## 主要能力
|
|
10
8
|
|
|
11
|
-
|
|
9
|
+
- 构造领域应用服务、Store 和跨域 Public Contract 适配器。
|
|
10
|
+
- 提供本地认证、健康检查和共享事实。
|
|
11
|
+
- 统一管理组合进程的启动、停止和恢复。
|
|
12
12
|
|
|
13
|
-
##
|
|
13
|
+
## 提供的 API 与 Public Contract
|
|
14
14
|
|
|
15
|
-
- `platform-host` `1.0.0
|
|
15
|
+
- 提供 `platform-host` Contract,版本 `1.0.0`。
|
|
16
|
+
- 对 Agent Gateway 和 Browser Extension 暴露受认证的本地应用 API。
|
|
16
17
|
|
|
17
|
-
##
|
|
18
|
+
## 依赖的 Module、Contract 和外部资源
|
|
18
19
|
|
|
19
|
-
- `task-orchestration` `>=1.0.0 <2.0.0
|
|
20
|
-
- `agent-runtime` `>=1.0.0 <2.0.0`
|
|
21
|
-
- `execution` `>=1.0.0 <2.0.0`
|
|
22
|
-
- `model-inference` `>=1.0.0 <2.0.0`
|
|
20
|
+
- 依赖 `task-orchestration`、`agent-runtime`、`execution` 和 `model-inference`,兼容版本均为 `>=1.0.0 <2.0.0`。
|
|
23
21
|
|
|
24
|
-
##
|
|
22
|
+
## 运行形态与生命周期
|
|
25
23
|
|
|
26
|
-
|
|
24
|
+
类型为 Service,由 `platform start` 启动独立本地进程并监听 loopback 地址。
|
|
27
25
|
|
|
28
|
-
##
|
|
26
|
+
## 使用方式
|
|
29
27
|
|
|
30
|
-
Module
|
|
28
|
+
所有依赖 Module READY 后通过 Platform 生命周期启动;下游从 shared facts 获取端点和凭据路径。
|
|
29
|
+
|
|
30
|
+
## 职责边界与限制
|
|
31
|
+
|
|
32
|
+
不成为第五领域的业务 Owner,不暴露数据库,不把公网入口或外部 Provider 配置收进自身私有配置。
|
|
33
|
+
|
|
34
|
+
## 术语
|
|
35
|
+
|
|
36
|
+
- Composition Root(组合根):集中创建并连接应用组件的工程入口。
|
|
37
|
+
- Loopback(本机回环):仅当前主机可访问的网络地址。
|
|
@@ -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.11";
|
|
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.11";
|
|
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.11";
|
|
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.11";
|
|
52
52
|
} | {
|
|
53
53
|
contract: "deployment.result.v1";
|
|
54
54
|
moduleRef: "platform-host";
|
|
55
|
-
moduleVersion: "0.1.
|
|
55
|
+
moduleVersion: "0.1.11";
|
|
56
56
|
ok: false;
|
|
57
57
|
status: "FAILED";
|
|
58
58
|
error: {
|
|
@@ -69,7 +69,7 @@ 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.11";
|
|
73
73
|
data: {
|
|
74
74
|
docs: string;
|
|
75
75
|
};
|
|
@@ -82,7 +82,7 @@ export declare const behaviorAdapter: {
|
|
|
82
82
|
ok: true;
|
|
83
83
|
status: "SUCCEEDED";
|
|
84
84
|
moduleRef: "platform-host";
|
|
85
|
-
moduleVersion: "0.1.
|
|
85
|
+
moduleVersion: "0.1.11";
|
|
86
86
|
data: {
|
|
87
87
|
host: string;
|
|
88
88
|
port: number;
|
|
@@ -93,7 +93,7 @@ export declare const behaviorAdapter: {
|
|
|
93
93
|
result: {
|
|
94
94
|
contract: "deployment.result.v1";
|
|
95
95
|
moduleRef: "platform-host";
|
|
96
|
-
moduleVersion: "0.1.
|
|
96
|
+
moduleVersion: "0.1.11";
|
|
97
97
|
ok: false;
|
|
98
98
|
status: "FAILED";
|
|
99
99
|
error: {
|
|
@@ -110,7 +110,7 @@ export declare const behaviorAdapter: {
|
|
|
110
110
|
readonly ok: true;
|
|
111
111
|
readonly status: "SUCCEEDED";
|
|
112
112
|
readonly moduleRef: "platform-host";
|
|
113
|
-
readonly moduleVersion: "0.1.
|
|
113
|
+
readonly moduleVersion: "0.1.11";
|
|
114
114
|
};
|
|
115
115
|
observedEffects: string[];
|
|
116
116
|
} | {
|
|
@@ -119,11 +119,11 @@ export declare const behaviorAdapter: {
|
|
|
119
119
|
readonly ok: true;
|
|
120
120
|
readonly status: "SUCCEEDED";
|
|
121
121
|
readonly moduleRef: "platform-host";
|
|
122
|
-
readonly moduleVersion: "0.1.
|
|
122
|
+
readonly moduleVersion: "0.1.11";
|
|
123
123
|
} | {
|
|
124
124
|
contract: "deployment.result.v1";
|
|
125
125
|
moduleRef: "platform-host";
|
|
126
|
-
moduleVersion: "0.1.
|
|
126
|
+
moduleVersion: "0.1.11";
|
|
127
127
|
ok: false;
|
|
128
128
|
status: "FAILED";
|
|
129
129
|
error: {
|
|
@@ -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.11";
|
|
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.11",
|
|
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.11",
|
|
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-task-orchestration": "^0.1.
|
|
31
|
-
"@tomflow/proflow-
|
|
32
|
-
"@tomflow/proflow-
|
|
33
|
-
"@tomflow/proflow-execution-
|
|
27
|
+
"@tomflow/proflow-agent-runtime": "^0.1.9",
|
|
28
|
+
"@tomflow/proflow-task-migration-runner": "^0.1.9",
|
|
29
|
+
"@tomflow/proflow-module-contract": "^0.1.11",
|
|
30
|
+
"@tomflow/proflow-task-orchestration": "^0.1.8",
|
|
31
|
+
"@tomflow/proflow-task-store-sqlite": "^0.1.9",
|
|
32
|
+
"@tomflow/proflow-execution-browser-extension": "^0.1.11",
|
|
33
|
+
"@tomflow/proflow-execution-contracts": "^0.1.9"
|
|
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.11",
|
|
37
|
+
"@tomflow/proflow-deployment-conformance": "^0.1.9",
|
|
38
|
+
"@tomflow/proflow-execution-runtime": "^0.1.12",
|
|
39
|
+
"@tomflow/proflow-model-runtime": "^0.1.13"
|
|
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