nemo-fabric-adapter-contract 0.5.0-beta.3 → 0.5.0
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.
|
@@ -4,6 +4,11 @@ import type { JsonObject } from "../json.js";
|
|
|
4
4
|
*/
|
|
5
5
|
export interface RuntimeContext {
|
|
6
6
|
artifacts: ArtifactManifest;
|
|
7
|
+
/**
|
|
8
|
+
* Unix time in milliseconds by which the adapter should return its result.
|
|
9
|
+
* Present on every invocation, shortly before Fabric's own invocation timeout.
|
|
10
|
+
*/
|
|
11
|
+
deadline_millis?: number | null;
|
|
7
12
|
environment: EnvironmentHandle;
|
|
8
13
|
/**
|
|
9
14
|
* Invocation handle id.
|
package/package.json
CHANGED
|
@@ -15,6 +15,13 @@
|
|
|
15
15
|
},
|
|
16
16
|
"input": {
|
|
17
17
|
"description": "Request payload for the adapter target."
|
|
18
|
+
},
|
|
19
|
+
"relay_session_root": {
|
|
20
|
+
"description": "UUID propagation root shared across conversation turns.",
|
|
21
|
+
"type": [
|
|
22
|
+
"string",
|
|
23
|
+
"null"
|
|
24
|
+
]
|
|
18
25
|
}
|
|
19
26
|
},
|
|
20
27
|
"required": [
|
|
@@ -189,6 +189,15 @@
|
|
|
189
189
|
"$ref": "#/$defs/ArtifactManifest",
|
|
190
190
|
"description": "Artifact manifest visible to the adapter at invocation start."
|
|
191
191
|
},
|
|
192
|
+
"deadline_millis": {
|
|
193
|
+
"description": "Unix time in milliseconds by which the adapter should return its result.\nPresent on every invocation, shortly before Fabric's own invocation timeout.",
|
|
194
|
+
"format": "uint64",
|
|
195
|
+
"minimum": 0,
|
|
196
|
+
"type": [
|
|
197
|
+
"integer",
|
|
198
|
+
"null"
|
|
199
|
+
]
|
|
200
|
+
},
|
|
192
201
|
"environment": {
|
|
193
202
|
"$ref": "#/$defs/EnvironmentHandle",
|
|
194
203
|
"description": "Prepared execution environment."
|