@tomflow/proflow-execution-browser-extension 0.1.5 → 0.1.6

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 ADDED
@@ -0,0 +1,7 @@
1
+ # @tomflow/proflow-execution-browser-extension
2
+
3
+ ## 0.1.6
4
+
5
+ ### Patch Changes
6
+
7
+ - Align all Modules to the seven-command setup contract with executable package-owned setup guidance and full Platform setup aggregation.
package/SETUP.md CHANGED
@@ -1,7 +1,25 @@
1
1
  # @tomflow/proflow-execution-browser-extension — Module Setup
2
2
 
3
- After Module.install materializes the deployment directory and deterministic local configuration, load the unpacked extension in Chrome when requested. Confirm the real extension Service Worker is running, then rerun Module.setup so it can re-observe Chrome reality and record evidence. Endpoints, tokens and evidence paths are not user configuration.
3
+ ## Goal
4
+ Reach `setupStatus=READY` by loading the already-materialized MV3 extension; bridge endpoints/tokens/runtime config are automatic.
4
5
 
5
- ## Completion
6
+ ## Step 1 — Ask the Module for the load directory
7
+ **Type:** automatic preparation
8
+ **Executable:** `platform setup --module execution-browser-extension --workspace <workspace>`
9
+ The returned action identifies the unpacked extension directory materialized by `Module.install`.
6
10
 
7
- Setup is complete only when the Module's own `status` reports `setupStatus=READY`. Re-running setup must re-observe reality; it must not resume from a blind historical step index.
11
+ ## Step 2 Load the unpacked extension
12
+ **Type:** human Chrome action
13
+ **Human action:** Load that directory in `chrome://extensions`, then copy the canonical 32-character extension ID.
14
+ **Verify/commit executable:** `platform setup --module execution-browser-extension --workspace <workspace> --input '{"extensionId":"<32-char-id>"}'`
15
+ The Module then writes runtime configuration from producer-owned shared facts.
16
+
17
+ ## Step 3 — Reload and verify the MV3 service worker
18
+ **Type:** human observation + Module evidence
19
+ **Human action:** Reload the extension and confirm its service worker is RUNNING.
20
+ **Verify/commit executable:** `platform setup --module execution-browser-extension --workspace <workspace> --input '{"serviceWorker":"RUNNING"}'`
21
+
22
+ ## Step 4 — Verify completion
23
+ **Type:** automatic verification
24
+ **Executable:** `platform status --workspace <workspace>`
25
+ **Success condition:** `execution-browser-extension.setupStatus=READY`.
@@ -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.5";
17
+ moduleVersion: "0.1.6";
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.5";
30
+ readonly moduleVersion: "0.1.6";
31
31
  };
32
32
  observedEffects: never[];
33
33
  }>;
@@ -37,7 +37,7 @@ export declare const behaviorAdapter: {
37
37
  ok: true;
38
38
  status: "SUCCEEDED";
39
39
  moduleRef: "execution-browser-extension";
40
- moduleVersion: "0.1.5";
40
+ moduleVersion: "0.1.6";
41
41
  data: {
42
42
  setupStatus: "ACTION_REQUIRED" | "READY";
43
43
  runtimeStatus: "RUNNING" | "STOPPED";
@@ -49,7 +49,7 @@ export declare const behaviorAdapter: {
49
49
  result: {
50
50
  contract: "deployment.result.v1";
51
51
  moduleRef: "execution-browser-extension";
52
- moduleVersion: "0.1.5";
52
+ moduleVersion: "0.1.6";
53
53
  ok: false;
54
54
  status: "FAILED";
55
55
  error: {
@@ -63,7 +63,7 @@ export declare const behaviorAdapter: {
63
63
  result: {
64
64
  contract: "deployment.result.v1";
65
65
  moduleRef: "execution-browser-extension";
66
- moduleVersion: "0.1.5";
66
+ moduleVersion: "0.1.6";
67
67
  ok: false;
68
68
  status: "ACTION_REQUIRED";
69
69
  actionRequired: {
@@ -78,7 +78,7 @@ export declare const behaviorAdapter: {
78
78
  readonly ok: true;
79
79
  readonly status: "SUCCEEDED";
80
80
  readonly moduleRef: "execution-browser-extension";
81
- readonly moduleVersion: "0.1.5";
81
+ readonly moduleVersion: "0.1.6";
82
82
  };
83
83
  observedEffects: string[];
84
84
  }>;
@@ -88,7 +88,7 @@ export declare const behaviorAdapter: {
88
88
  ok: true;
89
89
  status: "SUCCEEDED";
90
90
  moduleRef: "execution-browser-extension";
91
- moduleVersion: "0.1.5";
91
+ moduleVersion: "0.1.6";
92
92
  data: {
93
93
  docs: string;
94
94
  setup: string;
@@ -102,11 +102,11 @@ export declare const behaviorAdapter: {
102
102
  readonly ok: true;
103
103
  readonly status: "SUCCEEDED";
104
104
  readonly moduleRef: "execution-browser-extension";
105
- readonly moduleVersion: "0.1.5";
105
+ readonly moduleVersion: "0.1.6";
106
106
  } | {
107
107
  contract: "deployment.result.v1";
108
108
  moduleRef: "execution-browser-extension";
109
- moduleVersion: "0.1.5";
109
+ moduleVersion: "0.1.6";
110
110
  ok: false;
111
111
  status: "FAILED";
112
112
  error: {
@@ -123,7 +123,7 @@ export declare const behaviorAdapter: {
123
123
  readonly ok: true;
124
124
  readonly status: "SUCCEEDED";
125
125
  readonly moduleRef: "execution-browser-extension";
126
- readonly moduleVersion: "0.1.5";
126
+ readonly moduleVersion: "0.1.6";
127
127
  };
128
128
  observedEffects: never[];
129
129
  }>;
@@ -237,7 +237,7 @@ export const behaviorAdapter = {
237
237
  status: "ACTION_REQUIRED",
238
238
  actionRequired: {
239
239
  action: "load-unpacked-extension",
240
- description: `Load ${browserExtensionLoadDir(context.workspaceRoot)} in Chrome, copy its extensionId, then rerun Module.setup with extensionId.`,
240
+ description: `Load ${browserExtensionLoadDir(context.workspaceRoot)} in Chrome, copy its extensionId, then run platform setup --module execution-browser-extension --workspace ${JSON.stringify(context.workspaceRoot)} --input '{"extensionId":"<32-char-id>"}'.`,
241
241
  },
242
242
  },
243
243
  observedEffects: [],
@@ -275,7 +275,7 @@ export const behaviorAdapter = {
275
275
  status: "ACTION_REQUIRED",
276
276
  actionRequired: {
277
277
  action: "reload-and-verify-extension",
278
- description: "Reload the unpacked extension after runtime config materialization, confirm its MV3 service worker is RUNNING, then rerun Module.setup with serviceWorker=RUNNING.",
278
+ description: `Reload the unpacked extension, confirm its MV3 service worker is RUNNING, then run platform setup --module execution-browser-extension --workspace ${JSON.stringify(context.workspaceRoot)} --input '{"serviceWorker":"RUNNING"}'.`,
279
279
  },
280
280
  },
281
281
  observedEffects: [],
@@ -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.5";
6
+ readonly moduleVersion: "0.1.6";
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.5",
6
+ moduleVersion: "0.1.6",
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.5",
4
+ "version": "0.1.6",
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.5",
3
+ "version": "0.1.6",
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-execution-contracts": "^0.1.4",
30
- "@tomflow/proflow-module-contract": "^0.1.4"
29
+ "@tomflow/proflow-module-contract": "^0.1.5",
30
+ "@tomflow/proflow-execution-contracts": "^0.1.5"
31
31
  },
32
32
  "devDependencies": {
33
- "@tomflow/proflow-execution-runtime": "^0.1.7",
34
- "@tomflow/proflow-deployment-conformance": "^0.1.4"
33
+ "@tomflow/proflow-deployment-conformance": "^0.1.5",
34
+ "@tomflow/proflow-execution-runtime": "^0.1.8"
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.5",
6
+ "moduleVersion": "0.1.6",
7
7
  "kind": "browser-extension",
8
8
  "templateVersion": "1.0.0",
9
9
  "platformCompatibility": ">=1.0.0 <2.0.0",