@tomflow/proflow-task-orchestration 0.1.0 → 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.
@@ -5,7 +5,7 @@ export declare const behaviorAdapter: {
5
5
  readonly ok: true;
6
6
  readonly status: "SUCCEEDED";
7
7
  readonly moduleRef: "task-orchestration";
8
- readonly moduleVersion: "0.1.0";
8
+ readonly moduleVersion: "0.1.2";
9
9
  };
10
10
  observedEffects: never[];
11
11
  };
@@ -15,7 +15,21 @@ export declare const behaviorAdapter: {
15
15
  readonly ok: true;
16
16
  readonly status: "SUCCEEDED";
17
17
  readonly moduleRef: "task-orchestration";
18
- readonly moduleVersion: "0.1.0";
18
+ readonly moduleVersion: "0.1.2";
19
+ };
20
+ observedEffects: never[];
21
+ };
22
+ readonly status: () => {
23
+ result: {
24
+ contract: "deployment.result.v1";
25
+ ok: true;
26
+ status: "SUCCEEDED";
27
+ moduleRef: "task-orchestration";
28
+ moduleVersion: "0.1.2";
29
+ data: {
30
+ configStatus: "READY";
31
+ runtimeStatus: "UNKNOWN";
32
+ };
19
33
  };
20
34
  observedEffects: never[];
21
35
  };
@@ -25,7 +39,7 @@ export declare const behaviorAdapter: {
25
39
  ok: true;
26
40
  status: "SUCCEEDED";
27
41
  moduleRef: "task-orchestration";
28
- moduleVersion: "0.1.0";
42
+ moduleVersion: "0.1.2";
29
43
  checks: {
30
44
  id: string;
31
45
  status: string;
@@ -40,7 +54,7 @@ export declare const behaviorAdapter: {
40
54
  readonly ok: true;
41
55
  readonly status: "SUCCEEDED";
42
56
  readonly moduleRef: "task-orchestration";
43
- readonly moduleVersion: "0.1.0";
57
+ readonly moduleVersion: "0.1.2";
44
58
  };
45
59
  observedEffects: never[];
46
60
  };
@@ -9,6 +9,16 @@ const result = {
9
9
  export const behaviorAdapter = {
10
10
  describe: () => ({ result, observedEffects: [] }),
11
11
  preflight: () => ({ result, observedEffects: [] }),
12
+ status: () => ({
13
+ result: {
14
+ ...result,
15
+ data: {
16
+ configStatus: "READY",
17
+ runtimeStatus: "UNKNOWN",
18
+ },
19
+ },
20
+ observedEffects: [],
21
+ }),
12
22
  verify: () => ({
13
23
  result: {
14
24
  ...result,
@@ -3,11 +3,10 @@ export declare const descriptor: {
3
3
  readonly contractVersion: "1.0.0";
4
4
  readonly moduleRef: "task-orchestration";
5
5
  readonly packageName: "@tomflow/proflow-task-orchestration";
6
- readonly moduleVersion: "0.1.0";
6
+ readonly moduleVersion: "0.1.2";
7
7
  readonly kind: "library";
8
8
  readonly templateVersion: "1.0.0";
9
9
  readonly platformCompatibility: ">=1.0.0 <2.0.0";
10
- readonly installClass: "core";
11
10
  readonly identity: {
12
11
  readonly domain: "task-orchestration";
13
12
  readonly summary: "Owns the Task & Orchestration public contract, domain rules and application services.";
@@ -24,7 +23,7 @@ export declare const descriptor: {
24
23
  }];
25
24
  readonly configSlots: readonly [];
26
25
  readonly lifecycle: {
27
- readonly supported: readonly ["describe", "preflight", "verify", "doctor"];
26
+ readonly supported: readonly ["describe", "preflight", "status", "verify", "doctor"];
28
27
  };
29
28
  readonly verification: {
30
29
  readonly checks: readonly [{
@@ -3,11 +3,10 @@ export const descriptor = {
3
3
  contractVersion: "1.0.0",
4
4
  moduleRef: "task-orchestration",
5
5
  packageName: "@tomflow/proflow-task-orchestration",
6
- moduleVersion: "0.1.0",
6
+ moduleVersion: "0.1.2",
7
7
  kind: "library",
8
8
  templateVersion: "1.0.0",
9
9
  platformCompatibility: ">=1.0.0 <2.0.0",
10
- installClass: "core",
11
10
  identity: {
12
11
  domain: "task-orchestration",
13
12
  summary: "Owns the Task & Orchestration public contract, domain rules and application services.",
@@ -18,7 +17,9 @@ export const descriptor = {
18
17
  { kind: "runtime", runtime: "node", versionRange: ">=24.19.0" },
19
18
  ],
20
19
  configSlots: [],
21
- lifecycle: { supported: ["describe", "preflight", "verify", "doctor"] },
20
+ lifecycle: {
21
+ supported: ["describe", "preflight", "status", "verify", "doctor"],
22
+ },
22
23
  verification: {
23
24
  checks: [
24
25
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tomflow/proflow-task-orchestration",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -14,17 +14,16 @@
14
14
  "dist",
15
15
  "proflow.module.json",
16
16
  "conformance.json",
17
- "README.md",
18
- "self-install.mjs"
17
+ "README.md"
19
18
  ],
20
19
  "dependencies": {
21
20
  "zod": "4.1.12",
22
- "@tomflow/proflow-module-contract": "^0.1.0"
21
+ "@tomflow/proflow-module-contract": "^0.1.2"
23
22
  },
24
23
  "devDependencies": {
25
- "@tomflow/proflow-deployment-conformance": "^0.1.0",
26
- "@tomflow/proflow-task-migration-runner": "^0.1.0",
27
- "@tomflow/proflow-task-store-sqlite": "^0.1.0"
24
+ "@tomflow/proflow-deployment-conformance": "^0.1.3",
25
+ "@tomflow/proflow-task-migration-runner": "^0.1.3",
26
+ "@tomflow/proflow-task-store-sqlite": "^0.1.3"
28
27
  },
29
28
  "description": "Owns the Task & Orchestration public contract, domain rules and application services.",
30
29
  "keywords": [
@@ -34,16 +33,9 @@
34
33
  ],
35
34
  "proflow": {
36
35
  "module": true,
37
- "installClass": "core",
38
- "installRequires": [
39
- "@tomflow/proflow-module-contract"
40
- ],
41
36
  "descriptor": "./dist/deployment/descriptor.js",
42
37
  "manifest": "./proflow.module.json"
43
38
  },
44
- "bin": {
45
- "proflow-task-orchestration": "./self-install.mjs"
46
- },
47
39
  "scripts": {
48
40
  "test": "node --test tests/**/*.test.ts",
49
41
  "typecheck": "tsc --noEmit"
@@ -3,11 +3,10 @@
3
3
  "contractVersion": "1.0.0",
4
4
  "moduleRef": "task-orchestration",
5
5
  "packageName": "@tomflow/proflow-task-orchestration",
6
- "moduleVersion": "0.1.0",
6
+ "moduleVersion": "0.1.2",
7
7
  "kind": "library",
8
8
  "templateVersion": "1.0.0",
9
9
  "platformCompatibility": ">=1.0.0 <2.0.0",
10
- "installClass": "core",
11
10
  "identity": {
12
11
  "domain": "task-orchestration",
13
12
  "summary": "Owns the Task & Orchestration public contract, domain rules and application services."
@@ -28,7 +27,7 @@
28
27
  ],
29
28
  "configSlots": [],
30
29
  "lifecycle": {
31
- "supported": ["describe", "preflight", "verify", "doctor"]
30
+ "supported": ["describe", "preflight", "status", "verify", "doctor"]
32
31
  },
33
32
  "verification": {
34
33
  "checks": [
package/self-install.mjs DELETED
@@ -1,26 +0,0 @@
1
- #!/usr/bin/env node
2
- import { spawnSync } from "node:child_process";
3
-
4
- const [command, ...rest] = process.argv.slice(2);
5
- const usage = "Usage: npx @tomflow/proflow-task-orchestration install\n";
6
- if (command === "--help" || command === "-h") {
7
- process.stdout.write(usage);
8
- process.exit(0);
9
- }
10
- if (command !== "install" || rest.length > 0) {
11
- process.stderr.write(usage);
12
- process.exit(2);
13
- }
14
- const executable = process.platform === "win32" ? "npx.cmd" : "npx";
15
- const result = spawnSync(
16
- executable,
17
- [
18
- "--yes",
19
- "@tomflow/proflow-platform-cli",
20
- "install",
21
- "@tomflow/proflow-task-orchestration",
22
- ],
23
- { cwd: process.cwd(), env: process.env, stdio: "inherit" },
24
- );
25
- if (result.error) throw result.error;
26
- process.exit(result.status ?? 1);