@automate.ax/api-contract 0.99.2 → 0.99.5
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/dist/index.d.ts +4 -0
- package/dist/runtime.d.ts +4 -0
- package/dist/runtime.js +5 -0
- package/package.json +3 -3
- package/src/runtime.ts +5 -0
package/dist/index.d.ts
CHANGED
|
@@ -4066,6 +4066,10 @@ export declare const contract: {
|
|
|
4066
4066
|
selectedIndex: import("zod").ZodNumber;
|
|
4067
4067
|
status: import("zod").ZodLiteral<"succeeded">;
|
|
4068
4068
|
}, import("zod/v4/core").$strip>]>]>>;
|
|
4069
|
+
observedFrontier: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
4070
|
+
boundaryCount: import("zod").ZodNumber;
|
|
4071
|
+
outcomeSeq: import("zod").ZodNumber;
|
|
4072
|
+
}, import("zod/v4/core").$strip>>;
|
|
4069
4073
|
settled: import("zod").ZodBoolean;
|
|
4070
4074
|
signalInvocations: import("zod").ZodArray<import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
4071
4075
|
actionDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
package/dist/runtime.d.ts
CHANGED
|
@@ -1570,6 +1570,10 @@ export declare const runtimeContract: {
|
|
|
1570
1570
|
selectedIndex: z.ZodNumber;
|
|
1571
1571
|
status: z.ZodLiteral<"succeeded">;
|
|
1572
1572
|
}, z.core.$strip>]>]>>;
|
|
1573
|
+
observedFrontier: z.ZodOptional<z.ZodObject<{
|
|
1574
|
+
boundaryCount: z.ZodNumber;
|
|
1575
|
+
outcomeSeq: z.ZodNumber;
|
|
1576
|
+
}, z.core.$strip>>;
|
|
1573
1577
|
settled: z.ZodBoolean;
|
|
1574
1578
|
signalInvocations: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
1575
1579
|
actionDependencyIds: z.ZodArray<z.ZodString>;
|
package/dist/runtime.js
CHANGED
|
@@ -18,6 +18,10 @@ export const AUTOMATION_OBSERVABILITY_MAX_FIELDS = 64;
|
|
|
18
18
|
export const AUTOMATION_OBSERVABILITY_MAX_ENCODED_BYTES = 64 * 1_024;
|
|
19
19
|
export const AUTOMATION_LOG_MAX_MESSAGE_LENGTH = 16_384;
|
|
20
20
|
const OUTCOME_SEQUENCE_SCHEMA = z.number().int().positive();
|
|
21
|
+
const RUNTIME_FRONTIER_SCHEMA = z.object({
|
|
22
|
+
boundaryCount: z.number().int().nonnegative(),
|
|
23
|
+
outcomeSeq: z.number().int().nonnegative(),
|
|
24
|
+
});
|
|
21
25
|
const HOOK_SCOPE_PATH_SCHEMA = z.number().int().nonnegative().array();
|
|
22
26
|
export const runtimeObservabilityFieldsSchema = z
|
|
23
27
|
.record(z.string().min(1).max(128), encodableSchema)
|
|
@@ -876,6 +880,7 @@ export const runtimeContract = {
|
|
|
876
880
|
.input(z.object({
|
|
877
881
|
actionInvocations: ACTION_INVOCATION_SCHEMA.array(),
|
|
878
882
|
coordinationOffers: COORDINATION_OFFER_TRANSPORT_SCHEMA.array(),
|
|
883
|
+
observedFrontier: RUNTIME_FRONTIER_SCHEMA.optional(),
|
|
879
884
|
settled: z.boolean(),
|
|
880
885
|
signalInvocations: SIGNAL_INVOCATION_SCHEMA.array(),
|
|
881
886
|
}))
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@automate.ax/api-contract",
|
|
3
|
-
"version": "0.99.
|
|
3
|
+
"version": "0.99.5",
|
|
4
4
|
"description": "Public oRPC contract for the Automate.ax API.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -31,8 +31,8 @@
|
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"@ai-sdk/gateway": "4.0.46",
|
|
34
|
-
"@automate.ax/codec": "0.99.
|
|
35
|
-
"@automate.ax/integration-contracts": "0.99.
|
|
34
|
+
"@automate.ax/codec": "0.99.5",
|
|
35
|
+
"@automate.ax/integration-contracts": "0.99.5",
|
|
36
36
|
"@orpc/contract": "1.15.0",
|
|
37
37
|
"fast-json-stable-stringify": "^2.1.0",
|
|
38
38
|
"zod": "^4.3.6"
|
package/src/runtime.ts
CHANGED
|
@@ -33,6 +33,10 @@ export const AUTOMATION_OBSERVABILITY_MAX_ENCODED_BYTES = 64 * 1_024
|
|
|
33
33
|
export const AUTOMATION_LOG_MAX_MESSAGE_LENGTH = 16_384
|
|
34
34
|
|
|
35
35
|
const OUTCOME_SEQUENCE_SCHEMA = z.number().int().positive()
|
|
36
|
+
const RUNTIME_FRONTIER_SCHEMA = z.object({
|
|
37
|
+
boundaryCount: z.number().int().nonnegative(),
|
|
38
|
+
outcomeSeq: z.number().int().nonnegative(),
|
|
39
|
+
})
|
|
36
40
|
const HOOK_SCOPE_PATH_SCHEMA = z.number().int().nonnegative().array()
|
|
37
41
|
export const runtimeObservabilityFieldsSchema = z
|
|
38
42
|
.record(z.string().min(1).max(128), encodableSchema)
|
|
@@ -1065,6 +1069,7 @@ export const runtimeContract = {
|
|
|
1065
1069
|
z.object({
|
|
1066
1070
|
actionInvocations: ACTION_INVOCATION_SCHEMA.array(),
|
|
1067
1071
|
coordinationOffers: COORDINATION_OFFER_TRANSPORT_SCHEMA.array(),
|
|
1072
|
+
observedFrontier: RUNTIME_FRONTIER_SCHEMA.optional(),
|
|
1068
1073
|
settled: z.boolean(),
|
|
1069
1074
|
signalInvocations: SIGNAL_INVOCATION_SCHEMA.array(),
|
|
1070
1075
|
}),
|