@automate.ax/api-contract 0.52.0 → 0.53.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.
package/dist/index.d.ts CHANGED
@@ -1162,12 +1162,12 @@ export declare const contract: {
1162
1162
  eventDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
1163
1163
  signalDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
1164
1164
  slot: import("zod").ZodNumber;
1165
- continueFrom: import("zod").ZodOptional<import("zod").ZodString>;
1166
1165
  key: import("zod").ZodOptional<import("zod").ZodCustom<import("@automate.ax/codec").Encodable, import("@automate.ax/codec").Encodable>>;
1166
+ order: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
1167
1167
  outcomeSeq: import("zod").ZodNumber;
1168
1168
  streamName: import("zod").ZodString;
1169
1169
  streamNames: import("zod").ZodArray<import("zod").ZodString>;
1170
- value: import("zod").ZodOptional<import("zod").ZodCustom<import("@automate.ax/codec").Encodable, import("@automate.ax/codec").Encodable>>;
1170
+ ttl: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
1171
1171
  }, import("zod/v4/core").$strip>>>;
1172
1172
  settled: import("zod").ZodDefault<import("zod").ZodBoolean>;
1173
1173
  signalInvocations: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodUnion<readonly [import("zod").ZodObject<{
package/dist/runtime.d.ts CHANGED
@@ -228,12 +228,12 @@ export declare const runtimeContract: {
228
228
  eventDependencyIds: z.ZodArray<z.ZodString>;
229
229
  signalDependencyIds: z.ZodArray<z.ZodString>;
230
230
  slot: z.ZodNumber;
231
- continueFrom: z.ZodOptional<z.ZodString>;
232
231
  key: z.ZodOptional<z.ZodCustom<import("@automate.ax/codec").Encodable, import("@automate.ax/codec").Encodable>>;
232
+ order: z.ZodOptional<z.ZodArray<z.ZodString>>;
233
233
  outcomeSeq: z.ZodNumber;
234
234
  streamName: z.ZodString;
235
235
  streamNames: z.ZodArray<z.ZodString>;
236
- value: z.ZodOptional<z.ZodCustom<import("@automate.ax/codec").Encodable, import("@automate.ax/codec").Encodable>>;
236
+ ttl: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
237
237
  }, z.core.$strip>>>;
238
238
  settled: z.ZodDefault<z.ZodBoolean>;
239
239
  signalInvocations: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
package/dist/runtime.js CHANGED
@@ -112,12 +112,12 @@ const SIGNAL_INVOCATION_DEPENDENCIES_SCHEMA = z.object({
112
112
  slot: z.number().int().nonnegative(),
113
113
  });
114
114
  const CORRELATION_ENTRY_SCHEMA = SIGNAL_INVOCATION_DEPENDENCIES_SCHEMA.extend({
115
- continueFrom: z.string().min(1).optional(),
116
115
  key: encodableSchema,
116
+ order: z.string().min(1).array().min(2).optional(),
117
117
  outcomeSeq: OUTCOME_SEQUENCE_SCHEMA,
118
118
  streamName: z.string().min(1),
119
119
  streamNames: z.string().min(1).array().min(2),
120
- value: encodableSchema,
120
+ ttl: z.union([z.string().min(1), z.number().nonnegative()]).optional(),
121
121
  });
122
122
  const SIGNAL_INVOCATION_SCHEMA = z.union([
123
123
  SIGNAL_INVOCATION_DEPENDENCIES_SCHEMA.extend({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@automate.ax/api-contract",
3
- "version": "0.52.0",
3
+ "version": "0.53.0",
4
4
  "description": "Public oRPC contract for the Automate.ax API.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -28,7 +28,7 @@
28
28
  },
29
29
  "dependencies": {
30
30
  "@ai-sdk/gateway": "^4.0.46",
31
- "@automate.ax/codec": "0.52.0",
31
+ "@automate.ax/codec": "0.53.0",
32
32
  "@orpc/contract": "1.15.0",
33
33
  "zod": "^4.3.6"
34
34
  },
package/src/runtime.ts CHANGED
@@ -129,12 +129,12 @@ const SIGNAL_INVOCATION_DEPENDENCIES_SCHEMA = z.object({
129
129
  })
130
130
 
131
131
  const CORRELATION_ENTRY_SCHEMA = SIGNAL_INVOCATION_DEPENDENCIES_SCHEMA.extend({
132
- continueFrom: z.string().min(1).optional(),
133
132
  key: encodableSchema,
133
+ order: z.string().min(1).array().min(2).optional(),
134
134
  outcomeSeq: OUTCOME_SEQUENCE_SCHEMA,
135
135
  streamName: z.string().min(1),
136
136
  streamNames: z.string().min(1).array().min(2),
137
- value: encodableSchema,
137
+ ttl: z.union([z.string().min(1), z.number().nonnegative()]).optional(),
138
138
  })
139
139
 
140
140
  const SIGNAL_INVOCATION_SCHEMA = z.union([