@opencode/protocol 2.1.0 → 2.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/groups/event.d.ts +25 -0
- package/dist/groups/message.d.ts +16 -0
- package/dist/groups/permission.d.ts +24 -24
- package/dist/groups/pty.d.ts +35 -35
- package/dist/groups/session.d.ts +50 -0
- package/package.json +2 -2
package/dist/groups/event.d.ts
CHANGED
|
@@ -2088,6 +2088,7 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
2088
2088
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
2089
2089
|
readonly body: Schema.String;
|
|
2090
2090
|
}>>, never, never>;
|
|
2091
|
+
readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
2091
2092
|
}>;
|
|
2092
2093
|
}>;
|
|
2093
2094
|
}> & {
|
|
@@ -2111,6 +2112,7 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
2111
2112
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
2112
2113
|
readonly body: Schema.String;
|
|
2113
2114
|
}>>, never, never>;
|
|
2115
|
+
readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
2114
2116
|
}>;
|
|
2115
2117
|
}>;
|
|
2116
2118
|
}, Schema.Struct<{
|
|
@@ -2828,6 +2830,7 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
2828
2830
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
2829
2831
|
readonly body: Schema.String;
|
|
2830
2832
|
}>>, never, never>;
|
|
2833
|
+
readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
2831
2834
|
}>;
|
|
2832
2835
|
readonly finish: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["content-filter"]>>>, Schema.optionalKey<Schema.Literals<readonly ["content-filter"]>>, never, never>;
|
|
2833
2836
|
readonly rawFinish: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
@@ -2882,6 +2885,7 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
2882
2885
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
2883
2886
|
readonly body: Schema.String;
|
|
2884
2887
|
}>>, never, never>;
|
|
2888
|
+
readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
2885
2889
|
}>;
|
|
2886
2890
|
readonly finish: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["content-filter"]>>>, Schema.optionalKey<Schema.Literals<readonly ["content-filter"]>>, never, never>;
|
|
2887
2891
|
readonly rawFinish: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
@@ -3701,6 +3705,7 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
3701
3705
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
3702
3706
|
readonly body: Schema.String;
|
|
3703
3707
|
}>>, never, never>;
|
|
3708
|
+
readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
3704
3709
|
}>;
|
|
3705
3710
|
readonly content: Schema.decodeTo<Schema.optional<Schema.toType<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
|
|
3706
3711
|
readonly type: Schema.Literal<"text">;
|
|
@@ -3749,6 +3754,7 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
3749
3754
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
3750
3755
|
readonly body: Schema.String;
|
|
3751
3756
|
}>>, never, never>;
|
|
3757
|
+
readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
3752
3758
|
}>;
|
|
3753
3759
|
readonly content: Schema.decodeTo<Schema.optional<Schema.toType<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
|
|
3754
3760
|
readonly type: Schema.Literal<"text">;
|
|
@@ -3822,6 +3828,7 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
3822
3828
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
3823
3829
|
readonly body: Schema.String;
|
|
3824
3830
|
}>>, never, never>;
|
|
3831
|
+
readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
3825
3832
|
}>;
|
|
3826
3833
|
}>;
|
|
3827
3834
|
}> & {
|
|
@@ -3851,6 +3858,7 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
3851
3858
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
3852
3859
|
readonly body: Schema.String;
|
|
3853
3860
|
}>>, never, never>;
|
|
3861
|
+
readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
3854
3862
|
}>;
|
|
3855
3863
|
}>;
|
|
3856
3864
|
}, Schema.Struct<{
|
|
@@ -4199,6 +4207,7 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
4199
4207
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
4200
4208
|
readonly body: Schema.String;
|
|
4201
4209
|
}>>, never, never>;
|
|
4210
|
+
readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
4202
4211
|
}>;
|
|
4203
4212
|
readonly inputID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
4204
4213
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
@@ -4252,6 +4261,7 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
4252
4261
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
4253
4262
|
readonly body: Schema.String;
|
|
4254
4263
|
}>>, never, never>;
|
|
4264
|
+
readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
4255
4265
|
}>;
|
|
4256
4266
|
readonly inputID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
4257
4267
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
@@ -6767,6 +6777,7 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
6767
6777
|
readonly response?: {
|
|
6768
6778
|
readonly body: string;
|
|
6769
6779
|
} | undefined;
|
|
6780
|
+
readonly retryAfterMs?: number | undefined;
|
|
6770
6781
|
};
|
|
6771
6782
|
readonly inputID?: (string & import("effect/Brand").Brand<"Session.Message.ID">) | undefined;
|
|
6772
6783
|
readonly cost?: (number & import("effect/Brand").Brand<"Money.USD">) | undefined;
|
|
@@ -6888,6 +6899,7 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
6888
6899
|
readonly response?: {
|
|
6889
6900
|
readonly body: string;
|
|
6890
6901
|
} | undefined;
|
|
6902
|
+
readonly retryAfterMs?: number | undefined;
|
|
6891
6903
|
};
|
|
6892
6904
|
};
|
|
6893
6905
|
} | {
|
|
@@ -7354,6 +7366,7 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
7354
7366
|
readonly response?: {
|
|
7355
7367
|
readonly body: string;
|
|
7356
7368
|
} | undefined;
|
|
7369
|
+
readonly retryAfterMs?: number | undefined;
|
|
7357
7370
|
};
|
|
7358
7371
|
};
|
|
7359
7372
|
} | {
|
|
@@ -7591,6 +7604,7 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
7591
7604
|
readonly response?: {
|
|
7592
7605
|
readonly body: string;
|
|
7593
7606
|
} | undefined;
|
|
7607
|
+
readonly retryAfterMs?: number | undefined;
|
|
7594
7608
|
};
|
|
7595
7609
|
readonly finish?: "content-filter" | undefined;
|
|
7596
7610
|
readonly rawFinish?: string | undefined;
|
|
@@ -7783,6 +7797,7 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
7783
7797
|
readonly response?: {
|
|
7784
7798
|
readonly body: string;
|
|
7785
7799
|
} | undefined;
|
|
7800
|
+
readonly retryAfterMs?: number | undefined;
|
|
7786
7801
|
};
|
|
7787
7802
|
readonly content?: readonly [{
|
|
7788
7803
|
readonly type: "text";
|
|
@@ -10751,6 +10766,7 @@ export declare const OpenCodeEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
10751
10766
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
10752
10767
|
readonly body: Schema.String;
|
|
10753
10768
|
}>>, never, never>;
|
|
10769
|
+
readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
10754
10770
|
}>;
|
|
10755
10771
|
}>;
|
|
10756
10772
|
}> & {
|
|
@@ -10774,6 +10790,7 @@ export declare const OpenCodeEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
10774
10790
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
10775
10791
|
readonly body: Schema.String;
|
|
10776
10792
|
}>>, never, never>;
|
|
10793
|
+
readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
10777
10794
|
}>;
|
|
10778
10795
|
}>;
|
|
10779
10796
|
}, Schema.Struct<{
|
|
@@ -11491,6 +11508,7 @@ export declare const OpenCodeEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
11491
11508
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
11492
11509
|
readonly body: Schema.String;
|
|
11493
11510
|
}>>, never, never>;
|
|
11511
|
+
readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
11494
11512
|
}>;
|
|
11495
11513
|
readonly finish: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["content-filter"]>>>, Schema.optionalKey<Schema.Literals<readonly ["content-filter"]>>, never, never>;
|
|
11496
11514
|
readonly rawFinish: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
@@ -11545,6 +11563,7 @@ export declare const OpenCodeEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
11545
11563
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
11546
11564
|
readonly body: Schema.String;
|
|
11547
11565
|
}>>, never, never>;
|
|
11566
|
+
readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
11548
11567
|
}>;
|
|
11549
11568
|
readonly finish: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["content-filter"]>>>, Schema.optionalKey<Schema.Literals<readonly ["content-filter"]>>, never, never>;
|
|
11550
11569
|
readonly rawFinish: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
@@ -12364,6 +12383,7 @@ export declare const OpenCodeEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
12364
12383
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
12365
12384
|
readonly body: Schema.String;
|
|
12366
12385
|
}>>, never, never>;
|
|
12386
|
+
readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
12367
12387
|
}>;
|
|
12368
12388
|
readonly content: Schema.decodeTo<Schema.optional<Schema.toType<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
|
|
12369
12389
|
readonly type: Schema.Literal<"text">;
|
|
@@ -12412,6 +12432,7 @@ export declare const OpenCodeEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
12412
12432
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
12413
12433
|
readonly body: Schema.String;
|
|
12414
12434
|
}>>, never, never>;
|
|
12435
|
+
readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
12415
12436
|
}>;
|
|
12416
12437
|
readonly content: Schema.decodeTo<Schema.optional<Schema.toType<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
|
|
12417
12438
|
readonly type: Schema.Literal<"text">;
|
|
@@ -12485,6 +12506,7 @@ export declare const OpenCodeEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
12485
12506
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
12486
12507
|
readonly body: Schema.String;
|
|
12487
12508
|
}>>, never, never>;
|
|
12509
|
+
readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
12488
12510
|
}>;
|
|
12489
12511
|
}>;
|
|
12490
12512
|
}> & {
|
|
@@ -12514,6 +12536,7 @@ export declare const OpenCodeEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
12514
12536
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
12515
12537
|
readonly body: Schema.String;
|
|
12516
12538
|
}>>, never, never>;
|
|
12539
|
+
readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
12517
12540
|
}>;
|
|
12518
12541
|
}>;
|
|
12519
12542
|
}, Schema.Struct<{
|
|
@@ -12862,6 +12885,7 @@ export declare const OpenCodeEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
12862
12885
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
12863
12886
|
readonly body: Schema.String;
|
|
12864
12887
|
}>>, never, never>;
|
|
12888
|
+
readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
12865
12889
|
}>;
|
|
12866
12890
|
readonly inputID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
12867
12891
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
@@ -12915,6 +12939,7 @@ export declare const OpenCodeEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
12915
12939
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
12916
12940
|
readonly body: Schema.String;
|
|
12917
12941
|
}>>, never, never>;
|
|
12942
|
+
readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
12918
12943
|
}>;
|
|
12919
12944
|
readonly inputID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
12920
12945
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
package/dist/groups/message.d.ts
CHANGED
|
@@ -415,6 +415,7 @@ export declare const PublicSessionMessage: Schema.Union<readonly [Schema.Struct<
|
|
|
415
415
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
416
416
|
readonly body: Schema.String;
|
|
417
417
|
}>>, never, never>;
|
|
418
|
+
readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
418
419
|
}>;
|
|
419
420
|
readonly content: Schema.decodeTo<Schema.optional<Schema.toType<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
|
|
420
421
|
readonly type: Schema.Literal<"text">;
|
|
@@ -484,6 +485,7 @@ export declare const PublicSessionMessage: Schema.Union<readonly [Schema.Struct<
|
|
|
484
485
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
485
486
|
readonly body: Schema.String;
|
|
486
487
|
}>>, never, never>;
|
|
488
|
+
readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
487
489
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
488
490
|
readonly type: Schema.String;
|
|
489
491
|
readonly message: Schema.String;
|
|
@@ -493,6 +495,7 @@ export declare const PublicSessionMessage: Schema.Union<readonly [Schema.Struct<
|
|
|
493
495
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
494
496
|
readonly body: Schema.String;
|
|
495
497
|
}>>, never, never>;
|
|
498
|
+
readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
496
499
|
}>>, never, never>;
|
|
497
500
|
readonly retry: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
498
501
|
readonly attempt: Schema.Int;
|
|
@@ -506,6 +509,7 @@ export declare const PublicSessionMessage: Schema.Union<readonly [Schema.Struct<
|
|
|
506
509
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
507
510
|
readonly body: Schema.String;
|
|
508
511
|
}>>, never, never>;
|
|
512
|
+
readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
509
513
|
}>;
|
|
510
514
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
511
515
|
readonly attempt: Schema.Int;
|
|
@@ -519,6 +523,7 @@ export declare const PublicSessionMessage: Schema.Union<readonly [Schema.Struct<
|
|
|
519
523
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
520
524
|
readonly body: Schema.String;
|
|
521
525
|
}>>, never, never>;
|
|
526
|
+
readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
522
527
|
}>;
|
|
523
528
|
}>>, never, never>;
|
|
524
529
|
readonly time: Schema.Struct<{
|
|
@@ -663,6 +668,7 @@ export declare const PublicSessionMessage: Schema.Union<readonly [Schema.Struct<
|
|
|
663
668
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
664
669
|
readonly body: Schema.String;
|
|
665
670
|
}>>, never, never>;
|
|
671
|
+
readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
666
672
|
}>;
|
|
667
673
|
}>]>, Schema.Struct<{
|
|
668
674
|
readonly id: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
@@ -684,6 +690,7 @@ export declare const PublicSessionMessage: Schema.Union<readonly [Schema.Struct<
|
|
|
684
690
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
685
691
|
readonly body: Schema.String;
|
|
686
692
|
}>>, never, never>;
|
|
693
|
+
readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
687
694
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
688
695
|
readonly type: Schema.String;
|
|
689
696
|
readonly message: Schema.String;
|
|
@@ -693,6 +700,7 @@ export declare const PublicSessionMessage: Schema.Union<readonly [Schema.Struct<
|
|
|
693
700
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
694
701
|
readonly body: Schema.String;
|
|
695
702
|
}>>, never, never>;
|
|
703
|
+
readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
696
704
|
}>>, never, never>;
|
|
697
705
|
}>]>;
|
|
698
706
|
export declare const MessageGroup: HttpApiGroup.HttpApiGroup<"server.message", HttpApiEndpoint.HttpApiEndpoint<"session.messages", "GET", "/api/session/:sessionID/message", Schema.toCodecStringTree<Schema.Struct<{
|
|
@@ -1114,6 +1122,7 @@ export declare const MessageGroup: HttpApiGroup.HttpApiGroup<"server.message", H
|
|
|
1114
1122
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
1115
1123
|
readonly body: Schema.String;
|
|
1116
1124
|
}>>, never, never>;
|
|
1125
|
+
readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
1117
1126
|
}>;
|
|
1118
1127
|
readonly content: Schema.decodeTo<Schema.optional<Schema.toType<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
|
|
1119
1128
|
readonly type: Schema.Literal<"text">;
|
|
@@ -1183,6 +1192,7 @@ export declare const MessageGroup: HttpApiGroup.HttpApiGroup<"server.message", H
|
|
|
1183
1192
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
1184
1193
|
readonly body: Schema.String;
|
|
1185
1194
|
}>>, never, never>;
|
|
1195
|
+
readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
1186
1196
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
1187
1197
|
readonly type: Schema.String;
|
|
1188
1198
|
readonly message: Schema.String;
|
|
@@ -1192,6 +1202,7 @@ export declare const MessageGroup: HttpApiGroup.HttpApiGroup<"server.message", H
|
|
|
1192
1202
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
1193
1203
|
readonly body: Schema.String;
|
|
1194
1204
|
}>>, never, never>;
|
|
1205
|
+
readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
1195
1206
|
}>>, never, never>;
|
|
1196
1207
|
readonly retry: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
1197
1208
|
readonly attempt: Schema.Int;
|
|
@@ -1205,6 +1216,7 @@ export declare const MessageGroup: HttpApiGroup.HttpApiGroup<"server.message", H
|
|
|
1205
1216
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
1206
1217
|
readonly body: Schema.String;
|
|
1207
1218
|
}>>, never, never>;
|
|
1219
|
+
readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
1208
1220
|
}>;
|
|
1209
1221
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
1210
1222
|
readonly attempt: Schema.Int;
|
|
@@ -1218,6 +1230,7 @@ export declare const MessageGroup: HttpApiGroup.HttpApiGroup<"server.message", H
|
|
|
1218
1230
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
1219
1231
|
readonly body: Schema.String;
|
|
1220
1232
|
}>>, never, never>;
|
|
1233
|
+
readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
1221
1234
|
}>;
|
|
1222
1235
|
}>>, never, never>;
|
|
1223
1236
|
readonly time: Schema.Struct<{
|
|
@@ -1362,6 +1375,7 @@ export declare const MessageGroup: HttpApiGroup.HttpApiGroup<"server.message", H
|
|
|
1362
1375
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
1363
1376
|
readonly body: Schema.String;
|
|
1364
1377
|
}>>, never, never>;
|
|
1378
|
+
readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
1365
1379
|
}>;
|
|
1366
1380
|
}>]>, Schema.Struct<{
|
|
1367
1381
|
readonly id: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
@@ -1383,6 +1397,7 @@ export declare const MessageGroup: HttpApiGroup.HttpApiGroup<"server.message", H
|
|
|
1383
1397
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
1384
1398
|
readonly body: Schema.String;
|
|
1385
1399
|
}>>, never, never>;
|
|
1400
|
+
readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
1386
1401
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
1387
1402
|
readonly type: Schema.String;
|
|
1388
1403
|
readonly message: Schema.String;
|
|
@@ -1392,6 +1407,7 @@ export declare const MessageGroup: HttpApiGroup.HttpApiGroup<"server.message", H
|
|
|
1392
1407
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
1393
1408
|
readonly body: Schema.String;
|
|
1394
1409
|
}>>, never, never>;
|
|
1410
|
+
readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
1395
1411
|
}>>, never, never>;
|
|
1396
1412
|
}>]>>;
|
|
1397
1413
|
readonly cursor: Schema.Struct<{
|
|
@@ -5,7 +5,29 @@ export declare const makePermissionGroup: <LocationId extends HttpApiMiddleware.
|
|
|
5
5
|
id: Schema.brand<Schema.String, "PermissionSaved.ID"> & {
|
|
6
6
|
create: () => string & import("effect/Brand").Brand<"PermissionSaved.ID">;
|
|
7
7
|
};
|
|
8
|
-
}>>, never, never, never, Schema.toCodecJson<HttpApiSchema.NoContent>, never, LocationId, HttpApiMiddleware.Requires<LocationId>> | HttpApiEndpoint.HttpApiEndpoint<"permission.
|
|
8
|
+
}>>, never, never, never, Schema.toCodecJson<HttpApiSchema.NoContent>, never, LocationId, HttpApiMiddleware.Requires<LocationId>> | HttpApiEndpoint.HttpApiEndpoint<"permission.saved.update", "PATCH", "/api/permission/saved/:id", Schema.toCodecStringTree<Schema.Struct<{
|
|
9
|
+
id: Schema.brand<Schema.String, "PermissionSaved.ID"> & {
|
|
10
|
+
create: () => string & import("effect/Brand").Brand<"PermissionSaved.ID">;
|
|
11
|
+
};
|
|
12
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
13
|
+
readonly action: Schema.optional<Schema.String>;
|
|
14
|
+
readonly resource: Schema.optional<Schema.String>;
|
|
15
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
16
|
+
readonly data: Schema.Struct<{
|
|
17
|
+
readonly id: Schema.brand<Schema.String, "PermissionSaved.ID"> & {
|
|
18
|
+
create: () => string & import("effect/Brand").Brand<"PermissionSaved.ID">;
|
|
19
|
+
};
|
|
20
|
+
readonly projectID: Schema.brand<Schema.String, "Project.ID"> & {
|
|
21
|
+
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
22
|
+
};
|
|
23
|
+
readonly action: Schema.String;
|
|
24
|
+
readonly resource: Schema.String;
|
|
25
|
+
readonly time: Schema.Struct<{
|
|
26
|
+
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
27
|
+
readonly updated: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
28
|
+
}>;
|
|
29
|
+
}>;
|
|
30
|
+
}>>, Schema.toCodecJson<typeof ConflictError | typeof PermissionSavedNotFoundError>, LocationId, HttpApiMiddleware.Requires<LocationId>> | HttpApiEndpoint.HttpApiEndpoint<"permission.request.list", "GET", "/api/permission/request", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
9
31
|
readonly location: Schema.optional<Schema.Struct<{
|
|
10
32
|
readonly directory: Schema.optional<Schema.String>;
|
|
11
33
|
}>>;
|
|
@@ -55,29 +77,7 @@ export declare const makePermissionGroup: <LocationId extends HttpApiMiddleware.
|
|
|
55
77
|
readonly updated: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
56
78
|
}>;
|
|
57
79
|
}>>;
|
|
58
|
-
}>>, never, LocationId, HttpApiMiddleware.Requires<LocationId>> | HttpApiEndpoint.HttpApiEndpoint<"permission.
|
|
59
|
-
id: Schema.brand<Schema.String, "PermissionSaved.ID"> & {
|
|
60
|
-
create: () => string & import("effect/Brand").Brand<"PermissionSaved.ID">;
|
|
61
|
-
};
|
|
62
|
-
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
63
|
-
readonly action: Schema.optional<Schema.String>;
|
|
64
|
-
readonly resource: Schema.optional<Schema.String>;
|
|
65
|
-
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
66
|
-
readonly data: Schema.Struct<{
|
|
67
|
-
readonly id: Schema.brand<Schema.String, "PermissionSaved.ID"> & {
|
|
68
|
-
create: () => string & import("effect/Brand").Brand<"PermissionSaved.ID">;
|
|
69
|
-
};
|
|
70
|
-
readonly projectID: Schema.brand<Schema.String, "Project.ID"> & {
|
|
71
|
-
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
72
|
-
};
|
|
73
|
-
readonly action: Schema.String;
|
|
74
|
-
readonly resource: Schema.String;
|
|
75
|
-
readonly time: Schema.Struct<{
|
|
76
|
-
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
77
|
-
readonly updated: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
78
|
-
}>;
|
|
79
|
-
}>;
|
|
80
|
-
}>>, Schema.toCodecJson<typeof ConflictError | typeof PermissionSavedNotFoundError>, LocationId, HttpApiMiddleware.Requires<LocationId>> | HttpApiEndpoint.HttpApiEndpoint<"session.permission.create", "POST", "/api/session/:sessionID/permission", Schema.toCodecStringTree<Schema.Struct<{
|
|
80
|
+
}>>, never, LocationId, HttpApiMiddleware.Requires<LocationId>> | HttpApiEndpoint.HttpApiEndpoint<"session.permission.create", "POST", "/api/session/:sessionID/permission", Schema.toCodecStringTree<Schema.Struct<{
|
|
81
81
|
sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
82
82
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
83
83
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
package/dist/groups/pty.d.ts
CHANGED
|
@@ -36,33 +36,7 @@ export declare const makePtyGroup: <LocationId extends HttpApiMiddleware.AnyId,
|
|
|
36
36
|
readonly pid: Schema.Int;
|
|
37
37
|
readonly exitCode: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
38
38
|
}>>;
|
|
39
|
-
}>>, never, LocationId, HttpApiMiddleware.Requires<LocationId>> | HttpApiEndpoint.HttpApiEndpoint<"pty.
|
|
40
|
-
ptyID: Schema.brand<Schema.String, "PtyID"> & {
|
|
41
|
-
create: () => string & import("effect/Brand").Brand<"PtyID">;
|
|
42
|
-
ascending: (id?: string) => string & import("effect/Brand").Brand<"PtyID">;
|
|
43
|
-
};
|
|
44
|
-
}>>, Schema.toCodecStringTree<Schema.Struct<{
|
|
45
|
-
readonly location: Schema.optional<Schema.Struct<{
|
|
46
|
-
readonly directory: Schema.optional<Schema.String>;
|
|
47
|
-
}>>;
|
|
48
|
-
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
49
|
-
readonly location: Schema.Struct<{
|
|
50
|
-
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
51
|
-
}>;
|
|
52
|
-
readonly data: Schema.Struct<{
|
|
53
|
-
readonly id: Schema.brand<Schema.String, "PtyID"> & {
|
|
54
|
-
create: () => string & import("effect/Brand").Brand<"PtyID">;
|
|
55
|
-
ascending: (id?: string) => string & import("effect/Brand").Brand<"PtyID">;
|
|
56
|
-
};
|
|
57
|
-
readonly title: Schema.String;
|
|
58
|
-
readonly command: Schema.String;
|
|
59
|
-
readonly args: Schema.$Array<Schema.String>;
|
|
60
|
-
readonly cwd: Schema.String;
|
|
61
|
-
readonly status: Schema.Literals<readonly ["running", "exited"]>;
|
|
62
|
-
readonly pid: Schema.Int;
|
|
63
|
-
readonly exitCode: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
64
|
-
}>;
|
|
65
|
-
}>>, Schema.toCodecJson<typeof PtyNotFoundError>, LocationId, HttpApiMiddleware.Requires<LocationId>> | HttpApiEndpoint.HttpApiEndpoint<"pty.create", "POST", "/api/pty", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
39
|
+
}>>, never, LocationId, HttpApiMiddleware.Requires<LocationId>> | HttpApiEndpoint.HttpApiEndpoint<"pty.create", "POST", "/api/pty", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
66
40
|
readonly location: Schema.optional<Schema.Struct<{
|
|
67
41
|
readonly directory: Schema.optional<Schema.String>;
|
|
68
42
|
}>>;
|
|
@@ -89,7 +63,7 @@ export declare const makePtyGroup: <LocationId extends HttpApiMiddleware.AnyId,
|
|
|
89
63
|
readonly pid: Schema.Int;
|
|
90
64
|
readonly exitCode: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
91
65
|
}>;
|
|
92
|
-
}>>, never, LocationId, HttpApiMiddleware.Requires<LocationId>> | HttpApiEndpoint.HttpApiEndpoint<"pty.
|
|
66
|
+
}>>, never, LocationId, HttpApiMiddleware.Requires<LocationId>> | HttpApiEndpoint.HttpApiEndpoint<"pty.get", "GET", "/api/pty/:ptyID", Schema.toCodecStringTree<Schema.Struct<{
|
|
93
67
|
ptyID: Schema.brand<Schema.String, "PtyID"> & {
|
|
94
68
|
create: () => string & import("effect/Brand").Brand<"PtyID">;
|
|
95
69
|
ascending: (id?: string) => string & import("effect/Brand").Brand<"PtyID">;
|
|
@@ -98,17 +72,24 @@ export declare const makePtyGroup: <LocationId extends HttpApiMiddleware.AnyId,
|
|
|
98
72
|
readonly location: Schema.optional<Schema.Struct<{
|
|
99
73
|
readonly directory: Schema.optional<Schema.String>;
|
|
100
74
|
}>>;
|
|
101
|
-
}>>, never, Schema.
|
|
102
|
-
readonly "x-opencode-ticket": Schema.optional<Schema.String>;
|
|
103
|
-
}>>, Schema.toCodecJson<Schema.Struct<{
|
|
75
|
+
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
104
76
|
readonly location: Schema.Struct<{
|
|
105
77
|
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
106
78
|
}>;
|
|
107
79
|
readonly data: Schema.Struct<{
|
|
108
|
-
readonly
|
|
109
|
-
|
|
80
|
+
readonly id: Schema.brand<Schema.String, "PtyID"> & {
|
|
81
|
+
create: () => string & import("effect/Brand").Brand<"PtyID">;
|
|
82
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"PtyID">;
|
|
83
|
+
};
|
|
84
|
+
readonly title: Schema.String;
|
|
85
|
+
readonly command: Schema.String;
|
|
86
|
+
readonly args: Schema.$Array<Schema.String>;
|
|
87
|
+
readonly cwd: Schema.String;
|
|
88
|
+
readonly status: Schema.Literals<readonly ["running", "exited"]>;
|
|
89
|
+
readonly pid: Schema.Int;
|
|
90
|
+
readonly exitCode: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
110
91
|
}>;
|
|
111
|
-
}>>, Schema.toCodecJson<typeof
|
|
92
|
+
}>>, Schema.toCodecJson<typeof PtyNotFoundError>, LocationId, HttpApiMiddleware.Requires<LocationId>> | HttpApiEndpoint.HttpApiEndpoint<"pty.update", "PUT", "/api/pty/:ptyID", Schema.toCodecStringTree<Schema.Struct<{
|
|
112
93
|
ptyID: Schema.brand<Schema.String, "PtyID"> & {
|
|
113
94
|
create: () => string & import("effect/Brand").Brand<"PtyID">;
|
|
114
95
|
ascending: (id?: string) => string & import("effect/Brand").Brand<"PtyID">;
|
|
@@ -143,7 +124,26 @@ export declare const makePtyGroup: <LocationId extends HttpApiMiddleware.AnyId,
|
|
|
143
124
|
readonly pid: Schema.Int;
|
|
144
125
|
readonly exitCode: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
145
126
|
}>;
|
|
146
|
-
}>>, Schema.toCodecJson<typeof PtyNotFoundError>, LocationId, HttpApiMiddleware.Requires<LocationId>> | HttpApiEndpoint.HttpApiEndpoint<"pty.
|
|
127
|
+
}>>, Schema.toCodecJson<typeof PtyNotFoundError>, LocationId, HttpApiMiddleware.Requires<LocationId>> | HttpApiEndpoint.HttpApiEndpoint<"pty.connectToken", "POST", "/api/pty/:ptyID/connect-token", Schema.toCodecStringTree<Schema.Struct<{
|
|
128
|
+
ptyID: Schema.brand<Schema.String, "PtyID"> & {
|
|
129
|
+
create: () => string & import("effect/Brand").Brand<"PtyID">;
|
|
130
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"PtyID">;
|
|
131
|
+
};
|
|
132
|
+
}>>, Schema.toCodecStringTree<Schema.Struct<{
|
|
133
|
+
readonly location: Schema.optional<Schema.Struct<{
|
|
134
|
+
readonly directory: Schema.optional<Schema.String>;
|
|
135
|
+
}>>;
|
|
136
|
+
}>>, never, Schema.toCodecStringTree<Schema.Struct<{
|
|
137
|
+
readonly "x-opencode-ticket": Schema.optional<Schema.String>;
|
|
138
|
+
}>>, Schema.toCodecJson<Schema.Struct<{
|
|
139
|
+
readonly location: Schema.Struct<{
|
|
140
|
+
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
141
|
+
}>;
|
|
142
|
+
readonly data: Schema.Struct<{
|
|
143
|
+
readonly ticket: Schema.String;
|
|
144
|
+
readonly expires_in: Schema.Int;
|
|
145
|
+
}>;
|
|
146
|
+
}>>, Schema.toCodecJson<typeof ForbiddenError | typeof PtyNotFoundError>, LocationId, HttpApiMiddleware.Requires<LocationId>> | HttpApiEndpoint.HttpApiEndpoint<"pty.connect", "GET", "/api/pty/:ptyID/connect", Schema.toCodecStringTree<Schema.Struct<{
|
|
147
147
|
ptyID: Schema.brand<Schema.String, "PtyID"> & {
|
|
148
148
|
create: () => string & import("effect/Brand").Brand<"PtyID">;
|
|
149
149
|
ascending: (id?: string) => string & import("effect/Brand").Brand<"PtyID">;
|
package/dist/groups/session.d.ts
CHANGED
|
@@ -719,6 +719,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
719
719
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
720
720
|
readonly body: Schema.String;
|
|
721
721
|
}>>, never, never>;
|
|
722
|
+
readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
722
723
|
}>;
|
|
723
724
|
readonly content: Schema.decodeTo<Schema.optional<Schema.toType<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
|
|
724
725
|
readonly type: Schema.Literal<"text">;
|
|
@@ -788,6 +789,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
788
789
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
789
790
|
readonly body: Schema.String;
|
|
790
791
|
}>>, never, never>;
|
|
792
|
+
readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
791
793
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
792
794
|
readonly type: Schema.String;
|
|
793
795
|
readonly message: Schema.String;
|
|
@@ -797,6 +799,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
797
799
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
798
800
|
readonly body: Schema.String;
|
|
799
801
|
}>>, never, never>;
|
|
802
|
+
readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
800
803
|
}>>, never, never>;
|
|
801
804
|
readonly retry: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
802
805
|
readonly attempt: Schema.Int;
|
|
@@ -810,6 +813,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
810
813
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
811
814
|
readonly body: Schema.String;
|
|
812
815
|
}>>, never, never>;
|
|
816
|
+
readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
813
817
|
}>;
|
|
814
818
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
815
819
|
readonly attempt: Schema.Int;
|
|
@@ -823,6 +827,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
823
827
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
824
828
|
readonly body: Schema.String;
|
|
825
829
|
}>>, never, never>;
|
|
830
|
+
readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
826
831
|
}>;
|
|
827
832
|
}>>, never, never>;
|
|
828
833
|
readonly time: Schema.Struct<{
|
|
@@ -967,6 +972,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
967
972
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
968
973
|
readonly body: Schema.String;
|
|
969
974
|
}>>, never, never>;
|
|
975
|
+
readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
970
976
|
}>;
|
|
971
977
|
}>]>, Schema.Struct<{
|
|
972
978
|
readonly id: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
@@ -988,6 +994,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
988
994
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
989
995
|
readonly body: Schema.String;
|
|
990
996
|
}>>, never, never>;
|
|
997
|
+
readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
991
998
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
992
999
|
readonly type: Schema.String;
|
|
993
1000
|
readonly message: Schema.String;
|
|
@@ -997,6 +1004,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
997
1004
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
998
1005
|
readonly body: Schema.String;
|
|
999
1006
|
}>>, never, never>;
|
|
1007
|
+
readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
1000
1008
|
}>>, never, never>;
|
|
1001
1009
|
}>]>>;
|
|
1002
1010
|
}>>, Schema.toCodecJson<typeof UnknownError | typeof SessionNotFoundError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"session.create", "POST", "/api/session", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
@@ -1840,6 +1848,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
1840
1848
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
1841
1849
|
readonly body: Schema.String;
|
|
1842
1850
|
}>>, never, never>;
|
|
1851
|
+
readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
1843
1852
|
}>;
|
|
1844
1853
|
readonly content: Schema.decodeTo<Schema.optional<Schema.toType<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
|
|
1845
1854
|
readonly type: Schema.Literal<"text">;
|
|
@@ -1909,6 +1918,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
1909
1918
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
1910
1919
|
readonly body: Schema.String;
|
|
1911
1920
|
}>>, never, never>;
|
|
1921
|
+
readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
1912
1922
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
1913
1923
|
readonly type: Schema.String;
|
|
1914
1924
|
readonly message: Schema.String;
|
|
@@ -1918,6 +1928,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
1918
1928
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
1919
1929
|
readonly body: Schema.String;
|
|
1920
1930
|
}>>, never, never>;
|
|
1931
|
+
readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
1921
1932
|
}>>, never, never>;
|
|
1922
1933
|
readonly retry: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
1923
1934
|
readonly attempt: Schema.Int;
|
|
@@ -1931,6 +1942,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
1931
1942
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
1932
1943
|
readonly body: Schema.String;
|
|
1933
1944
|
}>>, never, never>;
|
|
1945
|
+
readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
1934
1946
|
}>;
|
|
1935
1947
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
1936
1948
|
readonly attempt: Schema.Int;
|
|
@@ -1944,6 +1956,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
1944
1956
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
1945
1957
|
readonly body: Schema.String;
|
|
1946
1958
|
}>>, never, never>;
|
|
1959
|
+
readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
1947
1960
|
}>;
|
|
1948
1961
|
}>>, never, never>;
|
|
1949
1962
|
readonly time: Schema.Struct<{
|
|
@@ -2088,6 +2101,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
2088
2101
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
2089
2102
|
readonly body: Schema.String;
|
|
2090
2103
|
}>>, never, never>;
|
|
2104
|
+
readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
2091
2105
|
}>;
|
|
2092
2106
|
}>]>, Schema.Struct<{
|
|
2093
2107
|
readonly id: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
@@ -2109,6 +2123,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
2109
2123
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
2110
2124
|
readonly body: Schema.String;
|
|
2111
2125
|
}>>, never, never>;
|
|
2126
|
+
readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
2112
2127
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
2113
2128
|
readonly type: Schema.String;
|
|
2114
2129
|
readonly message: Schema.String;
|
|
@@ -2118,6 +2133,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
2118
2133
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
2119
2134
|
readonly body: Schema.String;
|
|
2120
2135
|
}>>, never, never>;
|
|
2136
|
+
readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
2121
2137
|
}>>, never, never>;
|
|
2122
2138
|
}>]>>;
|
|
2123
2139
|
}>;
|
|
@@ -3624,6 +3640,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
3624
3640
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
3625
3641
|
readonly body: Schema.String;
|
|
3626
3642
|
}>>, never, never>;
|
|
3643
|
+
readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
3627
3644
|
}>;
|
|
3628
3645
|
readonly content: Schema.decodeTo<Schema.optional<Schema.toType<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
|
|
3629
3646
|
readonly type: Schema.Literal<"text">;
|
|
@@ -3693,6 +3710,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
3693
3710
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
3694
3711
|
readonly body: Schema.String;
|
|
3695
3712
|
}>>, never, never>;
|
|
3713
|
+
readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
3696
3714
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
3697
3715
|
readonly type: Schema.String;
|
|
3698
3716
|
readonly message: Schema.String;
|
|
@@ -3702,6 +3720,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
3702
3720
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
3703
3721
|
readonly body: Schema.String;
|
|
3704
3722
|
}>>, never, never>;
|
|
3723
|
+
readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
3705
3724
|
}>>, never, never>;
|
|
3706
3725
|
readonly retry: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
3707
3726
|
readonly attempt: Schema.Int;
|
|
@@ -3715,6 +3734,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
3715
3734
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
3716
3735
|
readonly body: Schema.String;
|
|
3717
3736
|
}>>, never, never>;
|
|
3737
|
+
readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
3718
3738
|
}>;
|
|
3719
3739
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
3720
3740
|
readonly attempt: Schema.Int;
|
|
@@ -3728,6 +3748,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
3728
3748
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
3729
3749
|
readonly body: Schema.String;
|
|
3730
3750
|
}>>, never, never>;
|
|
3751
|
+
readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
3731
3752
|
}>;
|
|
3732
3753
|
}>>, never, never>;
|
|
3733
3754
|
readonly time: Schema.Struct<{
|
|
@@ -3872,6 +3893,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
3872
3893
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
3873
3894
|
readonly body: Schema.String;
|
|
3874
3895
|
}>>, never, never>;
|
|
3896
|
+
readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
3875
3897
|
}>;
|
|
3876
3898
|
}>]>, Schema.Struct<{
|
|
3877
3899
|
readonly id: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
@@ -3893,6 +3915,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
3893
3915
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
3894
3916
|
readonly body: Schema.String;
|
|
3895
3917
|
}>>, never, never>;
|
|
3918
|
+
readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
3896
3919
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
3897
3920
|
readonly type: Schema.String;
|
|
3898
3921
|
readonly message: Schema.String;
|
|
@@ -3902,6 +3925,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
3902
3925
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
3903
3926
|
readonly body: Schema.String;
|
|
3904
3927
|
}>>, never, never>;
|
|
3928
|
+
readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
3905
3929
|
}>>, never, never>;
|
|
3906
3930
|
}>]>>, Schema.decodeTo<Schema.$Array<Schema.Unknown>, Schema.$Array<Schema.Codec<Schema.Json, Schema.Json, never, never>>, never, never>, never, never>;
|
|
3907
3931
|
readonly location: Schema.optional<Schema.Struct<{
|
|
@@ -5095,6 +5119,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
5095
5119
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
5096
5120
|
readonly body: Schema.String;
|
|
5097
5121
|
}>>, never, never>;
|
|
5122
|
+
readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
5098
5123
|
}>;
|
|
5099
5124
|
readonly inputID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
5100
5125
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
@@ -5148,6 +5173,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
5148
5173
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
5149
5174
|
readonly body: Schema.String;
|
|
5150
5175
|
}>>, never, never>;
|
|
5176
|
+
readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
5151
5177
|
}>;
|
|
5152
5178
|
readonly inputID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
5153
5179
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
@@ -5550,6 +5576,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
5550
5576
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
5551
5577
|
readonly body: Schema.String;
|
|
5552
5578
|
}>>, never, never>;
|
|
5579
|
+
readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
5553
5580
|
}>;
|
|
5554
5581
|
}>;
|
|
5555
5582
|
}> & {
|
|
@@ -5573,6 +5600,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
5573
5600
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
5574
5601
|
readonly body: Schema.String;
|
|
5575
5602
|
}>>, never, never>;
|
|
5603
|
+
readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
5576
5604
|
}>;
|
|
5577
5605
|
}>;
|
|
5578
5606
|
}) | (Schema.Struct<{
|
|
@@ -7056,6 +7084,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
7056
7084
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
7057
7085
|
readonly body: Schema.String;
|
|
7058
7086
|
}>>, never, never>;
|
|
7087
|
+
readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
7059
7088
|
}>;
|
|
7060
7089
|
}>;
|
|
7061
7090
|
}> & {
|
|
@@ -7085,6 +7114,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
7085
7114
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
7086
7115
|
readonly body: Schema.String;
|
|
7087
7116
|
}>>, never, never>;
|
|
7117
|
+
readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
7088
7118
|
}>;
|
|
7089
7119
|
}>;
|
|
7090
7120
|
}) | (Schema.Struct<{
|
|
@@ -7672,6 +7702,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
7672
7702
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
7673
7703
|
readonly body: Schema.String;
|
|
7674
7704
|
}>>, never, never>;
|
|
7705
|
+
readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
7675
7706
|
}>;
|
|
7676
7707
|
readonly finish: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["content-filter"]>>>, Schema.optionalKey<Schema.Literals<readonly ["content-filter"]>>, never, never>;
|
|
7677
7708
|
readonly rawFinish: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
@@ -7726,6 +7757,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
7726
7757
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
7727
7758
|
readonly body: Schema.String;
|
|
7728
7759
|
}>>, never, never>;
|
|
7760
|
+
readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
7729
7761
|
}>;
|
|
7730
7762
|
readonly finish: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["content-filter"]>>>, Schema.optionalKey<Schema.Literals<readonly ["content-filter"]>>, never, never>;
|
|
7731
7763
|
readonly rawFinish: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
@@ -8219,6 +8251,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
8219
8251
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
8220
8252
|
readonly body: Schema.String;
|
|
8221
8253
|
}>>, never, never>;
|
|
8254
|
+
readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
8222
8255
|
}>;
|
|
8223
8256
|
readonly content: Schema.decodeTo<Schema.optional<Schema.toType<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
|
|
8224
8257
|
readonly type: Schema.Literal<"text">;
|
|
@@ -8267,6 +8300,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
8267
8300
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
8268
8301
|
readonly body: Schema.String;
|
|
8269
8302
|
}>>, never, never>;
|
|
8303
|
+
readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
8270
8304
|
}>;
|
|
8271
8305
|
readonly content: Schema.decodeTo<Schema.optional<Schema.toType<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
|
|
8272
8306
|
readonly type: Schema.Literal<"text">;
|
|
@@ -8768,6 +8802,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
8768
8802
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
8769
8803
|
readonly body: Schema.String;
|
|
8770
8804
|
}>>, never, never>;
|
|
8805
|
+
readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
8771
8806
|
}>;
|
|
8772
8807
|
readonly content: Schema.decodeTo<Schema.optional<Schema.toType<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
|
|
8773
8808
|
readonly type: Schema.Literal<"text">;
|
|
@@ -8864,6 +8899,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
8864
8899
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
8865
8900
|
readonly body: Schema.String;
|
|
8866
8901
|
}>>, never, never>;
|
|
8902
|
+
readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
8867
8903
|
}>;
|
|
8868
8904
|
readonly content: Schema.decodeTo<Schema.optional<Schema.toType<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
|
|
8869
8905
|
readonly type: Schema.Literal<"text">;
|
|
@@ -9000,6 +9036,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
9000
9036
|
readonly response?: {
|
|
9001
9037
|
readonly body: string;
|
|
9002
9038
|
} | undefined;
|
|
9039
|
+
readonly retryAfterMs?: number | undefined;
|
|
9003
9040
|
};
|
|
9004
9041
|
readonly inputID?: (string & import("effect/Brand").Brand<"Session.Message.ID">) | undefined;
|
|
9005
9042
|
readonly cost?: (number & import("effect/Brand").Brand<"Money.USD">) | undefined;
|
|
@@ -9121,6 +9158,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
9121
9158
|
readonly response?: {
|
|
9122
9159
|
readonly body: string;
|
|
9123
9160
|
} | undefined;
|
|
9161
|
+
readonly retryAfterMs?: number | undefined;
|
|
9124
9162
|
};
|
|
9125
9163
|
};
|
|
9126
9164
|
} | {
|
|
@@ -9587,6 +9625,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
9587
9625
|
readonly response?: {
|
|
9588
9626
|
readonly body: string;
|
|
9589
9627
|
} | undefined;
|
|
9628
|
+
readonly retryAfterMs?: number | undefined;
|
|
9590
9629
|
};
|
|
9591
9630
|
};
|
|
9592
9631
|
} | {
|
|
@@ -9824,6 +9863,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
9824
9863
|
readonly response?: {
|
|
9825
9864
|
readonly body: string;
|
|
9826
9865
|
} | undefined;
|
|
9866
|
+
readonly retryAfterMs?: number | undefined;
|
|
9827
9867
|
};
|
|
9828
9868
|
readonly finish?: "content-filter" | undefined;
|
|
9829
9869
|
readonly rawFinish?: string | undefined;
|
|
@@ -10016,6 +10056,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
10016
10056
|
readonly response?: {
|
|
10017
10057
|
readonly body: string;
|
|
10018
10058
|
} | undefined;
|
|
10059
|
+
readonly retryAfterMs?: number | undefined;
|
|
10019
10060
|
};
|
|
10020
10061
|
readonly content?: readonly [{
|
|
10021
10062
|
readonly type: "text";
|
|
@@ -10261,6 +10302,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
10261
10302
|
readonly response?: {
|
|
10262
10303
|
readonly body: string;
|
|
10263
10304
|
} | undefined;
|
|
10305
|
+
readonly retryAfterMs?: number | undefined;
|
|
10264
10306
|
};
|
|
10265
10307
|
readonly content?: readonly [{
|
|
10266
10308
|
readonly type: "text";
|
|
@@ -10742,6 +10784,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
10742
10784
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
10743
10785
|
readonly body: Schema.String;
|
|
10744
10786
|
}>>, never, never>;
|
|
10787
|
+
readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
10745
10788
|
}>;
|
|
10746
10789
|
readonly content: Schema.decodeTo<Schema.optional<Schema.toType<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
|
|
10747
10790
|
readonly type: Schema.Literal<"text">;
|
|
@@ -10811,6 +10854,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
10811
10854
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
10812
10855
|
readonly body: Schema.String;
|
|
10813
10856
|
}>>, never, never>;
|
|
10857
|
+
readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
10814
10858
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
10815
10859
|
readonly type: Schema.String;
|
|
10816
10860
|
readonly message: Schema.String;
|
|
@@ -10820,6 +10864,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
10820
10864
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
10821
10865
|
readonly body: Schema.String;
|
|
10822
10866
|
}>>, never, never>;
|
|
10867
|
+
readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
10823
10868
|
}>>, never, never>;
|
|
10824
10869
|
readonly retry: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
10825
10870
|
readonly attempt: Schema.Int;
|
|
@@ -10833,6 +10878,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
10833
10878
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
10834
10879
|
readonly body: Schema.String;
|
|
10835
10880
|
}>>, never, never>;
|
|
10881
|
+
readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
10836
10882
|
}>;
|
|
10837
10883
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
10838
10884
|
readonly attempt: Schema.Int;
|
|
@@ -10846,6 +10892,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
10846
10892
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
10847
10893
|
readonly body: Schema.String;
|
|
10848
10894
|
}>>, never, never>;
|
|
10895
|
+
readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
10849
10896
|
}>;
|
|
10850
10897
|
}>>, never, never>;
|
|
10851
10898
|
readonly time: Schema.Struct<{
|
|
@@ -10990,6 +11037,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
10990
11037
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
10991
11038
|
readonly body: Schema.String;
|
|
10992
11039
|
}>>, never, never>;
|
|
11040
|
+
readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
10993
11041
|
}>;
|
|
10994
11042
|
}>]>, Schema.Struct<{
|
|
10995
11043
|
readonly id: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
@@ -11011,6 +11059,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
11011
11059
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
11012
11060
|
readonly body: Schema.String;
|
|
11013
11061
|
}>>, never, never>;
|
|
11062
|
+
readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
11014
11063
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
11015
11064
|
readonly type: Schema.String;
|
|
11016
11065
|
readonly message: Schema.String;
|
|
@@ -11020,6 +11069,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
|
|
|
11020
11069
|
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
11021
11070
|
readonly body: Schema.String;
|
|
11022
11071
|
}>>, never, never>;
|
|
11072
|
+
readonly retryAfterMs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
11023
11073
|
}>>, never, never>;
|
|
11024
11074
|
}>]>;
|
|
11025
11075
|
}>>, Schema.toCodecJson<typeof SessionNotFoundError | typeof MessageNotFoundError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"session.move", "POST", "/api/session/:sessionID/move", Schema.toCodecStringTree<Schema.Struct<{
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/package.json",
|
|
3
3
|
"name": "@opencode/protocol",
|
|
4
|
-
"version": "2.1.
|
|
4
|
+
"version": "2.1.2",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"repository": {
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"typecheck": "tsc --noEmit"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@opencode/schema": "2.1.
|
|
36
|
+
"@opencode/schema": "2.1.2",
|
|
37
37
|
"effect": "4.0.1"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|