@tomflow/proflow-agent-gateway 0.1.11 → 0.1.12

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-agent-gateway
2
2
 
3
+ ## 0.1.12
4
+
5
+ ### Patch Changes
6
+
7
+ - 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.
8
+
3
9
  ## 0.1.11
4
10
 
5
11
  ### Patch Changes
@@ -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.11";
9
+ moduleVersion: "0.1.12";
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.11";
23
+ readonly moduleVersion: "0.1.12";
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.11";
33
+ moduleVersion: "0.1.12";
34
34
  data: {
35
- setupStatus: "FAILED" | "READY";
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.11";
54
+ readonly moduleVersion: "0.1.12";
48
55
  } | {
49
56
  contract: "deployment.result.v1";
50
57
  moduleRef: "agent-gateway";
51
- moduleVersion: "0.1.11";
58
+ moduleVersion: "0.1.12";
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.11";
106
+ moduleVersion: "0.1.12";
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.11";
119
+ moduleVersion: "0.1.12";
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.11";
130
+ moduleVersion: "0.1.12";
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.11";
147
+ readonly moduleVersion: "0.1.12";
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.11";
156
+ readonly moduleVersion: "0.1.12";
150
157
  } | {
151
158
  contract: "deployment.result.v1";
152
159
  moduleRef: "agent-gateway";
153
- moduleVersion: "0.1.11";
160
+ moduleVersion: "0.1.12";
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
- result: {
127
- ...base,
128
- data: {
129
- setupStatus: (await dependencies(context))
130
- ? "READY"
131
- : "FAILED",
132
- runtimeStatus: (await running(context))
133
- ? "RUNNING"
134
- : "STOPPED",
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
- observedEffects: [],
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.11";
6
+ readonly moduleVersion: "0.1.12";
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.11",
6
+ moduleVersion: "0.1.12",
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.11",
3
+ "version": "0.1.12",
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.11"
28
+ "@tomflow/proflow-module-contract": "^0.1.12"
29
29
  },
30
30
  "devDependencies": {
31
- "@tomflow/proflow-deployment-conformance": "^0.1.9",
32
- "@tomflow/proflow-task-migration-runner": "^0.1.9",
33
- "@tomflow/proflow-execution-browser-extension": "^0.1.11",
34
31
  "@tomflow/proflow-agent-runtime": "^0.1.9",
35
- "@tomflow/proflow-execution-runtime": "^0.1.12",
36
- "@tomflow/proflow-platform-host": "^0.1.11",
32
+ "@tomflow/proflow-execution-browser-extension": "^0.1.12",
33
+ "@tomflow/proflow-execution-local": "^0.1.11",
34
+ "@tomflow/proflow-execution-runtime": "^0.1.13",
35
+ "@tomflow/proflow-platform-host": "^0.1.12",
36
+ "@tomflow/proflow-task-migration-runner": "^0.1.10",
37
37
  "@tomflow/proflow-task-orchestration": "^0.1.8",
38
- "@tomflow/proflow-execution-local": "^0.1.10",
39
- "@tomflow/proflow-task-store-sqlite": "^0.1.9"
38
+ "@tomflow/proflow-task-store-sqlite": "^0.1.10",
39
+ "@tomflow/proflow-deployment-conformance": "^0.1.10"
40
40
  },
41
41
  "description": "The sole Custom GPT Actions HTTP ingress and OpenAI transport anti-corruption layer.",
42
42
  "keywords": [
@@ -3,7 +3,7 @@
3
3
  "contractVersion": "1.0.0",
4
4
  "moduleRef": "agent-gateway",
5
5
  "packageName": "@tomflow/proflow-agent-gateway",
6
- "moduleVersion": "0.1.11",
6
+ "moduleVersion": "0.1.12",
7
7
  "kind": "service",
8
8
  "templateVersion": "1.0.0",
9
9
  "platformCompatibility": ">=1.0.0 <2.0.0",