@tomflow/proflow-platform-host 0.1.20 → 0.1.22

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.
@@ -6,7 +6,7 @@ export declare const behaviorAdapter: {
6
6
  ok: true;
7
7
  status: "SUCCEEDED";
8
8
  moduleRef: "platform-host";
9
- moduleVersion: "0.1.20";
9
+ moduleVersion: "0.1.22";
10
10
  data: {
11
11
  endpoint: string;
12
12
  stateRoot: string;
@@ -24,7 +24,7 @@ export declare const behaviorAdapter: {
24
24
  readonly ok: true;
25
25
  readonly status: "SUCCEEDED";
26
26
  readonly moduleRef: "platform-host";
27
- readonly moduleVersion: "0.1.20";
27
+ readonly moduleVersion: "0.1.22";
28
28
  };
29
29
  observedEffects: string[];
30
30
  }>;
@@ -34,7 +34,7 @@ export declare const behaviorAdapter: {
34
34
  ok: true;
35
35
  status: "SUCCEEDED";
36
36
  moduleRef: "platform-host";
37
- moduleVersion: "0.1.20";
37
+ moduleVersion: "0.1.22";
38
38
  data: {
39
39
  setupStatus: "READY";
40
40
  runtimeStatus: "RUNNING" | "STOPPED";
@@ -55,7 +55,7 @@ export declare const behaviorAdapter: {
55
55
  ok: true;
56
56
  status: "SUCCEEDED";
57
57
  moduleRef: "platform-host";
58
- moduleVersion: "0.1.20";
58
+ moduleVersion: "0.1.22";
59
59
  data: {
60
60
  endpoint: string;
61
61
  stateRoot: string;
@@ -73,7 +73,7 @@ export declare const behaviorAdapter: {
73
73
  ok: true;
74
74
  status: "SUCCEEDED";
75
75
  moduleRef: "platform-host";
76
- moduleVersion: "0.1.20";
76
+ moduleVersion: "0.1.22";
77
77
  data: {
78
78
  docs: string;
79
79
  };
@@ -86,7 +86,7 @@ export declare const behaviorAdapter: {
86
86
  ok: true;
87
87
  status: "SUCCEEDED";
88
88
  moduleRef: "platform-host";
89
- moduleVersion: "0.1.20";
89
+ moduleVersion: "0.1.22";
90
90
  data: {
91
91
  host: string;
92
92
  port: number;
@@ -97,7 +97,7 @@ export declare const behaviorAdapter: {
97
97
  result: {
98
98
  contract: "deployment.result.v1";
99
99
  moduleRef: "platform-host";
100
- moduleVersion: "0.1.20";
100
+ moduleVersion: "0.1.22";
101
101
  ok: false;
102
102
  status: "FAILED";
103
103
  error: {
@@ -114,7 +114,7 @@ export declare const behaviorAdapter: {
114
114
  readonly ok: true;
115
115
  readonly status: "SUCCEEDED";
116
116
  readonly moduleRef: "platform-host";
117
- readonly moduleVersion: "0.1.20";
117
+ readonly moduleVersion: "0.1.22";
118
118
  };
119
119
  observedEffects: string[];
120
120
  } | {
@@ -123,11 +123,11 @@ export declare const behaviorAdapter: {
123
123
  readonly ok: true;
124
124
  readonly status: "SUCCEEDED";
125
125
  readonly moduleRef: "platform-host";
126
- readonly moduleVersion: "0.1.20";
126
+ readonly moduleVersion: "0.1.22";
127
127
  } | {
128
128
  contract: "deployment.result.v1";
129
129
  moduleRef: "platform-host";
130
- moduleVersion: "0.1.20";
130
+ moduleVersion: "0.1.22";
131
131
  ok: false;
132
132
  status: "FAILED";
133
133
  error: {
@@ -3,7 +3,7 @@ export declare const descriptor: {
3
3
  readonly contractVersion: "1.0.0";
4
4
  readonly moduleRef: "platform-host";
5
5
  readonly packageName: "@tomflow/proflow-platform-host";
6
- readonly moduleVersion: "0.1.20";
6
+ readonly moduleVersion: "0.1.22";
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: "platform-host",
5
5
  packageName: "@tomflow/proflow-platform-host",
6
- moduleVersion: "0.1.20",
6
+ moduleVersion: "0.1.22",
7
7
  kind: "service",
8
8
  templateVersion: "1.0.0",
9
9
  platformCompatibility: ">=1.0.0 <2.0.0",
package/dist/src/index.js CHANGED
@@ -4,7 +4,7 @@ import { appendFile, chmod, mkdir, readFile, stat, writeFile, } from "node:fs/pr
4
4
  import { createServer } from "node:http";
5
5
  import { basename, dirname, isAbsolute, join, resolve } from "node:path";
6
6
  import { createAgentRuntime } from "@tomflow/proflow-agent-runtime";
7
- import { executionCapabilityIds, } from "@tomflow/proflow-execution-contracts";
7
+ import { executionCapabilityIds, executionCapabilityInputJsonSchemas, } from "@tomflow/proflow-execution-contracts";
8
8
  import { applyMigrations } from "@tomflow/proflow-task-migration-runner";
9
9
  import { createTaskServices, publicOperationNames, } from "@tomflow/proflow-task-orchestration";
10
10
  import { SqliteTaskStore } from "@tomflow/proflow-task-store-sqlite";
@@ -726,9 +726,21 @@ async function constructGraph(config, executionCredential, modelCredential) {
726
726
  return fileBridgeOutputForTaskResult(taskResult);
727
727
  if (operationId === "getNodeContext" &&
728
728
  roleOperations[role.agentPackageRef]?.has("executeCapability")) {
729
+ const nodeContext = object(taskResult, "node context result");
730
+ const nodeContextData = object(nodeContext.data, "node context data");
731
+ const taskContext = object(nodeContextData.task, "node context task");
732
+ const executionNodeContext = object(nodeContextData.node, "node context node");
729
733
  return {
730
- ...object(taskResult, "node context"),
734
+ ...nodeContext,
731
735
  executionCapabilityIds: [...executionCapabilityIds],
736
+ executionCapabilityInputSchemas: executionCapabilityInputJsonSchemas,
737
+ executionRequestContext: {
738
+ contract: "execution",
739
+ contractVersion: "1.0.0",
740
+ taskId: string(taskContext.taskId, "task.taskId"),
741
+ nodeId: string(executionNodeContext.nodeId, "node.nodeId"),
742
+ runNo: positiveInteger(executionNodeContext.runNo, "node.runNo"),
743
+ },
732
744
  };
733
745
  }
734
746
  return taskResult;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tomflow/proflow-platform-host",
3
- "version": "0.1.20",
3
+ "version": "0.1.22",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -24,19 +24,19 @@
24
24
  ],
25
25
  "dependencies": {
26
26
  "zod": "4.1.12",
27
- "@tomflow/proflow-execution-contracts": "^0.1.10",
28
- "@tomflow/proflow-task-store-sqlite": "^0.1.11",
27
+ "@tomflow/proflow-execution-contracts": "^0.1.11",
28
+ "@tomflow/proflow-agent-runtime": "^0.1.14",
29
29
  "@tomflow/proflow-execution-browser-extension": "^0.1.50",
30
- "@tomflow/proflow-task-orchestration": "^0.1.11",
31
30
  "@tomflow/proflow-module-contract": "^0.1.13",
32
- "@tomflow/proflow-task-migration-runner": "^0.1.11",
33
- "@tomflow/proflow-agent-runtime": "^0.1.14"
31
+ "@tomflow/proflow-task-orchestration": "^0.1.11",
32
+ "@tomflow/proflow-task-store-sqlite": "^0.1.11",
33
+ "@tomflow/proflow-task-migration-runner": "^0.1.11"
34
34
  },
35
35
  "devDependencies": {
36
- "@tomflow/proflow-agent-gateway": "^0.1.16",
36
+ "@tomflow/proflow-deployment-conformance": "^0.1.13",
37
37
  "@tomflow/proflow-model-runtime": "^0.1.24",
38
38
  "@tomflow/proflow-execution-runtime": "^0.1.18",
39
- "@tomflow/proflow-deployment-conformance": "^0.1.13"
39
+ "@tomflow/proflow-agent-gateway": "^0.1.16"
40
40
  },
41
41
  "description": "Provides the ProFlow local application composition root that binds Task, Agent, Execution and Model owner transports.",
42
42
  "keywords": [
@@ -3,7 +3,7 @@
3
3
  "contractVersion": "1.0.0",
4
4
  "moduleRef": "platform-host",
5
5
  "packageName": "@tomflow/proflow-platform-host",
6
- "moduleVersion": "0.1.20",
6
+ "moduleVersion": "0.1.22",
7
7
  "kind": "service",
8
8
  "templateVersion": "1.0.0",
9
9
  "platformCompatibility": ">=1.0.0 <2.0.0",