@tomflow/proflow-dev-tunnel 0.1.13 → 0.1.14

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-dev-tunnel
2
2
 
3
+ ## 0.1.14
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.13
4
10
 
5
11
  ### Patch Changes
@@ -6,7 +6,7 @@ export declare const behaviorAdapter: {
6
6
  readonly ok: true;
7
7
  readonly status: "SUCCEEDED";
8
8
  readonly moduleRef: "dev-tunnel";
9
- readonly moduleVersion: "0.1.13";
9
+ readonly moduleVersion: "0.1.14";
10
10
  };
11
11
  observedEffects: never[];
12
12
  }>;
@@ -16,14 +16,14 @@ export declare const behaviorAdapter: {
16
16
  readonly ok: true;
17
17
  readonly status: "SUCCEEDED";
18
18
  readonly moduleRef: "dev-tunnel";
19
- readonly moduleVersion: "0.1.13";
19
+ readonly moduleVersion: "0.1.14";
20
20
  };
21
21
  observedEffects: string[];
22
22
  } | {
23
23
  result: {
24
24
  contract: "deployment.result.v1";
25
25
  moduleRef: "dev-tunnel";
26
- moduleVersion: "0.1.13";
26
+ moduleVersion: "0.1.14";
27
27
  ok: false;
28
28
  status: "FAILED";
29
29
  error: {
@@ -40,10 +40,23 @@ export declare const behaviorAdapter: {
40
40
  ok: true;
41
41
  status: "SUCCEEDED";
42
42
  moduleRef: "dev-tunnel";
43
- moduleVersion: "0.1.13";
43
+ moduleVersion: "0.1.14";
44
44
  data: {
45
45
  setupStatus: "ACTION_REQUIRED" | "READY";
46
46
  runtimeStatus: "FAILED" | "RUNNING" | "STOPPED";
47
+ issues?: ({
48
+ scope: "SETUP";
49
+ code: string;
50
+ message: string;
51
+ relatedModuleRefs: never[];
52
+ nextCommand: string;
53
+ } | {
54
+ scope: "RUNTIME";
55
+ code: string;
56
+ message: string;
57
+ relatedModuleRefs: never[];
58
+ nextCommand: string;
59
+ })[];
47
60
  };
48
61
  };
49
62
  observedEffects: never[];
@@ -52,7 +65,7 @@ export declare const behaviorAdapter: {
52
65
  result: {
53
66
  contract: "deployment.result.v1";
54
67
  moduleRef: "dev-tunnel";
55
- moduleVersion: "0.1.13";
68
+ moduleVersion: "0.1.14";
56
69
  ok: false;
57
70
  status: "ACTION_REQUIRED";
58
71
  data: {
@@ -136,7 +149,7 @@ export declare const behaviorAdapter: {
136
149
  readonly ok: true;
137
150
  readonly status: "SUCCEEDED";
138
151
  readonly moduleRef: "dev-tunnel";
139
- readonly moduleVersion: "0.1.13";
152
+ readonly moduleVersion: "0.1.14";
140
153
  };
141
154
  observedEffects: never[];
142
155
  }>;
@@ -146,7 +159,7 @@ export declare const behaviorAdapter: {
146
159
  ok: true;
147
160
  status: "SUCCEEDED";
148
161
  moduleRef: "dev-tunnel";
149
- moduleVersion: "0.1.13";
162
+ moduleVersion: "0.1.14";
150
163
  data: {
151
164
  docs: string;
152
165
  };
@@ -157,7 +170,7 @@ export declare const behaviorAdapter: {
157
170
  result: {
158
171
  contract: "deployment.result.v1";
159
172
  moduleRef: "dev-tunnel";
160
- moduleVersion: "0.1.13";
173
+ moduleVersion: "0.1.14";
161
174
  ok: false;
162
175
  status: "FAILED";
163
176
  error: {
@@ -173,7 +186,7 @@ export declare const behaviorAdapter: {
173
186
  ok: true;
174
187
  status: "SUCCEEDED";
175
188
  moduleRef: "dev-tunnel";
176
- moduleVersion: "0.1.13";
189
+ moduleVersion: "0.1.14";
177
190
  data: import("../src/resource-adapter.ts").DevTunnelObservation;
178
191
  };
179
192
  observedEffects: string[];
@@ -184,14 +197,14 @@ export declare const behaviorAdapter: {
184
197
  readonly ok: true;
185
198
  readonly status: "SUCCEEDED";
186
199
  readonly moduleRef: "dev-tunnel";
187
- readonly moduleVersion: "0.1.13";
200
+ readonly moduleVersion: "0.1.14";
188
201
  };
189
202
  observedEffects: string[];
190
203
  } | {
191
204
  result: {
192
205
  contract: "deployment.result.v1";
193
206
  moduleRef: "dev-tunnel";
194
- moduleVersion: "0.1.13";
207
+ moduleVersion: "0.1.14";
195
208
  ok: false;
196
209
  status: "FAILED";
197
210
  error: {
@@ -192,6 +192,15 @@ export const behaviorAdapter = {
192
192
  data: {
193
193
  setupStatus: "ACTION_REQUIRED",
194
194
  runtimeStatus: "STOPPED",
195
+ issues: [
196
+ {
197
+ scope: "SETUP",
198
+ code: "TUNNEL_SETUP_REQUIRED",
199
+ message: "尚未选择或创建持久 Tunnel",
200
+ relatedModuleRefs: [],
201
+ nextCommand: "platform setup --module dev-tunnel",
202
+ },
203
+ ],
195
204
  },
196
205
  },
197
206
  observedEffects: [],
@@ -220,6 +229,34 @@ export const behaviorAdapter = {
220
229
  ? "READY"
221
230
  : "ACTION_REQUIRED",
222
231
  runtimeStatus,
232
+ ...(!configured || runtimeStatus === "FAILED"
233
+ ? {
234
+ issues: [
235
+ ...(!configured
236
+ ? [
237
+ {
238
+ scope: "SETUP",
239
+ code: "TUNNEL_LOGIN_REQUIRED",
240
+ message: "Dev Tunnel CLI 尚未登录或配置未保存",
241
+ relatedModuleRefs: [],
242
+ nextCommand: "platform setup --module dev-tunnel",
243
+ },
244
+ ]
245
+ : []),
246
+ ...(runtimeStatus === "FAILED"
247
+ ? [
248
+ {
249
+ scope: "RUNTIME",
250
+ code: "TUNNEL_RUNTIME_FAILED",
251
+ message: "Tunnel 运行状态检查失败",
252
+ relatedModuleRefs: [],
253
+ nextCommand: "pnpm exec -- proflow-dev-tunnel verify",
254
+ },
255
+ ]
256
+ : []),
257
+ ],
258
+ }
259
+ : {}),
223
260
  },
224
261
  },
225
262
  observedEffects: [],
@@ -3,7 +3,7 @@ export declare const descriptor: {
3
3
  readonly contractVersion: "1.0.0";
4
4
  readonly moduleRef: "dev-tunnel";
5
5
  readonly packageName: "@tomflow/proflow-dev-tunnel";
6
- readonly moduleVersion: "0.1.13";
6
+ readonly moduleVersion: "0.1.14";
7
7
  readonly kind: "external-resource";
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: "dev-tunnel",
5
5
  packageName: "@tomflow/proflow-dev-tunnel",
6
- moduleVersion: "0.1.13",
6
+ moduleVersion: "0.1.14",
7
7
  kind: "external-resource",
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-dev-tunnel",
3
- "version": "0.1.13",
3
+ "version": "0.1.14",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -22,10 +22,10 @@
22
22
  "SETUP.md"
23
23
  ],
24
24
  "dependencies": {
25
- "@tomflow/proflow-module-contract": "^0.1.11"
25
+ "@tomflow/proflow-module-contract": "^0.1.12"
26
26
  },
27
27
  "devDependencies": {
28
- "@tomflow/proflow-deployment-conformance": "^0.1.9"
28
+ "@tomflow/proflow-deployment-conformance": "^0.1.10"
29
29
  },
30
30
  "description": "Governs the Microsoft Dev Tunnel public HTTPS ingress resource and its managed local host process.",
31
31
  "keywords": [
@@ -3,7 +3,7 @@
3
3
  "contractVersion": "1.0.0",
4
4
  "moduleRef": "dev-tunnel",
5
5
  "packageName": "@tomflow/proflow-dev-tunnel",
6
- "moduleVersion": "0.1.13",
6
+ "moduleVersion": "0.1.14",
7
7
  "kind": "external-resource",
8
8
  "templateVersion": "1.0.0",
9
9
  "platformCompatibility": ">=1.0.0 <2.0.0",