@tomflow/proflow-execution-browser-extension 0.1.1 → 0.1.2

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.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Close the Real-1 global Platform control-plane contract across every published ProFlow package. Platform CLI now owns one durable global Workspace binding with canonical identity, cross-process operation locking, cwd/`--workspace` install targeting, cross-directory instance commands, whole-instance uninstall/rebind, and deterministic npm/yarn/pnpm Workspace package-manager selection. Every package-owned install entry, including newly generated Module Template packages, delegates to the Shell-global `platform` command and fails closed when that global CLI is unavailable; Deployment Conformance and the formal test plans mechanically enforce the same rule across all 24 packages.
8
+
3
9
  ## 0.1.1
4
10
 
5
11
  ### Patch Changes
@@ -3,7 +3,7 @@ export declare const behaviorAdapter: {
3
3
  result: {
4
4
  contract: "deployment.result.v1";
5
5
  moduleRef: "execution-browser-extension";
6
- moduleVersion: "0.1.1";
6
+ moduleVersion: "0.1.2";
7
7
  ok: boolean;
8
8
  status: string;
9
9
  };
@@ -13,7 +13,7 @@ export declare const behaviorAdapter: {
13
13
  result: {
14
14
  contract: "deployment.result.v1";
15
15
  moduleRef: "execution-browser-extension";
16
- moduleVersion: "0.1.1";
16
+ moduleVersion: "0.1.2";
17
17
  ok: boolean;
18
18
  status: string;
19
19
  };
@@ -23,7 +23,7 @@ export declare const behaviorAdapter: {
23
23
  result: {
24
24
  contract: "deployment.result.v1";
25
25
  moduleRef: "execution-browser-extension";
26
- moduleVersion: "0.1.1";
26
+ moduleVersion: "0.1.2";
27
27
  ok: boolean;
28
28
  status: string;
29
29
  actionRequired: {
@@ -37,7 +37,7 @@ export declare const behaviorAdapter: {
37
37
  result: {
38
38
  contract: "deployment.result.v1";
39
39
  moduleRef: "execution-browser-extension";
40
- moduleVersion: "0.1.1";
40
+ moduleVersion: "0.1.2";
41
41
  ok: boolean;
42
42
  status: string;
43
43
  checks: {
@@ -52,7 +52,7 @@ export declare const behaviorAdapter: {
52
52
  result: {
53
53
  contract: "deployment.result.v1";
54
54
  moduleRef: "execution-browser-extension";
55
- moduleVersion: "0.1.1";
55
+ moduleVersion: "0.1.2";
56
56
  ok: boolean;
57
57
  status: string;
58
58
  };
@@ -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.1";
6
+ readonly moduleVersion: "0.1.2";
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.1",
6
+ moduleVersion: "0.1.2",
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.1",
4
+ "version": "0.1.2",
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.1",
3
+ "version": "0.1.2",
4
4
  "description": "Execution-owned MV3 Browser executor, evidence provider and browser application surface.",
5
5
  "type": "module",
6
6
  "publishConfig": {
@@ -24,12 +24,12 @@
24
24
  "self-install.mjs"
25
25
  ],
26
26
  "dependencies": {
27
- "@tomflow/proflow-execution-contracts": "^0.1.1"
27
+ "@tomflow/proflow-execution-contracts": "^0.1.2"
28
28
  },
29
29
  "devDependencies": {
30
- "@tomflow/proflow-execution-runtime": "^0.1.0",
31
- "@tomflow/proflow-module-contract": "^0.1.0",
32
- "@tomflow/proflow-deployment-conformance": "^0.1.1"
30
+ "@tomflow/proflow-deployment-conformance": "^0.1.2",
31
+ "@tomflow/proflow-execution-runtime": "^0.1.1",
32
+ "@tomflow/proflow-module-contract": "^0.1.1"
33
33
  },
34
34
  "keywords": [
35
35
  "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.1",
6
+ "moduleVersion": "0.1.2",
7
7
  "kind": "browser-extension",
8
8
  "templateVersion": "1.0.0",
9
9
  "platformCompatibility": ">=1.0.0 <2.0.0",
package/self-install.mjs CHANGED
@@ -12,16 +12,24 @@ if (command !== "install" || rest.length > 0) {
12
12
  process.stderr.write(usage);
13
13
  process.exit(2);
14
14
  }
15
- const executable = process.platform === "win32" ? "npx.cmd" : "npx";
15
+ const executable = process.platform === "win32" ? "platform.cmd" : "platform";
16
16
  const result = spawnSync(
17
17
  executable,
18
18
  [
19
- "--yes",
20
- "@tomflow/proflow-platform-cli",
21
19
  "install",
22
20
  "@tomflow/proflow-execution-browser-extension",
21
+ "--workspace",
22
+ process.cwd(),
23
23
  ],
24
24
  { cwd: process.cwd(), env: process.env, stdio: "inherit" },
25
25
  );
26
- if (result.error) throw result.error;
26
+ if (result.error) {
27
+ if (result.error.code === "ENOENT") {
28
+ process.stderr.write(
29
+ "GLOBAL_PLATFORM_CLI_REQUIRED: install @tomflow/proflow-platform-cli globally before package-owned install\n",
30
+ );
31
+ process.exit(127);
32
+ }
33
+ throw result.error;
34
+ }
27
35
  process.exit(result.status ?? 1);