@opencode/schema 0.0.0-dev-21362 → 0.0.0-dev-21366

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.
@@ -2043,6 +2043,7 @@ export declare const ServerDefinitions: readonly [Schema.Struct<{
2043
2043
  }>>>, Schema.optionalKey<Schema.Struct<{
2044
2044
  readonly body: Schema.String;
2045
2045
  }>>, never, never>;
2046
+ readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
2046
2047
  }>;
2047
2048
  }>;
2048
2049
  }> & {
@@ -2066,6 +2067,7 @@ export declare const ServerDefinitions: readonly [Schema.Struct<{
2066
2067
  }>>>, Schema.optionalKey<Schema.Struct<{
2067
2068
  readonly body: Schema.String;
2068
2069
  }>>, never, never>;
2070
+ readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
2069
2071
  }>;
2070
2072
  }>;
2071
2073
  }, Schema.Struct<{
@@ -2783,6 +2785,7 @@ export declare const ServerDefinitions: readonly [Schema.Struct<{
2783
2785
  }>>>, Schema.optionalKey<Schema.Struct<{
2784
2786
  readonly body: Schema.String;
2785
2787
  }>>, never, never>;
2788
+ readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
2786
2789
  }>;
2787
2790
  readonly finish: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["content-filter"]>>>, Schema.optionalKey<Schema.Literals<readonly ["content-filter"]>>, never, never>;
2788
2791
  readonly rawFinish: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
@@ -2837,6 +2840,7 @@ export declare const ServerDefinitions: readonly [Schema.Struct<{
2837
2840
  }>>>, Schema.optionalKey<Schema.Struct<{
2838
2841
  readonly body: Schema.String;
2839
2842
  }>>, never, never>;
2843
+ readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
2840
2844
  }>;
2841
2845
  readonly finish: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["content-filter"]>>>, Schema.optionalKey<Schema.Literals<readonly ["content-filter"]>>, never, never>;
2842
2846
  readonly rawFinish: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
@@ -3656,6 +3660,7 @@ export declare const ServerDefinitions: readonly [Schema.Struct<{
3656
3660
  }>>>, Schema.optionalKey<Schema.Struct<{
3657
3661
  readonly body: Schema.String;
3658
3662
  }>>, never, never>;
3663
+ readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
3659
3664
  }>;
3660
3665
  readonly content: Schema.decodeTo<Schema.optional<Schema.toType<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
3661
3666
  readonly type: Schema.Literal<"text">;
@@ -3704,6 +3709,7 @@ export declare const ServerDefinitions: readonly [Schema.Struct<{
3704
3709
  }>>>, Schema.optionalKey<Schema.Struct<{
3705
3710
  readonly body: Schema.String;
3706
3711
  }>>, never, never>;
3712
+ readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
3707
3713
  }>;
3708
3714
  readonly content: Schema.decodeTo<Schema.optional<Schema.toType<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
3709
3715
  readonly type: Schema.Literal<"text">;
@@ -3777,6 +3783,7 @@ export declare const ServerDefinitions: readonly [Schema.Struct<{
3777
3783
  }>>>, Schema.optionalKey<Schema.Struct<{
3778
3784
  readonly body: Schema.String;
3779
3785
  }>>, never, never>;
3786
+ readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
3780
3787
  }>;
3781
3788
  }>;
3782
3789
  }> & {
@@ -3806,6 +3813,7 @@ export declare const ServerDefinitions: readonly [Schema.Struct<{
3806
3813
  }>>>, Schema.optionalKey<Schema.Struct<{
3807
3814
  readonly body: Schema.String;
3808
3815
  }>>, never, never>;
3816
+ readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
3809
3817
  }>;
3810
3818
  }>;
3811
3819
  }, Schema.Struct<{
@@ -4154,6 +4162,7 @@ export declare const ServerDefinitions: readonly [Schema.Struct<{
4154
4162
  }>>>, Schema.optionalKey<Schema.Struct<{
4155
4163
  readonly body: Schema.String;
4156
4164
  }>>, never, never>;
4165
+ readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
4157
4166
  }>;
4158
4167
  readonly inputID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Session.Message.ID"> & {
4159
4168
  create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
@@ -4207,6 +4216,7 @@ export declare const ServerDefinitions: readonly [Schema.Struct<{
4207
4216
  }>>>, Schema.optionalKey<Schema.Struct<{
4208
4217
  readonly body: Schema.String;
4209
4218
  }>>, never, never>;
4219
+ readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
4210
4220
  }>;
4211
4221
  readonly inputID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Session.Message.ID"> & {
4212
4222
  create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
@@ -8383,6 +8393,7 @@ export declare const Definitions: readonly [Schema.Struct<{
8383
8393
  }>>>, Schema.optionalKey<Schema.Struct<{
8384
8394
  readonly body: Schema.String;
8385
8395
  }>>, never, never>;
8396
+ readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
8386
8397
  }>;
8387
8398
  }>;
8388
8399
  }> & {
@@ -8406,6 +8417,7 @@ export declare const Definitions: readonly [Schema.Struct<{
8406
8417
  }>>>, Schema.optionalKey<Schema.Struct<{
8407
8418
  readonly body: Schema.String;
8408
8419
  }>>, never, never>;
8420
+ readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
8409
8421
  }>;
8410
8422
  }>;
8411
8423
  }, Schema.Struct<{
@@ -9123,6 +9135,7 @@ export declare const Definitions: readonly [Schema.Struct<{
9123
9135
  }>>>, Schema.optionalKey<Schema.Struct<{
9124
9136
  readonly body: Schema.String;
9125
9137
  }>>, never, never>;
9138
+ readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
9126
9139
  }>;
9127
9140
  readonly finish: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["content-filter"]>>>, Schema.optionalKey<Schema.Literals<readonly ["content-filter"]>>, never, never>;
9128
9141
  readonly rawFinish: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
@@ -9177,6 +9190,7 @@ export declare const Definitions: readonly [Schema.Struct<{
9177
9190
  }>>>, Schema.optionalKey<Schema.Struct<{
9178
9191
  readonly body: Schema.String;
9179
9192
  }>>, never, never>;
9193
+ readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
9180
9194
  }>;
9181
9195
  readonly finish: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["content-filter"]>>>, Schema.optionalKey<Schema.Literals<readonly ["content-filter"]>>, never, never>;
9182
9196
  readonly rawFinish: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
@@ -9996,6 +10010,7 @@ export declare const Definitions: readonly [Schema.Struct<{
9996
10010
  }>>>, Schema.optionalKey<Schema.Struct<{
9997
10011
  readonly body: Schema.String;
9998
10012
  }>>, never, never>;
10013
+ readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
9999
10014
  }>;
10000
10015
  readonly content: Schema.decodeTo<Schema.optional<Schema.toType<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
10001
10016
  readonly type: Schema.Literal<"text">;
@@ -10044,6 +10059,7 @@ export declare const Definitions: readonly [Schema.Struct<{
10044
10059
  }>>>, Schema.optionalKey<Schema.Struct<{
10045
10060
  readonly body: Schema.String;
10046
10061
  }>>, never, never>;
10062
+ readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
10047
10063
  }>;
10048
10064
  readonly content: Schema.decodeTo<Schema.optional<Schema.toType<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
10049
10065
  readonly type: Schema.Literal<"text">;
@@ -10117,6 +10133,7 @@ export declare const Definitions: readonly [Schema.Struct<{
10117
10133
  }>>>, Schema.optionalKey<Schema.Struct<{
10118
10134
  readonly body: Schema.String;
10119
10135
  }>>, never, never>;
10136
+ readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
10120
10137
  }>;
10121
10138
  }>;
10122
10139
  }> & {
@@ -10146,6 +10163,7 @@ export declare const Definitions: readonly [Schema.Struct<{
10146
10163
  }>>>, Schema.optionalKey<Schema.Struct<{
10147
10164
  readonly body: Schema.String;
10148
10165
  }>>, never, never>;
10166
+ readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
10149
10167
  }>;
10150
10168
  }>;
10151
10169
  }, Schema.Struct<{
@@ -10494,6 +10512,7 @@ export declare const Definitions: readonly [Schema.Struct<{
10494
10512
  }>>>, Schema.optionalKey<Schema.Struct<{
10495
10513
  readonly body: Schema.String;
10496
10514
  }>>, never, never>;
10515
+ readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
10497
10516
  }>;
10498
10517
  readonly inputID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Session.Message.ID"> & {
10499
10518
  create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
@@ -10547,6 +10566,7 @@ export declare const Definitions: readonly [Schema.Struct<{
10547
10566
  }>>>, Schema.optionalKey<Schema.Struct<{
10548
10567
  readonly body: Schema.String;
10549
10568
  }>>, never, never>;
10569
+ readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
10550
10570
  }>;
10551
10571
  readonly inputID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Session.Message.ID"> & {
10552
10572
  create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
@@ -11,4 +11,6 @@ export declare const Error: Schema.Struct<{
11
11
  }>>>, Schema.optionalKey<Schema.Struct<{
12
12
  readonly body: Schema.String;
13
13
  }>>, never, never>;
14
+ /** How long the provider asked to wait before trying again, counted from when the failure was recorded. */
15
+ readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
14
16
  }>;
@@ -1,9 +1,11 @@
1
1
  export * as SessionError from "./session-error.js";
2
2
  import { Schema } from "effect";
3
- import { optional } from "./schema.js";
3
+ import { NonNegativeInt, optional } from "./schema.js";
4
4
  export const Error = Schema.Struct({
5
5
  type: Schema.String,
6
6
  message: Schema.String,
7
7
  status: Schema.Int.check(Schema.isBetween({ minimum: 100, maximum: 599 })).pipe(optional),
8
8
  response: Schema.Struct({ body: Schema.String }).pipe(optional),
9
+ /** How long the provider asked to wait before trying again, counted from when the failure was recorded. */
10
+ retryAfterMs: NonNegativeInt.pipe(optional),
9
11
  }).annotate({ identifier: "Session.StructuredError" });
@@ -969,6 +969,7 @@ export declare const MessageContentUpdated: Schema.Struct<{
969
969
  }>>>, Schema.optionalKey<Schema.Struct<{
970
970
  readonly body: Schema.String;
971
971
  }>>, never, never>;
972
+ readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
972
973
  }>;
973
974
  readonly content: Schema.decodeTo<Schema.optional<Schema.toType<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
974
975
  readonly type: Schema.Literal<"text">;
@@ -1065,6 +1066,7 @@ export declare const MessageContentUpdated: Schema.Struct<{
1065
1066
  }>>>, Schema.optionalKey<Schema.Struct<{
1066
1067
  readonly body: Schema.String;
1067
1068
  }>>, never, never>;
1069
+ readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
1068
1070
  }>;
1069
1071
  readonly content: Schema.decodeTo<Schema.optional<Schema.toType<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
1070
1072
  readonly type: Schema.Literal<"text">;
@@ -2122,6 +2124,7 @@ export declare namespace Execution {
2122
2124
  }>>>, Schema.optionalKey<Schema.Struct<{
2123
2125
  readonly body: Schema.String;
2124
2126
  }>>, never, never>;
2127
+ readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
2125
2128
  }>;
2126
2129
  }>;
2127
2130
  }> & {
@@ -2145,6 +2148,7 @@ export declare namespace Execution {
2145
2148
  }>>>, Schema.optionalKey<Schema.Struct<{
2146
2149
  readonly body: Schema.String;
2147
2150
  }>>, never, never>;
2151
+ readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
2148
2152
  }>;
2149
2153
  }>;
2150
2154
  };
@@ -2899,6 +2903,7 @@ export declare namespace Step {
2899
2903
  }>>>, Schema.optionalKey<Schema.Struct<{
2900
2904
  readonly body: Schema.String;
2901
2905
  }>>, never, never>;
2906
+ readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
2902
2907
  }>;
2903
2908
  readonly finish: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["content-filter"]>>>, Schema.optionalKey<Schema.Literals<readonly ["content-filter"]>>, never, never>;
2904
2909
  readonly rawFinish: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
@@ -2953,6 +2958,7 @@ export declare namespace Step {
2953
2958
  }>>>, Schema.optionalKey<Schema.Struct<{
2954
2959
  readonly body: Schema.String;
2955
2960
  }>>, never, never>;
2961
+ readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
2956
2962
  }>;
2957
2963
  readonly finish: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["content-filter"]>>>, Schema.optionalKey<Schema.Literals<readonly ["content-filter"]>>, never, never>;
2958
2964
  readonly rawFinish: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
@@ -3813,6 +3819,7 @@ export declare namespace Tool {
3813
3819
  }>>>, Schema.optionalKey<Schema.Struct<{
3814
3820
  readonly body: Schema.String;
3815
3821
  }>>, never, never>;
3822
+ readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
3816
3823
  }>;
3817
3824
  readonly content: Schema.decodeTo<Schema.optional<Schema.toType<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
3818
3825
  readonly type: Schema.Literal<"text">;
@@ -3861,6 +3868,7 @@ export declare namespace Tool {
3861
3868
  }>>>, Schema.optionalKey<Schema.Struct<{
3862
3869
  readonly body: Schema.String;
3863
3870
  }>>, never, never>;
3871
+ readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
3864
3872
  }>;
3865
3873
  readonly content: Schema.decodeTo<Schema.optional<Schema.toType<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
3866
3874
  readonly type: Schema.Literal<"text">;
@@ -3937,6 +3945,7 @@ export declare const RetryScheduled: Schema.Struct<{
3937
3945
  }>>>, Schema.optionalKey<Schema.Struct<{
3938
3946
  readonly body: Schema.String;
3939
3947
  }>>, never, never>;
3948
+ readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
3940
3949
  }>;
3941
3950
  }>;
3942
3951
  }> & {
@@ -3966,6 +3975,7 @@ export declare const RetryScheduled: Schema.Struct<{
3966
3975
  }>>>, Schema.optionalKey<Schema.Struct<{
3967
3976
  readonly body: Schema.String;
3968
3977
  }>>, never, never>;
3978
+ readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
3969
3979
  }>;
3970
3980
  }>;
3971
3981
  };
@@ -4323,6 +4333,7 @@ export declare namespace Compaction {
4323
4333
  }>>>, Schema.optionalKey<Schema.Struct<{
4324
4334
  readonly body: Schema.String;
4325
4335
  }>>, never, never>;
4336
+ readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
4326
4337
  }>;
4327
4338
  readonly inputID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Session.Message.ID"> & {
4328
4339
  create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
@@ -4376,6 +4387,7 @@ export declare namespace Compaction {
4376
4387
  }>>>, Schema.optionalKey<Schema.Struct<{
4377
4388
  readonly body: Schema.String;
4378
4389
  }>>, never, never>;
4390
+ readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
4379
4391
  }>;
4380
4392
  readonly inputID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Session.Message.ID"> & {
4381
4393
  create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
@@ -6394,6 +6406,7 @@ export declare const Definitions: readonly [Schema.Struct<{
6394
6406
  }>>>, Schema.optionalKey<Schema.Struct<{
6395
6407
  readonly body: Schema.String;
6396
6408
  }>>, never, never>;
6409
+ readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
6397
6410
  }>;
6398
6411
  }>;
6399
6412
  }> & {
@@ -6417,6 +6430,7 @@ export declare const Definitions: readonly [Schema.Struct<{
6417
6430
  }>>>, Schema.optionalKey<Schema.Struct<{
6418
6431
  readonly body: Schema.String;
6419
6432
  }>>, never, never>;
6433
+ readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
6420
6434
  }>;
6421
6435
  }>;
6422
6436
  }, Schema.Struct<{
@@ -7144,6 +7158,7 @@ export declare const Definitions: readonly [Schema.Struct<{
7144
7158
  }>>>, Schema.optionalKey<Schema.Struct<{
7145
7159
  readonly body: Schema.String;
7146
7160
  }>>, never, never>;
7161
+ readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
7147
7162
  }>;
7148
7163
  readonly finish: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["content-filter"]>>>, Schema.optionalKey<Schema.Literals<readonly ["content-filter"]>>, never, never>;
7149
7164
  readonly rawFinish: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
@@ -7198,6 +7213,7 @@ export declare const Definitions: readonly [Schema.Struct<{
7198
7213
  }>>>, Schema.optionalKey<Schema.Struct<{
7199
7214
  readonly body: Schema.String;
7200
7215
  }>>, never, never>;
7216
+ readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
7201
7217
  }>;
7202
7218
  readonly finish: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["content-filter"]>>>, Schema.optionalKey<Schema.Literals<readonly ["content-filter"]>>, never, never>;
7203
7219
  readonly rawFinish: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
@@ -8017,6 +8033,7 @@ export declare const Definitions: readonly [Schema.Struct<{
8017
8033
  }>>>, Schema.optionalKey<Schema.Struct<{
8018
8034
  readonly body: Schema.String;
8019
8035
  }>>, never, never>;
8036
+ readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
8020
8037
  }>;
8021
8038
  readonly content: Schema.decodeTo<Schema.optional<Schema.toType<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
8022
8039
  readonly type: Schema.Literal<"text">;
@@ -8065,6 +8082,7 @@ export declare const Definitions: readonly [Schema.Struct<{
8065
8082
  }>>>, Schema.optionalKey<Schema.Struct<{
8066
8083
  readonly body: Schema.String;
8067
8084
  }>>, never, never>;
8085
+ readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
8068
8086
  }>;
8069
8087
  readonly content: Schema.decodeTo<Schema.optional<Schema.toType<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
8070
8088
  readonly type: Schema.Literal<"text">;
@@ -8138,6 +8156,7 @@ export declare const Definitions: readonly [Schema.Struct<{
8138
8156
  }>>>, Schema.optionalKey<Schema.Struct<{
8139
8157
  readonly body: Schema.String;
8140
8158
  }>>, never, never>;
8159
+ readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
8141
8160
  }>;
8142
8161
  }>;
8143
8162
  }> & {
@@ -8167,6 +8186,7 @@ export declare const Definitions: readonly [Schema.Struct<{
8167
8186
  }>>>, Schema.optionalKey<Schema.Struct<{
8168
8187
  readonly body: Schema.String;
8169
8188
  }>>, never, never>;
8189
+ readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
8170
8190
  }>;
8171
8191
  }>;
8172
8192
  }, Schema.Struct<{
@@ -8515,6 +8535,7 @@ export declare const Definitions: readonly [Schema.Struct<{
8515
8535
  }>>>, Schema.optionalKey<Schema.Struct<{
8516
8536
  readonly body: Schema.String;
8517
8537
  }>>, never, never>;
8538
+ readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
8518
8539
  }>;
8519
8540
  readonly inputID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Session.Message.ID"> & {
8520
8541
  create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
@@ -8568,6 +8589,7 @@ export declare const Definitions: readonly [Schema.Struct<{
8568
8589
  }>>>, Schema.optionalKey<Schema.Struct<{
8569
8590
  readonly body: Schema.String;
8570
8591
  }>>, never, never>;
8592
+ readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
8571
8593
  }>;
8572
8594
  readonly inputID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Session.Message.ID"> & {
8573
8595
  create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
@@ -9140,6 +9162,7 @@ export declare const DurableDefinitions: readonly [...((Schema.Struct<{
9140
9162
  }>>>, Schema.optionalKey<Schema.Struct<{
9141
9163
  readonly body: Schema.String;
9142
9164
  }>>, never, never>;
9165
+ readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
9143
9166
  }>;
9144
9167
  readonly inputID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Session.Message.ID"> & {
9145
9168
  create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
@@ -9193,6 +9216,7 @@ export declare const DurableDefinitions: readonly [...((Schema.Struct<{
9193
9216
  }>>>, Schema.optionalKey<Schema.Struct<{
9194
9217
  readonly body: Schema.String;
9195
9218
  }>>, never, never>;
9219
+ readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
9196
9220
  }>;
9197
9221
  readonly inputID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Session.Message.ID"> & {
9198
9222
  create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
@@ -9597,6 +9621,7 @@ export declare const DurableDefinitions: readonly [...((Schema.Struct<{
9597
9621
  }>>>, Schema.optionalKey<Schema.Struct<{
9598
9622
  readonly body: Schema.String;
9599
9623
  }>>, never, never>;
9624
+ readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
9600
9625
  }>;
9601
9626
  }>;
9602
9627
  }> & {
@@ -9620,6 +9645,7 @@ export declare const DurableDefinitions: readonly [...((Schema.Struct<{
9620
9645
  }>>>, Schema.optionalKey<Schema.Struct<{
9621
9646
  readonly body: Schema.String;
9622
9647
  }>>, never, never>;
9648
+ readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
9623
9649
  }>;
9624
9650
  }>;
9625
9651
  }) | (Schema.Struct<{
@@ -11111,6 +11137,7 @@ export declare const DurableDefinitions: readonly [...((Schema.Struct<{
11111
11137
  }>>>, Schema.optionalKey<Schema.Struct<{
11112
11138
  readonly body: Schema.String;
11113
11139
  }>>, never, never>;
11140
+ readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
11114
11141
  }>;
11115
11142
  }>;
11116
11143
  }> & {
@@ -11140,6 +11167,7 @@ export declare const DurableDefinitions: readonly [...((Schema.Struct<{
11140
11167
  }>>>, Schema.optionalKey<Schema.Struct<{
11141
11168
  readonly body: Schema.String;
11142
11169
  }>>, never, never>;
11170
+ readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
11143
11171
  }>;
11144
11172
  }>;
11145
11173
  }) | (Schema.Struct<{
@@ -11727,6 +11755,7 @@ export declare const DurableDefinitions: readonly [...((Schema.Struct<{
11727
11755
  }>>>, Schema.optionalKey<Schema.Struct<{
11728
11756
  readonly body: Schema.String;
11729
11757
  }>>, never, never>;
11758
+ readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
11730
11759
  }>;
11731
11760
  readonly finish: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["content-filter"]>>>, Schema.optionalKey<Schema.Literals<readonly ["content-filter"]>>, never, never>;
11732
11761
  readonly rawFinish: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
@@ -11781,6 +11810,7 @@ export declare const DurableDefinitions: readonly [...((Schema.Struct<{
11781
11810
  }>>>, Schema.optionalKey<Schema.Struct<{
11782
11811
  readonly body: Schema.String;
11783
11812
  }>>, never, never>;
11813
+ readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
11784
11814
  }>;
11785
11815
  readonly finish: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["content-filter"]>>>, Schema.optionalKey<Schema.Literals<readonly ["content-filter"]>>, never, never>;
11786
11816
  readonly rawFinish: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
@@ -12276,6 +12306,7 @@ export declare const DurableDefinitions: readonly [...((Schema.Struct<{
12276
12306
  }>>>, Schema.optionalKey<Schema.Struct<{
12277
12307
  readonly body: Schema.String;
12278
12308
  }>>, never, never>;
12309
+ readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
12279
12310
  }>;
12280
12311
  readonly content: Schema.decodeTo<Schema.optional<Schema.toType<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
12281
12312
  readonly type: Schema.Literal<"text">;
@@ -12324,6 +12355,7 @@ export declare const DurableDefinitions: readonly [...((Schema.Struct<{
12324
12355
  }>>>, Schema.optionalKey<Schema.Struct<{
12325
12356
  readonly body: Schema.String;
12326
12357
  }>>, never, never>;
12358
+ readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
12327
12359
  }>;
12328
12360
  readonly content: Schema.decodeTo<Schema.optional<Schema.toType<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
12329
12361
  readonly type: Schema.Literal<"text">;
@@ -12827,6 +12859,7 @@ export declare const DurableDefinitions: readonly [...((Schema.Struct<{
12827
12859
  }>>>, Schema.optionalKey<Schema.Struct<{
12828
12860
  readonly body: Schema.String;
12829
12861
  }>>, never, never>;
12862
+ readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
12830
12863
  }>;
12831
12864
  readonly content: Schema.decodeTo<Schema.optional<Schema.toType<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
12832
12865
  readonly type: Schema.Literal<"text">;
@@ -12923,6 +12956,7 @@ export declare const DurableDefinitions: readonly [...((Schema.Struct<{
12923
12956
  }>>>, Schema.optionalKey<Schema.Struct<{
12924
12957
  readonly body: Schema.String;
12925
12958
  }>>, never, never>;
12959
+ readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
12926
12960
  }>;
12927
12961
  readonly content: Schema.decodeTo<Schema.optional<Schema.toType<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
12928
12962
  readonly type: Schema.Literal<"text">;
@@ -13618,6 +13652,7 @@ export declare const Durable: Schema.Union<readonly [...((Schema.Struct<{
13618
13652
  }>>>, Schema.optionalKey<Schema.Struct<{
13619
13653
  readonly body: Schema.String;
13620
13654
  }>>, never, never>;
13655
+ readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
13621
13656
  }>;
13622
13657
  readonly inputID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Session.Message.ID"> & {
13623
13658
  create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
@@ -13671,6 +13706,7 @@ export declare const Durable: Schema.Union<readonly [...((Schema.Struct<{
13671
13706
  }>>>, Schema.optionalKey<Schema.Struct<{
13672
13707
  readonly body: Schema.String;
13673
13708
  }>>, never, never>;
13709
+ readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
13674
13710
  }>;
13675
13711
  readonly inputID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Session.Message.ID"> & {
13676
13712
  create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
@@ -14075,6 +14111,7 @@ export declare const Durable: Schema.Union<readonly [...((Schema.Struct<{
14075
14111
  }>>>, Schema.optionalKey<Schema.Struct<{
14076
14112
  readonly body: Schema.String;
14077
14113
  }>>, never, never>;
14114
+ readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
14078
14115
  }>;
14079
14116
  }>;
14080
14117
  }> & {
@@ -14098,6 +14135,7 @@ export declare const Durable: Schema.Union<readonly [...((Schema.Struct<{
14098
14135
  }>>>, Schema.optionalKey<Schema.Struct<{
14099
14136
  readonly body: Schema.String;
14100
14137
  }>>, never, never>;
14138
+ readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
14101
14139
  }>;
14102
14140
  }>;
14103
14141
  }) | (Schema.Struct<{
@@ -15589,6 +15627,7 @@ export declare const Durable: Schema.Union<readonly [...((Schema.Struct<{
15589
15627
  }>>>, Schema.optionalKey<Schema.Struct<{
15590
15628
  readonly body: Schema.String;
15591
15629
  }>>, never, never>;
15630
+ readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
15592
15631
  }>;
15593
15632
  }>;
15594
15633
  }> & {
@@ -15618,6 +15657,7 @@ export declare const Durable: Schema.Union<readonly [...((Schema.Struct<{
15618
15657
  }>>>, Schema.optionalKey<Schema.Struct<{
15619
15658
  readonly body: Schema.String;
15620
15659
  }>>, never, never>;
15660
+ readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
15621
15661
  }>;
15622
15662
  }>;
15623
15663
  }) | (Schema.Struct<{
@@ -16205,6 +16245,7 @@ export declare const Durable: Schema.Union<readonly [...((Schema.Struct<{
16205
16245
  }>>>, Schema.optionalKey<Schema.Struct<{
16206
16246
  readonly body: Schema.String;
16207
16247
  }>>, never, never>;
16248
+ readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
16208
16249
  }>;
16209
16250
  readonly finish: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["content-filter"]>>>, Schema.optionalKey<Schema.Literals<readonly ["content-filter"]>>, never, never>;
16210
16251
  readonly rawFinish: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
@@ -16259,6 +16300,7 @@ export declare const Durable: Schema.Union<readonly [...((Schema.Struct<{
16259
16300
  }>>>, Schema.optionalKey<Schema.Struct<{
16260
16301
  readonly body: Schema.String;
16261
16302
  }>>, never, never>;
16303
+ readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
16262
16304
  }>;
16263
16305
  readonly finish: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["content-filter"]>>>, Schema.optionalKey<Schema.Literals<readonly ["content-filter"]>>, never, never>;
16264
16306
  readonly rawFinish: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
@@ -16754,6 +16796,7 @@ export declare const Durable: Schema.Union<readonly [...((Schema.Struct<{
16754
16796
  }>>>, Schema.optionalKey<Schema.Struct<{
16755
16797
  readonly body: Schema.String;
16756
16798
  }>>, never, never>;
16799
+ readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
16757
16800
  }>;
16758
16801
  readonly content: Schema.decodeTo<Schema.optional<Schema.toType<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
16759
16802
  readonly type: Schema.Literal<"text">;
@@ -16802,6 +16845,7 @@ export declare const Durable: Schema.Union<readonly [...((Schema.Struct<{
16802
16845
  }>>>, Schema.optionalKey<Schema.Struct<{
16803
16846
  readonly body: Schema.String;
16804
16847
  }>>, never, never>;
16848
+ readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
16805
16849
  }>;
16806
16850
  readonly content: Schema.decodeTo<Schema.optional<Schema.toType<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
16807
16851
  readonly type: Schema.Literal<"text">;
@@ -17305,6 +17349,7 @@ export declare const Durable: Schema.Union<readonly [...((Schema.Struct<{
17305
17349
  }>>>, Schema.optionalKey<Schema.Struct<{
17306
17350
  readonly body: Schema.String;
17307
17351
  }>>, never, never>;
17352
+ readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
17308
17353
  }>;
17309
17354
  readonly content: Schema.decodeTo<Schema.optional<Schema.toType<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
17310
17355
  readonly type: Schema.Literal<"text">;
@@ -17401,6 +17446,7 @@ export declare const Durable: Schema.Union<readonly [...((Schema.Struct<{
17401
17446
  }>>>, Schema.optionalKey<Schema.Struct<{
17402
17447
  readonly body: Schema.String;
17403
17448
  }>>, never, never>;
17449
+ readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
17404
17450
  }>;
17405
17451
  readonly content: Schema.decodeTo<Schema.optional<Schema.toType<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
17406
17452
  readonly type: Schema.Literal<"text">;
@@ -17770,6 +17816,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Union<re
17770
17816
  }>>>, Schema.optionalKey<Schema.Struct<{
17771
17817
  readonly body: Schema.String;
17772
17818
  }>>, never, never>;
17819
+ readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
17773
17820
  }>;
17774
17821
  readonly inputID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Session.Message.ID"> & {
17775
17822
  create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
@@ -17823,6 +17870,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Union<re
17823
17870
  }>>>, Schema.optionalKey<Schema.Struct<{
17824
17871
  readonly body: Schema.String;
17825
17872
  }>>, never, never>;
17873
+ readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
17826
17874
  }>;
17827
17875
  readonly inputID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Session.Message.ID"> & {
17828
17876
  create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
@@ -18227,6 +18275,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Union<re
18227
18275
  }>>>, Schema.optionalKey<Schema.Struct<{
18228
18276
  readonly body: Schema.String;
18229
18277
  }>>, never, never>;
18278
+ readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
18230
18279
  }>;
18231
18280
  }>;
18232
18281
  }> & {
@@ -18250,6 +18299,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Union<re
18250
18299
  }>>>, Schema.optionalKey<Schema.Struct<{
18251
18300
  readonly body: Schema.String;
18252
18301
  }>>, never, never>;
18302
+ readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
18253
18303
  }>;
18254
18304
  }>;
18255
18305
  }) | (Schema.Struct<{
@@ -19741,6 +19791,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Union<re
19741
19791
  }>>>, Schema.optionalKey<Schema.Struct<{
19742
19792
  readonly body: Schema.String;
19743
19793
  }>>, never, never>;
19794
+ readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
19744
19795
  }>;
19745
19796
  }>;
19746
19797
  }> & {
@@ -19770,6 +19821,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Union<re
19770
19821
  }>>>, Schema.optionalKey<Schema.Struct<{
19771
19822
  readonly body: Schema.String;
19772
19823
  }>>, never, never>;
19824
+ readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
19773
19825
  }>;
19774
19826
  }>;
19775
19827
  }) | (Schema.Struct<{
@@ -20357,6 +20409,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Union<re
20357
20409
  }>>>, Schema.optionalKey<Schema.Struct<{
20358
20410
  readonly body: Schema.String;
20359
20411
  }>>, never, never>;
20412
+ readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
20360
20413
  }>;
20361
20414
  readonly finish: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["content-filter"]>>>, Schema.optionalKey<Schema.Literals<readonly ["content-filter"]>>, never, never>;
20362
20415
  readonly rawFinish: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
@@ -20411,6 +20464,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Union<re
20411
20464
  }>>>, Schema.optionalKey<Schema.Struct<{
20412
20465
  readonly body: Schema.String;
20413
20466
  }>>, never, never>;
20467
+ readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
20414
20468
  }>;
20415
20469
  readonly finish: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["content-filter"]>>>, Schema.optionalKey<Schema.Literals<readonly ["content-filter"]>>, never, never>;
20416
20470
  readonly rawFinish: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
@@ -20906,6 +20960,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Union<re
20906
20960
  }>>>, Schema.optionalKey<Schema.Struct<{
20907
20961
  readonly body: Schema.String;
20908
20962
  }>>, never, never>;
20963
+ readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
20909
20964
  }>;
20910
20965
  readonly content: Schema.decodeTo<Schema.optional<Schema.toType<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
20911
20966
  readonly type: Schema.Literal<"text">;
@@ -20954,6 +21009,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Union<re
20954
21009
  }>>>, Schema.optionalKey<Schema.Struct<{
20955
21010
  readonly body: Schema.String;
20956
21011
  }>>, never, never>;
21012
+ readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
20957
21013
  }>;
20958
21014
  readonly content: Schema.decodeTo<Schema.optional<Schema.toType<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
20959
21015
  readonly type: Schema.Literal<"text">;
@@ -21457,6 +21513,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Union<re
21457
21513
  }>>>, Schema.optionalKey<Schema.Struct<{
21458
21514
  readonly body: Schema.String;
21459
21515
  }>>, never, never>;
21516
+ readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
21460
21517
  }>;
21461
21518
  readonly content: Schema.decodeTo<Schema.optional<Schema.toType<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
21462
21519
  readonly type: Schema.Literal<"text">;
@@ -21553,6 +21610,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Union<re
21553
21610
  }>>>, Schema.optionalKey<Schema.Struct<{
21554
21611
  readonly body: Schema.String;
21555
21612
  }>>, never, never>;
21613
+ readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
21556
21614
  }>;
21557
21615
  readonly content: Schema.decodeTo<Schema.optional<Schema.toType<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
21558
21616
  readonly type: Schema.Literal<"text">;
@@ -436,6 +436,7 @@ export declare const ToolStateError: Schema.Struct<{
436
436
  }>>>, Schema.optionalKey<Schema.Struct<{
437
437
  readonly body: Schema.String;
438
438
  }>>, never, never>;
439
+ readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
439
440
  }>;
440
441
  readonly content: Schema.decodeTo<Schema.optional<Schema.toType<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
441
442
  readonly type: Schema.Literal<"text">;
@@ -488,6 +489,7 @@ export declare const ToolState: Schema.toTaggedUnion<"status", readonly [Schema.
488
489
  }>>>, Schema.optionalKey<Schema.Struct<{
489
490
  readonly body: Schema.String;
490
491
  }>>, never, never>;
492
+ readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
491
493
  }>;
492
494
  readonly content: Schema.decodeTo<Schema.optional<Schema.toType<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
493
495
  readonly type: Schema.Literal<"text">;
@@ -549,6 +551,7 @@ export declare const AssistantTool: Schema.Struct<{
549
551
  }>>>, Schema.optionalKey<Schema.Struct<{
550
552
  readonly body: Schema.String;
551
553
  }>>, never, never>;
554
+ readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
552
555
  }>;
553
556
  readonly content: Schema.decodeTo<Schema.optional<Schema.toType<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
554
557
  readonly type: Schema.Literal<"text">;
@@ -649,6 +652,7 @@ export declare const AssistantContent: Schema.toTaggedUnion<"type", readonly [Sc
649
652
  }>>>, Schema.optionalKey<Schema.Struct<{
650
653
  readonly body: Schema.String;
651
654
  }>>, never, never>;
655
+ readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
652
656
  }>;
653
657
  readonly content: Schema.decodeTo<Schema.optional<Schema.toType<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
654
658
  readonly type: Schema.Literal<"text">;
@@ -729,6 +733,7 @@ export declare const AssistantContentEncoded: Schema.toEncoded<Schema.toTaggedUn
729
733
  }>>>, Schema.optionalKey<Schema.Struct<{
730
734
  readonly body: Schema.String;
731
735
  }>>, never, never>;
736
+ readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
732
737
  }>;
733
738
  readonly content: Schema.decodeTo<Schema.optional<Schema.toType<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
734
739
  readonly type: Schema.Literal<"text">;
@@ -770,6 +775,7 @@ export declare const AssistantRetry: Schema.Struct<{
770
775
  }>>>, Schema.optionalKey<Schema.Struct<{
771
776
  readonly body: Schema.String;
772
777
  }>>, never, never>;
778
+ readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
773
779
  }>;
774
780
  }>;
775
781
  export interface Assistant extends Schema.Schema.Type<typeof Assistant> {
@@ -858,6 +864,7 @@ export declare const Assistant: Schema.Struct<{
858
864
  }>>>, Schema.optionalKey<Schema.Struct<{
859
865
  readonly body: Schema.String;
860
866
  }>>, never, never>;
867
+ readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
861
868
  }>;
862
869
  readonly content: Schema.decodeTo<Schema.optional<Schema.toType<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
863
870
  readonly type: Schema.Literal<"text">;
@@ -928,6 +935,7 @@ export declare const Assistant: Schema.Struct<{
928
935
  }>>>, Schema.optionalKey<Schema.Struct<{
929
936
  readonly body: Schema.String;
930
937
  }>>, never, never>;
938
+ readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
931
939
  }>>>, Schema.optionalKey<Schema.Struct<{
932
940
  readonly type: Schema.String;
933
941
  readonly message: Schema.String;
@@ -937,6 +945,7 @@ export declare const Assistant: Schema.Struct<{
937
945
  }>>>, Schema.optionalKey<Schema.Struct<{
938
946
  readonly body: Schema.String;
939
947
  }>>, never, never>;
948
+ readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
940
949
  }>>, never, never>;
941
950
  readonly retry: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
942
951
  readonly attempt: Schema.Int;
@@ -950,6 +959,7 @@ export declare const Assistant: Schema.Struct<{
950
959
  }>>>, Schema.optionalKey<Schema.Struct<{
951
960
  readonly body: Schema.String;
952
961
  }>>, never, never>;
962
+ readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
953
963
  }>;
954
964
  }>>>, Schema.optionalKey<Schema.Struct<{
955
965
  readonly attempt: Schema.Int;
@@ -963,6 +973,7 @@ export declare const Assistant: Schema.Struct<{
963
973
  }>>>, Schema.optionalKey<Schema.Struct<{
964
974
  readonly body: Schema.String;
965
975
  }>>, never, never>;
976
+ readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
966
977
  }>;
967
978
  }>>, never, never>;
968
979
  readonly time: Schema.Struct<{
@@ -1118,6 +1129,7 @@ export declare const CompactionFailed: Schema.Struct<{
1118
1129
  }>>>, Schema.optionalKey<Schema.Struct<{
1119
1130
  readonly body: Schema.String;
1120
1131
  }>>, never, never>;
1132
+ readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
1121
1133
  }>;
1122
1134
  }>;
1123
1135
  export declare const Compaction: Schema.Union<readonly [Schema.Struct<{
@@ -1258,6 +1270,7 @@ export declare const Compaction: Schema.Union<readonly [Schema.Struct<{
1258
1270
  }>>>, Schema.optionalKey<Schema.Struct<{
1259
1271
  readonly body: Schema.String;
1260
1272
  }>>, never, never>;
1273
+ readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
1261
1274
  }>;
1262
1275
  }>]>;
1263
1276
  export type Compaction = CompactionRunning | CompactionCompleted | CompactionFailed;
@@ -1288,6 +1301,7 @@ export declare const Idle: Schema.Struct<{
1288
1301
  }>>>, Schema.optionalKey<Schema.Struct<{
1289
1302
  readonly body: Schema.String;
1290
1303
  }>>, never, never>;
1304
+ readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
1291
1305
  }>>>, Schema.optionalKey<Schema.Struct<{
1292
1306
  readonly type: Schema.String;
1293
1307
  readonly message: Schema.String;
@@ -1297,6 +1311,7 @@ export declare const Idle: Schema.Struct<{
1297
1311
  }>>>, Schema.optionalKey<Schema.Struct<{
1298
1312
  readonly body: Schema.String;
1299
1313
  }>>, never, never>;
1314
+ readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
1300
1315
  }>>, never, never>;
1301
1316
  }>;
1302
1317
  export declare const Info: Schema.Union<readonly [Schema.Struct<{
@@ -1740,6 +1755,7 @@ export declare const Info: Schema.Union<readonly [Schema.Struct<{
1740
1755
  }>>>, Schema.optionalKey<Schema.Struct<{
1741
1756
  readonly body: Schema.String;
1742
1757
  }>>, never, never>;
1758
+ readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
1743
1759
  }>;
1744
1760
  readonly content: Schema.decodeTo<Schema.optional<Schema.toType<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
1745
1761
  readonly type: Schema.Literal<"text">;
@@ -1810,6 +1826,7 @@ export declare const Info: Schema.Union<readonly [Schema.Struct<{
1810
1826
  }>>>, Schema.optionalKey<Schema.Struct<{
1811
1827
  readonly body: Schema.String;
1812
1828
  }>>, never, never>;
1829
+ readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
1813
1830
  }>>>, Schema.optionalKey<Schema.Struct<{
1814
1831
  readonly type: Schema.String;
1815
1832
  readonly message: Schema.String;
@@ -1819,6 +1836,7 @@ export declare const Info: Schema.Union<readonly [Schema.Struct<{
1819
1836
  }>>>, Schema.optionalKey<Schema.Struct<{
1820
1837
  readonly body: Schema.String;
1821
1838
  }>>, never, never>;
1839
+ readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
1822
1840
  }>>, never, never>;
1823
1841
  readonly retry: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
1824
1842
  readonly attempt: Schema.Int;
@@ -1832,6 +1850,7 @@ export declare const Info: Schema.Union<readonly [Schema.Struct<{
1832
1850
  }>>>, Schema.optionalKey<Schema.Struct<{
1833
1851
  readonly body: Schema.String;
1834
1852
  }>>, never, never>;
1853
+ readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
1835
1854
  }>;
1836
1855
  }>>>, Schema.optionalKey<Schema.Struct<{
1837
1856
  readonly attempt: Schema.Int;
@@ -1845,6 +1864,7 @@ export declare const Info: Schema.Union<readonly [Schema.Struct<{
1845
1864
  }>>>, Schema.optionalKey<Schema.Struct<{
1846
1865
  readonly body: Schema.String;
1847
1866
  }>>, never, never>;
1867
+ readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
1848
1868
  }>;
1849
1869
  }>>, never, never>;
1850
1870
  readonly time: Schema.Struct<{
@@ -1991,6 +2011,7 @@ export declare const Info: Schema.Union<readonly [Schema.Struct<{
1991
2011
  }>>>, Schema.optionalKey<Schema.Struct<{
1992
2012
  readonly body: Schema.String;
1993
2013
  }>>, never, never>;
2014
+ readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
1994
2015
  }>;
1995
2016
  }>]>, Schema.Struct<{
1996
2017
  readonly id: Schema.brand<Schema.String, "Session.Message.ID"> & {
@@ -2012,6 +2033,7 @@ export declare const Info: Schema.Union<readonly [Schema.Struct<{
2012
2033
  }>>>, Schema.optionalKey<Schema.Struct<{
2013
2034
  readonly body: Schema.String;
2014
2035
  }>>, never, never>;
2036
+ readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
2015
2037
  }>>>, Schema.optionalKey<Schema.Struct<{
2016
2038
  readonly type: Schema.String;
2017
2039
  readonly message: Schema.String;
@@ -2021,6 +2043,7 @@ export declare const Info: Schema.Union<readonly [Schema.Struct<{
2021
2043
  }>>>, Schema.optionalKey<Schema.Struct<{
2022
2044
  readonly body: Schema.String;
2023
2045
  }>>, never, never>;
2046
+ readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
2024
2047
  }>>, never, never>;
2025
2048
  }>]>;
2026
2049
  export type Info = AgentSelected | ModelSelected | LocationSwitched | User | Synthetic | System | Skill | Shell | Assistant | Compaction | Idle;
@@ -624,6 +624,7 @@ export declare const Data: Schema.Struct<{
624
624
  }>>>, Schema.optionalKey<Schema.Struct<{
625
625
  readonly body: Schema.String;
626
626
  }>>, never, never>;
627
+ readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
627
628
  }>;
628
629
  readonly content: Schema.decodeTo<Schema.optional<Schema.toType<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
629
630
  readonly type: Schema.Literal<"text">;
@@ -693,6 +694,7 @@ export declare const Data: Schema.Struct<{
693
694
  }>>>, Schema.optionalKey<Schema.Struct<{
694
695
  readonly body: Schema.String;
695
696
  }>>, never, never>;
697
+ readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
696
698
  }>>>, Schema.optionalKey<Schema.Struct<{
697
699
  readonly type: Schema.String;
698
700
  readonly message: Schema.String;
@@ -702,6 +704,7 @@ export declare const Data: Schema.Struct<{
702
704
  }>>>, Schema.optionalKey<Schema.Struct<{
703
705
  readonly body: Schema.String;
704
706
  }>>, never, never>;
707
+ readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
705
708
  }>>, never, never>;
706
709
  readonly retry: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
707
710
  readonly attempt: Schema.Int;
@@ -715,6 +718,7 @@ export declare const Data: Schema.Struct<{
715
718
  }>>>, Schema.optionalKey<Schema.Struct<{
716
719
  readonly body: Schema.String;
717
720
  }>>, never, never>;
721
+ readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
718
722
  }>;
719
723
  }>>>, Schema.optionalKey<Schema.Struct<{
720
724
  readonly attempt: Schema.Int;
@@ -728,6 +732,7 @@ export declare const Data: Schema.Struct<{
728
732
  }>>>, Schema.optionalKey<Schema.Struct<{
729
733
  readonly body: Schema.String;
730
734
  }>>, never, never>;
735
+ readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
731
736
  }>;
732
737
  }>>, never, never>;
733
738
  readonly time: Schema.Struct<{
@@ -872,6 +877,7 @@ export declare const Data: Schema.Struct<{
872
877
  }>>>, Schema.optionalKey<Schema.Struct<{
873
878
  readonly body: Schema.String;
874
879
  }>>, never, never>;
880
+ readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
875
881
  }>;
876
882
  }>]>, Schema.Struct<{
877
883
  readonly id: Schema.brand<Schema.String, "Session.Message.ID"> & {
@@ -893,6 +899,7 @@ export declare const Data: Schema.Struct<{
893
899
  }>>>, Schema.optionalKey<Schema.Struct<{
894
900
  readonly body: Schema.String;
895
901
  }>>, never, never>;
902
+ readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
896
903
  }>>>, Schema.optionalKey<Schema.Struct<{
897
904
  readonly type: Schema.String;
898
905
  readonly message: Schema.String;
@@ -902,6 +909,7 @@ export declare const Data: Schema.Struct<{
902
909
  }>>>, Schema.optionalKey<Schema.Struct<{
903
910
  readonly body: Schema.String;
904
911
  }>>, never, never>;
912
+ readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
905
913
  }>>, never, never>;
906
914
  }>]>>;
907
915
  }>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "@opencode/schema",
4
- "version": "0.0.0-dev-21362",
4
+ "version": "0.0.0-dev-21366",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "repository": {