@opencode-ai/schema 0.0.0-next-16663 → 0.0.0-next-16665
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.
|
@@ -904,6 +904,7 @@ export declare const SessionDurable: {
|
|
|
904
904
|
readonly error: import("effect/Schema").Struct<{
|
|
905
905
|
readonly type: import("effect/Schema").String;
|
|
906
906
|
readonly message: import("effect/Schema").String;
|
|
907
|
+
readonly status: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Int>>, import("effect/Schema").optionalKey<import("effect/Schema").Int>, never, never>;
|
|
907
908
|
}>;
|
|
908
909
|
readonly sessionID: import("effect/Schema").brand<import("effect/Schema").String, "SessionID"> & {
|
|
909
910
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -921,6 +922,7 @@ export declare const SessionDurable: {
|
|
|
921
922
|
readonly error: import("effect/Schema").Struct<{
|
|
922
923
|
readonly type: import("effect/Schema").String;
|
|
923
924
|
readonly message: import("effect/Schema").String;
|
|
925
|
+
readonly status: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Int>>, import("effect/Schema").optionalKey<import("effect/Schema").Int>, never, never>;
|
|
924
926
|
}>;
|
|
925
927
|
readonly sessionID: import("effect/Schema").brand<import("effect/Schema").String, "SessionID"> & {
|
|
926
928
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -1562,6 +1564,7 @@ export declare const SessionDurable: {
|
|
|
1562
1564
|
readonly error: import("effect/Schema").Struct<{
|
|
1563
1565
|
readonly type: import("effect/Schema").String;
|
|
1564
1566
|
readonly message: import("effect/Schema").String;
|
|
1567
|
+
readonly status: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Int>>, import("effect/Schema").optionalKey<import("effect/Schema").Int>, never, never>;
|
|
1565
1568
|
}>;
|
|
1566
1569
|
readonly cost: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").brand<import("effect/Schema").Finite, "Money.USD"> & {
|
|
1567
1570
|
zero: number & import("effect/Brand").Brand<"Money.USD">;
|
|
@@ -1607,6 +1610,7 @@ export declare const SessionDurable: {
|
|
|
1607
1610
|
readonly error: import("effect/Schema").Struct<{
|
|
1608
1611
|
readonly type: import("effect/Schema").String;
|
|
1609
1612
|
readonly message: import("effect/Schema").String;
|
|
1613
|
+
readonly status: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Int>>, import("effect/Schema").optionalKey<import("effect/Schema").Int>, never, never>;
|
|
1610
1614
|
}>;
|
|
1611
1615
|
readonly cost: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").brand<import("effect/Schema").Finite, "Money.USD"> & {
|
|
1612
1616
|
zero: number & import("effect/Brand").Brand<"Money.USD">;
|
|
@@ -2196,6 +2200,7 @@ export declare const SessionDurable: {
|
|
|
2196
2200
|
readonly error: import("effect/Schema").Struct<{
|
|
2197
2201
|
readonly type: import("effect/Schema").String;
|
|
2198
2202
|
readonly message: import("effect/Schema").String;
|
|
2203
|
+
readonly status: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Int>>, import("effect/Schema").optionalKey<import("effect/Schema").Int>, never, never>;
|
|
2199
2204
|
}>;
|
|
2200
2205
|
readonly content: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").NonEmptyArray<import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
|
|
2201
2206
|
readonly type: import("effect/Schema").Literal<"text">;
|
|
@@ -2238,6 +2243,7 @@ export declare const SessionDurable: {
|
|
|
2238
2243
|
readonly error: import("effect/Schema").Struct<{
|
|
2239
2244
|
readonly type: import("effect/Schema").String;
|
|
2240
2245
|
readonly message: import("effect/Schema").String;
|
|
2246
|
+
readonly status: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Int>>, import("effect/Schema").optionalKey<import("effect/Schema").Int>, never, never>;
|
|
2241
2247
|
}>;
|
|
2242
2248
|
readonly content: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").NonEmptyArray<import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
|
|
2243
2249
|
readonly type: import("effect/Schema").Literal<"text">;
|
|
@@ -2310,6 +2316,7 @@ export declare const SessionDurable: {
|
|
|
2310
2316
|
readonly error: import("effect/Schema").Struct<{
|
|
2311
2317
|
readonly type: import("effect/Schema").String;
|
|
2312
2318
|
readonly message: import("effect/Schema").String;
|
|
2319
|
+
readonly status: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Int>>, import("effect/Schema").optionalKey<import("effect/Schema").Int>, never, never>;
|
|
2313
2320
|
}>;
|
|
2314
2321
|
readonly sessionID: import("effect/Schema").brand<import("effect/Schema").String, "SessionID"> & {
|
|
2315
2322
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -2333,6 +2340,7 @@ export declare const SessionDurable: {
|
|
|
2333
2340
|
readonly error: import("effect/Schema").Struct<{
|
|
2334
2341
|
readonly type: import("effect/Schema").String;
|
|
2335
2342
|
readonly message: import("effect/Schema").String;
|
|
2343
|
+
readonly status: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Int>>, import("effect/Schema").optionalKey<import("effect/Schema").Int>, never, never>;
|
|
2336
2344
|
}>;
|
|
2337
2345
|
readonly sessionID: import("effect/Schema").brand<import("effect/Schema").String, "SessionID"> & {
|
|
2338
2346
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -2557,6 +2565,7 @@ export declare const SessionDurable: {
|
|
|
2557
2565
|
readonly error: import("effect/Schema").Struct<{
|
|
2558
2566
|
readonly type: import("effect/Schema").String;
|
|
2559
2567
|
readonly message: import("effect/Schema").String;
|
|
2568
|
+
readonly status: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Int>>, import("effect/Schema").optionalKey<import("effect/Schema").Int>, never, never>;
|
|
2560
2569
|
}>;
|
|
2561
2570
|
readonly inputID: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").brand<import("effect/Schema").String, "Session.Message.ID"> & {
|
|
2562
2571
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
@@ -2582,6 +2591,7 @@ export declare const SessionDurable: {
|
|
|
2582
2591
|
readonly error: import("effect/Schema").Struct<{
|
|
2583
2592
|
readonly type: import("effect/Schema").String;
|
|
2584
2593
|
readonly message: import("effect/Schema").String;
|
|
2594
|
+
readonly status: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Int>>, import("effect/Schema").optionalKey<import("effect/Schema").Int>, never, never>;
|
|
2585
2595
|
}>;
|
|
2586
2596
|
readonly inputID: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").brand<import("effect/Schema").String, "Session.Message.ID"> & {
|
|
2587
2597
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
package/dist/event-manifest.d.ts
CHANGED
|
@@ -3453,6 +3453,7 @@ export declare const ServerDefinitions: readonly [Schema.Struct<{
|
|
|
3453
3453
|
readonly error: Schema.Struct<{
|
|
3454
3454
|
readonly type: Schema.String;
|
|
3455
3455
|
readonly message: Schema.String;
|
|
3456
|
+
readonly status: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
3456
3457
|
}>;
|
|
3457
3458
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
3458
3459
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -3470,6 +3471,7 @@ export declare const ServerDefinitions: readonly [Schema.Struct<{
|
|
|
3470
3471
|
readonly error: Schema.Struct<{
|
|
3471
3472
|
readonly type: Schema.String;
|
|
3472
3473
|
readonly message: Schema.String;
|
|
3474
|
+
readonly status: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
3473
3475
|
}>;
|
|
3474
3476
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
3475
3477
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -4111,6 +4113,7 @@ export declare const ServerDefinitions: readonly [Schema.Struct<{
|
|
|
4111
4113
|
readonly error: Schema.Struct<{
|
|
4112
4114
|
readonly type: Schema.String;
|
|
4113
4115
|
readonly message: Schema.String;
|
|
4116
|
+
readonly status: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
4114
4117
|
}>;
|
|
4115
4118
|
readonly cost: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.Finite, "Money.USD"> & {
|
|
4116
4119
|
zero: number & import("effect/Brand").Brand<"Money.USD">;
|
|
@@ -4156,6 +4159,7 @@ export declare const ServerDefinitions: readonly [Schema.Struct<{
|
|
|
4156
4159
|
readonly error: Schema.Struct<{
|
|
4157
4160
|
readonly type: Schema.String;
|
|
4158
4161
|
readonly message: Schema.String;
|
|
4162
|
+
readonly status: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
4159
4163
|
}>;
|
|
4160
4164
|
readonly cost: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.Finite, "Money.USD"> & {
|
|
4161
4165
|
zero: number & import("effect/Brand").Brand<"Money.USD">;
|
|
@@ -4961,6 +4965,7 @@ export declare const ServerDefinitions: readonly [Schema.Struct<{
|
|
|
4961
4965
|
readonly error: Schema.Struct<{
|
|
4962
4966
|
readonly type: Schema.String;
|
|
4963
4967
|
readonly message: Schema.String;
|
|
4968
|
+
readonly status: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
4964
4969
|
}>;
|
|
4965
4970
|
readonly content: Schema.decodeTo<Schema.optional<Schema.toType<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
|
|
4966
4971
|
readonly type: Schema.Literal<"text">;
|
|
@@ -5003,6 +5008,7 @@ export declare const ServerDefinitions: readonly [Schema.Struct<{
|
|
|
5003
5008
|
readonly error: Schema.Struct<{
|
|
5004
5009
|
readonly type: Schema.String;
|
|
5005
5010
|
readonly message: Schema.String;
|
|
5011
|
+
readonly status: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
5006
5012
|
}>;
|
|
5007
5013
|
readonly content: Schema.decodeTo<Schema.optional<Schema.toType<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
|
|
5008
5014
|
readonly type: Schema.Literal<"text">;
|
|
@@ -5075,6 +5081,7 @@ export declare const ServerDefinitions: readonly [Schema.Struct<{
|
|
|
5075
5081
|
readonly error: Schema.Struct<{
|
|
5076
5082
|
readonly type: Schema.String;
|
|
5077
5083
|
readonly message: Schema.String;
|
|
5084
|
+
readonly status: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
5078
5085
|
}>;
|
|
5079
5086
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
5080
5087
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -5098,6 +5105,7 @@ export declare const ServerDefinitions: readonly [Schema.Struct<{
|
|
|
5098
5105
|
readonly error: Schema.Struct<{
|
|
5099
5106
|
readonly type: Schema.String;
|
|
5100
5107
|
readonly message: Schema.String;
|
|
5108
|
+
readonly status: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
5101
5109
|
}>;
|
|
5102
5110
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
5103
5111
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -5366,6 +5374,7 @@ export declare const ServerDefinitions: readonly [Schema.Struct<{
|
|
|
5366
5374
|
readonly error: Schema.Struct<{
|
|
5367
5375
|
readonly type: Schema.String;
|
|
5368
5376
|
readonly message: Schema.String;
|
|
5377
|
+
readonly status: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
5369
5378
|
}>;
|
|
5370
5379
|
readonly inputID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
5371
5380
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
@@ -5391,6 +5400,7 @@ export declare const ServerDefinitions: readonly [Schema.Struct<{
|
|
|
5391
5400
|
readonly error: Schema.Struct<{
|
|
5392
5401
|
readonly type: Schema.String;
|
|
5393
5402
|
readonly message: Schema.String;
|
|
5403
|
+
readonly status: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
5394
5404
|
}>;
|
|
5395
5405
|
readonly inputID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
5396
5406
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
@@ -8687,6 +8697,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
8687
8697
|
readonly error: Schema.Struct<{
|
|
8688
8698
|
readonly type: Schema.String;
|
|
8689
8699
|
readonly message: Schema.String;
|
|
8700
|
+
readonly status: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
8690
8701
|
}>;
|
|
8691
8702
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
8692
8703
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -8704,6 +8715,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
8704
8715
|
readonly error: Schema.Struct<{
|
|
8705
8716
|
readonly type: Schema.String;
|
|
8706
8717
|
readonly message: Schema.String;
|
|
8718
|
+
readonly status: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
8707
8719
|
}>;
|
|
8708
8720
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
8709
8721
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -9345,6 +9357,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
9345
9357
|
readonly error: Schema.Struct<{
|
|
9346
9358
|
readonly type: Schema.String;
|
|
9347
9359
|
readonly message: Schema.String;
|
|
9360
|
+
readonly status: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
9348
9361
|
}>;
|
|
9349
9362
|
readonly cost: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.Finite, "Money.USD"> & {
|
|
9350
9363
|
zero: number & import("effect/Brand").Brand<"Money.USD">;
|
|
@@ -9390,6 +9403,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
9390
9403
|
readonly error: Schema.Struct<{
|
|
9391
9404
|
readonly type: Schema.String;
|
|
9392
9405
|
readonly message: Schema.String;
|
|
9406
|
+
readonly status: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
9393
9407
|
}>;
|
|
9394
9408
|
readonly cost: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.Finite, "Money.USD"> & {
|
|
9395
9409
|
zero: number & import("effect/Brand").Brand<"Money.USD">;
|
|
@@ -10195,6 +10209,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
10195
10209
|
readonly error: Schema.Struct<{
|
|
10196
10210
|
readonly type: Schema.String;
|
|
10197
10211
|
readonly message: Schema.String;
|
|
10212
|
+
readonly status: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
10198
10213
|
}>;
|
|
10199
10214
|
readonly content: Schema.decodeTo<Schema.optional<Schema.toType<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
|
|
10200
10215
|
readonly type: Schema.Literal<"text">;
|
|
@@ -10237,6 +10252,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
10237
10252
|
readonly error: Schema.Struct<{
|
|
10238
10253
|
readonly type: Schema.String;
|
|
10239
10254
|
readonly message: Schema.String;
|
|
10255
|
+
readonly status: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
10240
10256
|
}>;
|
|
10241
10257
|
readonly content: Schema.decodeTo<Schema.optional<Schema.toType<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
|
|
10242
10258
|
readonly type: Schema.Literal<"text">;
|
|
@@ -10309,6 +10325,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
10309
10325
|
readonly error: Schema.Struct<{
|
|
10310
10326
|
readonly type: Schema.String;
|
|
10311
10327
|
readonly message: Schema.String;
|
|
10328
|
+
readonly status: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
10312
10329
|
}>;
|
|
10313
10330
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
10314
10331
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -10332,6 +10349,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
10332
10349
|
readonly error: Schema.Struct<{
|
|
10333
10350
|
readonly type: Schema.String;
|
|
10334
10351
|
readonly message: Schema.String;
|
|
10352
|
+
readonly status: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
10335
10353
|
}>;
|
|
10336
10354
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
10337
10355
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -10600,6 +10618,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
10600
10618
|
readonly error: Schema.Struct<{
|
|
10601
10619
|
readonly type: Schema.String;
|
|
10602
10620
|
readonly message: Schema.String;
|
|
10621
|
+
readonly status: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
10603
10622
|
}>;
|
|
10604
10623
|
readonly inputID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
10605
10624
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
@@ -10625,6 +10644,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
10625
10644
|
readonly error: Schema.Struct<{
|
|
10626
10645
|
readonly type: Schema.String;
|
|
10627
10646
|
readonly message: Schema.String;
|
|
10647
|
+
readonly status: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
10628
10648
|
}>;
|
|
10629
10649
|
readonly inputID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
10630
10650
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
package/dist/session-error.d.ts
CHANGED
|
@@ -5,4 +5,5 @@ export interface Error extends Schema.Schema.Type<typeof Error> {
|
|
|
5
5
|
export declare const Error: Schema.Struct<{
|
|
6
6
|
readonly type: Schema.String;
|
|
7
7
|
readonly message: Schema.String;
|
|
8
|
+
readonly status: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
8
9
|
}>;
|
package/dist/session-error.js
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
export * as SessionError from "./session-error.js";
|
|
2
2
|
import { Schema } from "effect";
|
|
3
|
+
import { optional } from "./schema.js";
|
|
3
4
|
export const Error = Schema.Struct({
|
|
4
5
|
type: Schema.String,
|
|
5
6
|
message: Schema.String,
|
|
7
|
+
status: Schema.Int.check(Schema.isBetween({ minimum: 100, maximum: 599 })).pipe(optional),
|
|
6
8
|
}).annotate({ identifier: "Session.StructuredError" });
|
package/dist/session-event.d.ts
CHANGED
|
@@ -1078,6 +1078,7 @@ export declare namespace Execution {
|
|
|
1078
1078
|
readonly error: Schema.Struct<{
|
|
1079
1079
|
readonly type: Schema.String;
|
|
1080
1080
|
readonly message: Schema.String;
|
|
1081
|
+
readonly status: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
1081
1082
|
}>;
|
|
1082
1083
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
1083
1084
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -1095,6 +1096,7 @@ export declare namespace Execution {
|
|
|
1095
1096
|
readonly error: Schema.Struct<{
|
|
1096
1097
|
readonly type: Schema.String;
|
|
1097
1098
|
readonly message: Schema.String;
|
|
1099
|
+
readonly status: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
1098
1100
|
}>;
|
|
1099
1101
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
1100
1102
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -1760,6 +1762,7 @@ export declare namespace Step {
|
|
|
1760
1762
|
readonly error: Schema.Struct<{
|
|
1761
1763
|
readonly type: Schema.String;
|
|
1762
1764
|
readonly message: Schema.String;
|
|
1765
|
+
readonly status: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
1763
1766
|
}>;
|
|
1764
1767
|
readonly cost: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.Finite, "Money.USD"> & {
|
|
1765
1768
|
zero: number & import("effect/Brand").Brand<"Money.USD">;
|
|
@@ -1805,6 +1808,7 @@ export declare namespace Step {
|
|
|
1805
1808
|
readonly error: Schema.Struct<{
|
|
1806
1809
|
readonly type: Schema.String;
|
|
1807
1810
|
readonly message: Schema.String;
|
|
1811
|
+
readonly status: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
1808
1812
|
}>;
|
|
1809
1813
|
readonly cost: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.Finite, "Money.USD"> & {
|
|
1810
1814
|
zero: number & import("effect/Brand").Brand<"Money.USD">;
|
|
@@ -2651,6 +2655,7 @@ export declare namespace Tool {
|
|
|
2651
2655
|
readonly error: Schema.Struct<{
|
|
2652
2656
|
readonly type: Schema.String;
|
|
2653
2657
|
readonly message: Schema.String;
|
|
2658
|
+
readonly status: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
2654
2659
|
}>;
|
|
2655
2660
|
readonly content: Schema.decodeTo<Schema.optional<Schema.toType<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
|
|
2656
2661
|
readonly type: Schema.Literal<"text">;
|
|
@@ -2693,6 +2698,7 @@ export declare namespace Tool {
|
|
|
2693
2698
|
readonly error: Schema.Struct<{
|
|
2694
2699
|
readonly type: Schema.String;
|
|
2695
2700
|
readonly message: Schema.String;
|
|
2701
|
+
readonly status: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
2696
2702
|
}>;
|
|
2697
2703
|
readonly content: Schema.decodeTo<Schema.optional<Schema.toType<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
|
|
2698
2704
|
readonly type: Schema.Literal<"text">;
|
|
@@ -2768,6 +2774,7 @@ export declare const RetryScheduled: Schema.Struct<{
|
|
|
2768
2774
|
readonly error: Schema.Struct<{
|
|
2769
2775
|
readonly type: Schema.String;
|
|
2770
2776
|
readonly message: Schema.String;
|
|
2777
|
+
readonly status: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
2771
2778
|
}>;
|
|
2772
2779
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
2773
2780
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -2791,6 +2798,7 @@ export declare const RetryScheduled: Schema.Struct<{
|
|
|
2791
2798
|
readonly error: Schema.Struct<{
|
|
2792
2799
|
readonly type: Schema.String;
|
|
2793
2800
|
readonly message: Schema.String;
|
|
2801
|
+
readonly status: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
2794
2802
|
}>;
|
|
2795
2803
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
2796
2804
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -3070,6 +3078,7 @@ export declare namespace Compaction {
|
|
|
3070
3078
|
readonly error: Schema.Struct<{
|
|
3071
3079
|
readonly type: Schema.String;
|
|
3072
3080
|
readonly message: Schema.String;
|
|
3081
|
+
readonly status: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
3073
3082
|
}>;
|
|
3074
3083
|
readonly inputID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
3075
3084
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
@@ -3095,6 +3104,7 @@ export declare namespace Compaction {
|
|
|
3095
3104
|
readonly error: Schema.Struct<{
|
|
3096
3105
|
readonly type: Schema.String;
|
|
3097
3106
|
readonly message: Schema.String;
|
|
3107
|
+
readonly status: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
3098
3108
|
}>;
|
|
3099
3109
|
readonly inputID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
3100
3110
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
@@ -4283,6 +4293,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
4283
4293
|
readonly error: Schema.Struct<{
|
|
4284
4294
|
readonly type: Schema.String;
|
|
4285
4295
|
readonly message: Schema.String;
|
|
4296
|
+
readonly status: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
4286
4297
|
}>;
|
|
4287
4298
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
4288
4299
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -4300,6 +4311,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
4300
4311
|
readonly error: Schema.Struct<{
|
|
4301
4312
|
readonly type: Schema.String;
|
|
4302
4313
|
readonly message: Schema.String;
|
|
4314
|
+
readonly status: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
4303
4315
|
}>;
|
|
4304
4316
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
4305
4317
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -4941,6 +4953,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
4941
4953
|
readonly error: Schema.Struct<{
|
|
4942
4954
|
readonly type: Schema.String;
|
|
4943
4955
|
readonly message: Schema.String;
|
|
4956
|
+
readonly status: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
4944
4957
|
}>;
|
|
4945
4958
|
readonly cost: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.Finite, "Money.USD"> & {
|
|
4946
4959
|
zero: number & import("effect/Brand").Brand<"Money.USD">;
|
|
@@ -4986,6 +4999,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
4986
4999
|
readonly error: Schema.Struct<{
|
|
4987
5000
|
readonly type: Schema.String;
|
|
4988
5001
|
readonly message: Schema.String;
|
|
5002
|
+
readonly status: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
4989
5003
|
}>;
|
|
4990
5004
|
readonly cost: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.Finite, "Money.USD"> & {
|
|
4991
5005
|
zero: number & import("effect/Brand").Brand<"Money.USD">;
|
|
@@ -5791,6 +5805,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
5791
5805
|
readonly error: Schema.Struct<{
|
|
5792
5806
|
readonly type: Schema.String;
|
|
5793
5807
|
readonly message: Schema.String;
|
|
5808
|
+
readonly status: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
5794
5809
|
}>;
|
|
5795
5810
|
readonly content: Schema.decodeTo<Schema.optional<Schema.toType<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
|
|
5796
5811
|
readonly type: Schema.Literal<"text">;
|
|
@@ -5833,6 +5848,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
5833
5848
|
readonly error: Schema.Struct<{
|
|
5834
5849
|
readonly type: Schema.String;
|
|
5835
5850
|
readonly message: Schema.String;
|
|
5851
|
+
readonly status: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
5836
5852
|
}>;
|
|
5837
5853
|
readonly content: Schema.decodeTo<Schema.optional<Schema.toType<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
|
|
5838
5854
|
readonly type: Schema.Literal<"text">;
|
|
@@ -5905,6 +5921,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
5905
5921
|
readonly error: Schema.Struct<{
|
|
5906
5922
|
readonly type: Schema.String;
|
|
5907
5923
|
readonly message: Schema.String;
|
|
5924
|
+
readonly status: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
5908
5925
|
}>;
|
|
5909
5926
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
5910
5927
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -5928,6 +5945,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
5928
5945
|
readonly error: Schema.Struct<{
|
|
5929
5946
|
readonly type: Schema.String;
|
|
5930
5947
|
readonly message: Schema.String;
|
|
5948
|
+
readonly status: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
5931
5949
|
}>;
|
|
5932
5950
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
5933
5951
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -6196,6 +6214,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
6196
6214
|
readonly error: Schema.Struct<{
|
|
6197
6215
|
readonly type: Schema.String;
|
|
6198
6216
|
readonly message: Schema.String;
|
|
6217
|
+
readonly status: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
6199
6218
|
}>;
|
|
6200
6219
|
readonly inputID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
6201
6220
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
@@ -6221,6 +6240,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
6221
6240
|
readonly error: Schema.Struct<{
|
|
6222
6241
|
readonly type: Schema.String;
|
|
6223
6242
|
readonly message: Schema.String;
|
|
6243
|
+
readonly status: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
6224
6244
|
}>;
|
|
6225
6245
|
readonly inputID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
6226
6246
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
@@ -7336,6 +7356,7 @@ export declare const DurableDefinitions: readonly [...((Schema.Struct<{
|
|
|
7336
7356
|
readonly error: Schema.Struct<{
|
|
7337
7357
|
readonly type: Schema.String;
|
|
7338
7358
|
readonly message: Schema.String;
|
|
7359
|
+
readonly status: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
7339
7360
|
}>;
|
|
7340
7361
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
7341
7362
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -7353,6 +7374,7 @@ export declare const DurableDefinitions: readonly [...((Schema.Struct<{
|
|
|
7353
7374
|
readonly error: Schema.Struct<{
|
|
7354
7375
|
readonly type: Schema.String;
|
|
7355
7376
|
readonly message: Schema.String;
|
|
7377
|
+
readonly status: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
7356
7378
|
}>;
|
|
7357
7379
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
7358
7380
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -7994,6 +8016,7 @@ export declare const DurableDefinitions: readonly [...((Schema.Struct<{
|
|
|
7994
8016
|
readonly error: Schema.Struct<{
|
|
7995
8017
|
readonly type: Schema.String;
|
|
7996
8018
|
readonly message: Schema.String;
|
|
8019
|
+
readonly status: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
7997
8020
|
}>;
|
|
7998
8021
|
readonly cost: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.Finite, "Money.USD"> & {
|
|
7999
8022
|
zero: number & import("effect/Brand").Brand<"Money.USD">;
|
|
@@ -8039,6 +8062,7 @@ export declare const DurableDefinitions: readonly [...((Schema.Struct<{
|
|
|
8039
8062
|
readonly error: Schema.Struct<{
|
|
8040
8063
|
readonly type: Schema.String;
|
|
8041
8064
|
readonly message: Schema.String;
|
|
8065
|
+
readonly status: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
8042
8066
|
}>;
|
|
8043
8067
|
readonly cost: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.Finite, "Money.USD"> & {
|
|
8044
8068
|
zero: number & import("effect/Brand").Brand<"Money.USD">;
|
|
@@ -8628,6 +8652,7 @@ export declare const DurableDefinitions: readonly [...((Schema.Struct<{
|
|
|
8628
8652
|
readonly error: Schema.Struct<{
|
|
8629
8653
|
readonly type: Schema.String;
|
|
8630
8654
|
readonly message: Schema.String;
|
|
8655
|
+
readonly status: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
8631
8656
|
}>;
|
|
8632
8657
|
readonly content: Schema.decodeTo<Schema.optional<Schema.toType<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
|
|
8633
8658
|
readonly type: Schema.Literal<"text">;
|
|
@@ -8670,6 +8695,7 @@ export declare const DurableDefinitions: readonly [...((Schema.Struct<{
|
|
|
8670
8695
|
readonly error: Schema.Struct<{
|
|
8671
8696
|
readonly type: Schema.String;
|
|
8672
8697
|
readonly message: Schema.String;
|
|
8698
|
+
readonly status: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
8673
8699
|
}>;
|
|
8674
8700
|
readonly content: Schema.decodeTo<Schema.optional<Schema.toType<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
|
|
8675
8701
|
readonly type: Schema.Literal<"text">;
|
|
@@ -8742,6 +8768,7 @@ export declare const DurableDefinitions: readonly [...((Schema.Struct<{
|
|
|
8742
8768
|
readonly error: Schema.Struct<{
|
|
8743
8769
|
readonly type: Schema.String;
|
|
8744
8770
|
readonly message: Schema.String;
|
|
8771
|
+
readonly status: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
8745
8772
|
}>;
|
|
8746
8773
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
8747
8774
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -8765,6 +8792,7 @@ export declare const DurableDefinitions: readonly [...((Schema.Struct<{
|
|
|
8765
8792
|
readonly error: Schema.Struct<{
|
|
8766
8793
|
readonly type: Schema.String;
|
|
8767
8794
|
readonly message: Schema.String;
|
|
8795
|
+
readonly status: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
8768
8796
|
}>;
|
|
8769
8797
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
8770
8798
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -8989,6 +9017,7 @@ export declare const DurableDefinitions: readonly [...((Schema.Struct<{
|
|
|
8989
9017
|
readonly error: Schema.Struct<{
|
|
8990
9018
|
readonly type: Schema.String;
|
|
8991
9019
|
readonly message: Schema.String;
|
|
9020
|
+
readonly status: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
8992
9021
|
}>;
|
|
8993
9022
|
readonly inputID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
8994
9023
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
@@ -9014,6 +9043,7 @@ export declare const DurableDefinitions: readonly [...((Schema.Struct<{
|
|
|
9014
9043
|
readonly error: Schema.Struct<{
|
|
9015
9044
|
readonly type: Schema.String;
|
|
9016
9045
|
readonly message: Schema.String;
|
|
9046
|
+
readonly status: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
9017
9047
|
}>;
|
|
9018
9048
|
readonly inputID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
9019
9049
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
@@ -10205,6 +10235,7 @@ export declare const Durable: Schema.Union<readonly [...((Schema.Struct<{
|
|
|
10205
10235
|
readonly error: Schema.Struct<{
|
|
10206
10236
|
readonly type: Schema.String;
|
|
10207
10237
|
readonly message: Schema.String;
|
|
10238
|
+
readonly status: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
10208
10239
|
}>;
|
|
10209
10240
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
10210
10241
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -10222,6 +10253,7 @@ export declare const Durable: Schema.Union<readonly [...((Schema.Struct<{
|
|
|
10222
10253
|
readonly error: Schema.Struct<{
|
|
10223
10254
|
readonly type: Schema.String;
|
|
10224
10255
|
readonly message: Schema.String;
|
|
10256
|
+
readonly status: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
10225
10257
|
}>;
|
|
10226
10258
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
10227
10259
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -10863,6 +10895,7 @@ export declare const Durable: Schema.Union<readonly [...((Schema.Struct<{
|
|
|
10863
10895
|
readonly error: Schema.Struct<{
|
|
10864
10896
|
readonly type: Schema.String;
|
|
10865
10897
|
readonly message: Schema.String;
|
|
10898
|
+
readonly status: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
10866
10899
|
}>;
|
|
10867
10900
|
readonly cost: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.Finite, "Money.USD"> & {
|
|
10868
10901
|
zero: number & import("effect/Brand").Brand<"Money.USD">;
|
|
@@ -10908,6 +10941,7 @@ export declare const Durable: Schema.Union<readonly [...((Schema.Struct<{
|
|
|
10908
10941
|
readonly error: Schema.Struct<{
|
|
10909
10942
|
readonly type: Schema.String;
|
|
10910
10943
|
readonly message: Schema.String;
|
|
10944
|
+
readonly status: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
10911
10945
|
}>;
|
|
10912
10946
|
readonly cost: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.Finite, "Money.USD"> & {
|
|
10913
10947
|
zero: number & import("effect/Brand").Brand<"Money.USD">;
|
|
@@ -11497,6 +11531,7 @@ export declare const Durable: Schema.Union<readonly [...((Schema.Struct<{
|
|
|
11497
11531
|
readonly error: Schema.Struct<{
|
|
11498
11532
|
readonly type: Schema.String;
|
|
11499
11533
|
readonly message: Schema.String;
|
|
11534
|
+
readonly status: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
11500
11535
|
}>;
|
|
11501
11536
|
readonly content: Schema.decodeTo<Schema.optional<Schema.toType<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
|
|
11502
11537
|
readonly type: Schema.Literal<"text">;
|
|
@@ -11539,6 +11574,7 @@ export declare const Durable: Schema.Union<readonly [...((Schema.Struct<{
|
|
|
11539
11574
|
readonly error: Schema.Struct<{
|
|
11540
11575
|
readonly type: Schema.String;
|
|
11541
11576
|
readonly message: Schema.String;
|
|
11577
|
+
readonly status: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
11542
11578
|
}>;
|
|
11543
11579
|
readonly content: Schema.decodeTo<Schema.optional<Schema.toType<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
|
|
11544
11580
|
readonly type: Schema.Literal<"text">;
|
|
@@ -11611,6 +11647,7 @@ export declare const Durable: Schema.Union<readonly [...((Schema.Struct<{
|
|
|
11611
11647
|
readonly error: Schema.Struct<{
|
|
11612
11648
|
readonly type: Schema.String;
|
|
11613
11649
|
readonly message: Schema.String;
|
|
11650
|
+
readonly status: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
11614
11651
|
}>;
|
|
11615
11652
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
11616
11653
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -11634,6 +11671,7 @@ export declare const Durable: Schema.Union<readonly [...((Schema.Struct<{
|
|
|
11634
11671
|
readonly error: Schema.Struct<{
|
|
11635
11672
|
readonly type: Schema.String;
|
|
11636
11673
|
readonly message: Schema.String;
|
|
11674
|
+
readonly status: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
11637
11675
|
}>;
|
|
11638
11676
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
11639
11677
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -11858,6 +11896,7 @@ export declare const Durable: Schema.Union<readonly [...((Schema.Struct<{
|
|
|
11858
11896
|
readonly error: Schema.Struct<{
|
|
11859
11897
|
readonly type: Schema.String;
|
|
11860
11898
|
readonly message: Schema.String;
|
|
11899
|
+
readonly status: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
11861
11900
|
}>;
|
|
11862
11901
|
readonly inputID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
11863
11902
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
@@ -11883,6 +11922,7 @@ export declare const Durable: Schema.Union<readonly [...((Schema.Struct<{
|
|
|
11883
11922
|
readonly error: Schema.Struct<{
|
|
11884
11923
|
readonly type: Schema.String;
|
|
11885
11924
|
readonly message: Schema.String;
|
|
11925
|
+
readonly status: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
11886
11926
|
}>;
|
|
11887
11927
|
readonly inputID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
11888
11928
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
@@ -13141,6 +13181,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Struct<{
|
|
|
13141
13181
|
readonly error: Schema.Struct<{
|
|
13142
13182
|
readonly type: Schema.String;
|
|
13143
13183
|
readonly message: Schema.String;
|
|
13184
|
+
readonly status: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
13144
13185
|
}>;
|
|
13145
13186
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
13146
13187
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -13158,6 +13199,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Struct<{
|
|
|
13158
13199
|
readonly error: Schema.Struct<{
|
|
13159
13200
|
readonly type: Schema.String;
|
|
13160
13201
|
readonly message: Schema.String;
|
|
13202
|
+
readonly status: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
13161
13203
|
}>;
|
|
13162
13204
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
13163
13205
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -13799,6 +13841,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Struct<{
|
|
|
13799
13841
|
readonly error: Schema.Struct<{
|
|
13800
13842
|
readonly type: Schema.String;
|
|
13801
13843
|
readonly message: Schema.String;
|
|
13844
|
+
readonly status: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
13802
13845
|
}>;
|
|
13803
13846
|
readonly cost: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.Finite, "Money.USD"> & {
|
|
13804
13847
|
zero: number & import("effect/Brand").Brand<"Money.USD">;
|
|
@@ -13844,6 +13887,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Struct<{
|
|
|
13844
13887
|
readonly error: Schema.Struct<{
|
|
13845
13888
|
readonly type: Schema.String;
|
|
13846
13889
|
readonly message: Schema.String;
|
|
13890
|
+
readonly status: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
13847
13891
|
}>;
|
|
13848
13892
|
readonly cost: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.Finite, "Money.USD"> & {
|
|
13849
13893
|
zero: number & import("effect/Brand").Brand<"Money.USD">;
|
|
@@ -14649,6 +14693,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Struct<{
|
|
|
14649
14693
|
readonly error: Schema.Struct<{
|
|
14650
14694
|
readonly type: Schema.String;
|
|
14651
14695
|
readonly message: Schema.String;
|
|
14696
|
+
readonly status: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
14652
14697
|
}>;
|
|
14653
14698
|
readonly content: Schema.decodeTo<Schema.optional<Schema.toType<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
|
|
14654
14699
|
readonly type: Schema.Literal<"text">;
|
|
@@ -14691,6 +14736,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Struct<{
|
|
|
14691
14736
|
readonly error: Schema.Struct<{
|
|
14692
14737
|
readonly type: Schema.String;
|
|
14693
14738
|
readonly message: Schema.String;
|
|
14739
|
+
readonly status: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
14694
14740
|
}>;
|
|
14695
14741
|
readonly content: Schema.decodeTo<Schema.optional<Schema.toType<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
|
|
14696
14742
|
readonly type: Schema.Literal<"text">;
|
|
@@ -14763,6 +14809,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Struct<{
|
|
|
14763
14809
|
readonly error: Schema.Struct<{
|
|
14764
14810
|
readonly type: Schema.String;
|
|
14765
14811
|
readonly message: Schema.String;
|
|
14812
|
+
readonly status: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
14766
14813
|
}>;
|
|
14767
14814
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
14768
14815
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -14786,6 +14833,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Struct<{
|
|
|
14786
14833
|
readonly error: Schema.Struct<{
|
|
14787
14834
|
readonly type: Schema.String;
|
|
14788
14835
|
readonly message: Schema.String;
|
|
14836
|
+
readonly status: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
14789
14837
|
}>;
|
|
14790
14838
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
14791
14839
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -15054,6 +15102,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Struct<{
|
|
|
15054
15102
|
readonly error: Schema.Struct<{
|
|
15055
15103
|
readonly type: Schema.String;
|
|
15056
15104
|
readonly message: Schema.String;
|
|
15105
|
+
readonly status: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
15057
15106
|
}>;
|
|
15058
15107
|
readonly inputID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
15059
15108
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
@@ -15079,6 +15128,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Struct<{
|
|
|
15079
15128
|
readonly error: Schema.Struct<{
|
|
15080
15129
|
readonly type: Schema.String;
|
|
15081
15130
|
readonly message: Schema.String;
|
|
15131
|
+
readonly status: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
15082
15132
|
}>;
|
|
15083
15133
|
readonly inputID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
15084
15134
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
@@ -331,6 +331,7 @@ export declare const ToolStateError: Schema.Struct<{
|
|
|
331
331
|
readonly error: Schema.Struct<{
|
|
332
332
|
readonly type: Schema.String;
|
|
333
333
|
readonly message: Schema.String;
|
|
334
|
+
readonly status: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
334
335
|
}>;
|
|
335
336
|
readonly content: Schema.decodeTo<Schema.optional<Schema.toType<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
|
|
336
337
|
readonly type: Schema.Literal<"text">;
|
|
@@ -377,6 +378,7 @@ export declare const ToolState: Schema.toTaggedUnion<"status", readonly [Schema.
|
|
|
377
378
|
readonly error: Schema.Struct<{
|
|
378
379
|
readonly type: Schema.String;
|
|
379
380
|
readonly message: Schema.String;
|
|
381
|
+
readonly status: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
380
382
|
}>;
|
|
381
383
|
readonly content: Schema.decodeTo<Schema.optional<Schema.toType<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
|
|
382
384
|
readonly type: Schema.Literal<"text">;
|
|
@@ -433,6 +435,7 @@ export declare const AssistantTool: Schema.Struct<{
|
|
|
433
435
|
readonly error: Schema.Struct<{
|
|
434
436
|
readonly type: Schema.String;
|
|
435
437
|
readonly message: Schema.String;
|
|
438
|
+
readonly status: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
436
439
|
}>;
|
|
437
440
|
readonly content: Schema.decodeTo<Schema.optional<Schema.toType<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
|
|
438
441
|
readonly type: Schema.Literal<"text">;
|
|
@@ -528,6 +531,7 @@ export declare const AssistantContent: Schema.toTaggedUnion<"type", readonly [Sc
|
|
|
528
531
|
readonly error: Schema.Struct<{
|
|
529
532
|
readonly type: Schema.String;
|
|
530
533
|
readonly message: Schema.String;
|
|
534
|
+
readonly status: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
531
535
|
}>;
|
|
532
536
|
readonly content: Schema.decodeTo<Schema.optional<Schema.toType<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
|
|
533
537
|
readonly type: Schema.Literal<"text">;
|
|
@@ -563,6 +567,7 @@ export declare const AssistantRetry: Schema.Struct<{
|
|
|
563
567
|
readonly error: Schema.Struct<{
|
|
564
568
|
readonly type: Schema.String;
|
|
565
569
|
readonly message: Schema.String;
|
|
570
|
+
readonly status: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
566
571
|
}>;
|
|
567
572
|
}>;
|
|
568
573
|
export interface Assistant extends Schema.Schema.Type<typeof Assistant> {
|
|
@@ -641,6 +646,7 @@ export declare const Assistant: Schema.Struct<{
|
|
|
641
646
|
readonly error: Schema.Struct<{
|
|
642
647
|
readonly type: Schema.String;
|
|
643
648
|
readonly message: Schema.String;
|
|
649
|
+
readonly status: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
644
650
|
}>;
|
|
645
651
|
readonly content: Schema.decodeTo<Schema.optional<Schema.toType<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
|
|
646
652
|
readonly type: Schema.Literal<"text">;
|
|
@@ -702,9 +708,11 @@ export declare const Assistant: Schema.Struct<{
|
|
|
702
708
|
readonly error: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
703
709
|
readonly type: Schema.String;
|
|
704
710
|
readonly message: Schema.String;
|
|
711
|
+
readonly status: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
705
712
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
706
713
|
readonly type: Schema.String;
|
|
707
714
|
readonly message: Schema.String;
|
|
715
|
+
readonly status: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
708
716
|
}>>, never, never>;
|
|
709
717
|
readonly retry: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
710
718
|
readonly attempt: Schema.Int;
|
|
@@ -712,6 +720,7 @@ export declare const Assistant: Schema.Struct<{
|
|
|
712
720
|
readonly error: Schema.Struct<{
|
|
713
721
|
readonly type: Schema.String;
|
|
714
722
|
readonly message: Schema.String;
|
|
723
|
+
readonly status: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
715
724
|
}>;
|
|
716
725
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
717
726
|
readonly attempt: Schema.Int;
|
|
@@ -719,6 +728,7 @@ export declare const Assistant: Schema.Struct<{
|
|
|
719
728
|
readonly error: Schema.Struct<{
|
|
720
729
|
readonly type: Schema.String;
|
|
721
730
|
readonly message: Schema.String;
|
|
731
|
+
readonly status: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
722
732
|
}>;
|
|
723
733
|
}>>, never, never>;
|
|
724
734
|
readonly time: Schema.Struct<{
|
|
@@ -773,6 +783,7 @@ export declare const CompactionFailed: Schema.Struct<{
|
|
|
773
783
|
readonly error: Schema.Struct<{
|
|
774
784
|
readonly type: Schema.String;
|
|
775
785
|
readonly message: Schema.String;
|
|
786
|
+
readonly status: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
776
787
|
}>;
|
|
777
788
|
readonly id: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
778
789
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
@@ -818,6 +829,7 @@ export declare const Compaction: Schema.Union<readonly [Schema.Struct<{
|
|
|
818
829
|
readonly error: Schema.Struct<{
|
|
819
830
|
readonly type: Schema.String;
|
|
820
831
|
readonly message: Schema.String;
|
|
832
|
+
readonly status: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
821
833
|
}>;
|
|
822
834
|
readonly id: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
823
835
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
@@ -1169,6 +1181,7 @@ export declare const Info: Schema.Union<readonly [Schema.Struct<{
|
|
|
1169
1181
|
readonly error: Schema.Struct<{
|
|
1170
1182
|
readonly type: Schema.String;
|
|
1171
1183
|
readonly message: Schema.String;
|
|
1184
|
+
readonly status: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
1172
1185
|
}>;
|
|
1173
1186
|
readonly content: Schema.decodeTo<Schema.optional<Schema.toType<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
|
|
1174
1187
|
readonly type: Schema.Literal<"text">;
|
|
@@ -1230,9 +1243,11 @@ export declare const Info: Schema.Union<readonly [Schema.Struct<{
|
|
|
1230
1243
|
readonly error: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
1231
1244
|
readonly type: Schema.String;
|
|
1232
1245
|
readonly message: Schema.String;
|
|
1246
|
+
readonly status: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
1233
1247
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
1234
1248
|
readonly type: Schema.String;
|
|
1235
1249
|
readonly message: Schema.String;
|
|
1250
|
+
readonly status: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
1236
1251
|
}>>, never, never>;
|
|
1237
1252
|
readonly retry: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
1238
1253
|
readonly attempt: Schema.Int;
|
|
@@ -1240,6 +1255,7 @@ export declare const Info: Schema.Union<readonly [Schema.Struct<{
|
|
|
1240
1255
|
readonly error: Schema.Struct<{
|
|
1241
1256
|
readonly type: Schema.String;
|
|
1242
1257
|
readonly message: Schema.String;
|
|
1258
|
+
readonly status: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
1243
1259
|
}>;
|
|
1244
1260
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
1245
1261
|
readonly attempt: Schema.Int;
|
|
@@ -1247,6 +1263,7 @@ export declare const Info: Schema.Union<readonly [Schema.Struct<{
|
|
|
1247
1263
|
readonly error: Schema.Struct<{
|
|
1248
1264
|
readonly type: Schema.String;
|
|
1249
1265
|
readonly message: Schema.String;
|
|
1266
|
+
readonly status: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
1250
1267
|
}>;
|
|
1251
1268
|
}>>, never, never>;
|
|
1252
1269
|
readonly time: Schema.Struct<{
|
|
@@ -1292,6 +1309,7 @@ export declare const Info: Schema.Union<readonly [Schema.Struct<{
|
|
|
1292
1309
|
readonly error: Schema.Struct<{
|
|
1293
1310
|
readonly type: Schema.String;
|
|
1294
1311
|
readonly message: Schema.String;
|
|
1312
|
+
readonly status: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
1295
1313
|
}>;
|
|
1296
1314
|
readonly id: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
1297
1315
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|