@tomflow/proflow-agent-gateway 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/SETUP.md +4 -2
- 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 +11 -11
- package/proflow.module.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @tomflow/proflow-agent-gateway
|
|
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
|
package/SETUP.md
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
## STEP-AGENT-GATEWAY-01 — 准备公开入口
|
|
4
4
|
|
|
5
|
-
Responsible:
|
|
5
|
+
Responsible: AI
|
|
6
6
|
Interactive executable: `platform setup --module dev-tunnel`
|
|
7
7
|
Non-interactive executable: `platform setup --module dev-tunnel`
|
|
8
|
-
Required inputs:
|
|
8
|
+
Required inputs: none;`publicBaseUrl` 必须由 `dev-tunnel` shared facts 自动提供,禁止用户复制 Tunnel ID、端口或 URL
|
|
9
9
|
Verify: `platform status`
|
|
10
10
|
Success condition: `dev-tunnel.setupStatus=READY`.
|
|
11
11
|
|
|
@@ -17,3 +17,5 @@ Non-interactive executable: `platform setup --module platform-host`
|
|
|
17
17
|
Required inputs: none
|
|
18
18
|
Verify: `platform status`
|
|
19
19
|
Success condition: `platform-host.setupStatus=READY`.
|
|
20
|
+
|
|
21
|
+
本模块只重新观察 `dev-tunnel` 与 `platform-host` 的 producer-owned shared facts;依赖未就绪时返回 `BLOCKED`,不把内部 endpoint、state path 或 credential path 暴露为人工配置。
|
|
@@ -6,7 +6,7 @@ export declare const behaviorAdapter: {
|
|
|
6
6
|
ok: true;
|
|
7
7
|
status: "SUCCEEDED";
|
|
8
8
|
moduleRef: "agent-gateway";
|
|
9
|
-
moduleVersion: "0.1.
|
|
9
|
+
moduleVersion: "0.1.13";
|
|
10
10
|
data: {
|
|
11
11
|
localBaseUrl: string;
|
|
12
12
|
publicBaseUrl?: string;
|
|
@@ -20,7 +20,7 @@ export declare const behaviorAdapter: {
|
|
|
20
20
|
readonly ok: true;
|
|
21
21
|
readonly status: "SUCCEEDED";
|
|
22
22
|
readonly moduleRef: "agent-gateway";
|
|
23
|
-
readonly moduleVersion: "0.1.
|
|
23
|
+
readonly moduleVersion: "0.1.13";
|
|
24
24
|
};
|
|
25
25
|
observedEffects: string[];
|
|
26
26
|
}>;
|
|
@@ -30,10 +30,17 @@ export declare const behaviorAdapter: {
|
|
|
30
30
|
ok: true;
|
|
31
31
|
status: "SUCCEEDED";
|
|
32
32
|
moduleRef: "agent-gateway";
|
|
33
|
-
moduleVersion: "0.1.
|
|
33
|
+
moduleVersion: "0.1.13";
|
|
34
34
|
data: {
|
|
35
|
-
setupStatus: "
|
|
35
|
+
setupStatus: "BLOCKED" | "READY";
|
|
36
36
|
runtimeStatus: "RUNNING" | "STOPPED";
|
|
37
|
+
issues?: {
|
|
38
|
+
scope: "SETUP";
|
|
39
|
+
code: string;
|
|
40
|
+
message: string;
|
|
41
|
+
relatedModuleRefs: string[];
|
|
42
|
+
nextCommand: string;
|
|
43
|
+
}[];
|
|
37
44
|
};
|
|
38
45
|
};
|
|
39
46
|
observedEffects: never[];
|
|
@@ -44,11 +51,11 @@ export declare const behaviorAdapter: {
|
|
|
44
51
|
readonly ok: true;
|
|
45
52
|
readonly status: "SUCCEEDED";
|
|
46
53
|
readonly moduleRef: "agent-gateway";
|
|
47
|
-
readonly moduleVersion: "0.1.
|
|
54
|
+
readonly moduleVersion: "0.1.13";
|
|
48
55
|
} | {
|
|
49
56
|
contract: "deployment.result.v1";
|
|
50
57
|
moduleRef: "agent-gateway";
|
|
51
|
-
moduleVersion: "0.1.
|
|
58
|
+
moduleVersion: "0.1.13";
|
|
52
59
|
ok: false;
|
|
53
60
|
status: "FAILED";
|
|
54
61
|
error: {
|
|
@@ -96,7 +103,7 @@ export declare const behaviorAdapter: {
|
|
|
96
103
|
ok: true;
|
|
97
104
|
status: "SUCCEEDED";
|
|
98
105
|
moduleRef: "agent-gateway";
|
|
99
|
-
moduleVersion: "0.1.
|
|
106
|
+
moduleVersion: "0.1.13";
|
|
100
107
|
data: {
|
|
101
108
|
docs: string;
|
|
102
109
|
};
|
|
@@ -109,7 +116,7 @@ export declare const behaviorAdapter: {
|
|
|
109
116
|
ok: true;
|
|
110
117
|
status: "SUCCEEDED";
|
|
111
118
|
moduleRef: "agent-gateway";
|
|
112
|
-
moduleVersion: "0.1.
|
|
119
|
+
moduleVersion: "0.1.13";
|
|
113
120
|
data: {
|
|
114
121
|
host: string;
|
|
115
122
|
port: number;
|
|
@@ -120,7 +127,7 @@ export declare const behaviorAdapter: {
|
|
|
120
127
|
result: {
|
|
121
128
|
contract: "deployment.result.v1";
|
|
122
129
|
moduleRef: "agent-gateway";
|
|
123
|
-
moduleVersion: "0.1.
|
|
130
|
+
moduleVersion: "0.1.13";
|
|
124
131
|
ok: false;
|
|
125
132
|
status: "FAILED";
|
|
126
133
|
error: {
|
|
@@ -137,7 +144,7 @@ export declare const behaviorAdapter: {
|
|
|
137
144
|
readonly ok: true;
|
|
138
145
|
readonly status: "SUCCEEDED";
|
|
139
146
|
readonly moduleRef: "agent-gateway";
|
|
140
|
-
readonly moduleVersion: "0.1.
|
|
147
|
+
readonly moduleVersion: "0.1.13";
|
|
141
148
|
};
|
|
142
149
|
observedEffects: string[];
|
|
143
150
|
} | {
|
|
@@ -146,11 +153,11 @@ export declare const behaviorAdapter: {
|
|
|
146
153
|
readonly ok: true;
|
|
147
154
|
readonly status: "SUCCEEDED";
|
|
148
155
|
readonly moduleRef: "agent-gateway";
|
|
149
|
-
readonly moduleVersion: "0.1.
|
|
156
|
+
readonly moduleVersion: "0.1.13";
|
|
150
157
|
} | {
|
|
151
158
|
contract: "deployment.result.v1";
|
|
152
159
|
moduleRef: "agent-gateway";
|
|
153
|
-
moduleVersion: "0.1.
|
|
160
|
+
moduleVersion: "0.1.13";
|
|
154
161
|
ok: false;
|
|
155
162
|
status: "FAILED";
|
|
156
163
|
error: {
|
|
@@ -122,20 +122,34 @@ export const behaviorAdapter = {
|
|
|
122
122
|
observedEffects: service ? ["Manage the declared service process"] : [],
|
|
123
123
|
};
|
|
124
124
|
},
|
|
125
|
-
status: async (context) =>
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
: "
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
125
|
+
status: async (context) => {
|
|
126
|
+
const ready = await dependencies(context);
|
|
127
|
+
return {
|
|
128
|
+
result: {
|
|
129
|
+
...base,
|
|
130
|
+
data: {
|
|
131
|
+
setupStatus: ready ? "READY" : "BLOCKED",
|
|
132
|
+
runtimeStatus: (await running(context))
|
|
133
|
+
? "RUNNING"
|
|
134
|
+
: "STOPPED",
|
|
135
|
+
...(ready
|
|
136
|
+
? {}
|
|
137
|
+
: {
|
|
138
|
+
issues: [
|
|
139
|
+
{
|
|
140
|
+
scope: "SETUP",
|
|
141
|
+
code: "UPSTREAM_NOT_READY",
|
|
142
|
+
message: "等待 dev-tunnel 发布公开 HTTPS 地址,并等待 platform-host 发布下游端点与传输凭据",
|
|
143
|
+
relatedModuleRefs: ["dev-tunnel", "platform-host"],
|
|
144
|
+
nextCommand: "platform setup --module dev-tunnel",
|
|
145
|
+
},
|
|
146
|
+
],
|
|
147
|
+
}),
|
|
148
|
+
},
|
|
135
149
|
},
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
}
|
|
150
|
+
observedEffects: [],
|
|
151
|
+
};
|
|
152
|
+
},
|
|
139
153
|
setup: async (context) => ({
|
|
140
154
|
result: (await dependencies(context))
|
|
141
155
|
? base
|
|
@@ -3,7 +3,7 @@ export declare const descriptor: {
|
|
|
3
3
|
readonly contractVersion: "1.0.0";
|
|
4
4
|
readonly moduleRef: "agent-gateway";
|
|
5
5
|
readonly packageName: "@tomflow/proflow-agent-gateway";
|
|
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: "agent-gateway",
|
|
5
5
|
packageName: "@tomflow/proflow-agent-gateway",
|
|
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-agent-gateway",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.13",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -25,18 +25,18 @@
|
|
|
25
25
|
],
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"zod": "4.1.12",
|
|
28
|
-
"@tomflow/proflow-module-contract": "^0.1.
|
|
28
|
+
"@tomflow/proflow-module-contract": "^0.1.13"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
|
-
"@tomflow/proflow-deployment-conformance": "^0.1.
|
|
32
|
-
"@tomflow/proflow-
|
|
33
|
-
"@tomflow/proflow-
|
|
34
|
-
"@tomflow/proflow-
|
|
35
|
-
"@tomflow/proflow-execution-
|
|
36
|
-
"@tomflow/proflow-platform-host": "^0.1.
|
|
37
|
-
"@tomflow/proflow-
|
|
38
|
-
"@tomflow/proflow-
|
|
39
|
-
"@tomflow/proflow-task-store-sqlite": "^0.1.
|
|
31
|
+
"@tomflow/proflow-deployment-conformance": "^0.1.11",
|
|
32
|
+
"@tomflow/proflow-execution-browser-extension": "^0.1.13",
|
|
33
|
+
"@tomflow/proflow-agent-runtime": "^0.1.10",
|
|
34
|
+
"@tomflow/proflow-task-migration-runner": "^0.1.11",
|
|
35
|
+
"@tomflow/proflow-execution-local": "^0.1.12",
|
|
36
|
+
"@tomflow/proflow-platform-host": "^0.1.13",
|
|
37
|
+
"@tomflow/proflow-execution-runtime": "^0.1.14",
|
|
38
|
+
"@tomflow/proflow-task-orchestration": "^0.1.9",
|
|
39
|
+
"@tomflow/proflow-task-store-sqlite": "^0.1.11"
|
|
40
40
|
},
|
|
41
41
|
"description": "The sole Custom GPT Actions HTTP ingress and OpenAI transport anti-corruption layer.",
|
|
42
42
|
"keywords": [
|
package/proflow.module.json
CHANGED