@tomflow/proflow-execution-browser-extension 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-execution-browser-extension
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
@@ -14,7 +14,7 @@ export declare const behaviorAdapter: {
14
14
  ok: true;
15
15
  status: "SUCCEEDED";
16
16
  moduleRef: "execution-browser-extension";
17
- moduleVersion: "0.1.11";
17
+ moduleVersion: "0.1.12";
18
18
  data: {
19
19
  loadDir: string;
20
20
  };
@@ -27,7 +27,7 @@ export declare const behaviorAdapter: {
27
27
  readonly ok: true;
28
28
  readonly status: "SUCCEEDED";
29
29
  readonly moduleRef: "execution-browser-extension";
30
- readonly moduleVersion: "0.1.11";
30
+ readonly moduleVersion: "0.1.12";
31
31
  };
32
32
  observedEffects: never[];
33
33
  }>;
@@ -37,10 +37,17 @@ export declare const behaviorAdapter: {
37
37
  ok: true;
38
38
  status: "SUCCEEDED";
39
39
  moduleRef: "execution-browser-extension";
40
- moduleVersion: "0.1.11";
40
+ moduleVersion: "0.1.12";
41
41
  data: {
42
42
  setupStatus: "ACTION_REQUIRED" | "READY";
43
43
  runtimeStatus: "RUNNING" | "STOPPED";
44
+ issues?: {
45
+ scope: "SETUP";
46
+ code: string;
47
+ message: string;
48
+ relatedModuleRefs: string[];
49
+ nextCommand: string;
50
+ }[];
44
51
  };
45
52
  };
46
53
  observedEffects: string[];
@@ -49,7 +56,7 @@ export declare const behaviorAdapter: {
49
56
  result: {
50
57
  contract: "deployment.result.v1";
51
58
  moduleRef: "execution-browser-extension";
52
- moduleVersion: "0.1.11";
59
+ moduleVersion: "0.1.12";
53
60
  ok: false;
54
61
  status: "FAILED";
55
62
  error: {
@@ -79,7 +86,7 @@ export declare const behaviorAdapter: {
79
86
  result: {
80
87
  contract: "deployment.result.v1";
81
88
  moduleRef: "execution-browser-extension";
82
- moduleVersion: "0.1.11";
89
+ moduleVersion: "0.1.12";
83
90
  ok: false;
84
91
  status: "ACTION_REQUIRED";
85
92
  data: {
@@ -142,7 +149,7 @@ export declare const behaviorAdapter: {
142
149
  readonly ok: true;
143
150
  readonly status: "SUCCEEDED";
144
151
  readonly moduleRef: "execution-browser-extension";
145
- readonly moduleVersion: "0.1.11";
152
+ readonly moduleVersion: "0.1.12";
146
153
  };
147
154
  observedEffects: string[];
148
155
  }>;
@@ -152,7 +159,7 @@ export declare const behaviorAdapter: {
152
159
  ok: true;
153
160
  status: "SUCCEEDED";
154
161
  moduleRef: "execution-browser-extension";
155
- moduleVersion: "0.1.11";
162
+ moduleVersion: "0.1.12";
156
163
  data: {
157
164
  docs: string;
158
165
  };
@@ -165,11 +172,11 @@ export declare const behaviorAdapter: {
165
172
  readonly ok: true;
166
173
  readonly status: "SUCCEEDED";
167
174
  readonly moduleRef: "execution-browser-extension";
168
- readonly moduleVersion: "0.1.11";
175
+ readonly moduleVersion: "0.1.12";
169
176
  } | {
170
177
  contract: "deployment.result.v1";
171
178
  moduleRef: "execution-browser-extension";
172
- moduleVersion: "0.1.11";
179
+ moduleVersion: "0.1.12";
173
180
  ok: false;
174
181
  status: "FAILED";
175
182
  error: {
@@ -186,7 +193,7 @@ export declare const behaviorAdapter: {
186
193
  readonly ok: true;
187
194
  readonly status: "SUCCEEDED";
188
195
  readonly moduleRef: "execution-browser-extension";
189
- readonly moduleVersion: "0.1.11";
196
+ readonly moduleVersion: "0.1.12";
190
197
  };
191
198
  observedEffects: never[];
192
199
  }>;
@@ -274,14 +274,28 @@ export const behaviorAdapter = {
274
274
  const loadDir = browserExtensionLoadDir(context.workspaceRoot);
275
275
  const setup = await readSetup(context);
276
276
  const evidence = await readEvidence(context, loadDir);
277
+ const setupReady = Boolean(setup && evidence);
277
278
  return {
278
279
  result: {
279
280
  ...base,
280
281
  data: {
281
- setupStatus: setup && evidence
282
+ setupStatus: setupReady
282
283
  ? "READY"
283
284
  : "ACTION_REQUIRED",
284
285
  runtimeStatus: evidence ? "RUNNING" : "STOPPED",
286
+ ...(setupReady
287
+ ? {}
288
+ : {
289
+ issues: [
290
+ {
291
+ scope: "SETUP",
292
+ code: "EXTENSION_LOAD_REQUIRED",
293
+ message: "Chrome 扩展尚未加载或缺少可验证的运行证据",
294
+ relatedModuleRefs: ["chrome-runtime"],
295
+ nextCommand: "platform setup --module execution-browser-extension",
296
+ },
297
+ ],
298
+ }),
285
299
  },
286
300
  },
287
301
  observedEffects: evidence
@@ -3,7 +3,7 @@ export declare const descriptor: {
3
3
  readonly contractVersion: "1.0.0";
4
4
  readonly moduleRef: "execution-browser-extension";
5
5
  readonly packageName: "@tomflow/proflow-execution-browser-extension";
6
- readonly moduleVersion: "0.1.11";
6
+ readonly moduleVersion: "0.1.12";
7
7
  readonly kind: "browser-extension";
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: "execution-browser-extension",
5
5
  packageName: "@tomflow/proflow-execution-browser-extension",
6
- moduleVersion: "0.1.11",
6
+ moduleVersion: "0.1.12",
7
7
  kind: "browser-extension",
8
8
  templateVersion: "1.0.0",
9
9
  platformCompatibility: ">=1.0.0 <2.0.0",
package/manifest.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "manifest_version": 3,
3
3
  "name": "ProFlow Execution Browser",
4
- "version": "0.1.11",
4
+ "version": "0.1.12",
5
5
  "permissions": ["tabs", "storage", "sidePanel"],
6
6
  "host_permissions": ["https://chatgpt.com/*", "http://127.0.0.1/*"],
7
7
  "background": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tomflow/proflow-execution-browser-extension",
3
- "version": "0.1.11",
3
+ "version": "0.1.12",
4
4
  "description": "Execution-owned MV3 Browser executor, evidence provider and browser application surface.",
5
5
  "type": "module",
6
6
  "publishConfig": {
@@ -26,12 +26,12 @@
26
26
  "SETUP.md"
27
27
  ],
28
28
  "dependencies": {
29
- "@tomflow/proflow-module-contract": "^0.1.11",
29
+ "@tomflow/proflow-module-contract": "^0.1.12",
30
30
  "@tomflow/proflow-execution-contracts": "^0.1.9"
31
31
  },
32
32
  "devDependencies": {
33
- "@tomflow/proflow-deployment-conformance": "^0.1.9",
34
- "@tomflow/proflow-execution-runtime": "^0.1.12"
33
+ "@tomflow/proflow-deployment-conformance": "^0.1.10",
34
+ "@tomflow/proflow-execution-runtime": "^0.1.13"
35
35
  },
36
36
  "keywords": [
37
37
  "proflow",
@@ -3,7 +3,7 @@
3
3
  "contractVersion": "1.0.0",
4
4
  "moduleRef": "execution-browser-extension",
5
5
  "packageName": "@tomflow/proflow-execution-browser-extension",
6
- "moduleVersion": "0.1.11",
6
+ "moduleVersion": "0.1.12",
7
7
  "kind": "browser-extension",
8
8
  "templateVersion": "1.0.0",
9
9
  "platformCompatibility": ">=1.0.0 <2.0.0",