@catamorphic/fastify-plugin 0.1.0-alpha.32 → 0.1.0-alpha.36

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.js CHANGED
@@ -1276,6 +1276,12 @@ var TurnErrorSchema = describes()(z.object({
1276
1276
  kind: z.enum(["auth", "rate_limit", "unavailable", "model_incompat"]).optional(),
1277
1277
  retrySafe: z.boolean().optional()
1278
1278
  }));
1279
+ var ProviderRetrySchema = z.object({
1280
+ error: TurnErrorSchema.omit({ retrySafe: true }),
1281
+ attempt: z.number().int().positive().nullable(),
1282
+ maxAttempts: z.number().int().positive().nullable(),
1283
+ retryAt: z.string().nullable()
1284
+ });
1279
1285
  var AgentTurnUsageSchema = describes()(z.object({
1280
1286
  model: z.string().optional(),
1281
1287
  inputTokens: z.number().optional(),
@@ -1316,6 +1322,7 @@ var TurnSchema = describes()(z.object({
1316
1322
  priority: z.number(),
1317
1323
  activity: z.string().nullable(),
1318
1324
  activityAt: z.string().nullable(),
1325
+ providerRetry: ProviderRetrySchema.nullable(),
1319
1326
  attemptCount: z.number().int(),
1320
1327
  activeAttemptId: z.string().nullable(),
1321
1328
  providerThreadId: z.string().nullable(),
@@ -10910,5 +10917,5 @@ export {
10910
10917
  serveSpaDist
10911
10918
  };
10912
10919
 
10913
- //# debugId=9F70713B254AE84764756E2164756E21
10920
+ //# debugId=7A02B8B0343F43C764756E2164756E21
10914
10921
  //# sourceMappingURL=index.js.map