@tomflow/proflow-execution-runtime 0.1.0 → 0.1.1
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-runtime
|
|
2
|
+
|
|
3
|
+
## 0.1.1
|
|
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.
|
|
@@ -19,7 +19,7 @@ export declare function createBehaviorAdapter(service?: ProcessService): {
|
|
|
19
19
|
readonly ok: true;
|
|
20
20
|
readonly status: "SUCCEEDED";
|
|
21
21
|
readonly moduleRef: "execution-runtime";
|
|
22
|
-
readonly moduleVersion: "0.1.
|
|
22
|
+
readonly moduleVersion: "0.1.1";
|
|
23
23
|
};
|
|
24
24
|
observedEffects: never[];
|
|
25
25
|
};
|
|
@@ -29,7 +29,7 @@ export declare function createBehaviorAdapter(service?: ProcessService): {
|
|
|
29
29
|
readonly ok: true;
|
|
30
30
|
readonly status: "SUCCEEDED";
|
|
31
31
|
readonly moduleRef: "execution-runtime";
|
|
32
|
-
readonly moduleVersion: "0.1.
|
|
32
|
+
readonly moduleVersion: "0.1.1";
|
|
33
33
|
};
|
|
34
34
|
observedEffects: never[];
|
|
35
35
|
};
|
|
@@ -37,7 +37,7 @@ export declare function createBehaviorAdapter(service?: ProcessService): {
|
|
|
37
37
|
result: {
|
|
38
38
|
readonly contract: "deployment.result.v1";
|
|
39
39
|
readonly moduleRef: "execution-runtime";
|
|
40
|
-
readonly moduleVersion: "0.1.
|
|
40
|
+
readonly moduleVersion: "0.1.1";
|
|
41
41
|
readonly ok: false;
|
|
42
42
|
readonly status: "ACTION_REQUIRED";
|
|
43
43
|
readonly actionRequired: {
|
|
@@ -49,7 +49,7 @@ export declare function createBehaviorAdapter(service?: ProcessService): {
|
|
|
49
49
|
ok: true;
|
|
50
50
|
status: "SUCCEEDED";
|
|
51
51
|
moduleRef: "execution-runtime";
|
|
52
|
-
moduleVersion: "0.1.
|
|
52
|
+
moduleVersion: "0.1.1";
|
|
53
53
|
data: {
|
|
54
54
|
readiness: "READY" | "NOT_READY";
|
|
55
55
|
} | undefined;
|
|
@@ -61,7 +61,7 @@ export declare function createBehaviorAdapter(service?: ProcessService): {
|
|
|
61
61
|
} | {
|
|
62
62
|
contract: "deployment.result.v1";
|
|
63
63
|
moduleRef: "execution-runtime";
|
|
64
|
-
moduleVersion: "0.1.
|
|
64
|
+
moduleVersion: "0.1.1";
|
|
65
65
|
ok: false;
|
|
66
66
|
status: "ACTION_REQUIRED";
|
|
67
67
|
actionRequired: {
|
|
@@ -85,7 +85,7 @@ export declare function createBehaviorAdapter(service?: ProcessService): {
|
|
|
85
85
|
ok: true;
|
|
86
86
|
status: "SUCCEEDED";
|
|
87
87
|
moduleRef: "execution-runtime";
|
|
88
|
-
moduleVersion: "0.1.
|
|
88
|
+
moduleVersion: "0.1.1";
|
|
89
89
|
checks: {
|
|
90
90
|
id: string;
|
|
91
91
|
status: "FAIL" | "PASS";
|
|
@@ -94,7 +94,7 @@ export declare function createBehaviorAdapter(service?: ProcessService): {
|
|
|
94
94
|
} | {
|
|
95
95
|
contract: "deployment.result.v1";
|
|
96
96
|
moduleRef: "execution-runtime";
|
|
97
|
-
moduleVersion: "0.1.
|
|
97
|
+
moduleVersion: "0.1.1";
|
|
98
98
|
ok: false;
|
|
99
99
|
status: "ACTION_REQUIRED";
|
|
100
100
|
actionRequired: {
|
|
@@ -109,7 +109,7 @@ export declare function createBehaviorAdapter(service?: ProcessService): {
|
|
|
109
109
|
} | {
|
|
110
110
|
contract: "deployment.result.v1";
|
|
111
111
|
moduleRef: "execution-runtime";
|
|
112
|
-
moduleVersion: "0.1.
|
|
112
|
+
moduleVersion: "0.1.1";
|
|
113
113
|
ok: false;
|
|
114
114
|
status: "ACTION_REQUIRED";
|
|
115
115
|
actionRequired: {
|
|
@@ -130,7 +130,7 @@ export declare function createBehaviorAdapter(service?: ProcessService): {
|
|
|
130
130
|
readonly ok: true;
|
|
131
131
|
readonly status: "SUCCEEDED";
|
|
132
132
|
readonly moduleRef: "execution-runtime";
|
|
133
|
-
readonly moduleVersion: "0.1.
|
|
133
|
+
readonly moduleVersion: "0.1.1";
|
|
134
134
|
};
|
|
135
135
|
observedEffects: never[];
|
|
136
136
|
};
|
|
@@ -138,7 +138,7 @@ export declare function createBehaviorAdapter(service?: ProcessService): {
|
|
|
138
138
|
result: {
|
|
139
139
|
readonly contract: "deployment.result.v1";
|
|
140
140
|
readonly moduleRef: "execution-runtime";
|
|
141
|
-
readonly moduleVersion: "0.1.
|
|
141
|
+
readonly moduleVersion: "0.1.1";
|
|
142
142
|
readonly ok: false;
|
|
143
143
|
readonly status: "ACTION_REQUIRED";
|
|
144
144
|
readonly actionRequired: {
|
|
@@ -150,7 +150,7 @@ export declare function createBehaviorAdapter(service?: ProcessService): {
|
|
|
150
150
|
ok: true;
|
|
151
151
|
status: "SUCCEEDED";
|
|
152
152
|
moduleRef: "execution-runtime";
|
|
153
|
-
moduleVersion: "0.1.
|
|
153
|
+
moduleVersion: "0.1.1";
|
|
154
154
|
data: {
|
|
155
155
|
host: string;
|
|
156
156
|
port: number;
|
|
@@ -164,11 +164,11 @@ export declare function createBehaviorAdapter(service?: ProcessService): {
|
|
|
164
164
|
readonly ok: true;
|
|
165
165
|
readonly status: "SUCCEEDED";
|
|
166
166
|
readonly moduleRef: "execution-runtime";
|
|
167
|
-
readonly moduleVersion: "0.1.
|
|
167
|
+
readonly moduleVersion: "0.1.1";
|
|
168
168
|
} | {
|
|
169
169
|
readonly contract: "deployment.result.v1";
|
|
170
170
|
readonly moduleRef: "execution-runtime";
|
|
171
|
-
readonly moduleVersion: "0.1.
|
|
171
|
+
readonly moduleVersion: "0.1.1";
|
|
172
172
|
readonly ok: false;
|
|
173
173
|
readonly status: "ACTION_REQUIRED";
|
|
174
174
|
readonly actionRequired: {
|
|
@@ -184,11 +184,11 @@ export declare function createBehaviorAdapter(service?: ProcessService): {
|
|
|
184
184
|
readonly ok: true;
|
|
185
185
|
readonly status: "SUCCEEDED";
|
|
186
186
|
readonly moduleRef: "execution-runtime";
|
|
187
|
-
readonly moduleVersion: "0.1.
|
|
187
|
+
readonly moduleVersion: "0.1.1";
|
|
188
188
|
} | {
|
|
189
189
|
readonly contract: "deployment.result.v1";
|
|
190
190
|
readonly moduleRef: "execution-runtime";
|
|
191
|
-
readonly moduleVersion: "0.1.
|
|
191
|
+
readonly moduleVersion: "0.1.1";
|
|
192
192
|
readonly ok: false;
|
|
193
193
|
readonly status: "ACTION_REQUIRED";
|
|
194
194
|
readonly actionRequired: {
|
|
@@ -202,7 +202,7 @@ export declare function createBehaviorAdapter(service?: ProcessService): {
|
|
|
202
202
|
result: {
|
|
203
203
|
readonly contract: "deployment.result.v1";
|
|
204
204
|
readonly moduleRef: "execution-runtime";
|
|
205
|
-
readonly moduleVersion: "0.1.
|
|
205
|
+
readonly moduleVersion: "0.1.1";
|
|
206
206
|
readonly ok: false;
|
|
207
207
|
readonly status: "ACTION_REQUIRED";
|
|
208
208
|
readonly actionRequired: {
|
|
@@ -214,7 +214,7 @@ export declare function createBehaviorAdapter(service?: ProcessService): {
|
|
|
214
214
|
ok: true;
|
|
215
215
|
status: "SUCCEEDED";
|
|
216
216
|
moduleRef: "execution-runtime";
|
|
217
|
-
moduleVersion: "0.1.
|
|
217
|
+
moduleVersion: "0.1.1";
|
|
218
218
|
data: {
|
|
219
219
|
host: string;
|
|
220
220
|
port: number;
|
|
@@ -230,7 +230,7 @@ export declare const behaviorAdapter: {
|
|
|
230
230
|
readonly ok: true;
|
|
231
231
|
readonly status: "SUCCEEDED";
|
|
232
232
|
readonly moduleRef: "execution-runtime";
|
|
233
|
-
readonly moduleVersion: "0.1.
|
|
233
|
+
readonly moduleVersion: "0.1.1";
|
|
234
234
|
};
|
|
235
235
|
observedEffects: never[];
|
|
236
236
|
};
|
|
@@ -240,7 +240,7 @@ export declare const behaviorAdapter: {
|
|
|
240
240
|
readonly ok: true;
|
|
241
241
|
readonly status: "SUCCEEDED";
|
|
242
242
|
readonly moduleRef: "execution-runtime";
|
|
243
|
-
readonly moduleVersion: "0.1.
|
|
243
|
+
readonly moduleVersion: "0.1.1";
|
|
244
244
|
};
|
|
245
245
|
observedEffects: never[];
|
|
246
246
|
};
|
|
@@ -248,7 +248,7 @@ export declare const behaviorAdapter: {
|
|
|
248
248
|
result: {
|
|
249
249
|
readonly contract: "deployment.result.v1";
|
|
250
250
|
readonly moduleRef: "execution-runtime";
|
|
251
|
-
readonly moduleVersion: "0.1.
|
|
251
|
+
readonly moduleVersion: "0.1.1";
|
|
252
252
|
readonly ok: false;
|
|
253
253
|
readonly status: "ACTION_REQUIRED";
|
|
254
254
|
readonly actionRequired: {
|
|
@@ -260,7 +260,7 @@ export declare const behaviorAdapter: {
|
|
|
260
260
|
ok: true;
|
|
261
261
|
status: "SUCCEEDED";
|
|
262
262
|
moduleRef: "execution-runtime";
|
|
263
|
-
moduleVersion: "0.1.
|
|
263
|
+
moduleVersion: "0.1.1";
|
|
264
264
|
data: {
|
|
265
265
|
readiness: "READY" | "NOT_READY";
|
|
266
266
|
} | undefined;
|
|
@@ -272,7 +272,7 @@ export declare const behaviorAdapter: {
|
|
|
272
272
|
} | {
|
|
273
273
|
contract: "deployment.result.v1";
|
|
274
274
|
moduleRef: "execution-runtime";
|
|
275
|
-
moduleVersion: "0.1.
|
|
275
|
+
moduleVersion: "0.1.1";
|
|
276
276
|
ok: false;
|
|
277
277
|
status: "ACTION_REQUIRED";
|
|
278
278
|
actionRequired: {
|
|
@@ -296,7 +296,7 @@ export declare const behaviorAdapter: {
|
|
|
296
296
|
ok: true;
|
|
297
297
|
status: "SUCCEEDED";
|
|
298
298
|
moduleRef: "execution-runtime";
|
|
299
|
-
moduleVersion: "0.1.
|
|
299
|
+
moduleVersion: "0.1.1";
|
|
300
300
|
checks: {
|
|
301
301
|
id: string;
|
|
302
302
|
status: "FAIL" | "PASS";
|
|
@@ -305,7 +305,7 @@ export declare const behaviorAdapter: {
|
|
|
305
305
|
} | {
|
|
306
306
|
contract: "deployment.result.v1";
|
|
307
307
|
moduleRef: "execution-runtime";
|
|
308
|
-
moduleVersion: "0.1.
|
|
308
|
+
moduleVersion: "0.1.1";
|
|
309
309
|
ok: false;
|
|
310
310
|
status: "ACTION_REQUIRED";
|
|
311
311
|
actionRequired: {
|
|
@@ -320,7 +320,7 @@ export declare const behaviorAdapter: {
|
|
|
320
320
|
} | {
|
|
321
321
|
contract: "deployment.result.v1";
|
|
322
322
|
moduleRef: "execution-runtime";
|
|
323
|
-
moduleVersion: "0.1.
|
|
323
|
+
moduleVersion: "0.1.1";
|
|
324
324
|
ok: false;
|
|
325
325
|
status: "ACTION_REQUIRED";
|
|
326
326
|
actionRequired: {
|
|
@@ -341,7 +341,7 @@ export declare const behaviorAdapter: {
|
|
|
341
341
|
readonly ok: true;
|
|
342
342
|
readonly status: "SUCCEEDED";
|
|
343
343
|
readonly moduleRef: "execution-runtime";
|
|
344
|
-
readonly moduleVersion: "0.1.
|
|
344
|
+
readonly moduleVersion: "0.1.1";
|
|
345
345
|
};
|
|
346
346
|
observedEffects: never[];
|
|
347
347
|
};
|
|
@@ -349,7 +349,7 @@ export declare const behaviorAdapter: {
|
|
|
349
349
|
result: {
|
|
350
350
|
readonly contract: "deployment.result.v1";
|
|
351
351
|
readonly moduleRef: "execution-runtime";
|
|
352
|
-
readonly moduleVersion: "0.1.
|
|
352
|
+
readonly moduleVersion: "0.1.1";
|
|
353
353
|
readonly ok: false;
|
|
354
354
|
readonly status: "ACTION_REQUIRED";
|
|
355
355
|
readonly actionRequired: {
|
|
@@ -361,7 +361,7 @@ export declare const behaviorAdapter: {
|
|
|
361
361
|
ok: true;
|
|
362
362
|
status: "SUCCEEDED";
|
|
363
363
|
moduleRef: "execution-runtime";
|
|
364
|
-
moduleVersion: "0.1.
|
|
364
|
+
moduleVersion: "0.1.1";
|
|
365
365
|
data: {
|
|
366
366
|
host: string;
|
|
367
367
|
port: number;
|
|
@@ -375,11 +375,11 @@ export declare const behaviorAdapter: {
|
|
|
375
375
|
readonly ok: true;
|
|
376
376
|
readonly status: "SUCCEEDED";
|
|
377
377
|
readonly moduleRef: "execution-runtime";
|
|
378
|
-
readonly moduleVersion: "0.1.
|
|
378
|
+
readonly moduleVersion: "0.1.1";
|
|
379
379
|
} | {
|
|
380
380
|
readonly contract: "deployment.result.v1";
|
|
381
381
|
readonly moduleRef: "execution-runtime";
|
|
382
|
-
readonly moduleVersion: "0.1.
|
|
382
|
+
readonly moduleVersion: "0.1.1";
|
|
383
383
|
readonly ok: false;
|
|
384
384
|
readonly status: "ACTION_REQUIRED";
|
|
385
385
|
readonly actionRequired: {
|
|
@@ -395,11 +395,11 @@ export declare const behaviorAdapter: {
|
|
|
395
395
|
readonly ok: true;
|
|
396
396
|
readonly status: "SUCCEEDED";
|
|
397
397
|
readonly moduleRef: "execution-runtime";
|
|
398
|
-
readonly moduleVersion: "0.1.
|
|
398
|
+
readonly moduleVersion: "0.1.1";
|
|
399
399
|
} | {
|
|
400
400
|
readonly contract: "deployment.result.v1";
|
|
401
401
|
readonly moduleRef: "execution-runtime";
|
|
402
|
-
readonly moduleVersion: "0.1.
|
|
402
|
+
readonly moduleVersion: "0.1.1";
|
|
403
403
|
readonly ok: false;
|
|
404
404
|
readonly status: "ACTION_REQUIRED";
|
|
405
405
|
readonly actionRequired: {
|
|
@@ -413,7 +413,7 @@ export declare const behaviorAdapter: {
|
|
|
413
413
|
result: {
|
|
414
414
|
readonly contract: "deployment.result.v1";
|
|
415
415
|
readonly moduleRef: "execution-runtime";
|
|
416
|
-
readonly moduleVersion: "0.1.
|
|
416
|
+
readonly moduleVersion: "0.1.1";
|
|
417
417
|
readonly ok: false;
|
|
418
418
|
readonly status: "ACTION_REQUIRED";
|
|
419
419
|
readonly actionRequired: {
|
|
@@ -425,7 +425,7 @@ export declare const behaviorAdapter: {
|
|
|
425
425
|
ok: true;
|
|
426
426
|
status: "SUCCEEDED";
|
|
427
427
|
moduleRef: "execution-runtime";
|
|
428
|
-
moduleVersion: "0.1.
|
|
428
|
+
moduleVersion: "0.1.1";
|
|
429
429
|
data: {
|
|
430
430
|
host: string;
|
|
431
431
|
port: number;
|
|
@@ -3,7 +3,7 @@ export declare const descriptor: {
|
|
|
3
3
|
readonly contractVersion: "1.0.0";
|
|
4
4
|
readonly moduleRef: "execution-runtime";
|
|
5
5
|
readonly packageName: "@tomflow/proflow-execution-runtime";
|
|
6
|
-
readonly moduleVersion: "0.1.
|
|
6
|
+
readonly moduleVersion: "0.1.1";
|
|
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: "execution-runtime",
|
|
5
5
|
packageName: "@tomflow/proflow-execution-runtime",
|
|
6
|
-
moduleVersion: "0.1.
|
|
6
|
+
moduleVersion: "0.1.1",
|
|
7
7
|
kind: "service",
|
|
8
8
|
templateVersion: "1.0.0",
|
|
9
9
|
platformCompatibility: ">=1.0.0 <2.0.0",
|
package/dist/src/cli.js
CHANGED
|
@@ -3,15 +3,20 @@ import { spawnSync } from "node:child_process";
|
|
|
3
3
|
import { createFormalExecutionRuntimeLifecycle } from "./formal-process.js";
|
|
4
4
|
import { loadExecutionRuntimeProcessConfig } from "./service.js";
|
|
5
5
|
function installSelf() {
|
|
6
|
-
const executable = process.platform === "win32" ? "
|
|
6
|
+
const executable = process.platform === "win32" ? "platform.cmd" : "platform";
|
|
7
7
|
const result = spawnSync(executable, [
|
|
8
|
-
"--yes",
|
|
9
|
-
"@tomflow/proflow-platform-cli",
|
|
10
8
|
"install",
|
|
11
9
|
"@tomflow/proflow-execution-runtime",
|
|
10
|
+
"--workspace",
|
|
11
|
+
process.cwd(),
|
|
12
12
|
], { cwd: process.cwd(), env: process.env, stdio: "inherit" });
|
|
13
|
-
if (result.error)
|
|
13
|
+
if (result.error) {
|
|
14
|
+
if (result.error.code === "ENOENT") {
|
|
15
|
+
process.stderr.write("GLOBAL_PLATFORM_CLI_REQUIRED: install @tomflow/proflow-platform-cli globally before package-owned install\n");
|
|
16
|
+
process.exit(127);
|
|
17
|
+
}
|
|
14
18
|
throw result.error;
|
|
19
|
+
}
|
|
15
20
|
process.exit(result.status ?? 1);
|
|
16
21
|
}
|
|
17
22
|
async function main() {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tomflow/proflow-execution-runtime",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -22,13 +22,13 @@
|
|
|
22
22
|
"README.md"
|
|
23
23
|
],
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@tomflow/proflow-execution-
|
|
26
|
-
"@tomflow/proflow-execution-browser-extension": "^0.1.
|
|
27
|
-
"@tomflow/proflow-execution-
|
|
28
|
-
"@tomflow/proflow-model-contracts": "^0.1.
|
|
25
|
+
"@tomflow/proflow-execution-local": "^0.1.2",
|
|
26
|
+
"@tomflow/proflow-execution-browser-extension": "^0.1.2",
|
|
27
|
+
"@tomflow/proflow-execution-contracts": "^0.1.2",
|
|
28
|
+
"@tomflow/proflow-model-contracts": "^0.1.2"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
|
-
"@tomflow/proflow-deployment-conformance": "^0.1.
|
|
31
|
+
"@tomflow/proflow-deployment-conformance": "^0.1.2"
|
|
32
32
|
},
|
|
33
33
|
"description": "Durable, policy-controlled Execution Core orchestration over SQLite and controlled executor ports.",
|
|
34
34
|
"keywords": [
|
package/proflow.module.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"contractVersion": "1.0.0",
|
|
4
4
|
"moduleRef": "execution-runtime",
|
|
5
5
|
"packageName": "@tomflow/proflow-execution-runtime",
|
|
6
|
-
"moduleVersion": "0.1.
|
|
6
|
+
"moduleVersion": "0.1.1",
|
|
7
7
|
"kind": "service",
|
|
8
8
|
"templateVersion": "1.0.0",
|
|
9
9
|
"platformCompatibility": ">=1.0.0 <2.0.0",
|