@openclaw/gateway-protocol 2026.9.3 → 2026.9.5
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/client-info.d.mts +3 -0
- package/dist/client-info.mjs +3 -0
- package/dist/frame-guards.d.mts +2 -2
- package/dist/frame-guards.mjs +2 -1
- package/dist/{frames-8A7sw44F.d.mts → frames-X2k-UkK8.d.mts} +42 -1
- package/dist/gateway-error-details-Djlwga0B.d.mts +1341 -0
- package/dist/gateway-error-details.d.mts +2 -2
- package/dist/gateway-error-details.mjs +2 -1
- package/dist/index.d.mts +1824 -927
- package/dist/index.mjs +89 -2
- package/dist/rolldown-runtime-D7D4PA-g.mjs +13 -0
- package/dist/{schema-modules-BWvk5LhI.d.mts → schema-modules-CsQIRdwb.d.mts} +12687 -11658
- package/dist/schema.d.mts +37 -18674
- package/dist/schema.mjs +1403 -985
- package/dist/server-capabilities-Gfkxm7Ho.mjs +26 -0
- package/dist/system-agent-context.d.mts +18 -0
- package/dist/system-agent-context.mjs +29 -0
- package/dist/{worktrees-CO9Ru3Wl.mjs → tools-catalog-CF4aqT9l.mjs} +1365 -334
- package/package.json +8 -3
- package/protocol.schema.json +113765 -103846
- package/dist/gateway-error-details-DVeCF9AS.d.mts +0 -111
|
@@ -0,0 +1,1341 @@
|
|
|
1
|
+
import { Static, Type } from "typebox";
|
|
2
|
+
//#region src/schema/session-placement.d.ts
|
|
3
|
+
/** Durable gateway ownership states for one session execution placement.
|
|
4
|
+
* The literal list stays explicit because Type.Union needs a tuple for
|
|
5
|
+
* Static inference (a mapped array collapses Static to never); the guard
|
|
6
|
+
* below keeps it in lockstep with SESSION_PLACEMENT_STATES. */
|
|
7
|
+
declare const SessionPlacementStateSchema: Type.TUnion<[Type.TLiteral<"local">, Type.TLiteral<"requested">, Type.TLiteral<"provisioning">, Type.TLiteral<"syncing">, Type.TLiteral<"starting">, Type.TLiteral<"active">, Type.TLiteral<"draining">, Type.TLiteral<"reconciling">, Type.TLiteral<"reclaimed">, Type.TLiteral<"failed">]>;
|
|
8
|
+
declare const SessionPlacementDiskSpaceSchema: Type.TObject<{
|
|
9
|
+
status: Type.TUnion<[Type.TLiteral<"ok">, Type.TLiteral<"warning">, Type.TLiteral<"critical">]>;
|
|
10
|
+
availableBytes: Type.TInteger;
|
|
11
|
+
totalBytes: Type.TInteger;
|
|
12
|
+
observedAtMs: Type.TInteger;
|
|
13
|
+
}>;
|
|
14
|
+
declare const SessionPlacementRunnerSchema: Type.TObject<{
|
|
15
|
+
kind: Type.TLiteral<"device">;
|
|
16
|
+
status: Type.TUnion<[Type.TLiteral<"available">, Type.TLiteral<"offline">]>;
|
|
17
|
+
deviceId: Type.TOptional<Type.TString>;
|
|
18
|
+
}>;
|
|
19
|
+
declare const SessionPlacementMachineSchema: Type.TObject<{
|
|
20
|
+
class: Type.TOptional<Type.TString>;
|
|
21
|
+
os: Type.TOptional<Type.TString>;
|
|
22
|
+
osLabel: Type.TOptional<Type.TString>;
|
|
23
|
+
cpu: Type.TOptional<Type.TInteger>;
|
|
24
|
+
memoryGb: Type.TOptional<Type.TInteger>;
|
|
25
|
+
}>;
|
|
26
|
+
/** Gateway-visible placement projection; `state` remains the closed discriminator. */
|
|
27
|
+
declare const SessionPlacementSchema: Type.TUnion<[Type.TObject<{
|
|
28
|
+
generation: Type.TInteger;
|
|
29
|
+
createdAtMs: Type.TInteger;
|
|
30
|
+
updatedAtMs: Type.TInteger;
|
|
31
|
+
stateChangedAtMs: Type.TInteger;
|
|
32
|
+
state: Type.TLiteral<"local">;
|
|
33
|
+
}>, Type.TObject<{
|
|
34
|
+
generation: Type.TInteger;
|
|
35
|
+
createdAtMs: Type.TInteger;
|
|
36
|
+
updatedAtMs: Type.TInteger;
|
|
37
|
+
stateChangedAtMs: Type.TInteger;
|
|
38
|
+
state: Type.TLiteral<"requested">;
|
|
39
|
+
}>, Type.TObject<{
|
|
40
|
+
environmentId: Type.TOptional<Type.TString>;
|
|
41
|
+
providerId: Type.TOptional<Type.TString>;
|
|
42
|
+
profileId: Type.TOptional<Type.TString>;
|
|
43
|
+
machine: Type.TOptional<Type.TObject<{
|
|
44
|
+
class: Type.TOptional<Type.TString>;
|
|
45
|
+
os: Type.TOptional<Type.TString>;
|
|
46
|
+
osLabel: Type.TOptional<Type.TString>;
|
|
47
|
+
cpu: Type.TOptional<Type.TInteger>;
|
|
48
|
+
memoryGb: Type.TOptional<Type.TInteger>;
|
|
49
|
+
}>>;
|
|
50
|
+
generation: Type.TInteger;
|
|
51
|
+
createdAtMs: Type.TInteger;
|
|
52
|
+
updatedAtMs: Type.TInteger;
|
|
53
|
+
stateChangedAtMs: Type.TInteger;
|
|
54
|
+
state: Type.TLiteral<"provisioning">;
|
|
55
|
+
}>, Type.TObject<{
|
|
56
|
+
environmentId: Type.TString;
|
|
57
|
+
workerBundleHash: Type.TString;
|
|
58
|
+
providerId: Type.TOptional<Type.TString>;
|
|
59
|
+
profileId: Type.TOptional<Type.TString>;
|
|
60
|
+
machine: Type.TOptional<Type.TObject<{
|
|
61
|
+
class: Type.TOptional<Type.TString>;
|
|
62
|
+
os: Type.TOptional<Type.TString>;
|
|
63
|
+
osLabel: Type.TOptional<Type.TString>;
|
|
64
|
+
cpu: Type.TOptional<Type.TInteger>;
|
|
65
|
+
memoryGb: Type.TOptional<Type.TInteger>;
|
|
66
|
+
}>>;
|
|
67
|
+
generation: Type.TInteger;
|
|
68
|
+
createdAtMs: Type.TInteger;
|
|
69
|
+
updatedAtMs: Type.TInteger;
|
|
70
|
+
stateChangedAtMs: Type.TInteger;
|
|
71
|
+
state: Type.TLiteral<"syncing">;
|
|
72
|
+
}>, Type.TObject<{
|
|
73
|
+
workspaceBaseManifestRef: Type.TString;
|
|
74
|
+
remoteWorkspaceDir: Type.TString;
|
|
75
|
+
environmentId: Type.TString;
|
|
76
|
+
workerBundleHash: Type.TString;
|
|
77
|
+
providerId: Type.TOptional<Type.TString>;
|
|
78
|
+
profileId: Type.TOptional<Type.TString>;
|
|
79
|
+
machine: Type.TOptional<Type.TObject<{
|
|
80
|
+
class: Type.TOptional<Type.TString>;
|
|
81
|
+
os: Type.TOptional<Type.TString>;
|
|
82
|
+
osLabel: Type.TOptional<Type.TString>;
|
|
83
|
+
cpu: Type.TOptional<Type.TInteger>;
|
|
84
|
+
memoryGb: Type.TOptional<Type.TInteger>;
|
|
85
|
+
}>>;
|
|
86
|
+
generation: Type.TInteger;
|
|
87
|
+
createdAtMs: Type.TInteger;
|
|
88
|
+
updatedAtMs: Type.TInteger;
|
|
89
|
+
stateChangedAtMs: Type.TInteger;
|
|
90
|
+
state: Type.TLiteral<"starting">;
|
|
91
|
+
}>, Type.TObject<{
|
|
92
|
+
runner: Type.TOptional<Type.TObject<{
|
|
93
|
+
kind: Type.TLiteral<"device">;
|
|
94
|
+
status: Type.TUnion<[Type.TLiteral<"available">, Type.TLiteral<"offline">]>;
|
|
95
|
+
deviceId: Type.TOptional<Type.TString>;
|
|
96
|
+
}>>;
|
|
97
|
+
workspaceResultReconciling: Type.TOptional<Type.TLiteral<true>>;
|
|
98
|
+
diskSpace: Type.TOptional<Type.TObject<{
|
|
99
|
+
status: Type.TUnion<[Type.TLiteral<"ok">, Type.TLiteral<"warning">, Type.TLiteral<"critical">]>;
|
|
100
|
+
availableBytes: Type.TInteger;
|
|
101
|
+
totalBytes: Type.TInteger;
|
|
102
|
+
observedAtMs: Type.TInteger;
|
|
103
|
+
}>>;
|
|
104
|
+
workspaceResultConflict: Type.TOptional<Type.TObject<{
|
|
105
|
+
paths: Type.TArray<Type.TString>;
|
|
106
|
+
stagedResultRef: Type.TString;
|
|
107
|
+
totalCount: Type.TOptional<Type.TInteger>;
|
|
108
|
+
}>>;
|
|
109
|
+
lastTranscriptAckCursor: Type.TOptional<Type.TInteger>;
|
|
110
|
+
lastLiveEventAckCursor: Type.TOptional<Type.TInteger>;
|
|
111
|
+
workspaceBaseManifestRef: Type.TString;
|
|
112
|
+
remoteWorkspaceDir: Type.TString;
|
|
113
|
+
environmentId: Type.TString;
|
|
114
|
+
activeOwnerEpoch: Type.TInteger;
|
|
115
|
+
workerBundleHash: Type.TString;
|
|
116
|
+
providerId: Type.TOptional<Type.TString>;
|
|
117
|
+
profileId: Type.TOptional<Type.TString>;
|
|
118
|
+
machine: Type.TOptional<Type.TObject<{
|
|
119
|
+
class: Type.TOptional<Type.TString>;
|
|
120
|
+
os: Type.TOptional<Type.TString>;
|
|
121
|
+
osLabel: Type.TOptional<Type.TString>;
|
|
122
|
+
cpu: Type.TOptional<Type.TInteger>;
|
|
123
|
+
memoryGb: Type.TOptional<Type.TInteger>;
|
|
124
|
+
}>>;
|
|
125
|
+
generation: Type.TInteger;
|
|
126
|
+
createdAtMs: Type.TInteger;
|
|
127
|
+
updatedAtMs: Type.TInteger;
|
|
128
|
+
stateChangedAtMs: Type.TInteger;
|
|
129
|
+
state: Type.TLiteral<"active">;
|
|
130
|
+
}>, Type.TObject<{
|
|
131
|
+
workspaceResultReconciling: Type.TOptional<Type.TLiteral<true>>;
|
|
132
|
+
diskSpace: Type.TOptional<Type.TObject<{
|
|
133
|
+
status: Type.TUnion<[Type.TLiteral<"ok">, Type.TLiteral<"warning">, Type.TLiteral<"critical">]>;
|
|
134
|
+
availableBytes: Type.TInteger;
|
|
135
|
+
totalBytes: Type.TInteger;
|
|
136
|
+
observedAtMs: Type.TInteger;
|
|
137
|
+
}>>;
|
|
138
|
+
workspaceResultConflict: Type.TOptional<Type.TObject<{
|
|
139
|
+
paths: Type.TArray<Type.TString>;
|
|
140
|
+
stagedResultRef: Type.TString;
|
|
141
|
+
totalCount: Type.TOptional<Type.TInteger>;
|
|
142
|
+
}>>;
|
|
143
|
+
lastTranscriptAckCursor: Type.TOptional<Type.TInteger>;
|
|
144
|
+
lastLiveEventAckCursor: Type.TOptional<Type.TInteger>;
|
|
145
|
+
workspaceBaseManifestRef: Type.TString;
|
|
146
|
+
remoteWorkspaceDir: Type.TString;
|
|
147
|
+
environmentId: Type.TString;
|
|
148
|
+
activeOwnerEpoch: Type.TInteger;
|
|
149
|
+
workerBundleHash: Type.TString;
|
|
150
|
+
providerId: Type.TOptional<Type.TString>;
|
|
151
|
+
profileId: Type.TOptional<Type.TString>;
|
|
152
|
+
machine: Type.TOptional<Type.TObject<{
|
|
153
|
+
class: Type.TOptional<Type.TString>;
|
|
154
|
+
os: Type.TOptional<Type.TString>;
|
|
155
|
+
osLabel: Type.TOptional<Type.TString>;
|
|
156
|
+
cpu: Type.TOptional<Type.TInteger>;
|
|
157
|
+
memoryGb: Type.TOptional<Type.TInteger>;
|
|
158
|
+
}>>;
|
|
159
|
+
generation: Type.TInteger;
|
|
160
|
+
createdAtMs: Type.TInteger;
|
|
161
|
+
updatedAtMs: Type.TInteger;
|
|
162
|
+
stateChangedAtMs: Type.TInteger;
|
|
163
|
+
state: Type.TLiteral<"draining">;
|
|
164
|
+
}>, Type.TObject<{
|
|
165
|
+
diskSpace: Type.TOptional<Type.TObject<{
|
|
166
|
+
status: Type.TUnion<[Type.TLiteral<"ok">, Type.TLiteral<"warning">, Type.TLiteral<"critical">]>;
|
|
167
|
+
availableBytes: Type.TInteger;
|
|
168
|
+
totalBytes: Type.TInteger;
|
|
169
|
+
observedAtMs: Type.TInteger;
|
|
170
|
+
}>>;
|
|
171
|
+
workspaceResultConflict: Type.TOptional<Type.TObject<{
|
|
172
|
+
paths: Type.TArray<Type.TString>;
|
|
173
|
+
stagedResultRef: Type.TString;
|
|
174
|
+
totalCount: Type.TOptional<Type.TInteger>;
|
|
175
|
+
}>>;
|
|
176
|
+
lastTranscriptAckCursor: Type.TOptional<Type.TInteger>;
|
|
177
|
+
lastLiveEventAckCursor: Type.TOptional<Type.TInteger>;
|
|
178
|
+
workspaceBaseManifestRef: Type.TString;
|
|
179
|
+
remoteWorkspaceDir: Type.TString;
|
|
180
|
+
environmentId: Type.TString;
|
|
181
|
+
activeOwnerEpoch: Type.TInteger;
|
|
182
|
+
workerBundleHash: Type.TString;
|
|
183
|
+
providerId: Type.TOptional<Type.TString>;
|
|
184
|
+
profileId: Type.TOptional<Type.TString>;
|
|
185
|
+
machine: Type.TOptional<Type.TObject<{
|
|
186
|
+
class: Type.TOptional<Type.TString>;
|
|
187
|
+
os: Type.TOptional<Type.TString>;
|
|
188
|
+
osLabel: Type.TOptional<Type.TString>;
|
|
189
|
+
cpu: Type.TOptional<Type.TInteger>;
|
|
190
|
+
memoryGb: Type.TOptional<Type.TInteger>;
|
|
191
|
+
}>>;
|
|
192
|
+
generation: Type.TInteger;
|
|
193
|
+
createdAtMs: Type.TInteger;
|
|
194
|
+
updatedAtMs: Type.TInteger;
|
|
195
|
+
stateChangedAtMs: Type.TInteger;
|
|
196
|
+
state: Type.TLiteral<"reconciling">;
|
|
197
|
+
}>, Type.TObject<{
|
|
198
|
+
terminalReason: Type.TOptional<Type.TString>;
|
|
199
|
+
terminalAtMs: Type.TOptional<Type.TInteger>;
|
|
200
|
+
workspaceResultConflict: Type.TOptional<Type.TObject<{
|
|
201
|
+
paths: Type.TArray<Type.TString>;
|
|
202
|
+
stagedResultRef: Type.TString;
|
|
203
|
+
totalCount: Type.TOptional<Type.TInteger>;
|
|
204
|
+
}>>;
|
|
205
|
+
lastTranscriptAckCursor: Type.TOptional<Type.TInteger>;
|
|
206
|
+
lastLiveEventAckCursor: Type.TOptional<Type.TInteger>;
|
|
207
|
+
environmentId: Type.TOptional<Type.TString>;
|
|
208
|
+
activeOwnerEpoch: Type.TOptional<Type.TInteger>;
|
|
209
|
+
workspaceBaseManifestRef: Type.TOptional<Type.TString>;
|
|
210
|
+
remoteWorkspaceDir: Type.TOptional<Type.TString>;
|
|
211
|
+
workerBundleHash: Type.TOptional<Type.TString>;
|
|
212
|
+
providerId: Type.TOptional<Type.TString>;
|
|
213
|
+
profileId: Type.TOptional<Type.TString>;
|
|
214
|
+
machine: Type.TOptional<Type.TObject<{
|
|
215
|
+
class: Type.TOptional<Type.TString>;
|
|
216
|
+
os: Type.TOptional<Type.TString>;
|
|
217
|
+
osLabel: Type.TOptional<Type.TString>;
|
|
218
|
+
cpu: Type.TOptional<Type.TInteger>;
|
|
219
|
+
memoryGb: Type.TOptional<Type.TInteger>;
|
|
220
|
+
}>>;
|
|
221
|
+
generation: Type.TInteger;
|
|
222
|
+
createdAtMs: Type.TInteger;
|
|
223
|
+
updatedAtMs: Type.TInteger;
|
|
224
|
+
stateChangedAtMs: Type.TInteger;
|
|
225
|
+
state: Type.TLiteral<"reclaimed">;
|
|
226
|
+
}>, Type.TObject<{
|
|
227
|
+
recoveryError: Type.TString;
|
|
228
|
+
recoveryAction: Type.TOptional<Type.TEnum<["restart", "stop-first"]>>;
|
|
229
|
+
terminalReason: Type.TOptional<Type.TString>;
|
|
230
|
+
terminalAtMs: Type.TOptional<Type.TInteger>;
|
|
231
|
+
workspaceResultConflict: Type.TOptional<Type.TObject<{
|
|
232
|
+
paths: Type.TArray<Type.TString>;
|
|
233
|
+
stagedResultRef: Type.TString;
|
|
234
|
+
totalCount: Type.TOptional<Type.TInteger>;
|
|
235
|
+
}>>;
|
|
236
|
+
lastTranscriptAckCursor: Type.TOptional<Type.TInteger>;
|
|
237
|
+
lastLiveEventAckCursor: Type.TOptional<Type.TInteger>;
|
|
238
|
+
environmentId: Type.TOptional<Type.TString>;
|
|
239
|
+
activeOwnerEpoch: Type.TOptional<Type.TInteger>;
|
|
240
|
+
workspaceBaseManifestRef: Type.TOptional<Type.TString>;
|
|
241
|
+
remoteWorkspaceDir: Type.TOptional<Type.TString>;
|
|
242
|
+
workerBundleHash: Type.TOptional<Type.TString>;
|
|
243
|
+
providerId: Type.TOptional<Type.TString>;
|
|
244
|
+
profileId: Type.TOptional<Type.TString>;
|
|
245
|
+
machine: Type.TOptional<Type.TObject<{
|
|
246
|
+
class: Type.TOptional<Type.TString>;
|
|
247
|
+
os: Type.TOptional<Type.TString>;
|
|
248
|
+
osLabel: Type.TOptional<Type.TString>;
|
|
249
|
+
cpu: Type.TOptional<Type.TInteger>;
|
|
250
|
+
memoryGb: Type.TOptional<Type.TInteger>;
|
|
251
|
+
}>>;
|
|
252
|
+
generation: Type.TInteger;
|
|
253
|
+
createdAtMs: Type.TInteger;
|
|
254
|
+
updatedAtMs: Type.TInteger;
|
|
255
|
+
stateChangedAtMs: Type.TInteger;
|
|
256
|
+
state: Type.TLiteral<"failed">;
|
|
257
|
+
}>]>;
|
|
258
|
+
/**
|
|
259
|
+
* Requests one-way dispatch to an explicit or automatically selected device (`operator.write`),
|
|
260
|
+
* an explicit profile (`operator.admin`), or an `operator.admin`-only
|
|
261
|
+
* `cloudWorkers.projectProfiles` lookup when no target is supplied. Target modes are exclusive.
|
|
262
|
+
* An absent, unmatched, or invalid mapping is rejected with `INVALID_REQUEST` instead of
|
|
263
|
+
* provisioning or falling back to another target.
|
|
264
|
+
*/
|
|
265
|
+
declare const SessionsDispatchParamsSchema: Type.TObject<{
|
|
266
|
+
key: Type.TString;
|
|
267
|
+
agentId: Type.TOptional<Type.TString>;
|
|
268
|
+
profileId: Type.TOptional<Type.TString>;
|
|
269
|
+
deviceId: Type.TOptional<Type.TString>;
|
|
270
|
+
autoDevice: Type.TOptional<Type.TLiteral<true>>;
|
|
271
|
+
machineClass: Type.TOptional<Type.TString>;
|
|
272
|
+
os: Type.TOptional<Type.TString>;
|
|
273
|
+
}>;
|
|
274
|
+
/** Result returned once session dispatch reaches durable worker ownership. */
|
|
275
|
+
declare const SessionsDispatchResultSchema: Type.TObject<{
|
|
276
|
+
ok: Type.TLiteral<true>;
|
|
277
|
+
key: Type.TString;
|
|
278
|
+
sessionId: Type.TString;
|
|
279
|
+
placement: Type.TObject<{
|
|
280
|
+
runner: Type.TOptional<Type.TObject<{
|
|
281
|
+
kind: Type.TLiteral<"device">;
|
|
282
|
+
status: Type.TUnion<[Type.TLiteral<"available">, Type.TLiteral<"offline">]>;
|
|
283
|
+
deviceId: Type.TOptional<Type.TString>;
|
|
284
|
+
}>>;
|
|
285
|
+
workspaceResultReconciling: Type.TOptional<Type.TLiteral<true>>;
|
|
286
|
+
diskSpace: Type.TOptional<Type.TObject<{
|
|
287
|
+
status: Type.TUnion<[Type.TLiteral<"ok">, Type.TLiteral<"warning">, Type.TLiteral<"critical">]>;
|
|
288
|
+
availableBytes: Type.TInteger;
|
|
289
|
+
totalBytes: Type.TInteger;
|
|
290
|
+
observedAtMs: Type.TInteger;
|
|
291
|
+
}>>;
|
|
292
|
+
workspaceResultConflict: Type.TOptional<Type.TObject<{
|
|
293
|
+
paths: Type.TArray<Type.TString>;
|
|
294
|
+
stagedResultRef: Type.TString;
|
|
295
|
+
totalCount: Type.TOptional<Type.TInteger>;
|
|
296
|
+
}>>;
|
|
297
|
+
lastTranscriptAckCursor: Type.TOptional<Type.TInteger>;
|
|
298
|
+
lastLiveEventAckCursor: Type.TOptional<Type.TInteger>;
|
|
299
|
+
workspaceBaseManifestRef: Type.TString;
|
|
300
|
+
remoteWorkspaceDir: Type.TString;
|
|
301
|
+
environmentId: Type.TString;
|
|
302
|
+
activeOwnerEpoch: Type.TInteger;
|
|
303
|
+
workerBundleHash: Type.TString;
|
|
304
|
+
providerId: Type.TOptional<Type.TString>;
|
|
305
|
+
profileId: Type.TOptional<Type.TString>;
|
|
306
|
+
machine: Type.TOptional<Type.TObject<{
|
|
307
|
+
class: Type.TOptional<Type.TString>;
|
|
308
|
+
os: Type.TOptional<Type.TString>;
|
|
309
|
+
osLabel: Type.TOptional<Type.TString>;
|
|
310
|
+
cpu: Type.TOptional<Type.TInteger>;
|
|
311
|
+
memoryGb: Type.TOptional<Type.TInteger>;
|
|
312
|
+
}>>;
|
|
313
|
+
generation: Type.TInteger;
|
|
314
|
+
createdAtMs: Type.TInteger;
|
|
315
|
+
updatedAtMs: Type.TInteger;
|
|
316
|
+
stateChangedAtMs: Type.TInteger;
|
|
317
|
+
state: Type.TLiteral<"active">;
|
|
318
|
+
}>;
|
|
319
|
+
}>;
|
|
320
|
+
/** Stops a worker or explicitly recovers one failed placement onto the Gateway. */
|
|
321
|
+
declare const SessionsReclaimParamsSchema: Type.TObject<{
|
|
322
|
+
key: Type.TString;
|
|
323
|
+
agentId: Type.TOptional<Type.TString>;
|
|
324
|
+
recoverToGateway: Type.TOptional<Type.TObject<{
|
|
325
|
+
expectedGeneration: Type.TInteger;
|
|
326
|
+
}>>;
|
|
327
|
+
}>;
|
|
328
|
+
/** Terminal placement returned after a worker reclaim operation. */
|
|
329
|
+
declare const SessionsReclaimResultPlacementSchema: Type.TUnion<[Type.TObject<{
|
|
330
|
+
generation: Type.TInteger;
|
|
331
|
+
createdAtMs: Type.TInteger;
|
|
332
|
+
updatedAtMs: Type.TInteger;
|
|
333
|
+
stateChangedAtMs: Type.TInteger;
|
|
334
|
+
state: Type.TLiteral<"local">;
|
|
335
|
+
}>, Type.TObject<{
|
|
336
|
+
terminalReason: Type.TOptional<Type.TString>;
|
|
337
|
+
terminalAtMs: Type.TOptional<Type.TInteger>;
|
|
338
|
+
workspaceResultConflict: Type.TOptional<Type.TObject<{
|
|
339
|
+
paths: Type.TArray<Type.TString>;
|
|
340
|
+
stagedResultRef: Type.TString;
|
|
341
|
+
totalCount: Type.TOptional<Type.TInteger>;
|
|
342
|
+
}>>;
|
|
343
|
+
lastTranscriptAckCursor: Type.TOptional<Type.TInteger>;
|
|
344
|
+
lastLiveEventAckCursor: Type.TOptional<Type.TInteger>;
|
|
345
|
+
environmentId: Type.TOptional<Type.TString>;
|
|
346
|
+
activeOwnerEpoch: Type.TOptional<Type.TInteger>;
|
|
347
|
+
workspaceBaseManifestRef: Type.TOptional<Type.TString>;
|
|
348
|
+
remoteWorkspaceDir: Type.TOptional<Type.TString>;
|
|
349
|
+
workerBundleHash: Type.TOptional<Type.TString>;
|
|
350
|
+
providerId: Type.TOptional<Type.TString>;
|
|
351
|
+
profileId: Type.TOptional<Type.TString>;
|
|
352
|
+
machine: Type.TOptional<Type.TObject<{
|
|
353
|
+
class: Type.TOptional<Type.TString>;
|
|
354
|
+
os: Type.TOptional<Type.TString>;
|
|
355
|
+
osLabel: Type.TOptional<Type.TString>;
|
|
356
|
+
cpu: Type.TOptional<Type.TInteger>;
|
|
357
|
+
memoryGb: Type.TOptional<Type.TInteger>;
|
|
358
|
+
}>>;
|
|
359
|
+
generation: Type.TInteger;
|
|
360
|
+
createdAtMs: Type.TInteger;
|
|
361
|
+
updatedAtMs: Type.TInteger;
|
|
362
|
+
stateChangedAtMs: Type.TInteger;
|
|
363
|
+
state: Type.TLiteral<"reclaimed">;
|
|
364
|
+
}>]>;
|
|
365
|
+
/** Result returned once worker ownership is reclaimed or a failed placement is cleared. */
|
|
366
|
+
declare const SessionsReclaimResultSchema: Type.TObject<{
|
|
367
|
+
ok: Type.TLiteral<true>;
|
|
368
|
+
key: Type.TString;
|
|
369
|
+
sessionId: Type.TString;
|
|
370
|
+
placement: Type.TUnion<[Type.TObject<{
|
|
371
|
+
generation: Type.TInteger;
|
|
372
|
+
createdAtMs: Type.TInteger;
|
|
373
|
+
updatedAtMs: Type.TInteger;
|
|
374
|
+
stateChangedAtMs: Type.TInteger;
|
|
375
|
+
state: Type.TLiteral<"local">;
|
|
376
|
+
}>, Type.TObject<{
|
|
377
|
+
terminalReason: Type.TOptional<Type.TString>;
|
|
378
|
+
terminalAtMs: Type.TOptional<Type.TInteger>;
|
|
379
|
+
workspaceResultConflict: Type.TOptional<Type.TObject<{
|
|
380
|
+
paths: Type.TArray<Type.TString>;
|
|
381
|
+
stagedResultRef: Type.TString;
|
|
382
|
+
totalCount: Type.TOptional<Type.TInteger>;
|
|
383
|
+
}>>;
|
|
384
|
+
lastTranscriptAckCursor: Type.TOptional<Type.TInteger>;
|
|
385
|
+
lastLiveEventAckCursor: Type.TOptional<Type.TInteger>;
|
|
386
|
+
environmentId: Type.TOptional<Type.TString>;
|
|
387
|
+
activeOwnerEpoch: Type.TOptional<Type.TInteger>;
|
|
388
|
+
workspaceBaseManifestRef: Type.TOptional<Type.TString>;
|
|
389
|
+
remoteWorkspaceDir: Type.TOptional<Type.TString>;
|
|
390
|
+
workerBundleHash: Type.TOptional<Type.TString>;
|
|
391
|
+
providerId: Type.TOptional<Type.TString>;
|
|
392
|
+
profileId: Type.TOptional<Type.TString>;
|
|
393
|
+
machine: Type.TOptional<Type.TObject<{
|
|
394
|
+
class: Type.TOptional<Type.TString>;
|
|
395
|
+
os: Type.TOptional<Type.TString>;
|
|
396
|
+
osLabel: Type.TOptional<Type.TString>;
|
|
397
|
+
cpu: Type.TOptional<Type.TInteger>;
|
|
398
|
+
memoryGb: Type.TOptional<Type.TInteger>;
|
|
399
|
+
}>>;
|
|
400
|
+
generation: Type.TInteger;
|
|
401
|
+
createdAtMs: Type.TInteger;
|
|
402
|
+
updatedAtMs: Type.TInteger;
|
|
403
|
+
stateChangedAtMs: Type.TInteger;
|
|
404
|
+
state: Type.TLiteral<"reclaimed">;
|
|
405
|
+
}>]>;
|
|
406
|
+
}>;
|
|
407
|
+
/** Exact active source observed before a session placement move. */
|
|
408
|
+
declare const SessionMoveExpectedSourceSchema: Type.TObject<{
|
|
409
|
+
generation: Type.TInteger;
|
|
410
|
+
environmentId: Type.TString;
|
|
411
|
+
ownerEpoch: Type.TInteger;
|
|
412
|
+
}>;
|
|
413
|
+
/** Moves the session back to the Gateway without redispatching it. */
|
|
414
|
+
declare const SessionMoveGatewayTargetSchema: Type.TObject<{
|
|
415
|
+
kind: Type.TLiteral<"gateway">;
|
|
416
|
+
}>;
|
|
417
|
+
/** Moves the session to one configured cloud worker profile. */
|
|
418
|
+
declare const SessionMoveProfileTargetSchema: Type.TObject<{
|
|
419
|
+
kind: Type.TLiteral<"profile">;
|
|
420
|
+
profileId: Type.TString;
|
|
421
|
+
machineClass: Type.TOptional<Type.TString>;
|
|
422
|
+
os: Type.TOptional<Type.TString>;
|
|
423
|
+
}>;
|
|
424
|
+
/** Moves the session to one paired device worker. */
|
|
425
|
+
declare const SessionMoveDeviceTargetSchema: Type.TObject<{
|
|
426
|
+
kind: Type.TLiteral<"device">;
|
|
427
|
+
deviceId: Type.TString;
|
|
428
|
+
}>;
|
|
429
|
+
/** Closed destination union for session placement moves. */
|
|
430
|
+
declare const SessionMoveTargetSchema: Type.TUnion<[Type.TObject<{
|
|
431
|
+
kind: Type.TLiteral<"gateway">;
|
|
432
|
+
}>, Type.TObject<{
|
|
433
|
+
kind: Type.TLiteral<"profile">;
|
|
434
|
+
profileId: Type.TString;
|
|
435
|
+
machineClass: Type.TOptional<Type.TString>;
|
|
436
|
+
os: Type.TOptional<Type.TString>;
|
|
437
|
+
}>, Type.TObject<{
|
|
438
|
+
kind: Type.TLiteral<"device">;
|
|
439
|
+
deviceId: Type.TString;
|
|
440
|
+
}>]>;
|
|
441
|
+
/** Durable operator-visible progress for one placement move intent. */
|
|
442
|
+
declare const SessionPlacementMoveSchema: Type.TObject<{
|
|
443
|
+
target: Type.TUnion<[Type.TObject<{
|
|
444
|
+
kind: Type.TLiteral<"gateway">;
|
|
445
|
+
}>, Type.TObject<{
|
|
446
|
+
kind: Type.TLiteral<"profile">;
|
|
447
|
+
profileId: Type.TString;
|
|
448
|
+
machineClass: Type.TOptional<Type.TString>;
|
|
449
|
+
os: Type.TOptional<Type.TString>;
|
|
450
|
+
}>, Type.TObject<{
|
|
451
|
+
kind: Type.TLiteral<"device">;
|
|
452
|
+
deviceId: Type.TString;
|
|
453
|
+
}>]>;
|
|
454
|
+
updatedAtMs: Type.TInteger;
|
|
455
|
+
error: Type.TOptional<Type.TString>;
|
|
456
|
+
}>;
|
|
457
|
+
/** Requests one exact-source placement move without replaying active work. */
|
|
458
|
+
declare const SessionsMoveParamsSchema: Type.TObject<{
|
|
459
|
+
key: Type.TString;
|
|
460
|
+
agentId: Type.TOptional<Type.TString>;
|
|
461
|
+
expected: Type.TObject<{
|
|
462
|
+
generation: Type.TInteger;
|
|
463
|
+
environmentId: Type.TString;
|
|
464
|
+
ownerEpoch: Type.TInteger;
|
|
465
|
+
}>;
|
|
466
|
+
target: Type.TUnion<[Type.TObject<{
|
|
467
|
+
kind: Type.TLiteral<"gateway">;
|
|
468
|
+
}>, Type.TObject<{
|
|
469
|
+
kind: Type.TLiteral<"profile">;
|
|
470
|
+
profileId: Type.TString;
|
|
471
|
+
machineClass: Type.TOptional<Type.TString>;
|
|
472
|
+
os: Type.TOptional<Type.TString>;
|
|
473
|
+
}>, Type.TObject<{
|
|
474
|
+
kind: Type.TLiteral<"device">;
|
|
475
|
+
deviceId: Type.TString;
|
|
476
|
+
}>]>;
|
|
477
|
+
abandonSource: Type.TOptional<Type.TLiteral<true>>;
|
|
478
|
+
}>;
|
|
479
|
+
/** Successful terminal states returned by sessions.move. */
|
|
480
|
+
declare const SessionMovePlacementStateSchema: Type.TUnion<[Type.TLiteral<"local">, Type.TLiteral<"active">]>;
|
|
481
|
+
/** Bounded placement state returned by sessions.move. */
|
|
482
|
+
declare const SessionMovePlacementSchema: Type.TObject<{
|
|
483
|
+
state: Type.TUnion<[Type.TLiteral<"local">, Type.TLiteral<"active">]>;
|
|
484
|
+
generation: Type.TInteger;
|
|
485
|
+
}>;
|
|
486
|
+
/** Result returned after the requested placement move reaches its destination. */
|
|
487
|
+
declare const SessionsMoveResultSchema: Type.TObject<{
|
|
488
|
+
ok: Type.TLiteral<true>;
|
|
489
|
+
key: Type.TString;
|
|
490
|
+
sessionId: Type.TString;
|
|
491
|
+
placement: Type.TObject<{
|
|
492
|
+
state: Type.TUnion<[Type.TLiteral<"local">, Type.TLiteral<"active">]>;
|
|
493
|
+
generation: Type.TInteger;
|
|
494
|
+
}>;
|
|
495
|
+
}>;
|
|
496
|
+
declare const SessionPlacementProtocolSchemas: {
|
|
497
|
+
readonly SessionPlacementState: Type.TUnion<[Type.TLiteral<"local">, Type.TLiteral<"requested">, Type.TLiteral<"provisioning">, Type.TLiteral<"syncing">, Type.TLiteral<"starting">, Type.TLiteral<"active">, Type.TLiteral<"draining">, Type.TLiteral<"reconciling">, Type.TLiteral<"reclaimed">, Type.TLiteral<"failed">]>;
|
|
498
|
+
readonly SessionPlacementDiskSpace: Type.TObject<{
|
|
499
|
+
status: Type.TUnion<[Type.TLiteral<"ok">, Type.TLiteral<"warning">, Type.TLiteral<"critical">]>;
|
|
500
|
+
availableBytes: Type.TInteger;
|
|
501
|
+
totalBytes: Type.TInteger;
|
|
502
|
+
observedAtMs: Type.TInteger;
|
|
503
|
+
}>;
|
|
504
|
+
readonly SessionPlacementRunner: Type.TObject<{
|
|
505
|
+
kind: Type.TLiteral<"device">;
|
|
506
|
+
status: Type.TUnion<[Type.TLiteral<"available">, Type.TLiteral<"offline">]>;
|
|
507
|
+
deviceId: Type.TOptional<Type.TString>;
|
|
508
|
+
}>;
|
|
509
|
+
readonly SessionPlacementMachine: Type.TObject<{
|
|
510
|
+
class: Type.TOptional<Type.TString>;
|
|
511
|
+
os: Type.TOptional<Type.TString>;
|
|
512
|
+
osLabel: Type.TOptional<Type.TString>;
|
|
513
|
+
cpu: Type.TOptional<Type.TInteger>;
|
|
514
|
+
memoryGb: Type.TOptional<Type.TInteger>;
|
|
515
|
+
}>;
|
|
516
|
+
readonly LocalSessionPlacement: Type.TObject<{
|
|
517
|
+
generation: Type.TInteger;
|
|
518
|
+
createdAtMs: Type.TInteger;
|
|
519
|
+
updatedAtMs: Type.TInteger;
|
|
520
|
+
stateChangedAtMs: Type.TInteger;
|
|
521
|
+
state: Type.TLiteral<"local">;
|
|
522
|
+
}>;
|
|
523
|
+
readonly RequestedSessionPlacement: Type.TObject<{
|
|
524
|
+
generation: Type.TInteger;
|
|
525
|
+
createdAtMs: Type.TInteger;
|
|
526
|
+
updatedAtMs: Type.TInteger;
|
|
527
|
+
stateChangedAtMs: Type.TInteger;
|
|
528
|
+
state: Type.TLiteral<"requested">;
|
|
529
|
+
}>;
|
|
530
|
+
readonly ProvisioningSessionPlacement: Type.TObject<{
|
|
531
|
+
environmentId: Type.TOptional<Type.TString>;
|
|
532
|
+
providerId: Type.TOptional<Type.TString>;
|
|
533
|
+
profileId: Type.TOptional<Type.TString>;
|
|
534
|
+
machine: Type.TOptional<Type.TObject<{
|
|
535
|
+
class: Type.TOptional<Type.TString>;
|
|
536
|
+
os: Type.TOptional<Type.TString>;
|
|
537
|
+
osLabel: Type.TOptional<Type.TString>;
|
|
538
|
+
cpu: Type.TOptional<Type.TInteger>;
|
|
539
|
+
memoryGb: Type.TOptional<Type.TInteger>;
|
|
540
|
+
}>>;
|
|
541
|
+
generation: Type.TInteger;
|
|
542
|
+
createdAtMs: Type.TInteger;
|
|
543
|
+
updatedAtMs: Type.TInteger;
|
|
544
|
+
stateChangedAtMs: Type.TInteger;
|
|
545
|
+
state: Type.TLiteral<"provisioning">;
|
|
546
|
+
}>;
|
|
547
|
+
readonly SyncingSessionPlacement: Type.TObject<{
|
|
548
|
+
environmentId: Type.TString;
|
|
549
|
+
workerBundleHash: Type.TString;
|
|
550
|
+
providerId: Type.TOptional<Type.TString>;
|
|
551
|
+
profileId: Type.TOptional<Type.TString>;
|
|
552
|
+
machine: Type.TOptional<Type.TObject<{
|
|
553
|
+
class: Type.TOptional<Type.TString>;
|
|
554
|
+
os: Type.TOptional<Type.TString>;
|
|
555
|
+
osLabel: Type.TOptional<Type.TString>;
|
|
556
|
+
cpu: Type.TOptional<Type.TInteger>;
|
|
557
|
+
memoryGb: Type.TOptional<Type.TInteger>;
|
|
558
|
+
}>>;
|
|
559
|
+
generation: Type.TInteger;
|
|
560
|
+
createdAtMs: Type.TInteger;
|
|
561
|
+
updatedAtMs: Type.TInteger;
|
|
562
|
+
stateChangedAtMs: Type.TInteger;
|
|
563
|
+
state: Type.TLiteral<"syncing">;
|
|
564
|
+
}>;
|
|
565
|
+
readonly StartingSessionPlacement: Type.TObject<{
|
|
566
|
+
workspaceBaseManifestRef: Type.TString;
|
|
567
|
+
remoteWorkspaceDir: Type.TString;
|
|
568
|
+
environmentId: Type.TString;
|
|
569
|
+
workerBundleHash: Type.TString;
|
|
570
|
+
providerId: Type.TOptional<Type.TString>;
|
|
571
|
+
profileId: Type.TOptional<Type.TString>;
|
|
572
|
+
machine: Type.TOptional<Type.TObject<{
|
|
573
|
+
class: Type.TOptional<Type.TString>;
|
|
574
|
+
os: Type.TOptional<Type.TString>;
|
|
575
|
+
osLabel: Type.TOptional<Type.TString>;
|
|
576
|
+
cpu: Type.TOptional<Type.TInteger>;
|
|
577
|
+
memoryGb: Type.TOptional<Type.TInteger>;
|
|
578
|
+
}>>;
|
|
579
|
+
generation: Type.TInteger;
|
|
580
|
+
createdAtMs: Type.TInteger;
|
|
581
|
+
updatedAtMs: Type.TInteger;
|
|
582
|
+
stateChangedAtMs: Type.TInteger;
|
|
583
|
+
state: Type.TLiteral<"starting">;
|
|
584
|
+
}>;
|
|
585
|
+
readonly ActiveWorkerSessionPlacement: Type.TObject<{
|
|
586
|
+
runner: Type.TOptional<Type.TObject<{
|
|
587
|
+
kind: Type.TLiteral<"device">;
|
|
588
|
+
status: Type.TUnion<[Type.TLiteral<"available">, Type.TLiteral<"offline">]>;
|
|
589
|
+
deviceId: Type.TOptional<Type.TString>;
|
|
590
|
+
}>>;
|
|
591
|
+
workspaceResultReconciling: Type.TOptional<Type.TLiteral<true>>;
|
|
592
|
+
diskSpace: Type.TOptional<Type.TObject<{
|
|
593
|
+
status: Type.TUnion<[Type.TLiteral<"ok">, Type.TLiteral<"warning">, Type.TLiteral<"critical">]>;
|
|
594
|
+
availableBytes: Type.TInteger;
|
|
595
|
+
totalBytes: Type.TInteger;
|
|
596
|
+
observedAtMs: Type.TInteger;
|
|
597
|
+
}>>;
|
|
598
|
+
workspaceResultConflict: Type.TOptional<Type.TObject<{
|
|
599
|
+
paths: Type.TArray<Type.TString>;
|
|
600
|
+
stagedResultRef: Type.TString;
|
|
601
|
+
totalCount: Type.TOptional<Type.TInteger>;
|
|
602
|
+
}>>;
|
|
603
|
+
lastTranscriptAckCursor: Type.TOptional<Type.TInteger>;
|
|
604
|
+
lastLiveEventAckCursor: Type.TOptional<Type.TInteger>;
|
|
605
|
+
workspaceBaseManifestRef: Type.TString;
|
|
606
|
+
remoteWorkspaceDir: Type.TString;
|
|
607
|
+
environmentId: Type.TString;
|
|
608
|
+
activeOwnerEpoch: Type.TInteger;
|
|
609
|
+
workerBundleHash: Type.TString;
|
|
610
|
+
providerId: Type.TOptional<Type.TString>;
|
|
611
|
+
profileId: Type.TOptional<Type.TString>;
|
|
612
|
+
machine: Type.TOptional<Type.TObject<{
|
|
613
|
+
class: Type.TOptional<Type.TString>;
|
|
614
|
+
os: Type.TOptional<Type.TString>;
|
|
615
|
+
osLabel: Type.TOptional<Type.TString>;
|
|
616
|
+
cpu: Type.TOptional<Type.TInteger>;
|
|
617
|
+
memoryGb: Type.TOptional<Type.TInteger>;
|
|
618
|
+
}>>;
|
|
619
|
+
generation: Type.TInteger;
|
|
620
|
+
createdAtMs: Type.TInteger;
|
|
621
|
+
updatedAtMs: Type.TInteger;
|
|
622
|
+
stateChangedAtMs: Type.TInteger;
|
|
623
|
+
state: Type.TLiteral<"active">;
|
|
624
|
+
}>;
|
|
625
|
+
readonly DrainingSessionPlacement: Type.TObject<{
|
|
626
|
+
workspaceResultReconciling: Type.TOptional<Type.TLiteral<true>>;
|
|
627
|
+
diskSpace: Type.TOptional<Type.TObject<{
|
|
628
|
+
status: Type.TUnion<[Type.TLiteral<"ok">, Type.TLiteral<"warning">, Type.TLiteral<"critical">]>;
|
|
629
|
+
availableBytes: Type.TInteger;
|
|
630
|
+
totalBytes: Type.TInteger;
|
|
631
|
+
observedAtMs: Type.TInteger;
|
|
632
|
+
}>>;
|
|
633
|
+
workspaceResultConflict: Type.TOptional<Type.TObject<{
|
|
634
|
+
paths: Type.TArray<Type.TString>;
|
|
635
|
+
stagedResultRef: Type.TString;
|
|
636
|
+
totalCount: Type.TOptional<Type.TInteger>;
|
|
637
|
+
}>>;
|
|
638
|
+
lastTranscriptAckCursor: Type.TOptional<Type.TInteger>;
|
|
639
|
+
lastLiveEventAckCursor: Type.TOptional<Type.TInteger>;
|
|
640
|
+
workspaceBaseManifestRef: Type.TString;
|
|
641
|
+
remoteWorkspaceDir: Type.TString;
|
|
642
|
+
environmentId: Type.TString;
|
|
643
|
+
activeOwnerEpoch: Type.TInteger;
|
|
644
|
+
workerBundleHash: Type.TString;
|
|
645
|
+
providerId: Type.TOptional<Type.TString>;
|
|
646
|
+
profileId: Type.TOptional<Type.TString>;
|
|
647
|
+
machine: Type.TOptional<Type.TObject<{
|
|
648
|
+
class: Type.TOptional<Type.TString>;
|
|
649
|
+
os: Type.TOptional<Type.TString>;
|
|
650
|
+
osLabel: Type.TOptional<Type.TString>;
|
|
651
|
+
cpu: Type.TOptional<Type.TInteger>;
|
|
652
|
+
memoryGb: Type.TOptional<Type.TInteger>;
|
|
653
|
+
}>>;
|
|
654
|
+
generation: Type.TInteger;
|
|
655
|
+
createdAtMs: Type.TInteger;
|
|
656
|
+
updatedAtMs: Type.TInteger;
|
|
657
|
+
stateChangedAtMs: Type.TInteger;
|
|
658
|
+
state: Type.TLiteral<"draining">;
|
|
659
|
+
}>;
|
|
660
|
+
readonly ReconcilingSessionPlacement: Type.TObject<{
|
|
661
|
+
diskSpace: Type.TOptional<Type.TObject<{
|
|
662
|
+
status: Type.TUnion<[Type.TLiteral<"ok">, Type.TLiteral<"warning">, Type.TLiteral<"critical">]>;
|
|
663
|
+
availableBytes: Type.TInteger;
|
|
664
|
+
totalBytes: Type.TInteger;
|
|
665
|
+
observedAtMs: Type.TInteger;
|
|
666
|
+
}>>;
|
|
667
|
+
workspaceResultConflict: Type.TOptional<Type.TObject<{
|
|
668
|
+
paths: Type.TArray<Type.TString>;
|
|
669
|
+
stagedResultRef: Type.TString;
|
|
670
|
+
totalCount: Type.TOptional<Type.TInteger>;
|
|
671
|
+
}>>;
|
|
672
|
+
lastTranscriptAckCursor: Type.TOptional<Type.TInteger>;
|
|
673
|
+
lastLiveEventAckCursor: Type.TOptional<Type.TInteger>;
|
|
674
|
+
workspaceBaseManifestRef: Type.TString;
|
|
675
|
+
remoteWorkspaceDir: Type.TString;
|
|
676
|
+
environmentId: Type.TString;
|
|
677
|
+
activeOwnerEpoch: Type.TInteger;
|
|
678
|
+
workerBundleHash: Type.TString;
|
|
679
|
+
providerId: Type.TOptional<Type.TString>;
|
|
680
|
+
profileId: Type.TOptional<Type.TString>;
|
|
681
|
+
machine: Type.TOptional<Type.TObject<{
|
|
682
|
+
class: Type.TOptional<Type.TString>;
|
|
683
|
+
os: Type.TOptional<Type.TString>;
|
|
684
|
+
osLabel: Type.TOptional<Type.TString>;
|
|
685
|
+
cpu: Type.TOptional<Type.TInteger>;
|
|
686
|
+
memoryGb: Type.TOptional<Type.TInteger>;
|
|
687
|
+
}>>;
|
|
688
|
+
generation: Type.TInteger;
|
|
689
|
+
createdAtMs: Type.TInteger;
|
|
690
|
+
updatedAtMs: Type.TInteger;
|
|
691
|
+
stateChangedAtMs: Type.TInteger;
|
|
692
|
+
state: Type.TLiteral<"reconciling">;
|
|
693
|
+
}>;
|
|
694
|
+
readonly ReclaimedSessionPlacement: Type.TObject<{
|
|
695
|
+
terminalReason: Type.TOptional<Type.TString>;
|
|
696
|
+
terminalAtMs: Type.TOptional<Type.TInteger>;
|
|
697
|
+
workspaceResultConflict: Type.TOptional<Type.TObject<{
|
|
698
|
+
paths: Type.TArray<Type.TString>;
|
|
699
|
+
stagedResultRef: Type.TString;
|
|
700
|
+
totalCount: Type.TOptional<Type.TInteger>;
|
|
701
|
+
}>>;
|
|
702
|
+
lastTranscriptAckCursor: Type.TOptional<Type.TInteger>;
|
|
703
|
+
lastLiveEventAckCursor: Type.TOptional<Type.TInteger>;
|
|
704
|
+
environmentId: Type.TOptional<Type.TString>;
|
|
705
|
+
activeOwnerEpoch: Type.TOptional<Type.TInteger>;
|
|
706
|
+
workspaceBaseManifestRef: Type.TOptional<Type.TString>;
|
|
707
|
+
remoteWorkspaceDir: Type.TOptional<Type.TString>;
|
|
708
|
+
workerBundleHash: Type.TOptional<Type.TString>;
|
|
709
|
+
providerId: Type.TOptional<Type.TString>;
|
|
710
|
+
profileId: Type.TOptional<Type.TString>;
|
|
711
|
+
machine: Type.TOptional<Type.TObject<{
|
|
712
|
+
class: Type.TOptional<Type.TString>;
|
|
713
|
+
os: Type.TOptional<Type.TString>;
|
|
714
|
+
osLabel: Type.TOptional<Type.TString>;
|
|
715
|
+
cpu: Type.TOptional<Type.TInteger>;
|
|
716
|
+
memoryGb: Type.TOptional<Type.TInteger>;
|
|
717
|
+
}>>;
|
|
718
|
+
generation: Type.TInteger;
|
|
719
|
+
createdAtMs: Type.TInteger;
|
|
720
|
+
updatedAtMs: Type.TInteger;
|
|
721
|
+
stateChangedAtMs: Type.TInteger;
|
|
722
|
+
state: Type.TLiteral<"reclaimed">;
|
|
723
|
+
}>;
|
|
724
|
+
readonly FailedSessionPlacement: Type.TObject<{
|
|
725
|
+
recoveryError: Type.TString;
|
|
726
|
+
recoveryAction: Type.TOptional<Type.TEnum<["restart", "stop-first"]>>;
|
|
727
|
+
terminalReason: Type.TOptional<Type.TString>;
|
|
728
|
+
terminalAtMs: Type.TOptional<Type.TInteger>;
|
|
729
|
+
workspaceResultConflict: Type.TOptional<Type.TObject<{
|
|
730
|
+
paths: Type.TArray<Type.TString>;
|
|
731
|
+
stagedResultRef: Type.TString;
|
|
732
|
+
totalCount: Type.TOptional<Type.TInteger>;
|
|
733
|
+
}>>;
|
|
734
|
+
lastTranscriptAckCursor: Type.TOptional<Type.TInteger>;
|
|
735
|
+
lastLiveEventAckCursor: Type.TOptional<Type.TInteger>;
|
|
736
|
+
environmentId: Type.TOptional<Type.TString>;
|
|
737
|
+
activeOwnerEpoch: Type.TOptional<Type.TInteger>;
|
|
738
|
+
workspaceBaseManifestRef: Type.TOptional<Type.TString>;
|
|
739
|
+
remoteWorkspaceDir: Type.TOptional<Type.TString>;
|
|
740
|
+
workerBundleHash: Type.TOptional<Type.TString>;
|
|
741
|
+
providerId: Type.TOptional<Type.TString>;
|
|
742
|
+
profileId: Type.TOptional<Type.TString>;
|
|
743
|
+
machine: Type.TOptional<Type.TObject<{
|
|
744
|
+
class: Type.TOptional<Type.TString>;
|
|
745
|
+
os: Type.TOptional<Type.TString>;
|
|
746
|
+
osLabel: Type.TOptional<Type.TString>;
|
|
747
|
+
cpu: Type.TOptional<Type.TInteger>;
|
|
748
|
+
memoryGb: Type.TOptional<Type.TInteger>;
|
|
749
|
+
}>>;
|
|
750
|
+
generation: Type.TInteger;
|
|
751
|
+
createdAtMs: Type.TInteger;
|
|
752
|
+
updatedAtMs: Type.TInteger;
|
|
753
|
+
stateChangedAtMs: Type.TInteger;
|
|
754
|
+
state: Type.TLiteral<"failed">;
|
|
755
|
+
}>;
|
|
756
|
+
readonly SessionPlacement: Type.TUnion<[Type.TObject<{
|
|
757
|
+
generation: Type.TInteger;
|
|
758
|
+
createdAtMs: Type.TInteger;
|
|
759
|
+
updatedAtMs: Type.TInteger;
|
|
760
|
+
stateChangedAtMs: Type.TInteger;
|
|
761
|
+
state: Type.TLiteral<"local">;
|
|
762
|
+
}>, Type.TObject<{
|
|
763
|
+
generation: Type.TInteger;
|
|
764
|
+
createdAtMs: Type.TInteger;
|
|
765
|
+
updatedAtMs: Type.TInteger;
|
|
766
|
+
stateChangedAtMs: Type.TInteger;
|
|
767
|
+
state: Type.TLiteral<"requested">;
|
|
768
|
+
}>, Type.TObject<{
|
|
769
|
+
environmentId: Type.TOptional<Type.TString>;
|
|
770
|
+
providerId: Type.TOptional<Type.TString>;
|
|
771
|
+
profileId: Type.TOptional<Type.TString>;
|
|
772
|
+
machine: Type.TOptional<Type.TObject<{
|
|
773
|
+
class: Type.TOptional<Type.TString>;
|
|
774
|
+
os: Type.TOptional<Type.TString>;
|
|
775
|
+
osLabel: Type.TOptional<Type.TString>;
|
|
776
|
+
cpu: Type.TOptional<Type.TInteger>;
|
|
777
|
+
memoryGb: Type.TOptional<Type.TInteger>;
|
|
778
|
+
}>>;
|
|
779
|
+
generation: Type.TInteger;
|
|
780
|
+
createdAtMs: Type.TInteger;
|
|
781
|
+
updatedAtMs: Type.TInteger;
|
|
782
|
+
stateChangedAtMs: Type.TInteger;
|
|
783
|
+
state: Type.TLiteral<"provisioning">;
|
|
784
|
+
}>, Type.TObject<{
|
|
785
|
+
environmentId: Type.TString;
|
|
786
|
+
workerBundleHash: Type.TString;
|
|
787
|
+
providerId: Type.TOptional<Type.TString>;
|
|
788
|
+
profileId: Type.TOptional<Type.TString>;
|
|
789
|
+
machine: Type.TOptional<Type.TObject<{
|
|
790
|
+
class: Type.TOptional<Type.TString>;
|
|
791
|
+
os: Type.TOptional<Type.TString>;
|
|
792
|
+
osLabel: Type.TOptional<Type.TString>;
|
|
793
|
+
cpu: Type.TOptional<Type.TInteger>;
|
|
794
|
+
memoryGb: Type.TOptional<Type.TInteger>;
|
|
795
|
+
}>>;
|
|
796
|
+
generation: Type.TInteger;
|
|
797
|
+
createdAtMs: Type.TInteger;
|
|
798
|
+
updatedAtMs: Type.TInteger;
|
|
799
|
+
stateChangedAtMs: Type.TInteger;
|
|
800
|
+
state: Type.TLiteral<"syncing">;
|
|
801
|
+
}>, Type.TObject<{
|
|
802
|
+
workspaceBaseManifestRef: Type.TString;
|
|
803
|
+
remoteWorkspaceDir: Type.TString;
|
|
804
|
+
environmentId: Type.TString;
|
|
805
|
+
workerBundleHash: Type.TString;
|
|
806
|
+
providerId: Type.TOptional<Type.TString>;
|
|
807
|
+
profileId: Type.TOptional<Type.TString>;
|
|
808
|
+
machine: Type.TOptional<Type.TObject<{
|
|
809
|
+
class: Type.TOptional<Type.TString>;
|
|
810
|
+
os: Type.TOptional<Type.TString>;
|
|
811
|
+
osLabel: Type.TOptional<Type.TString>;
|
|
812
|
+
cpu: Type.TOptional<Type.TInteger>;
|
|
813
|
+
memoryGb: Type.TOptional<Type.TInteger>;
|
|
814
|
+
}>>;
|
|
815
|
+
generation: Type.TInteger;
|
|
816
|
+
createdAtMs: Type.TInteger;
|
|
817
|
+
updatedAtMs: Type.TInteger;
|
|
818
|
+
stateChangedAtMs: Type.TInteger;
|
|
819
|
+
state: Type.TLiteral<"starting">;
|
|
820
|
+
}>, Type.TObject<{
|
|
821
|
+
runner: Type.TOptional<Type.TObject<{
|
|
822
|
+
kind: Type.TLiteral<"device">;
|
|
823
|
+
status: Type.TUnion<[Type.TLiteral<"available">, Type.TLiteral<"offline">]>;
|
|
824
|
+
deviceId: Type.TOptional<Type.TString>;
|
|
825
|
+
}>>;
|
|
826
|
+
workspaceResultReconciling: Type.TOptional<Type.TLiteral<true>>;
|
|
827
|
+
diskSpace: Type.TOptional<Type.TObject<{
|
|
828
|
+
status: Type.TUnion<[Type.TLiteral<"ok">, Type.TLiteral<"warning">, Type.TLiteral<"critical">]>;
|
|
829
|
+
availableBytes: Type.TInteger;
|
|
830
|
+
totalBytes: Type.TInteger;
|
|
831
|
+
observedAtMs: Type.TInteger;
|
|
832
|
+
}>>;
|
|
833
|
+
workspaceResultConflict: Type.TOptional<Type.TObject<{
|
|
834
|
+
paths: Type.TArray<Type.TString>;
|
|
835
|
+
stagedResultRef: Type.TString;
|
|
836
|
+
totalCount: Type.TOptional<Type.TInteger>;
|
|
837
|
+
}>>;
|
|
838
|
+
lastTranscriptAckCursor: Type.TOptional<Type.TInteger>;
|
|
839
|
+
lastLiveEventAckCursor: Type.TOptional<Type.TInteger>;
|
|
840
|
+
workspaceBaseManifestRef: Type.TString;
|
|
841
|
+
remoteWorkspaceDir: Type.TString;
|
|
842
|
+
environmentId: Type.TString;
|
|
843
|
+
activeOwnerEpoch: Type.TInteger;
|
|
844
|
+
workerBundleHash: Type.TString;
|
|
845
|
+
providerId: Type.TOptional<Type.TString>;
|
|
846
|
+
profileId: Type.TOptional<Type.TString>;
|
|
847
|
+
machine: Type.TOptional<Type.TObject<{
|
|
848
|
+
class: Type.TOptional<Type.TString>;
|
|
849
|
+
os: Type.TOptional<Type.TString>;
|
|
850
|
+
osLabel: Type.TOptional<Type.TString>;
|
|
851
|
+
cpu: Type.TOptional<Type.TInteger>;
|
|
852
|
+
memoryGb: Type.TOptional<Type.TInteger>;
|
|
853
|
+
}>>;
|
|
854
|
+
generation: Type.TInteger;
|
|
855
|
+
createdAtMs: Type.TInteger;
|
|
856
|
+
updatedAtMs: Type.TInteger;
|
|
857
|
+
stateChangedAtMs: Type.TInteger;
|
|
858
|
+
state: Type.TLiteral<"active">;
|
|
859
|
+
}>, Type.TObject<{
|
|
860
|
+
workspaceResultReconciling: Type.TOptional<Type.TLiteral<true>>;
|
|
861
|
+
diskSpace: Type.TOptional<Type.TObject<{
|
|
862
|
+
status: Type.TUnion<[Type.TLiteral<"ok">, Type.TLiteral<"warning">, Type.TLiteral<"critical">]>;
|
|
863
|
+
availableBytes: Type.TInteger;
|
|
864
|
+
totalBytes: Type.TInteger;
|
|
865
|
+
observedAtMs: Type.TInteger;
|
|
866
|
+
}>>;
|
|
867
|
+
workspaceResultConflict: Type.TOptional<Type.TObject<{
|
|
868
|
+
paths: Type.TArray<Type.TString>;
|
|
869
|
+
stagedResultRef: Type.TString;
|
|
870
|
+
totalCount: Type.TOptional<Type.TInteger>;
|
|
871
|
+
}>>;
|
|
872
|
+
lastTranscriptAckCursor: Type.TOptional<Type.TInteger>;
|
|
873
|
+
lastLiveEventAckCursor: Type.TOptional<Type.TInteger>;
|
|
874
|
+
workspaceBaseManifestRef: Type.TString;
|
|
875
|
+
remoteWorkspaceDir: Type.TString;
|
|
876
|
+
environmentId: Type.TString;
|
|
877
|
+
activeOwnerEpoch: Type.TInteger;
|
|
878
|
+
workerBundleHash: Type.TString;
|
|
879
|
+
providerId: Type.TOptional<Type.TString>;
|
|
880
|
+
profileId: Type.TOptional<Type.TString>;
|
|
881
|
+
machine: Type.TOptional<Type.TObject<{
|
|
882
|
+
class: Type.TOptional<Type.TString>;
|
|
883
|
+
os: Type.TOptional<Type.TString>;
|
|
884
|
+
osLabel: Type.TOptional<Type.TString>;
|
|
885
|
+
cpu: Type.TOptional<Type.TInteger>;
|
|
886
|
+
memoryGb: Type.TOptional<Type.TInteger>;
|
|
887
|
+
}>>;
|
|
888
|
+
generation: Type.TInteger;
|
|
889
|
+
createdAtMs: Type.TInteger;
|
|
890
|
+
updatedAtMs: Type.TInteger;
|
|
891
|
+
stateChangedAtMs: Type.TInteger;
|
|
892
|
+
state: Type.TLiteral<"draining">;
|
|
893
|
+
}>, Type.TObject<{
|
|
894
|
+
diskSpace: Type.TOptional<Type.TObject<{
|
|
895
|
+
status: Type.TUnion<[Type.TLiteral<"ok">, Type.TLiteral<"warning">, Type.TLiteral<"critical">]>;
|
|
896
|
+
availableBytes: Type.TInteger;
|
|
897
|
+
totalBytes: Type.TInteger;
|
|
898
|
+
observedAtMs: Type.TInteger;
|
|
899
|
+
}>>;
|
|
900
|
+
workspaceResultConflict: Type.TOptional<Type.TObject<{
|
|
901
|
+
paths: Type.TArray<Type.TString>;
|
|
902
|
+
stagedResultRef: Type.TString;
|
|
903
|
+
totalCount: Type.TOptional<Type.TInteger>;
|
|
904
|
+
}>>;
|
|
905
|
+
lastTranscriptAckCursor: Type.TOptional<Type.TInteger>;
|
|
906
|
+
lastLiveEventAckCursor: Type.TOptional<Type.TInteger>;
|
|
907
|
+
workspaceBaseManifestRef: Type.TString;
|
|
908
|
+
remoteWorkspaceDir: Type.TString;
|
|
909
|
+
environmentId: Type.TString;
|
|
910
|
+
activeOwnerEpoch: Type.TInteger;
|
|
911
|
+
workerBundleHash: Type.TString;
|
|
912
|
+
providerId: Type.TOptional<Type.TString>;
|
|
913
|
+
profileId: Type.TOptional<Type.TString>;
|
|
914
|
+
machine: Type.TOptional<Type.TObject<{
|
|
915
|
+
class: Type.TOptional<Type.TString>;
|
|
916
|
+
os: Type.TOptional<Type.TString>;
|
|
917
|
+
osLabel: Type.TOptional<Type.TString>;
|
|
918
|
+
cpu: Type.TOptional<Type.TInteger>;
|
|
919
|
+
memoryGb: Type.TOptional<Type.TInteger>;
|
|
920
|
+
}>>;
|
|
921
|
+
generation: Type.TInteger;
|
|
922
|
+
createdAtMs: Type.TInteger;
|
|
923
|
+
updatedAtMs: Type.TInteger;
|
|
924
|
+
stateChangedAtMs: Type.TInteger;
|
|
925
|
+
state: Type.TLiteral<"reconciling">;
|
|
926
|
+
}>, Type.TObject<{
|
|
927
|
+
terminalReason: Type.TOptional<Type.TString>;
|
|
928
|
+
terminalAtMs: Type.TOptional<Type.TInteger>;
|
|
929
|
+
workspaceResultConflict: Type.TOptional<Type.TObject<{
|
|
930
|
+
paths: Type.TArray<Type.TString>;
|
|
931
|
+
stagedResultRef: Type.TString;
|
|
932
|
+
totalCount: Type.TOptional<Type.TInteger>;
|
|
933
|
+
}>>;
|
|
934
|
+
lastTranscriptAckCursor: Type.TOptional<Type.TInteger>;
|
|
935
|
+
lastLiveEventAckCursor: Type.TOptional<Type.TInteger>;
|
|
936
|
+
environmentId: Type.TOptional<Type.TString>;
|
|
937
|
+
activeOwnerEpoch: Type.TOptional<Type.TInteger>;
|
|
938
|
+
workspaceBaseManifestRef: Type.TOptional<Type.TString>;
|
|
939
|
+
remoteWorkspaceDir: Type.TOptional<Type.TString>;
|
|
940
|
+
workerBundleHash: Type.TOptional<Type.TString>;
|
|
941
|
+
providerId: Type.TOptional<Type.TString>;
|
|
942
|
+
profileId: Type.TOptional<Type.TString>;
|
|
943
|
+
machine: Type.TOptional<Type.TObject<{
|
|
944
|
+
class: Type.TOptional<Type.TString>;
|
|
945
|
+
os: Type.TOptional<Type.TString>;
|
|
946
|
+
osLabel: Type.TOptional<Type.TString>;
|
|
947
|
+
cpu: Type.TOptional<Type.TInteger>;
|
|
948
|
+
memoryGb: Type.TOptional<Type.TInteger>;
|
|
949
|
+
}>>;
|
|
950
|
+
generation: Type.TInteger;
|
|
951
|
+
createdAtMs: Type.TInteger;
|
|
952
|
+
updatedAtMs: Type.TInteger;
|
|
953
|
+
stateChangedAtMs: Type.TInteger;
|
|
954
|
+
state: Type.TLiteral<"reclaimed">;
|
|
955
|
+
}>, Type.TObject<{
|
|
956
|
+
recoveryError: Type.TString;
|
|
957
|
+
recoveryAction: Type.TOptional<Type.TEnum<["restart", "stop-first"]>>;
|
|
958
|
+
terminalReason: Type.TOptional<Type.TString>;
|
|
959
|
+
terminalAtMs: Type.TOptional<Type.TInteger>;
|
|
960
|
+
workspaceResultConflict: Type.TOptional<Type.TObject<{
|
|
961
|
+
paths: Type.TArray<Type.TString>;
|
|
962
|
+
stagedResultRef: Type.TString;
|
|
963
|
+
totalCount: Type.TOptional<Type.TInteger>;
|
|
964
|
+
}>>;
|
|
965
|
+
lastTranscriptAckCursor: Type.TOptional<Type.TInteger>;
|
|
966
|
+
lastLiveEventAckCursor: Type.TOptional<Type.TInteger>;
|
|
967
|
+
environmentId: Type.TOptional<Type.TString>;
|
|
968
|
+
activeOwnerEpoch: Type.TOptional<Type.TInteger>;
|
|
969
|
+
workspaceBaseManifestRef: Type.TOptional<Type.TString>;
|
|
970
|
+
remoteWorkspaceDir: Type.TOptional<Type.TString>;
|
|
971
|
+
workerBundleHash: Type.TOptional<Type.TString>;
|
|
972
|
+
providerId: Type.TOptional<Type.TString>;
|
|
973
|
+
profileId: Type.TOptional<Type.TString>;
|
|
974
|
+
machine: Type.TOptional<Type.TObject<{
|
|
975
|
+
class: Type.TOptional<Type.TString>;
|
|
976
|
+
os: Type.TOptional<Type.TString>;
|
|
977
|
+
osLabel: Type.TOptional<Type.TString>;
|
|
978
|
+
cpu: Type.TOptional<Type.TInteger>;
|
|
979
|
+
memoryGb: Type.TOptional<Type.TInteger>;
|
|
980
|
+
}>>;
|
|
981
|
+
generation: Type.TInteger;
|
|
982
|
+
createdAtMs: Type.TInteger;
|
|
983
|
+
updatedAtMs: Type.TInteger;
|
|
984
|
+
stateChangedAtMs: Type.TInteger;
|
|
985
|
+
state: Type.TLiteral<"failed">;
|
|
986
|
+
}>]>;
|
|
987
|
+
readonly SessionsDispatchParams: Type.TObject<{
|
|
988
|
+
key: Type.TString;
|
|
989
|
+
agentId: Type.TOptional<Type.TString>;
|
|
990
|
+
profileId: Type.TOptional<Type.TString>;
|
|
991
|
+
deviceId: Type.TOptional<Type.TString>;
|
|
992
|
+
autoDevice: Type.TOptional<Type.TLiteral<true>>;
|
|
993
|
+
machineClass: Type.TOptional<Type.TString>;
|
|
994
|
+
os: Type.TOptional<Type.TString>;
|
|
995
|
+
}>;
|
|
996
|
+
readonly SessionsDispatchResult: Type.TObject<{
|
|
997
|
+
ok: Type.TLiteral<true>;
|
|
998
|
+
key: Type.TString;
|
|
999
|
+
sessionId: Type.TString;
|
|
1000
|
+
placement: Type.TObject<{
|
|
1001
|
+
runner: Type.TOptional<Type.TObject<{
|
|
1002
|
+
kind: Type.TLiteral<"device">;
|
|
1003
|
+
status: Type.TUnion<[Type.TLiteral<"available">, Type.TLiteral<"offline">]>;
|
|
1004
|
+
deviceId: Type.TOptional<Type.TString>;
|
|
1005
|
+
}>>;
|
|
1006
|
+
workspaceResultReconciling: Type.TOptional<Type.TLiteral<true>>;
|
|
1007
|
+
diskSpace: Type.TOptional<Type.TObject<{
|
|
1008
|
+
status: Type.TUnion<[Type.TLiteral<"ok">, Type.TLiteral<"warning">, Type.TLiteral<"critical">]>;
|
|
1009
|
+
availableBytes: Type.TInteger;
|
|
1010
|
+
totalBytes: Type.TInteger;
|
|
1011
|
+
observedAtMs: Type.TInteger;
|
|
1012
|
+
}>>;
|
|
1013
|
+
workspaceResultConflict: Type.TOptional<Type.TObject<{
|
|
1014
|
+
paths: Type.TArray<Type.TString>;
|
|
1015
|
+
stagedResultRef: Type.TString;
|
|
1016
|
+
totalCount: Type.TOptional<Type.TInteger>;
|
|
1017
|
+
}>>;
|
|
1018
|
+
lastTranscriptAckCursor: Type.TOptional<Type.TInteger>;
|
|
1019
|
+
lastLiveEventAckCursor: Type.TOptional<Type.TInteger>;
|
|
1020
|
+
workspaceBaseManifestRef: Type.TString;
|
|
1021
|
+
remoteWorkspaceDir: Type.TString;
|
|
1022
|
+
environmentId: Type.TString;
|
|
1023
|
+
activeOwnerEpoch: Type.TInteger;
|
|
1024
|
+
workerBundleHash: Type.TString;
|
|
1025
|
+
providerId: Type.TOptional<Type.TString>;
|
|
1026
|
+
profileId: Type.TOptional<Type.TString>;
|
|
1027
|
+
machine: Type.TOptional<Type.TObject<{
|
|
1028
|
+
class: Type.TOptional<Type.TString>;
|
|
1029
|
+
os: Type.TOptional<Type.TString>;
|
|
1030
|
+
osLabel: Type.TOptional<Type.TString>;
|
|
1031
|
+
cpu: Type.TOptional<Type.TInteger>;
|
|
1032
|
+
memoryGb: Type.TOptional<Type.TInteger>;
|
|
1033
|
+
}>>;
|
|
1034
|
+
generation: Type.TInteger;
|
|
1035
|
+
createdAtMs: Type.TInteger;
|
|
1036
|
+
updatedAtMs: Type.TInteger;
|
|
1037
|
+
stateChangedAtMs: Type.TInteger;
|
|
1038
|
+
state: Type.TLiteral<"active">;
|
|
1039
|
+
}>;
|
|
1040
|
+
}>;
|
|
1041
|
+
readonly SessionsReclaimParams: Type.TObject<{
|
|
1042
|
+
key: Type.TString;
|
|
1043
|
+
agentId: Type.TOptional<Type.TString>;
|
|
1044
|
+
recoverToGateway: Type.TOptional<Type.TObject<{
|
|
1045
|
+
expectedGeneration: Type.TInteger;
|
|
1046
|
+
}>>;
|
|
1047
|
+
}>;
|
|
1048
|
+
readonly SessionsReclaimResultPlacement: Type.TUnion<[Type.TObject<{
|
|
1049
|
+
generation: Type.TInteger;
|
|
1050
|
+
createdAtMs: Type.TInteger;
|
|
1051
|
+
updatedAtMs: Type.TInteger;
|
|
1052
|
+
stateChangedAtMs: Type.TInteger;
|
|
1053
|
+
state: Type.TLiteral<"local">;
|
|
1054
|
+
}>, Type.TObject<{
|
|
1055
|
+
terminalReason: Type.TOptional<Type.TString>;
|
|
1056
|
+
terminalAtMs: Type.TOptional<Type.TInteger>;
|
|
1057
|
+
workspaceResultConflict: Type.TOptional<Type.TObject<{
|
|
1058
|
+
paths: Type.TArray<Type.TString>;
|
|
1059
|
+
stagedResultRef: Type.TString;
|
|
1060
|
+
totalCount: Type.TOptional<Type.TInteger>;
|
|
1061
|
+
}>>;
|
|
1062
|
+
lastTranscriptAckCursor: Type.TOptional<Type.TInteger>;
|
|
1063
|
+
lastLiveEventAckCursor: Type.TOptional<Type.TInteger>;
|
|
1064
|
+
environmentId: Type.TOptional<Type.TString>;
|
|
1065
|
+
activeOwnerEpoch: Type.TOptional<Type.TInteger>;
|
|
1066
|
+
workspaceBaseManifestRef: Type.TOptional<Type.TString>;
|
|
1067
|
+
remoteWorkspaceDir: Type.TOptional<Type.TString>;
|
|
1068
|
+
workerBundleHash: Type.TOptional<Type.TString>;
|
|
1069
|
+
providerId: Type.TOptional<Type.TString>;
|
|
1070
|
+
profileId: Type.TOptional<Type.TString>;
|
|
1071
|
+
machine: Type.TOptional<Type.TObject<{
|
|
1072
|
+
class: Type.TOptional<Type.TString>;
|
|
1073
|
+
os: Type.TOptional<Type.TString>;
|
|
1074
|
+
osLabel: Type.TOptional<Type.TString>;
|
|
1075
|
+
cpu: Type.TOptional<Type.TInteger>;
|
|
1076
|
+
memoryGb: Type.TOptional<Type.TInteger>;
|
|
1077
|
+
}>>;
|
|
1078
|
+
generation: Type.TInteger;
|
|
1079
|
+
createdAtMs: Type.TInteger;
|
|
1080
|
+
updatedAtMs: Type.TInteger;
|
|
1081
|
+
stateChangedAtMs: Type.TInteger;
|
|
1082
|
+
state: Type.TLiteral<"reclaimed">;
|
|
1083
|
+
}>]>;
|
|
1084
|
+
readonly SessionsReclaimResult: Type.TObject<{
|
|
1085
|
+
ok: Type.TLiteral<true>;
|
|
1086
|
+
key: Type.TString;
|
|
1087
|
+
sessionId: Type.TString;
|
|
1088
|
+
placement: Type.TUnion<[Type.TObject<{
|
|
1089
|
+
generation: Type.TInteger;
|
|
1090
|
+
createdAtMs: Type.TInteger;
|
|
1091
|
+
updatedAtMs: Type.TInteger;
|
|
1092
|
+
stateChangedAtMs: Type.TInteger;
|
|
1093
|
+
state: Type.TLiteral<"local">;
|
|
1094
|
+
}>, Type.TObject<{
|
|
1095
|
+
terminalReason: Type.TOptional<Type.TString>;
|
|
1096
|
+
terminalAtMs: Type.TOptional<Type.TInteger>;
|
|
1097
|
+
workspaceResultConflict: Type.TOptional<Type.TObject<{
|
|
1098
|
+
paths: Type.TArray<Type.TString>;
|
|
1099
|
+
stagedResultRef: Type.TString;
|
|
1100
|
+
totalCount: Type.TOptional<Type.TInteger>;
|
|
1101
|
+
}>>;
|
|
1102
|
+
lastTranscriptAckCursor: Type.TOptional<Type.TInteger>;
|
|
1103
|
+
lastLiveEventAckCursor: Type.TOptional<Type.TInteger>;
|
|
1104
|
+
environmentId: Type.TOptional<Type.TString>;
|
|
1105
|
+
activeOwnerEpoch: Type.TOptional<Type.TInteger>;
|
|
1106
|
+
workspaceBaseManifestRef: Type.TOptional<Type.TString>;
|
|
1107
|
+
remoteWorkspaceDir: Type.TOptional<Type.TString>;
|
|
1108
|
+
workerBundleHash: Type.TOptional<Type.TString>;
|
|
1109
|
+
providerId: Type.TOptional<Type.TString>;
|
|
1110
|
+
profileId: Type.TOptional<Type.TString>;
|
|
1111
|
+
machine: Type.TOptional<Type.TObject<{
|
|
1112
|
+
class: Type.TOptional<Type.TString>;
|
|
1113
|
+
os: Type.TOptional<Type.TString>;
|
|
1114
|
+
osLabel: Type.TOptional<Type.TString>;
|
|
1115
|
+
cpu: Type.TOptional<Type.TInteger>;
|
|
1116
|
+
memoryGb: Type.TOptional<Type.TInteger>;
|
|
1117
|
+
}>>;
|
|
1118
|
+
generation: Type.TInteger;
|
|
1119
|
+
createdAtMs: Type.TInteger;
|
|
1120
|
+
updatedAtMs: Type.TInteger;
|
|
1121
|
+
stateChangedAtMs: Type.TInteger;
|
|
1122
|
+
state: Type.TLiteral<"reclaimed">;
|
|
1123
|
+
}>]>;
|
|
1124
|
+
}>;
|
|
1125
|
+
readonly SessionMoveExpectedSource: Type.TObject<{
|
|
1126
|
+
generation: Type.TInteger;
|
|
1127
|
+
environmentId: Type.TString;
|
|
1128
|
+
ownerEpoch: Type.TInteger;
|
|
1129
|
+
}>;
|
|
1130
|
+
readonly SessionMoveGatewayTarget: Type.TObject<{
|
|
1131
|
+
kind: Type.TLiteral<"gateway">;
|
|
1132
|
+
}>;
|
|
1133
|
+
readonly SessionMoveProfileTarget: Type.TObject<{
|
|
1134
|
+
kind: Type.TLiteral<"profile">;
|
|
1135
|
+
profileId: Type.TString;
|
|
1136
|
+
machineClass: Type.TOptional<Type.TString>;
|
|
1137
|
+
os: Type.TOptional<Type.TString>;
|
|
1138
|
+
}>;
|
|
1139
|
+
readonly SessionMoveDeviceTarget: Type.TObject<{
|
|
1140
|
+
kind: Type.TLiteral<"device">;
|
|
1141
|
+
deviceId: Type.TString;
|
|
1142
|
+
}>;
|
|
1143
|
+
readonly SessionMoveTarget: Type.TUnion<[Type.TObject<{
|
|
1144
|
+
kind: Type.TLiteral<"gateway">;
|
|
1145
|
+
}>, Type.TObject<{
|
|
1146
|
+
kind: Type.TLiteral<"profile">;
|
|
1147
|
+
profileId: Type.TString;
|
|
1148
|
+
machineClass: Type.TOptional<Type.TString>;
|
|
1149
|
+
os: Type.TOptional<Type.TString>;
|
|
1150
|
+
}>, Type.TObject<{
|
|
1151
|
+
kind: Type.TLiteral<"device">;
|
|
1152
|
+
deviceId: Type.TString;
|
|
1153
|
+
}>]>;
|
|
1154
|
+
readonly SessionPlacementMove: Type.TObject<{
|
|
1155
|
+
target: Type.TUnion<[Type.TObject<{
|
|
1156
|
+
kind: Type.TLiteral<"gateway">;
|
|
1157
|
+
}>, Type.TObject<{
|
|
1158
|
+
kind: Type.TLiteral<"profile">;
|
|
1159
|
+
profileId: Type.TString;
|
|
1160
|
+
machineClass: Type.TOptional<Type.TString>;
|
|
1161
|
+
os: Type.TOptional<Type.TString>;
|
|
1162
|
+
}>, Type.TObject<{
|
|
1163
|
+
kind: Type.TLiteral<"device">;
|
|
1164
|
+
deviceId: Type.TString;
|
|
1165
|
+
}>]>;
|
|
1166
|
+
updatedAtMs: Type.TInteger;
|
|
1167
|
+
error: Type.TOptional<Type.TString>;
|
|
1168
|
+
}>;
|
|
1169
|
+
readonly SessionsMoveParams: Type.TObject<{
|
|
1170
|
+
key: Type.TString;
|
|
1171
|
+
agentId: Type.TOptional<Type.TString>;
|
|
1172
|
+
expected: Type.TObject<{
|
|
1173
|
+
generation: Type.TInteger;
|
|
1174
|
+
environmentId: Type.TString;
|
|
1175
|
+
ownerEpoch: Type.TInteger;
|
|
1176
|
+
}>;
|
|
1177
|
+
target: Type.TUnion<[Type.TObject<{
|
|
1178
|
+
kind: Type.TLiteral<"gateway">;
|
|
1179
|
+
}>, Type.TObject<{
|
|
1180
|
+
kind: Type.TLiteral<"profile">;
|
|
1181
|
+
profileId: Type.TString;
|
|
1182
|
+
machineClass: Type.TOptional<Type.TString>;
|
|
1183
|
+
os: Type.TOptional<Type.TString>;
|
|
1184
|
+
}>, Type.TObject<{
|
|
1185
|
+
kind: Type.TLiteral<"device">;
|
|
1186
|
+
deviceId: Type.TString;
|
|
1187
|
+
}>]>;
|
|
1188
|
+
abandonSource: Type.TOptional<Type.TLiteral<true>>;
|
|
1189
|
+
}>;
|
|
1190
|
+
readonly SessionMovePlacementState: Type.TUnion<[Type.TLiteral<"local">, Type.TLiteral<"active">]>;
|
|
1191
|
+
readonly SessionMovePlacement: Type.TObject<{
|
|
1192
|
+
state: Type.TUnion<[Type.TLiteral<"local">, Type.TLiteral<"active">]>;
|
|
1193
|
+
generation: Type.TInteger;
|
|
1194
|
+
}>;
|
|
1195
|
+
readonly SessionsMoveResult: Type.TObject<{
|
|
1196
|
+
ok: Type.TLiteral<true>;
|
|
1197
|
+
key: Type.TString;
|
|
1198
|
+
sessionId: Type.TString;
|
|
1199
|
+
placement: Type.TObject<{
|
|
1200
|
+
state: Type.TUnion<[Type.TLiteral<"local">, Type.TLiteral<"active">]>;
|
|
1201
|
+
generation: Type.TInteger;
|
|
1202
|
+
}>;
|
|
1203
|
+
}>;
|
|
1204
|
+
};
|
|
1205
|
+
type SessionPlacement = Static<typeof SessionPlacementSchema>;
|
|
1206
|
+
type SessionPlacementDiskSpace = Static<typeof SessionPlacementDiskSpaceSchema>;
|
|
1207
|
+
type SessionPlacementRunner = Static<typeof SessionPlacementRunnerSchema>;
|
|
1208
|
+
type SessionPlacementMachine = Static<typeof SessionPlacementMachineSchema>;
|
|
1209
|
+
type SessionsDispatchParams = Static<typeof SessionsDispatchParamsSchema>;
|
|
1210
|
+
type SessionsDispatchResult = Static<typeof SessionsDispatchResultSchema>;
|
|
1211
|
+
type SessionsReclaimParams = Static<typeof SessionsReclaimParamsSchema>;
|
|
1212
|
+
type SessionsReclaimResultPlacement = Static<typeof SessionsReclaimResultPlacementSchema>;
|
|
1213
|
+
type SessionsReclaimResult = Static<typeof SessionsReclaimResultSchema>;
|
|
1214
|
+
type SessionMoveExpectedSource = Static<typeof SessionMoveExpectedSourceSchema>;
|
|
1215
|
+
type SessionMoveTarget = Static<typeof SessionMoveTargetSchema>;
|
|
1216
|
+
type SessionPlacementMove = Static<typeof SessionPlacementMoveSchema>;
|
|
1217
|
+
type SessionsMoveParams = Static<typeof SessionsMoveParamsSchema>;
|
|
1218
|
+
type SessionMovePlacementState = Static<typeof SessionMovePlacementStateSchema>;
|
|
1219
|
+
type SessionMovePlacement = Static<typeof SessionMovePlacementSchema>;
|
|
1220
|
+
type SessionsMoveResult = Static<typeof SessionsMoveResultSchema>;
|
|
1221
|
+
//#endregion
|
|
1222
|
+
//#region src/gateway-error-details.d.ts
|
|
1223
|
+
/** Display projection for an assistant failure without visible reply content. */
|
|
1224
|
+
declare const GATEWAY_ASSISTANT_ERROR_FALLBACK_TEXT = "The agent run failed before producing a reply.";
|
|
1225
|
+
/** Gateway JSON-RPC style error codes shared by clients and server handlers. */
|
|
1226
|
+
declare const ErrorCodes: {
|
|
1227
|
+
/** @deprecated Retained for source compatibility; no current server emitter. */
|
|
1228
|
+
readonly NOT_LINKED: "NOT_LINKED";
|
|
1229
|
+
/** Device exists but still needs an explicit pairing approval. */
|
|
1230
|
+
readonly NOT_PAIRED: "NOT_PAIRED";
|
|
1231
|
+
/** @deprecated Retained for source compatibility; no current server emitter. */
|
|
1232
|
+
readonly AGENT_TIMEOUT: "AGENT_TIMEOUT";
|
|
1233
|
+
/** Request payload failed protocol validation or method preconditions. */
|
|
1234
|
+
readonly INVALID_REQUEST: "INVALID_REQUEST";
|
|
1235
|
+
/** Authenticated caller lacks permission for the requested operation. */
|
|
1236
|
+
readonly FORBIDDEN: "FORBIDDEN";
|
|
1237
|
+
/** Approval resolution referenced a missing or expired approval request. */
|
|
1238
|
+
readonly APPROVAL_NOT_FOUND: "APPROVAL_NOT_FOUND";
|
|
1239
|
+
/** Gateway service or required backend is temporarily unavailable. */
|
|
1240
|
+
readonly UNAVAILABLE: "UNAVAILABLE";
|
|
1241
|
+
};
|
|
1242
|
+
/** Closed set of canonical gateway error code strings. */
|
|
1243
|
+
type ErrorCode = (typeof ErrorCodes)[keyof typeof ErrorCodes];
|
|
1244
|
+
/** Stable discriminants for structured method-level failures. */
|
|
1245
|
+
declare const GatewayErrorDetailCodes: {
|
|
1246
|
+
readonly CRON_JOB_NOT_FOUND: "CRON_JOB_NOT_FOUND";
|
|
1247
|
+
readonly MISSING_SCOPE: "MISSING_SCOPE";
|
|
1248
|
+
readonly MCP_APP_VIEW_EXPIRED: "MCP_APP_VIEW_EXPIRED";
|
|
1249
|
+
readonly OUTBOUND_DELIVERY_QUEUED: "OUTBOUND_DELIVERY_QUEUED";
|
|
1250
|
+
readonly USER_PREFS_LIMIT_EXCEEDED: "USER_PREFS_LIMIT_EXCEEDED";
|
|
1251
|
+
readonly SESSION_COMPANION_BUSY: "SESSION_COMPANION_BUSY";
|
|
1252
|
+
readonly SKILL_PROPOSAL_REVISION_CHANGED: "SKILL_PROPOSAL_REVISION_CHANGED";
|
|
1253
|
+
readonly PROJECT_CLONE_FAILED: "PROJECT_CLONE_FAILED";
|
|
1254
|
+
readonly UNKNOWN_AGENT_ID: "UNKNOWN_AGENT_ID";
|
|
1255
|
+
readonly WIZARD_NOT_FOUND: "WIZARD_NOT_FOUND";
|
|
1256
|
+
readonly SETUP_ADMISSION_BUSY: "SETUP_ADMISSION_BUSY";
|
|
1257
|
+
readonly GITHUB_PUBLICATION_SELECTION_REJECTED: "GITHUB_PUBLICATION_SELECTION_REJECTED";
|
|
1258
|
+
readonly SESSION_WORKSPACE_RECOVERY_REQUIRED: "SESSION_WORKSPACE_RECOVERY_REQUIRED";
|
|
1259
|
+
};
|
|
1260
|
+
/** Missing cron automation identified by its exact store key. */
|
|
1261
|
+
type CronJobNotFoundErrorDetails = {
|
|
1262
|
+
code: typeof GatewayErrorDetailCodes.CRON_JOB_NOT_FOUND;
|
|
1263
|
+
jobId: string;
|
|
1264
|
+
};
|
|
1265
|
+
/** Missing operator-scope details shared by WebSocket and HTTP responses. */
|
|
1266
|
+
type MissingScopeErrorDetails = {
|
|
1267
|
+
code: typeof GatewayErrorDetailCodes.MISSING_SCOPE;
|
|
1268
|
+
missingScope: string;
|
|
1269
|
+
requiredScopes: string[];
|
|
1270
|
+
};
|
|
1271
|
+
type McpAppViewExpiredErrorDetails = {
|
|
1272
|
+
code: typeof GatewayErrorDetailCodes.MCP_APP_VIEW_EXPIRED;
|
|
1273
|
+
};
|
|
1274
|
+
type OutboundDeliveryQueuedErrorDetails = {
|
|
1275
|
+
code: typeof GatewayErrorDetailCodes.OUTBOUND_DELIVERY_QUEUED;
|
|
1276
|
+
};
|
|
1277
|
+
/** Per-profile preference quota details returned by users.prefs.set. */
|
|
1278
|
+
type UserPrefsLimitExceededErrorDetails = {
|
|
1279
|
+
code: typeof GatewayErrorDetailCodes.USER_PREFS_LIMIT_EXCEEDED;
|
|
1280
|
+
limit: number;
|
|
1281
|
+
currentCount: number;
|
|
1282
|
+
};
|
|
1283
|
+
/** Unknown agent details carried by agent-scoped method validation failures. */
|
|
1284
|
+
type UnknownAgentIdErrorDetails = {
|
|
1285
|
+
code: typeof GatewayErrorDetailCodes.UNKNOWN_AGENT_ID;
|
|
1286
|
+
agentId: string;
|
|
1287
|
+
};
|
|
1288
|
+
/** Setup rejected before its task or wizard session was admitted. */
|
|
1289
|
+
type SetupAdmissionBusyErrorDetails = {
|
|
1290
|
+
code: typeof GatewayErrorDetailCodes.SETUP_ADMISSION_BUSY;
|
|
1291
|
+
};
|
|
1292
|
+
/** This invocation rejected its selection before admission; earlier calls may still be pending. */
|
|
1293
|
+
type GitHubPublicationSelectionRejectedErrorDetails = {
|
|
1294
|
+
code: typeof GatewayErrorDetailCodes.GITHUB_PUBLICATION_SELECTION_REJECTED;
|
|
1295
|
+
idempotencyKey: string;
|
|
1296
|
+
};
|
|
1297
|
+
/** Missing or expired process-local setup wizard session. */
|
|
1298
|
+
type WizardNotFoundErrorDetails = {
|
|
1299
|
+
code: typeof GatewayErrorDetailCodes.WIZARD_NOT_FOUND;
|
|
1300
|
+
};
|
|
1301
|
+
type ProjectCloneFailureCause = "invalid_url" | "auth_required" | "not_found" | "network" | "target_exists" | "clone_failed";
|
|
1302
|
+
type ProjectCloneErrorDetails = {
|
|
1303
|
+
code: typeof GatewayErrorDetailCodes.PROJECT_CLONE_FAILED;
|
|
1304
|
+
cause: ProjectCloneFailureCause;
|
|
1305
|
+
};
|
|
1306
|
+
/** Optimistic-concurrency mismatch for an operator-reviewed Skill Workshop draft. */
|
|
1307
|
+
type SkillProposalRevisionChangedErrorDetails = {
|
|
1308
|
+
code: typeof GatewayErrorDetailCodes.SKILL_PROPOSAL_REVISION_CHANGED;
|
|
1309
|
+
expectedRevisionHash: string;
|
|
1310
|
+
currentRevisionHash: string;
|
|
1311
|
+
};
|
|
1312
|
+
/** Exact retained workspace owner that must be recovered or explicitly abandoned. */
|
|
1313
|
+
type SessionWorkspaceRecoveryRequiredErrorDetails = {
|
|
1314
|
+
code: typeof GatewayErrorDetailCodes.SESSION_WORKSPACE_RECOVERY_REQUIRED;
|
|
1315
|
+
cause: "device_offline";
|
|
1316
|
+
recoveryAction: "continue_on_gateway";
|
|
1317
|
+
sessionId: string;
|
|
1318
|
+
source: SessionMoveExpectedSource;
|
|
1319
|
+
};
|
|
1320
|
+
/** Structured details emitted by method-level failures. */
|
|
1321
|
+
type GatewayErrorDetails = CronJobNotFoundErrorDetails | MissingScopeErrorDetails | McpAppViewExpiredErrorDetails | OutboundDeliveryQueuedErrorDetails | UserPrefsLimitExceededErrorDetails | SkillProposalRevisionChangedErrorDetails | ProjectCloneErrorDetails | UnknownAgentIdErrorDetails | WizardNotFoundErrorDetails | SetupAdmissionBusyErrorDetails | GitHubPublicationSelectionRejectedErrorDetails | SessionWorkspaceRecoveryRequiredErrorDetails;
|
|
1322
|
+
declare function readGitHubPublicationSelectionRejectedError(error: unknown): GitHubPublicationSelectionRejectedErrorDetails | null;
|
|
1323
|
+
/** Reads a typed cron lookup miss without parsing operator-facing prose. */
|
|
1324
|
+
declare function readCronJobNotFoundError(error: unknown): CronJobNotFoundErrorDetails | null;
|
|
1325
|
+
/** Builds the canonical stale-draft details shared by Skill Workshop RPCs. */
|
|
1326
|
+
declare function buildSkillProposalRevisionChangedErrorDetails(params: {
|
|
1327
|
+
expectedRevisionHash: string;
|
|
1328
|
+
currentRevisionHash: string;
|
|
1329
|
+
}): SkillProposalRevisionChangedErrorDetails;
|
|
1330
|
+
/** Reads a stale Skill Workshop decision without parsing operator-facing prose. */
|
|
1331
|
+
declare function readSkillProposalRevisionChangedError(error: unknown): SkillProposalRevisionChangedErrorDetails | null;
|
|
1332
|
+
/** Reads validated missing-scope details from an untrusted protocol payload. */
|
|
1333
|
+
declare function readMissingScopeErrorDetails(details: unknown): MissingScopeErrorDetails | null;
|
|
1334
|
+
declare function isMcpAppViewExpiredError(error: unknown): boolean;
|
|
1335
|
+
/**
|
|
1336
|
+
* Reads a method-level missing-scope failure, preferring structured details.
|
|
1337
|
+
* The message fallback keeps clients compatible with gateways predating structured details.
|
|
1338
|
+
*/
|
|
1339
|
+
declare function readMissingScopeError(error: unknown): MissingScopeErrorDetails | null;
|
|
1340
|
+
//#endregion
|
|
1341
|
+
export { SessionsMoveParams as $, SessionMovePlacement as A, SessionPlacementMachine as B, readMissingScopeError as C, SessionMoveExpectedSource as D, SessionMoveDeviceTargetSchema as E, SessionMoveTarget as F, SessionPlacementRunner as G, SessionPlacementMove as H, SessionMoveTargetSchema as I, SessionPlacementStateSchema as J, SessionPlacementRunnerSchema as K, SessionPlacement as L, SessionMovePlacementState as M, SessionMovePlacementStateSchema as N, SessionMoveExpectedSourceSchema as O, SessionMoveProfileTargetSchema as P, SessionsDispatchResultSchema as Q, SessionPlacementDiskSpace as R, readGitHubPublicationSelectionRejectedError as S, readSkillProposalRevisionChangedError as T, SessionPlacementMoveSchema as U, SessionPlacementMachineSchema as V, SessionPlacementProtocolSchemas as W, SessionsDispatchParamsSchema as X, SessionsDispatchParams as Y, SessionsDispatchResult as Z, UserPrefsLimitExceededErrorDetails as _, GatewayErrorDetailCodes as a, SessionsReclaimResult as at, isMcpAppViewExpiredError as b, McpAppViewExpiredErrorDetails as c, SessionsReclaimResultSchema as ct, ProjectCloneErrorDetails as d, SessionsMoveParamsSchema as et, ProjectCloneFailureCause as f, UnknownAgentIdErrorDetails as g, SkillProposalRevisionChangedErrorDetails as h, GATEWAY_ASSISTANT_ERROR_FALLBACK_TEXT as i, SessionsReclaimParamsSchema as it, SessionMovePlacementSchema as j, SessionMoveGatewayTargetSchema as k, MissingScopeErrorDetails as l, SetupAdmissionBusyErrorDetails as m, ErrorCode as n, SessionsMoveResultSchema as nt, GatewayErrorDetails as o, SessionsReclaimResultPlacement as ot, SessionWorkspaceRecoveryRequiredErrorDetails as p, SessionPlacementSchema as q, ErrorCodes as r, SessionsReclaimParams as rt, GitHubPublicationSelectionRejectedErrorDetails as s, SessionsReclaimResultPlacementSchema as st, CronJobNotFoundErrorDetails as t, SessionsMoveResult as tt, OutboundDeliveryQueuedErrorDetails as u, WizardNotFoundErrorDetails as v, readMissingScopeErrorDetails as w, readCronJobNotFoundError as x, buildSkillProposalRevisionChangedErrorDetails as y, SessionPlacementDiskSpaceSchema as z };
|