@tomflow/proflow-platform-host 0.1.10 → 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 CHANGED
@@ -1,5 +1,11 @@
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
+
3
9
  ## 0.1.10
4
10
 
5
11
  ### Patch Changes
package/DOCS.md CHANGED
@@ -1,11 +1,37 @@
1
- # platform-host
1
+ # platform-host — 平台组合服务
2
2
 
3
- Platform Host(平台主服务)把 Task、Agent、Execution 和 Model 等模块组合成一个本机应用,并提供受认证的本地接口。
3
+ ## 模块定位与作用
4
4
 
5
- ## 主要职责
5
+ ProFlow 的本地 Composition Root(组合根),把 Task、Agent、Execution 和 Model 的公开端口装配为受认证的本地 HTTP 服务。
6
6
 
7
- - 装配各领域运行时并管理启动与停止。
8
- - 提供本机 HTTP 接口和健康状态。
9
- - 把请求转给真正拥有数据和规则的模块。
7
+ ## 主要能力
10
8
 
11
- 它不保存第二份业务数据,也不负责浏览器中的 Observer(观察器)循环。
9
+ - 构造领域应用服务、Store 和跨域 Public Contract 适配器。
10
+ - 提供本地认证、健康检查和共享事实。
11
+ - 统一管理组合进程的启动、停止和恢复。
12
+
13
+ ## 提供的 API 与 Public Contract
14
+
15
+ - 提供 `platform-host` Contract,版本 `1.0.0`。
16
+ - 对 Agent Gateway 和 Browser Extension 暴露受认证的本地应用 API。
17
+
18
+ ## 依赖的 Module、Contract 和外部资源
19
+
20
+ - 依赖 `task-orchestration`、`agent-runtime`、`execution` 和 `model-inference`,兼容版本均为 `>=1.0.0 <2.0.0`。
21
+
22
+ ## 运行形态与生命周期
23
+
24
+ 类型为 Service,由 `platform start` 启动独立本地进程并监听 loopback 地址。
25
+
26
+ ## 使用方式
27
+
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.10";
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.10";
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.10";
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.10";
51
+ readonly moduleVersion: "0.1.11";
52
52
  } | {
53
53
  contract: "deployment.result.v1";
54
54
  moduleRef: "platform-host";
55
- moduleVersion: "0.1.10";
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.10";
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.10";
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.10";
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.10";
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.10";
122
+ readonly moduleVersion: "0.1.11";
123
123
  } | {
124
124
  contract: "deployment.result.v1";
125
125
  moduleRef: "platform-host";
126
- moduleVersion: "0.1.10";
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.10";
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.10",
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.10",
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-agent-runtime": "^0.1.8",
28
- "@tomflow/proflow-module-contract": "^0.1.10",
29
- "@tomflow/proflow-execution-browser-extension": "^0.1.9",
30
- "@tomflow/proflow-task-store-sqlite": "^0.1.8",
31
- "@tomflow/proflow-task-migration-runner": "^0.1.8",
32
- "@tomflow/proflow-task-orchestration": "^0.1.7",
33
- "@tomflow/proflow-execution-contracts": "^0.1.8"
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.10",
37
- "@tomflow/proflow-deployment-conformance": "^0.1.8",
38
- "@tomflow/proflow-execution-runtime": "^0.1.11",
39
- "@tomflow/proflow-model-runtime": "^0.1.11"
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": [
@@ -3,7 +3,7 @@
3
3
  "contractVersion": "1.0.0",
4
4
  "moduleRef": "platform-host",
5
5
  "packageName": "@tomflow/proflow-platform-host",
6
- "moduleVersion": "0.1.10",
6
+ "moduleVersion": "0.1.11",
7
7
  "kind": "service",
8
8
  "templateVersion": "1.0.0",
9
9
  "platformCompatibility": ">=1.0.0 <2.0.0",