@opencode/protocol 2.1.4 → 2.2.1

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.
Files changed (42) hide show
  1. package/dist/api.d.ts +4 -3
  2. package/dist/api.js +5 -3
  3. package/dist/client.d.ts +4 -0
  4. package/dist/client.js +13 -1
  5. package/dist/errors.d.ts +38 -0
  6. package/dist/errors.js +40 -0
  7. package/dist/groups/agent.d.ts +12 -2
  8. package/dist/groups/agent.js +2 -1
  9. package/dist/groups/event.d.ts +15 -2
  10. package/dist/groups/event.js +9 -0
  11. package/dist/groups/experimental.d.ts +523 -0
  12. package/dist/groups/experimental.js +5 -0
  13. package/dist/groups/fs.d.ts +15 -3
  14. package/dist/groups/fs.js +27 -1
  15. package/dist/groups/generate.d.ts +194 -3
  16. package/dist/groups/generate.js +41 -5
  17. package/dist/groups/mcp.d.ts +1 -0
  18. package/dist/groups/media.d.ts +8 -0
  19. package/dist/groups/media.js +18 -0
  20. package/dist/groups/message.d.ts +2240 -0
  21. package/dist/groups/message.js +29 -4
  22. package/dist/groups/model.d.ts +33 -6
  23. package/dist/groups/model.js +8 -2
  24. package/dist/groups/permission.d.ts +2 -2
  25. package/dist/groups/permission.js +4 -3
  26. package/dist/groups/persistent-pty.js +11 -10
  27. package/dist/groups/plugin.d.ts +18 -2
  28. package/dist/groups/plugin.js +15 -1
  29. package/dist/groups/provider.d.ts +24 -0
  30. package/dist/groups/schedule.d.ts +332 -0
  31. package/dist/groups/schedule.js +51 -0
  32. package/dist/groups/server.d.ts +2 -0
  33. package/dist/groups/server.js +2 -0
  34. package/dist/groups/session.d.ts +295 -11
  35. package/dist/groups/session.js +19 -35
  36. package/dist/groups/usage.d.ts +95 -0
  37. package/dist/groups/usage.js +22 -0
  38. package/dist/groups/vcs.d.ts +2 -0
  39. package/dist/groups/vcs.js +1 -0
  40. package/dist/groups/voice.d.ts +2 -18
  41. package/dist/groups/voice.js +3 -19
  42. package/package.json +3 -2
@@ -3,6 +3,254 @@ import { InstructionEntry } from "@opencode/schema/instruction-entry";
3
3
  import { Context, Schema } from "effect";
4
4
  import { HttpApiEndpoint, HttpApiGroup, HttpApiMiddleware, HttpApiSchema } from "effect/http-api";
5
5
  import { ConflictError, LocationNotFoundError, CommandExecutionError, CommandNotFoundError, FormAlreadySettledError, FormInvalidAnswerError, FormNotFoundError, InvalidCursorError, InvalidRequestError, MessageNotFoundError, ServiceUnavailableError, SessionBusyError, SessionNotFoundError, SkillNotFoundError, UnknownError } from "../errors.js";
6
+ /** Experimental: the `session.inbox.list` response for clients that opt into `experimental-media-uri`. */
7
+ export declare const SessionMediaInboxResponse: Schema.Struct<{
8
+ readonly data: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
9
+ readonly type: Schema.tag<"user">;
10
+ readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
11
+ readonly id: Schema.brand<Schema.String, "Session.Message.ID"> & {
12
+ create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
13
+ fromEvent: (eventID: string) => string & import("effect/Brand").Brand<"Session.Message.ID">;
14
+ };
15
+ readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
16
+ create: () => string & import("effect/Brand").Brand<"SessionID">;
17
+ };
18
+ readonly time: Schema.Struct<{
19
+ readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
20
+ }>;
21
+ readonly payload: Schema.Struct<{
22
+ readonly text: Schema.String;
23
+ readonly agents: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
24
+ readonly name: Schema.String;
25
+ readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
26
+ readonly start: Schema.Finite;
27
+ readonly end: Schema.Finite;
28
+ readonly text: Schema.String;
29
+ }>>>, Schema.optionalKey<Schema.Struct<{
30
+ readonly start: Schema.Finite;
31
+ readonly end: Schema.Finite;
32
+ readonly text: Schema.String;
33
+ }>>, never, never>;
34
+ }>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
35
+ readonly name: Schema.String;
36
+ readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
37
+ readonly start: Schema.Finite;
38
+ readonly end: Schema.Finite;
39
+ readonly text: Schema.String;
40
+ }>>>, Schema.optionalKey<Schema.Struct<{
41
+ readonly start: Schema.Finite;
42
+ readonly end: Schema.Finite;
43
+ readonly text: Schema.String;
44
+ }>>, never, never>;
45
+ }>>>, never, never>;
46
+ readonly skills: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
47
+ readonly id: Schema.brand<Schema.String, "Skill.ID">;
48
+ readonly name: Schema.brand<Schema.String, "Skill.Name">;
49
+ readonly text: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
50
+ readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
51
+ readonly start: Schema.Finite;
52
+ readonly end: Schema.Finite;
53
+ readonly text: Schema.String;
54
+ }>>>, Schema.optionalKey<Schema.Struct<{
55
+ readonly start: Schema.Finite;
56
+ readonly end: Schema.Finite;
57
+ readonly text: Schema.String;
58
+ }>>, never, never>;
59
+ }>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
60
+ readonly id: Schema.brand<Schema.String, "Skill.ID">;
61
+ readonly name: Schema.brand<Schema.String, "Skill.Name">;
62
+ readonly text: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
63
+ readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
64
+ readonly start: Schema.Finite;
65
+ readonly end: Schema.Finite;
66
+ readonly text: Schema.String;
67
+ }>>>, Schema.optionalKey<Schema.Struct<{
68
+ readonly start: Schema.Finite;
69
+ readonly end: Schema.Finite;
70
+ readonly text: Schema.String;
71
+ }>>, never, never>;
72
+ }>>>, never, never>;
73
+ readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
74
+ readonly files: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Union<readonly [Schema.Struct<{
75
+ readonly data: Schema.String;
76
+ readonly mime: Schema.String;
77
+ readonly source: Schema.Union<readonly [Schema.Struct<{
78
+ readonly type: Schema.Literal<"inline">;
79
+ }>, Schema.Struct<{
80
+ readonly type: Schema.Literal<"uri">;
81
+ readonly uri: Schema.String;
82
+ }>]>;
83
+ readonly name: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
84
+ readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
85
+ readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
86
+ readonly start: Schema.Finite;
87
+ readonly end: Schema.Finite;
88
+ readonly text: Schema.String;
89
+ }>>>, Schema.optionalKey<Schema.Struct<{
90
+ readonly start: Schema.Finite;
91
+ readonly end: Schema.Finite;
92
+ readonly text: Schema.String;
93
+ }>>, never, never>;
94
+ }> & {
95
+ create: (input: import("@opencode/schema/prompt").FileAttachment) => {
96
+ readonly data: string;
97
+ readonly mime: string;
98
+ readonly source: {
99
+ readonly type: "inline";
100
+ } | {
101
+ readonly type: "uri";
102
+ readonly uri: string;
103
+ };
104
+ readonly name?: string | undefined;
105
+ readonly description?: string | undefined;
106
+ readonly mention?: {
107
+ readonly start: number;
108
+ readonly end: number;
109
+ readonly text: string;
110
+ } | undefined;
111
+ };
112
+ }, Schema.Struct<{
113
+ readonly mime: Schema.String;
114
+ readonly source: Schema.Union<readonly [Schema.Struct<{
115
+ readonly type: Schema.Literal<"inline">;
116
+ }>, Schema.Struct<{
117
+ readonly type: Schema.Literal<"uri">;
118
+ readonly uri: Schema.String;
119
+ }>]>;
120
+ readonly name: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
121
+ readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
122
+ readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
123
+ readonly start: Schema.Finite;
124
+ readonly end: Schema.Finite;
125
+ readonly text: Schema.String;
126
+ }>>>, Schema.optionalKey<Schema.Struct<{
127
+ readonly start: Schema.Finite;
128
+ readonly end: Schema.Finite;
129
+ readonly text: Schema.String;
130
+ }>>, never, never>;
131
+ readonly uri: Schema.String;
132
+ readonly bytes: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
133
+ readonly width: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
134
+ readonly height: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
135
+ }>]>>>>, Schema.optionalKey<Schema.$Array<Schema.Union<readonly [Schema.Struct<{
136
+ readonly data: Schema.String;
137
+ readonly mime: Schema.String;
138
+ readonly source: Schema.Union<readonly [Schema.Struct<{
139
+ readonly type: Schema.Literal<"inline">;
140
+ }>, Schema.Struct<{
141
+ readonly type: Schema.Literal<"uri">;
142
+ readonly uri: Schema.String;
143
+ }>]>;
144
+ readonly name: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
145
+ readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
146
+ readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
147
+ readonly start: Schema.Finite;
148
+ readonly end: Schema.Finite;
149
+ readonly text: Schema.String;
150
+ }>>>, Schema.optionalKey<Schema.Struct<{
151
+ readonly start: Schema.Finite;
152
+ readonly end: Schema.Finite;
153
+ readonly text: Schema.String;
154
+ }>>, never, never>;
155
+ }> & {
156
+ create: (input: import("@opencode/schema/prompt").FileAttachment) => {
157
+ readonly data: string;
158
+ readonly mime: string;
159
+ readonly source: {
160
+ readonly type: "inline";
161
+ } | {
162
+ readonly type: "uri";
163
+ readonly uri: string;
164
+ };
165
+ readonly name?: string | undefined;
166
+ readonly description?: string | undefined;
167
+ readonly mention?: {
168
+ readonly start: number;
169
+ readonly end: number;
170
+ readonly text: string;
171
+ } | undefined;
172
+ };
173
+ }, Schema.Struct<{
174
+ readonly mime: Schema.String;
175
+ readonly source: Schema.Union<readonly [Schema.Struct<{
176
+ readonly type: Schema.Literal<"inline">;
177
+ }>, Schema.Struct<{
178
+ readonly type: Schema.Literal<"uri">;
179
+ readonly uri: Schema.String;
180
+ }>]>;
181
+ readonly name: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
182
+ readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
183
+ readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
184
+ readonly start: Schema.Finite;
185
+ readonly end: Schema.Finite;
186
+ readonly text: Schema.String;
187
+ }>>>, Schema.optionalKey<Schema.Struct<{
188
+ readonly start: Schema.Finite;
189
+ readonly end: Schema.Finite;
190
+ readonly text: Schema.String;
191
+ }>>, never, never>;
192
+ readonly uri: Schema.String;
193
+ readonly bytes: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
194
+ readonly width: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
195
+ readonly height: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
196
+ }>]>>>, never, never>;
197
+ }>;
198
+ }>, Schema.Struct<{
199
+ readonly type: Schema.tag<"synthetic">;
200
+ readonly payload: Schema.Struct<{
201
+ readonly text: Schema.String;
202
+ readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
203
+ readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
204
+ }>;
205
+ readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
206
+ readonly id: Schema.brand<Schema.String, "Session.Message.ID"> & {
207
+ create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
208
+ fromEvent: (eventID: string) => string & import("effect/Brand").Brand<"Session.Message.ID">;
209
+ };
210
+ readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
211
+ create: () => string & import("effect/Brand").Brand<"SessionID">;
212
+ };
213
+ readonly time: Schema.Struct<{
214
+ readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
215
+ }>;
216
+ }>, Schema.Struct<{
217
+ readonly type: Schema.tag<"compaction">;
218
+ readonly payload: Schema.Struct<{}>;
219
+ readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
220
+ readonly id: Schema.brand<Schema.String, "Session.Message.ID"> & {
221
+ create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
222
+ fromEvent: (eventID: string) => string & import("effect/Brand").Brand<"Session.Message.ID">;
223
+ };
224
+ readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
225
+ create: () => string & import("effect/Brand").Brand<"SessionID">;
226
+ };
227
+ readonly time: Schema.Struct<{
228
+ readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
229
+ }>;
230
+ }>, Schema.Struct<{
231
+ readonly type: Schema.tag<"move">;
232
+ readonly delivery: Schema.Literals<readonly ["steer", "queue"]>;
233
+ readonly id: Schema.brand<Schema.String, "Session.Message.ID"> & {
234
+ create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
235
+ fromEvent: (eventID: string) => string & import("effect/Brand").Brand<"Session.Message.ID">;
236
+ };
237
+ readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
238
+ create: () => string & import("effect/Brand").Brand<"SessionID">;
239
+ };
240
+ readonly time: Schema.Struct<{
241
+ readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
242
+ }>;
243
+ readonly payload: Schema.Struct<{
244
+ readonly projectID: Schema.brand<Schema.String, "Project.ID"> & {
245
+ global: string & import("effect/Brand").Brand<"Project.ID">;
246
+ };
247
+ readonly subpath: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "RelativePath">>>, Schema.optionalKey<Schema.brand<Schema.String, "RelativePath">>, never, never>;
248
+ readonly location: Schema.Struct<{
249
+ readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
250
+ }>;
251
+ }>;
252
+ }>]>>;
253
+ }>;
6
254
  export declare const SessionsCursor: Schema.brand<Schema.String, "SessionsCursor"> & {
7
255
  make: (input: {
8
256
  readonly order?: "asc" | "desc" | undefined;
@@ -168,7 +416,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
168
416
  sessionID: Schema.brand<Schema.String, "SessionID"> & {
169
417
  create: () => string & import("effect/Brand").Brand<"SessionID">;
170
418
  };
171
- }>>, never, never, never, Schema.toCodecJson<HttpApiSchema.NoContent>, Schema.toCodecJson<typeof SessionNotFoundError>, I, HttpApiMiddleware.Requires<I>> | HttpApiEndpoint.HttpApiEndpoint<"session.command", "POST", "/api/session/:sessionID/command", Schema.toCodecStringTree<Schema.Struct<{
419
+ }>>, never, never, never, Schema.toCodecJson<HttpApiSchema.NoContent>, Schema.toCodecJson<typeof SessionNotFoundError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"session.command", "POST", "/api/session/:sessionID/command", Schema.toCodecStringTree<Schema.Struct<{
172
420
  sessionID: Schema.brand<Schema.String, "SessionID"> & {
173
421
  create: () => string & import("effect/Brand").Brand<"SessionID">;
174
422
  };
@@ -1156,12 +1404,14 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
1156
1404
  readonly additions: Schema.Int;
1157
1405
  readonly deletions: Schema.Int;
1158
1406
  readonly status: Schema.Literals<readonly ["added", "deleted", "modified"]>;
1407
+ readonly more: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literal<true>>>, Schema.optionalKey<Schema.Literal<true>>, never, never>;
1159
1408
  }>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
1160
1409
  readonly file: Schema.String;
1161
1410
  readonly patch: Schema.String;
1162
1411
  readonly additions: Schema.Int;
1163
1412
  readonly deletions: Schema.Int;
1164
1413
  readonly status: Schema.Literals<readonly ["added", "deleted", "modified"]>;
1414
+ readonly more: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literal<true>>>, Schema.optionalKey<Schema.Literal<true>>, never, never>;
1165
1415
  }>>>, never, never>;
1166
1416
  }>>>, Schema.optionalKey<Schema.Struct<{
1167
1417
  readonly messageID: Schema.brand<Schema.String, "Session.Message.ID"> & {
@@ -1176,12 +1426,14 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
1176
1426
  readonly additions: Schema.Int;
1177
1427
  readonly deletions: Schema.Int;
1178
1428
  readonly status: Schema.Literals<readonly ["added", "deleted", "modified"]>;
1429
+ readonly more: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literal<true>>>, Schema.optionalKey<Schema.Literal<true>>, never, never>;
1179
1430
  }>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
1180
1431
  readonly file: Schema.String;
1181
1432
  readonly patch: Schema.String;
1182
1433
  readonly additions: Schema.Int;
1183
1434
  readonly deletions: Schema.Int;
1184
1435
  readonly status: Schema.Literals<readonly ["added", "deleted", "modified"]>;
1436
+ readonly more: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literal<true>>>, Schema.optionalKey<Schema.Literal<true>>, never, never>;
1185
1437
  }>>>, never, never>;
1186
1438
  }>>, never, never>;
1187
1439
  readonly location: Schema.Struct<{
@@ -1209,6 +1461,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
1209
1461
  readonly additions: Schema.Int;
1210
1462
  readonly deletions: Schema.Int;
1211
1463
  readonly status: Schema.Literals<readonly ["added", "deleted", "modified"]>;
1464
+ readonly more: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literal<true>>>, Schema.optionalKey<Schema.Literal<true>>, never, never>;
1212
1465
  }>>;
1213
1466
  }>>, Schema.toCodecJson<typeof LocationNotFoundError | typeof InvalidRequestError | typeof UnknownError | typeof SessionNotFoundError | typeof MessageNotFoundError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"session.environment", "PUT", "/api/session/:sessionID/environment", Schema.toCodecStringTree<Schema.Struct<{
1214
1467
  sessionID: Schema.brand<Schema.String, "SessionID"> & {
@@ -1362,12 +1615,14 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
1362
1615
  readonly additions: Schema.Int;
1363
1616
  readonly deletions: Schema.Int;
1364
1617
  readonly status: Schema.Literals<readonly ["added", "deleted", "modified"]>;
1618
+ readonly more: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literal<true>>>, Schema.optionalKey<Schema.Literal<true>>, never, never>;
1365
1619
  }>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
1366
1620
  readonly file: Schema.String;
1367
1621
  readonly patch: Schema.String;
1368
1622
  readonly additions: Schema.Int;
1369
1623
  readonly deletions: Schema.Int;
1370
1624
  readonly status: Schema.Literals<readonly ["added", "deleted", "modified"]>;
1625
+ readonly more: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literal<true>>>, Schema.optionalKey<Schema.Literal<true>>, never, never>;
1371
1626
  }>>>, never, never>;
1372
1627
  }>>>, Schema.optionalKey<Schema.Struct<{
1373
1628
  readonly messageID: Schema.brand<Schema.String, "Session.Message.ID"> & {
@@ -1382,12 +1637,14 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
1382
1637
  readonly additions: Schema.Int;
1383
1638
  readonly deletions: Schema.Int;
1384
1639
  readonly status: Schema.Literals<readonly ["added", "deleted", "modified"]>;
1640
+ readonly more: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literal<true>>>, Schema.optionalKey<Schema.Literal<true>>, never, never>;
1385
1641
  }>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
1386
1642
  readonly file: Schema.String;
1387
1643
  readonly patch: Schema.String;
1388
1644
  readonly additions: Schema.Int;
1389
1645
  readonly deletions: Schema.Int;
1390
1646
  readonly status: Schema.Literals<readonly ["added", "deleted", "modified"]>;
1647
+ readonly more: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literal<true>>>, Schema.optionalKey<Schema.Literal<true>>, never, never>;
1391
1648
  }>>>, never, never>;
1392
1649
  }>>, never, never>;
1393
1650
  readonly location: Schema.Struct<{
@@ -2239,12 +2496,14 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
2239
2496
  readonly additions: Schema.Int;
2240
2497
  readonly deletions: Schema.Int;
2241
2498
  readonly status: Schema.Literals<readonly ["added", "deleted", "modified"]>;
2499
+ readonly more: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literal<true>>>, Schema.optionalKey<Schema.Literal<true>>, never, never>;
2242
2500
  }>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
2243
2501
  readonly file: Schema.String;
2244
2502
  readonly patch: Schema.String;
2245
2503
  readonly additions: Schema.Int;
2246
2504
  readonly deletions: Schema.Int;
2247
2505
  readonly status: Schema.Literals<readonly ["added", "deleted", "modified"]>;
2506
+ readonly more: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literal<true>>>, Schema.optionalKey<Schema.Literal<true>>, never, never>;
2248
2507
  }>>>, never, never>;
2249
2508
  }>>>, Schema.optionalKey<Schema.Struct<{
2250
2509
  readonly messageID: Schema.brand<Schema.String, "Session.Message.ID"> & {
@@ -2259,19 +2518,21 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
2259
2518
  readonly additions: Schema.Int;
2260
2519
  readonly deletions: Schema.Int;
2261
2520
  readonly status: Schema.Literals<readonly ["added", "deleted", "modified"]>;
2521
+ readonly more: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literal<true>>>, Schema.optionalKey<Schema.Literal<true>>, never, never>;
2262
2522
  }>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
2263
2523
  readonly file: Schema.String;
2264
2524
  readonly patch: Schema.String;
2265
2525
  readonly additions: Schema.Int;
2266
2526
  readonly deletions: Schema.Int;
2267
2527
  readonly status: Schema.Literals<readonly ["added", "deleted", "modified"]>;
2528
+ readonly more: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literal<true>>>, Schema.optionalKey<Schema.Literal<true>>, never, never>;
2268
2529
  }>>>, never, never>;
2269
2530
  }>>, never, never>;
2270
2531
  readonly location: Schema.Struct<{
2271
2532
  readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
2272
2533
  }>;
2273
2534
  }>;
2274
- }>>, Schema.toCodecJson<typeof InvalidRequestError | typeof SessionNotFoundError | typeof MessageNotFoundError>, I, HttpApiMiddleware.Requires<I>> | HttpApiEndpoint.HttpApiEndpoint<"session.form.cancel", "DELETE", "/api/session/:sessionID/form/:formID", Schema.toCodecStringTree<Schema.Struct<{
2535
+ }>>, Schema.toCodecJson<typeof InvalidRequestError | typeof SessionNotFoundError | typeof MessageNotFoundError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"session.form.cancel", "DELETE", "/api/session/:sessionID/form/:formID", Schema.toCodecStringTree<Schema.Struct<{
2275
2536
  sessionID: Schema.String;
2276
2537
  formID: Schema.brand<Schema.String, "Form.ID"> & {
2277
2538
  create: (id?: string) => string & import("effect/Brand").Brand<"Form.ID">;
@@ -2965,12 +3226,14 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
2965
3226
  readonly additions: Schema.Int;
2966
3227
  readonly deletions: Schema.Int;
2967
3228
  readonly status: Schema.Literals<readonly ["added", "deleted", "modified"]>;
3229
+ readonly more: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literal<true>>>, Schema.optionalKey<Schema.Literal<true>>, never, never>;
2968
3230
  }>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
2969
3231
  readonly file: Schema.String;
2970
3232
  readonly patch: Schema.String;
2971
3233
  readonly additions: Schema.Int;
2972
3234
  readonly deletions: Schema.Int;
2973
3235
  readonly status: Schema.Literals<readonly ["added", "deleted", "modified"]>;
3236
+ readonly more: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literal<true>>>, Schema.optionalKey<Schema.Literal<true>>, never, never>;
2974
3237
  }>>>, never, never>;
2975
3238
  }>>>, Schema.optionalKey<Schema.Struct<{
2976
3239
  readonly messageID: Schema.brand<Schema.String, "Session.Message.ID"> & {
@@ -2985,12 +3248,14 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
2985
3248
  readonly additions: Schema.Int;
2986
3249
  readonly deletions: Schema.Int;
2987
3250
  readonly status: Schema.Literals<readonly ["added", "deleted", "modified"]>;
3251
+ readonly more: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literal<true>>>, Schema.optionalKey<Schema.Literal<true>>, never, never>;
2988
3252
  }>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
2989
3253
  readonly file: Schema.String;
2990
3254
  readonly patch: Schema.String;
2991
3255
  readonly additions: Schema.Int;
2992
3256
  readonly deletions: Schema.Int;
2993
3257
  readonly status: Schema.Literals<readonly ["added", "deleted", "modified"]>;
3258
+ readonly more: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literal<true>>>, Schema.optionalKey<Schema.Literal<true>>, never, never>;
2994
3259
  }>>>, never, never>;
2995
3260
  }>>, never, never>;
2996
3261
  readonly location: Schema.Struct<{
@@ -3136,12 +3401,14 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
3136
3401
  readonly additions: Schema.Int;
3137
3402
  readonly deletions: Schema.Int;
3138
3403
  readonly status: Schema.Literals<readonly ["added", "deleted", "modified"]>;
3404
+ readonly more: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literal<true>>>, Schema.optionalKey<Schema.Literal<true>>, never, never>;
3139
3405
  }>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
3140
3406
  readonly file: Schema.String;
3141
3407
  readonly patch: Schema.String;
3142
3408
  readonly additions: Schema.Int;
3143
3409
  readonly deletions: Schema.Int;
3144
3410
  readonly status: Schema.Literals<readonly ["added", "deleted", "modified"]>;
3411
+ readonly more: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literal<true>>>, Schema.optionalKey<Schema.Literal<true>>, never, never>;
3145
3412
  }>>>, never, never>;
3146
3413
  }>>>, Schema.optionalKey<Schema.Struct<{
3147
3414
  readonly messageID: Schema.brand<Schema.String, "Session.Message.ID"> & {
@@ -3156,12 +3423,14 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
3156
3423
  readonly additions: Schema.Int;
3157
3424
  readonly deletions: Schema.Int;
3158
3425
  readonly status: Schema.Literals<readonly ["added", "deleted", "modified"]>;
3426
+ readonly more: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literal<true>>>, Schema.optionalKey<Schema.Literal<true>>, never, never>;
3159
3427
  }>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
3160
3428
  readonly file: Schema.String;
3161
3429
  readonly patch: Schema.String;
3162
3430
  readonly additions: Schema.Int;
3163
3431
  readonly deletions: Schema.Int;
3164
3432
  readonly status: Schema.Literals<readonly ["added", "deleted", "modified"]>;
3433
+ readonly more: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literal<true>>>, Schema.optionalKey<Schema.Literal<true>>, never, never>;
3165
3434
  }>>>, never, never>;
3166
3435
  }>>, never, never>;
3167
3436
  readonly location: Schema.Struct<{
@@ -4006,12 +4275,14 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
4006
4275
  readonly additions: Schema.Int;
4007
4276
  readonly deletions: Schema.Int;
4008
4277
  readonly status: Schema.Literals<readonly ["added", "deleted", "modified"]>;
4278
+ readonly more: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literal<true>>>, Schema.optionalKey<Schema.Literal<true>>, never, never>;
4009
4279
  }>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
4010
4280
  readonly file: Schema.String;
4011
4281
  readonly patch: Schema.String;
4012
4282
  readonly additions: Schema.Int;
4013
4283
  readonly deletions: Schema.Int;
4014
4284
  readonly status: Schema.Literals<readonly ["added", "deleted", "modified"]>;
4285
+ readonly more: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literal<true>>>, Schema.optionalKey<Schema.Literal<true>>, never, never>;
4015
4286
  }>>>, never, never>;
4016
4287
  }>>>, Schema.optionalKey<Schema.Struct<{
4017
4288
  readonly messageID: Schema.brand<Schema.String, "Session.Message.ID"> & {
@@ -4026,12 +4297,14 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
4026
4297
  readonly additions: Schema.Int;
4027
4298
  readonly deletions: Schema.Int;
4028
4299
  readonly status: Schema.Literals<readonly ["added", "deleted", "modified"]>;
4300
+ readonly more: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literal<true>>>, Schema.optionalKey<Schema.Literal<true>>, never, never>;
4029
4301
  }>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
4030
4302
  readonly file: Schema.String;
4031
4303
  readonly patch: Schema.String;
4032
4304
  readonly additions: Schema.Int;
4033
4305
  readonly deletions: Schema.Int;
4034
4306
  readonly status: Schema.Literals<readonly ["added", "deleted", "modified"]>;
4307
+ readonly more: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literal<true>>>, Schema.optionalKey<Schema.Literal<true>>, never, never>;
4035
4308
  }>>>, never, never>;
4036
4309
  }>>, never, never>;
4037
4310
  readonly location: Schema.Struct<{
@@ -4269,19 +4542,19 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
4269
4542
  readonly key: Schema.String;
4270
4543
  readonly value: Schema.Codec<Schema.Json, Schema.Json, never, never>;
4271
4544
  }>>;
4272
- }>>, Schema.toCodecJson<typeof SessionNotFoundError>, I, HttpApiMiddleware.Requires<I>> | HttpApiEndpoint.HttpApiEndpoint<"session.instructions.entry.put", "PUT", "/api/experimental/session/:sessionID/instructions/entries/:key", Schema.toCodecStringTree<Schema.Struct<{
4545
+ }>>, Schema.toCodecJson<typeof SessionNotFoundError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"session.instructions.entry.put", "PUT", "/api/experimental/session/:sessionID/instructions/entries/:key", Schema.toCodecStringTree<Schema.Struct<{
4273
4546
  sessionID: Schema.brand<Schema.String, "SessionID"> & {
4274
4547
  create: () => string & import("effect/Brand").Brand<"SessionID">;
4275
4548
  };
4276
4549
  key: Schema.String;
4277
4550
  }>>, never, Schema.toCodecJson<Schema.Struct<{
4278
4551
  readonly value: Schema.Codec<Schema.Json, Schema.Json, never, never>;
4279
- }>>, never, Schema.toCodecJson<HttpApiSchema.NoContent>, Schema.toCodecJson<typeof SessionNotFoundError | typeof InstructionEntry.ValueTooLargeError>, I, HttpApiMiddleware.Requires<I>> | HttpApiEndpoint.HttpApiEndpoint<"session.instructions.entry.remove", "DELETE", "/api/experimental/session/:sessionID/instructions/entries/:key", Schema.toCodecStringTree<Schema.Struct<{
4552
+ }>>, never, Schema.toCodecJson<HttpApiSchema.NoContent>, Schema.toCodecJson<typeof SessionNotFoundError | typeof InstructionEntry.ValueTooLargeError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"session.instructions.entry.remove", "DELETE", "/api/experimental/session/:sessionID/instructions/entries/:key", Schema.toCodecStringTree<Schema.Struct<{
4280
4553
  sessionID: Schema.brand<Schema.String, "SessionID"> & {
4281
4554
  create: () => string & import("effect/Brand").Brand<"SessionID">;
4282
4555
  };
4283
4556
  key: Schema.String;
4284
- }>>, never, never, never, Schema.toCodecJson<HttpApiSchema.NoContent>, Schema.toCodecJson<typeof SessionNotFoundError>, I, HttpApiMiddleware.Requires<I>> | HttpApiEndpoint.HttpApiEndpoint<"session.interrupt", "POST", "/api/session/:sessionID/interrupt", Schema.toCodecStringTree<Schema.Struct<{
4557
+ }>>, never, never, never, Schema.toCodecJson<HttpApiSchema.NoContent>, Schema.toCodecJson<typeof SessionNotFoundError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"session.interrupt", "POST", "/api/session/:sessionID/interrupt", Schema.toCodecStringTree<Schema.Struct<{
4285
4558
  sessionID: Schema.brand<Schema.String, "SessionID"> & {
4286
4559
  create: () => string & import("effect/Brand").Brand<"SessionID">;
4287
4560
  };
@@ -4289,7 +4562,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
4289
4562
  resume: Schema.optional<Schema.decodeTo<Schema.Boolean, Schema.Literals<readonly ["true", "false"]>, never, never>>;
4290
4563
  }>>, never, never, Schema.toCodecJson<Schema.Struct<{
4291
4564
  readonly interrupted: Schema.Boolean;
4292
- }>>, Schema.toCodecJson<typeof SessionNotFoundError>, I, HttpApiMiddleware.Requires<I>> | HttpApiEndpoint.HttpApiEndpoint<"session.list", "GET", "/api/session", never, Schema.toCodecStringTree<Schema.Struct<{
4565
+ }>>, Schema.toCodecJson<typeof SessionNotFoundError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"session.list", "GET", "/api/session", never, Schema.toCodecStringTree<Schema.Struct<{
4293
4566
  readonly order: Schema.optional<Schema.Literals<readonly ["asc", "desc"]>>;
4294
4567
  readonly search: Schema.optional<Schema.String>;
4295
4568
  readonly parentID: Schema.optional<Schema.Union<readonly [Schema.brand<Schema.String, "SessionID"> & {
@@ -4511,12 +4784,14 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
4511
4784
  readonly additions: Schema.Int;
4512
4785
  readonly deletions: Schema.Int;
4513
4786
  readonly status: Schema.Literals<readonly ["added", "deleted", "modified"]>;
4787
+ readonly more: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literal<true>>>, Schema.optionalKey<Schema.Literal<true>>, never, never>;
4514
4788
  }>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
4515
4789
  readonly file: Schema.String;
4516
4790
  readonly patch: Schema.String;
4517
4791
  readonly additions: Schema.Int;
4518
4792
  readonly deletions: Schema.Int;
4519
4793
  readonly status: Schema.Literals<readonly ["added", "deleted", "modified"]>;
4794
+ readonly more: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literal<true>>>, Schema.optionalKey<Schema.Literal<true>>, never, never>;
4520
4795
  }>>>, never, never>;
4521
4796
  }>>>, Schema.optionalKey<Schema.Struct<{
4522
4797
  readonly messageID: Schema.brand<Schema.String, "Session.Message.ID"> & {
@@ -4531,12 +4806,14 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
4531
4806
  readonly additions: Schema.Int;
4532
4807
  readonly deletions: Schema.Int;
4533
4808
  readonly status: Schema.Literals<readonly ["added", "deleted", "modified"]>;
4809
+ readonly more: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literal<true>>>, Schema.optionalKey<Schema.Literal<true>>, never, never>;
4534
4810
  }>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
4535
4811
  readonly file: Schema.String;
4536
4812
  readonly patch: Schema.String;
4537
4813
  readonly additions: Schema.Int;
4538
4814
  readonly deletions: Schema.Int;
4539
4815
  readonly status: Schema.Literals<readonly ["added", "deleted", "modified"]>;
4816
+ readonly more: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literal<true>>>, Schema.optionalKey<Schema.Literal<true>>, never, never>;
4540
4817
  }>>>, never, never>;
4541
4818
  }>>, never, never>;
4542
4819
  readonly location: Schema.Struct<{
@@ -7126,12 +7403,14 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
7126
7403
  readonly additions: Schema.Int;
7127
7404
  readonly deletions: Schema.Int;
7128
7405
  readonly status: Schema.Literals<readonly ["added", "deleted", "modified"]>;
7406
+ readonly more: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literal<true>>>, Schema.optionalKey<Schema.Literal<true>>, never, never>;
7129
7407
  }>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
7130
7408
  readonly file: Schema.String;
7131
7409
  readonly patch: Schema.String;
7132
7410
  readonly additions: Schema.Int;
7133
7411
  readonly deletions: Schema.Int;
7134
7412
  readonly status: Schema.Literals<readonly ["added", "deleted", "modified"]>;
7413
+ readonly more: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literal<true>>>, Schema.optionalKey<Schema.Literal<true>>, never, never>;
7135
7414
  }>>>, never, never>;
7136
7415
  }>;
7137
7416
  }>;
@@ -7159,12 +7438,14 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
7159
7438
  readonly additions: Schema.Int;
7160
7439
  readonly deletions: Schema.Int;
7161
7440
  readonly status: Schema.Literals<readonly ["added", "deleted", "modified"]>;
7441
+ readonly more: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literal<true>>>, Schema.optionalKey<Schema.Literal<true>>, never, never>;
7162
7442
  }>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
7163
7443
  readonly file: Schema.String;
7164
7444
  readonly patch: Schema.String;
7165
7445
  readonly additions: Schema.Int;
7166
7446
  readonly deletions: Schema.Int;
7167
7447
  readonly status: Schema.Literals<readonly ["added", "deleted", "modified"]>;
7448
+ readonly more: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literal<true>>>, Schema.optionalKey<Schema.Literal<true>>, never, never>;
7168
7449
  }>>>, never, never>;
7169
7450
  }>;
7170
7451
  }>;
@@ -9629,6 +9910,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
9629
9910
  readonly additions: number;
9630
9911
  readonly deletions: number;
9631
9912
  readonly status: "added" | "deleted" | "modified";
9913
+ readonly more?: true | undefined;
9632
9914
  }[] | undefined;
9633
9915
  };
9634
9916
  };
@@ -11135,7 +11417,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
11135
11417
  sessionID: Schema.brand<Schema.String, "SessionID"> & {
11136
11418
  create: () => string & import("effect/Brand").Brand<"SessionID">;
11137
11419
  };
11138
- }>>, never, never, never, Schema.toCodecJson<HttpApiSchema.NoContent>, Schema.toCodecJson<typeof SessionBusyError | typeof SessionNotFoundError>, I, HttpApiMiddleware.Requires<I>> | HttpApiEndpoint.HttpApiEndpoint<"session.revert.stage", "POST", "/api/session/:sessionID/revert/stage", Schema.toCodecStringTree<Schema.Struct<{
11420
+ }>>, never, never, never, Schema.toCodecJson<HttpApiSchema.NoContent>, Schema.toCodecJson<typeof SessionBusyError | typeof SessionNotFoundError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"session.revert.stage", "POST", "/api/session/:sessionID/revert/stage", Schema.toCodecStringTree<Schema.Struct<{
11139
11421
  sessionID: Schema.brand<Schema.String, "SessionID"> & {
11140
11422
  create: () => string & import("effect/Brand").Brand<"SessionID">;
11141
11423
  };
@@ -11159,12 +11441,14 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
11159
11441
  readonly additions: Schema.Int;
11160
11442
  readonly deletions: Schema.Int;
11161
11443
  readonly status: Schema.Literals<readonly ["added", "deleted", "modified"]>;
11444
+ readonly more: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literal<true>>>, Schema.optionalKey<Schema.Literal<true>>, never, never>;
11162
11445
  }>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
11163
11446
  readonly file: Schema.String;
11164
11447
  readonly patch: Schema.String;
11165
11448
  readonly additions: Schema.Int;
11166
11449
  readonly deletions: Schema.Int;
11167
11450
  readonly status: Schema.Literals<readonly ["added", "deleted", "modified"]>;
11451
+ readonly more: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literal<true>>>, Schema.optionalKey<Schema.Literal<true>>, never, never>;
11168
11452
  }>>>, never, never>;
11169
11453
  }>;
11170
11454
  }>>, Schema.toCodecJson<typeof SessionBusyError | typeof UnknownError | typeof SessionNotFoundError | typeof MessageNotFoundError>, I, HttpApiMiddleware.Requires<I>> | HttpApiEndpoint.HttpApiEndpoint<"session.shell", "POST", "/api/session/:sessionID/shell", Schema.toCodecStringTree<Schema.Struct<{
@@ -11292,7 +11576,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
11292
11576
  };
11293
11577
  }>>, never, Schema.toCodecJson<Schema.Struct<{
11294
11578
  readonly agent: Schema.brand<Schema.String, "Agent.ID">;
11295
- }>>, never, Schema.toCodecJson<HttpApiSchema.NoContent>, Schema.toCodecJson<typeof SessionNotFoundError>, I, HttpApiMiddleware.Requires<I>> | HttpApiEndpoint.HttpApiEndpoint<"session.switchModel", "POST", "/api/session/:sessionID/model", Schema.toCodecStringTree<Schema.Struct<{
11579
+ }>>, never, Schema.toCodecJson<HttpApiSchema.NoContent>, Schema.toCodecJson<typeof SessionNotFoundError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"session.switchModel", "POST", "/api/session/:sessionID/model", Schema.toCodecStringTree<Schema.Struct<{
11296
11580
  sessionID: Schema.brand<Schema.String, "SessionID"> & {
11297
11581
  create: () => string & import("effect/Brand").Brand<"SessionID">;
11298
11582
  };
@@ -11320,7 +11604,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
11320
11604
  readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
11321
11605
  };
11322
11606
  };
11323
- }>>, never, Schema.toCodecJson<HttpApiSchema.NoContent>, Schema.toCodecJson<typeof SessionNotFoundError>, I, HttpApiMiddleware.Requires<I>> | HttpApiEndpoint.HttpApiEndpoint<"session.synthetic", "POST", "/api/session/:sessionID/synthetic", Schema.toCodecStringTree<Schema.Struct<{
11607
+ }>>, never, Schema.toCodecJson<HttpApiSchema.NoContent>, Schema.toCodecJson<typeof SessionNotFoundError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"session.synthetic", "POST", "/api/session/:sessionID/synthetic", Schema.toCodecStringTree<Schema.Struct<{
11324
11608
  sessionID: Schema.brand<Schema.String, "SessionID"> & {
11325
11609
  create: () => string & import("effect/Brand").Brand<"SessionID">;
11326
11610
  };
@@ -11367,7 +11651,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
11367
11651
  readonly effect: Schema.Literals<readonly ["allow", "deny", "ask"]>;
11368
11652
  }>>>;
11369
11653
  readonly archived: Schema.optional<Schema.Boolean>;
11370
- }>>, never, Schema.toCodecJson<HttpApiSchema.NoContent>, Schema.toCodecJson<typeof SessionNotFoundError>, I, HttpApiMiddleware.Requires<I>> | HttpApiEndpoint.HttpApiEndpoint<"session.view", "POST", "/api/session/:sessionID/view", Schema.toCodecStringTree<Schema.Struct<{
11654
+ }>>, never, Schema.toCodecJson<HttpApiSchema.NoContent>, Schema.toCodecJson<typeof LocationNotFoundError | typeof SessionNotFoundError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"session.view", "POST", "/api/session/:sessionID/view", Schema.toCodecStringTree<Schema.Struct<{
11371
11655
  sessionID: Schema.brand<Schema.String, "SessionID"> & {
11372
11656
  create: () => string & import("effect/Brand").Brand<"SessionID">;
11373
11657
  };
@@ -11377,4 +11661,4 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S, Fo
11377
11661
  sessionID: Schema.brand<Schema.String, "SessionID"> & {
11378
11662
  create: () => string & import("effect/Brand").Brand<"SessionID">;
11379
11663
  };
11380
- }>>, never, never, never, Schema.toCodecJson<HttpApiSchema.NoContent>, Schema.toCodecJson<typeof ServiceUnavailableError | typeof SessionNotFoundError>, I, HttpApiMiddleware.Requires<I>>, false>;
11664
+ }>>, never, never, never, Schema.toCodecJson<HttpApiSchema.NoContent>, Schema.toCodecJson<typeof ServiceUnavailableError | typeof SessionNotFoundError>, never, never>, false>;