@qwen-code/web-shell 0.24.6 → 0.24.7
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/README.md +10 -0
- package/dist/daemon-react-sdk.js +1 -1
- package/dist/index.js +48046 -45963
- package/dist/sw.js +1 -1
- package/dist/{toolNames-C6S4xtsA.js → toolNames-B0O1UjKB.js} +5554 -5166
- package/dist/transcript.js +8781 -8650
- package/dist/types/components/BranchPickerPopover.d.ts +2 -1
- package/dist/types/components/ChatEditor.d.ts +1 -0
- package/dist/types/components/DesktopRelayControl.d.ts +51 -0
- package/dist/types/components/MessageList.d.ts +1 -0
- package/dist/types/components/artifacts/TrajectoryInspector.d.ts +15 -0
- package/dist/types/components/composer/AddMenu.d.ts +5 -1
- package/dist/types/components/dialogs/BranchSessionDialog.d.ts +6 -0
- package/dist/types/components/dialogs/GitDiffDialog.d.ts +2 -1
- package/dist/types/components/dialogs/GitLogDialog.d.ts +2 -1
- package/dist/types/components/managed/WorkspaceBindingCreator.d.ts +6 -0
- package/dist/types/components/managed/generated/managed-agent-api.d.ts +1074 -0
- package/dist/types/components/managed/java-managed-agent-client.d.ts +32 -113
- package/dist/types/components/managed/java-managed-agent-provider.d.ts +1 -0
- package/dist/types/components/managed/managed-agent-provider.d.ts +31 -1
- package/dist/types/components/messages/McpApp.d.ts +1 -1
- package/dist/types/components/messages/toolFormatting.d.ts +2 -0
- package/dist/types/components/panels/EnvironmentPanel.d.ts +2 -1
- package/dist/types/components/sidebar/UpdateControl.d.ts +10 -0
- package/dist/types/components/sidebar/WebShellSidebar.d.ts +1 -1
- package/dist/types/daemon/session/transcript-page-table.d.ts +10 -1
- package/dist/types/daemon/session/types.d.ts +2 -2
- package/dist/types/desktop-relay/desktop-relay-client.d.ts +63 -0
- package/dist/types/mcpAppHostContext.d.ts +7 -0
- package/dist/types/settings/messages.d.ts +16 -0
- package/dist/types/settings/messages.transcript-stub.d.ts +12 -0
- package/dist/types/trajectory/summarizeTrajectory.d.ts +20 -0
- package/package.json +3 -1
|
@@ -0,0 +1,1074 @@
|
|
|
1
|
+
export interface paths {
|
|
2
|
+
"/api/agent/web-shell/v1/sessions/query": {
|
|
3
|
+
parameters: {
|
|
4
|
+
query?: never;
|
|
5
|
+
header?: never;
|
|
6
|
+
path?: never;
|
|
7
|
+
cookie?: never;
|
|
8
|
+
};
|
|
9
|
+
get?: never;
|
|
10
|
+
put?: never;
|
|
11
|
+
post: operations["webShellListSessions"];
|
|
12
|
+
delete?: never;
|
|
13
|
+
options?: never;
|
|
14
|
+
head?: never;
|
|
15
|
+
patch?: never;
|
|
16
|
+
trace?: never;
|
|
17
|
+
};
|
|
18
|
+
"/api/agent/web-shell/v1/sessions/get": {
|
|
19
|
+
parameters: {
|
|
20
|
+
query?: never;
|
|
21
|
+
header?: never;
|
|
22
|
+
path?: never;
|
|
23
|
+
cookie?: never;
|
|
24
|
+
};
|
|
25
|
+
get?: never;
|
|
26
|
+
put?: never;
|
|
27
|
+
post: operations["webShellGetSession"];
|
|
28
|
+
delete?: never;
|
|
29
|
+
options?: never;
|
|
30
|
+
head?: never;
|
|
31
|
+
patch?: never;
|
|
32
|
+
trace?: never;
|
|
33
|
+
};
|
|
34
|
+
"/api/agent/web-shell/v1/transcript/query": {
|
|
35
|
+
parameters: {
|
|
36
|
+
query?: never;
|
|
37
|
+
header?: never;
|
|
38
|
+
path?: never;
|
|
39
|
+
cookie?: never;
|
|
40
|
+
};
|
|
41
|
+
get?: never;
|
|
42
|
+
put?: never;
|
|
43
|
+
/** @description Without a cursor, a Session that has a Snapshot returns all of its Items, the events up to the Snapshot other than turn.accepted, item.output_text.delta, item.reasoning.delta and item.tool_call.updated, which the Items already hold, and every event after it. Otherwise, and for an olderCursor, limit bounds the page of events. */
|
|
44
|
+
post: operations["webShellTranscript"];
|
|
45
|
+
delete?: never;
|
|
46
|
+
options?: never;
|
|
47
|
+
head?: never;
|
|
48
|
+
patch?: never;
|
|
49
|
+
trace?: never;
|
|
50
|
+
};
|
|
51
|
+
"/api/agent/web-shell/v1/events/stream": {
|
|
52
|
+
parameters: {
|
|
53
|
+
query?: never;
|
|
54
|
+
header?: never;
|
|
55
|
+
path?: never;
|
|
56
|
+
cookie?: never;
|
|
57
|
+
};
|
|
58
|
+
get?: never;
|
|
59
|
+
put?: never;
|
|
60
|
+
/** @description POST SSE consumed through fetch response.body. An afterSequence below the replay floor ends the stream with one agent.session.resync_required frame instead of a 409; reload the transcript and resume after its lastSequence. */
|
|
61
|
+
post: operations["webShellStreamEvents"];
|
|
62
|
+
delete?: never;
|
|
63
|
+
options?: never;
|
|
64
|
+
head?: never;
|
|
65
|
+
patch?: never;
|
|
66
|
+
trace?: never;
|
|
67
|
+
};
|
|
68
|
+
"/api/agent/web-shell/v1/sessions/create": {
|
|
69
|
+
parameters: {
|
|
70
|
+
query?: never;
|
|
71
|
+
header?: never;
|
|
72
|
+
path?: never;
|
|
73
|
+
cookie?: never;
|
|
74
|
+
};
|
|
75
|
+
get?: never;
|
|
76
|
+
put?: never;
|
|
77
|
+
/** @description W0 maps workspaceId/cwdRelative to the public selection without using environmentId or absolute cwd. Freeze selection with the original idempotency key; admission does not prove physical directory readiness. */
|
|
78
|
+
post: operations["webShellCreateSession"];
|
|
79
|
+
delete?: never;
|
|
80
|
+
options?: never;
|
|
81
|
+
head?: never;
|
|
82
|
+
patch?: never;
|
|
83
|
+
trace?: never;
|
|
84
|
+
};
|
|
85
|
+
"/api/agent/web-shell/v1/turns/submit": {
|
|
86
|
+
parameters: {
|
|
87
|
+
query?: never;
|
|
88
|
+
header?: never;
|
|
89
|
+
path?: never;
|
|
90
|
+
cookie?: never;
|
|
91
|
+
};
|
|
92
|
+
get?: never;
|
|
93
|
+
put?: never;
|
|
94
|
+
post: operations["webShellSubmitTurn"];
|
|
95
|
+
delete?: never;
|
|
96
|
+
options?: never;
|
|
97
|
+
head?: never;
|
|
98
|
+
patch?: never;
|
|
99
|
+
trace?: never;
|
|
100
|
+
};
|
|
101
|
+
"/api/agent/web-shell/v1/turns/cancel": {
|
|
102
|
+
parameters: {
|
|
103
|
+
query?: never;
|
|
104
|
+
header?: never;
|
|
105
|
+
path?: never;
|
|
106
|
+
cookie?: never;
|
|
107
|
+
};
|
|
108
|
+
get?: never;
|
|
109
|
+
put?: never;
|
|
110
|
+
post: operations["webShellCancelTurn"];
|
|
111
|
+
delete?: never;
|
|
112
|
+
options?: never;
|
|
113
|
+
head?: never;
|
|
114
|
+
patch?: never;
|
|
115
|
+
trace?: never;
|
|
116
|
+
};
|
|
117
|
+
"/api/agent/web-shell/v1/workspaces/query": {
|
|
118
|
+
parameters: {
|
|
119
|
+
query?: never;
|
|
120
|
+
header?: never;
|
|
121
|
+
path?: never;
|
|
122
|
+
cookie?: never;
|
|
123
|
+
};
|
|
124
|
+
get?: never;
|
|
125
|
+
put?: never;
|
|
126
|
+
/** @description Same authorization, paging, explicit default and pre-Session capability discovery as listWorkspaces, with camelCase fields. Listing errors must not cause silent fallback to a default directory. */
|
|
127
|
+
post: operations["webShellQueryWorkspaces"];
|
|
128
|
+
delete?: never;
|
|
129
|
+
options?: never;
|
|
130
|
+
head?: never;
|
|
131
|
+
patch?: never;
|
|
132
|
+
trace?: never;
|
|
133
|
+
};
|
|
134
|
+
"/api/agent/web-shell/v1/operations/query": {
|
|
135
|
+
parameters: {
|
|
136
|
+
query?: never;
|
|
137
|
+
header?: never;
|
|
138
|
+
path?: never;
|
|
139
|
+
cookie?: never;
|
|
140
|
+
};
|
|
141
|
+
get?: never;
|
|
142
|
+
put?: never;
|
|
143
|
+
post: operations["webShellQueryCwdOperation"];
|
|
144
|
+
delete?: never;
|
|
145
|
+
options?: never;
|
|
146
|
+
head?: never;
|
|
147
|
+
patch?: never;
|
|
148
|
+
trace?: never;
|
|
149
|
+
};
|
|
150
|
+
"/api/agent/web-shell/v1/sessions/close": {
|
|
151
|
+
parameters: {
|
|
152
|
+
query?: never;
|
|
153
|
+
header?: never;
|
|
154
|
+
path?: never;
|
|
155
|
+
cookie?: never;
|
|
156
|
+
};
|
|
157
|
+
get?: never;
|
|
158
|
+
put?: never;
|
|
159
|
+
post: operations["closeWebShellSession"];
|
|
160
|
+
delete?: never;
|
|
161
|
+
options?: never;
|
|
162
|
+
head?: never;
|
|
163
|
+
patch?: never;
|
|
164
|
+
trace?: never;
|
|
165
|
+
};
|
|
166
|
+
"/api/agent/web-shell/v1/sessions/archive": {
|
|
167
|
+
parameters: {
|
|
168
|
+
query?: never;
|
|
169
|
+
header?: never;
|
|
170
|
+
path?: never;
|
|
171
|
+
cookie?: never;
|
|
172
|
+
};
|
|
173
|
+
get?: never;
|
|
174
|
+
put?: never;
|
|
175
|
+
post: operations["archiveWebShellSession"];
|
|
176
|
+
delete?: never;
|
|
177
|
+
options?: never;
|
|
178
|
+
head?: never;
|
|
179
|
+
patch?: never;
|
|
180
|
+
trace?: never;
|
|
181
|
+
};
|
|
182
|
+
"/api/agent/web-shell/v1/sessions/delete": {
|
|
183
|
+
parameters: {
|
|
184
|
+
query?: never;
|
|
185
|
+
header?: never;
|
|
186
|
+
path?: never;
|
|
187
|
+
cookie?: never;
|
|
188
|
+
};
|
|
189
|
+
get?: never;
|
|
190
|
+
put?: never;
|
|
191
|
+
post: operations["deleteWebShellSession"];
|
|
192
|
+
delete?: never;
|
|
193
|
+
options?: never;
|
|
194
|
+
head?: never;
|
|
195
|
+
patch?: never;
|
|
196
|
+
trace?: never;
|
|
197
|
+
};
|
|
198
|
+
"/api/agent/web-shell/v1/workspaces/get": {
|
|
199
|
+
parameters: {
|
|
200
|
+
query?: never;
|
|
201
|
+
header?: never;
|
|
202
|
+
path?: never;
|
|
203
|
+
cookie?: never;
|
|
204
|
+
};
|
|
205
|
+
get?: never;
|
|
206
|
+
put?: never;
|
|
207
|
+
/** @description Read one authorized Workspace by its logical ID; absent or unreadable Workspaces return 404. No Runtime is started. */
|
|
208
|
+
post: operations["webShellGetWorkspace"];
|
|
209
|
+
delete?: never;
|
|
210
|
+
options?: never;
|
|
211
|
+
head?: never;
|
|
212
|
+
patch?: never;
|
|
213
|
+
trace?: never;
|
|
214
|
+
};
|
|
215
|
+
"/api/agent/web-shell/v1/tasks/query": {
|
|
216
|
+
parameters: {
|
|
217
|
+
query?: never;
|
|
218
|
+
header?: never;
|
|
219
|
+
path?: never;
|
|
220
|
+
cookie?: never;
|
|
221
|
+
};
|
|
222
|
+
get?: never;
|
|
223
|
+
put?: never;
|
|
224
|
+
post: operations["queryWebShellTasks"];
|
|
225
|
+
delete?: never;
|
|
226
|
+
options?: never;
|
|
227
|
+
head?: never;
|
|
228
|
+
patch?: never;
|
|
229
|
+
trace?: never;
|
|
230
|
+
};
|
|
231
|
+
"/api/agent/web-shell/v1/tasks/get": {
|
|
232
|
+
parameters: {
|
|
233
|
+
query?: never;
|
|
234
|
+
header?: never;
|
|
235
|
+
path?: never;
|
|
236
|
+
cookie?: never;
|
|
237
|
+
};
|
|
238
|
+
get?: never;
|
|
239
|
+
put?: never;
|
|
240
|
+
post: operations["getWebShellTask"];
|
|
241
|
+
delete?: never;
|
|
242
|
+
options?: never;
|
|
243
|
+
head?: never;
|
|
244
|
+
patch?: never;
|
|
245
|
+
trace?: never;
|
|
246
|
+
};
|
|
247
|
+
}
|
|
248
|
+
export type webhooks = Record<string, never>;
|
|
249
|
+
export interface components {
|
|
250
|
+
schemas: {
|
|
251
|
+
InputBlock: {
|
|
252
|
+
/** @enum {string} */
|
|
253
|
+
type: "input_text";
|
|
254
|
+
text: string;
|
|
255
|
+
};
|
|
256
|
+
WebShellListRequest: {
|
|
257
|
+
cursor?: string | null;
|
|
258
|
+
/** @default 20 */
|
|
259
|
+
limit?: number | null;
|
|
260
|
+
};
|
|
261
|
+
WebShellSessionRequest: {
|
|
262
|
+
/** Format: uuid */
|
|
263
|
+
sessionId: string;
|
|
264
|
+
};
|
|
265
|
+
WebShellTranscriptRequest: {
|
|
266
|
+
/** Format: uuid */
|
|
267
|
+
sessionId: string;
|
|
268
|
+
cursor?: string | null;
|
|
269
|
+
/** @default 100 */
|
|
270
|
+
limit?: number | null;
|
|
271
|
+
};
|
|
272
|
+
WebShellStreamRequest: {
|
|
273
|
+
/** Format: uuid */
|
|
274
|
+
sessionId: string;
|
|
275
|
+
/**
|
|
276
|
+
* Format: int64
|
|
277
|
+
* @default 0
|
|
278
|
+
*/
|
|
279
|
+
afterSequence?: number | null;
|
|
280
|
+
};
|
|
281
|
+
WebShellCreateRequest: {
|
|
282
|
+
/** @description Trace correlation only. */
|
|
283
|
+
requestId?: string | null;
|
|
284
|
+
idempotencyKey: string;
|
|
285
|
+
agentId: string;
|
|
286
|
+
/** @description Planned; phase one rejects non-blank values. */
|
|
287
|
+
environmentId?: string | null;
|
|
288
|
+
title?: string | null;
|
|
289
|
+
input?: components["schemas"]["InputBlock"][];
|
|
290
|
+
metadata?: components["schemas"]["WebShellMetadata"];
|
|
291
|
+
workspace?: components["schemas"]["WebShellWorkspaceSelection"];
|
|
292
|
+
};
|
|
293
|
+
WebShellSubmitRequest: {
|
|
294
|
+
/** @description Trace correlation only. */
|
|
295
|
+
requestId?: string | null;
|
|
296
|
+
idempotencyKey: string;
|
|
297
|
+
/** Format: uuid */
|
|
298
|
+
sessionId: string;
|
|
299
|
+
input?: components["schemas"]["InputBlock"][];
|
|
300
|
+
metadata?: components["schemas"]["WebShellMetadata"];
|
|
301
|
+
};
|
|
302
|
+
WebShellCancelRequest: {
|
|
303
|
+
/** @description Trace correlation only. */
|
|
304
|
+
requestId?: string | null;
|
|
305
|
+
idempotencyKey: string;
|
|
306
|
+
/** Format: uuid */
|
|
307
|
+
sessionId: string;
|
|
308
|
+
turnId: string;
|
|
309
|
+
};
|
|
310
|
+
WebShellMetadata: {
|
|
311
|
+
clientId?: string;
|
|
312
|
+
} | null;
|
|
313
|
+
/** @description With durable_operations enabled, all three target fields are returned. accepted means Java durable delivery responsibility, not model execution. Missing fields retain the deployed legacy response semantics. */
|
|
314
|
+
WebShellAdmission: {
|
|
315
|
+
/** Format: uuid */
|
|
316
|
+
sessionId: string;
|
|
317
|
+
turnId?: string | null;
|
|
318
|
+
status: string;
|
|
319
|
+
replayed: boolean;
|
|
320
|
+
};
|
|
321
|
+
WebShellTurn: {
|
|
322
|
+
turnId: string;
|
|
323
|
+
/** Format: uuid */
|
|
324
|
+
sessionId: string;
|
|
325
|
+
status: string;
|
|
326
|
+
/** Format: int64 */
|
|
327
|
+
submittedAt: number;
|
|
328
|
+
/** Format: int64 */
|
|
329
|
+
completedAt?: number | null;
|
|
330
|
+
errorCode?: string | null;
|
|
331
|
+
usage?: {
|
|
332
|
+
[key: string]: unknown;
|
|
333
|
+
} | null;
|
|
334
|
+
};
|
|
335
|
+
WebShellSession: {
|
|
336
|
+
/** Format: uuid */
|
|
337
|
+
sessionId: string;
|
|
338
|
+
title?: string | null;
|
|
339
|
+
agentId: string;
|
|
340
|
+
status: string;
|
|
341
|
+
/** Format: int64 */
|
|
342
|
+
createdAt: number;
|
|
343
|
+
/** Format: int64 */
|
|
344
|
+
updatedAt: number;
|
|
345
|
+
activeTurn?: components["schemas"]["WebShellTurn"] | null;
|
|
346
|
+
environment?: {
|
|
347
|
+
[key: string]: unknown;
|
|
348
|
+
} | null;
|
|
349
|
+
/** Format: int64 */
|
|
350
|
+
lastSequence: number;
|
|
351
|
+
workspace?: components["schemas"]["WebShellWorkspaceContext"];
|
|
352
|
+
capabilities?: components["schemas"]["WebShellSessionCapabilities"];
|
|
353
|
+
};
|
|
354
|
+
WebShellSessionCapabilities: {
|
|
355
|
+
tasks: boolean;
|
|
356
|
+
};
|
|
357
|
+
WebShellSessionPage: {
|
|
358
|
+
data: components["schemas"]["WebShellSession"][];
|
|
359
|
+
nextCursor?: string | null;
|
|
360
|
+
hasMore: boolean;
|
|
361
|
+
};
|
|
362
|
+
WebShellTranscript: {
|
|
363
|
+
items: components["schemas"]["WebShellItem"][];
|
|
364
|
+
events: components["schemas"]["WebShellEvent"][];
|
|
365
|
+
/** Format: int64 */
|
|
366
|
+
coveredSequence: number;
|
|
367
|
+
olderCursor?: string | null;
|
|
368
|
+
hasMore: boolean;
|
|
369
|
+
/** Format: int64 */
|
|
370
|
+
lastSequence: number;
|
|
371
|
+
};
|
|
372
|
+
WebShellContentPart: {
|
|
373
|
+
partId: string;
|
|
374
|
+
type: string;
|
|
375
|
+
text: string;
|
|
376
|
+
/** Format: int64 */
|
|
377
|
+
firstSequence: number;
|
|
378
|
+
/** Format: int64 */
|
|
379
|
+
lastSequence: number;
|
|
380
|
+
};
|
|
381
|
+
WebShellItem: {
|
|
382
|
+
itemId: string;
|
|
383
|
+
/** Format: uuid */
|
|
384
|
+
sessionId: string;
|
|
385
|
+
turnId: string;
|
|
386
|
+
type: string;
|
|
387
|
+
role?: string | null;
|
|
388
|
+
status: string;
|
|
389
|
+
content: components["schemas"]["WebShellContentPart"][];
|
|
390
|
+
attributes: {
|
|
391
|
+
[key: string]: unknown;
|
|
392
|
+
};
|
|
393
|
+
/** Format: int64 */
|
|
394
|
+
firstSequence: number;
|
|
395
|
+
/** Format: int64 */
|
|
396
|
+
lastSequence: number;
|
|
397
|
+
/** Format: int64 */
|
|
398
|
+
createdAt: number;
|
|
399
|
+
/** Format: int64 */
|
|
400
|
+
updatedAt: number;
|
|
401
|
+
};
|
|
402
|
+
/** @description A committed event, replayed with the versions and identity it was accepted with. A stream.reconciled event is the exception: it means that Harness recovery retracted earlier deltas of its Turn, which now have empty text and no itemId or contentPartId, and that later deltas may name other Parts. Reload the transcript and resume after its lastSequence. */
|
|
403
|
+
WebShellEvent: {
|
|
404
|
+
/** @default 1 */
|
|
405
|
+
schemaVersion?: number;
|
|
406
|
+
/** @default 1 */
|
|
407
|
+
projectionVersion?: number;
|
|
408
|
+
/** Format: int64 */
|
|
409
|
+
sequence: number;
|
|
410
|
+
eventId: string;
|
|
411
|
+
/** Format: uuid */
|
|
412
|
+
sessionId: string;
|
|
413
|
+
turnId?: string | null;
|
|
414
|
+
itemId?: string | null;
|
|
415
|
+
contentPartId?: string | null;
|
|
416
|
+
type: string;
|
|
417
|
+
/** Format: int64 */
|
|
418
|
+
createdAt: number;
|
|
419
|
+
data: {
|
|
420
|
+
[key: string]: unknown;
|
|
421
|
+
};
|
|
422
|
+
terminal: boolean;
|
|
423
|
+
};
|
|
424
|
+
/** @description Data of the agent.session.resync_required SSE frame. Reload the transcript, then resume after its lastSequence. */
|
|
425
|
+
WebShellResyncRequired: {
|
|
426
|
+
/** @constant */
|
|
427
|
+
type: "agent.session.resync_required";
|
|
428
|
+
/** Format: uuid */
|
|
429
|
+
sessionId: string;
|
|
430
|
+
/** Format: int64 */
|
|
431
|
+
replayFloorSequence: number;
|
|
432
|
+
/** Format: int64 */
|
|
433
|
+
snapshotThroughSequence: number;
|
|
434
|
+
/** @constant */
|
|
435
|
+
action: "reload_snapshot";
|
|
436
|
+
};
|
|
437
|
+
ErrorEnvelope: {
|
|
438
|
+
error: {
|
|
439
|
+
code: string;
|
|
440
|
+
message: string;
|
|
441
|
+
request_id: string;
|
|
442
|
+
/** Format: int64 */
|
|
443
|
+
replay_floor_sequence?: number | null;
|
|
444
|
+
/** Format: int64 */
|
|
445
|
+
snapshot_through_sequence?: number | null;
|
|
446
|
+
};
|
|
447
|
+
};
|
|
448
|
+
/**
|
|
449
|
+
* @description Logical directory relative to the authorized workspace root; dot denotes root. Use slash separators. Reject absolute paths, drive prefixes, backslashes, NUL and parent segments. Runtime must verify directory existence, realpath containment and symlink safety before activation; schema validation alone is insufficient. Preserve spaces and case, normalize repeated separators and dot segments, and never percent-decode JSON values.
|
|
450
|
+
* @example .
|
|
451
|
+
* @example services/api
|
|
452
|
+
*/
|
|
453
|
+
WorkspaceRelativePath: string;
|
|
454
|
+
WebShellWorkspaceSelection: {
|
|
455
|
+
workspaceId: string;
|
|
456
|
+
/** @default . */
|
|
457
|
+
cwdRelative?: components["schemas"]["WorkspaceRelativePath"];
|
|
458
|
+
};
|
|
459
|
+
WebShellWorkspaceContext: {
|
|
460
|
+
workspaceId: string;
|
|
461
|
+
cwdRelative: components["schemas"]["WorkspaceRelativePath"];
|
|
462
|
+
/** Format: int64 */
|
|
463
|
+
contextRevision: number;
|
|
464
|
+
/** @enum {string} */
|
|
465
|
+
state: "ready" | "changing" | "recovery_blocked";
|
|
466
|
+
};
|
|
467
|
+
WebShellWorkspace: {
|
|
468
|
+
workspaceId: string;
|
|
469
|
+
displayName: string;
|
|
470
|
+
/** @description Current actor permission hint only; creation rechecks ACL, state and Agent/config compatibility. */
|
|
471
|
+
canCreateSession: boolean;
|
|
472
|
+
/** @enum {string} */
|
|
473
|
+
state: "active" | "draining" | "removed";
|
|
474
|
+
};
|
|
475
|
+
WebShellWorkspacePage: {
|
|
476
|
+
data: components["schemas"]["WebShellWorkspace"][];
|
|
477
|
+
hasMore: boolean;
|
|
478
|
+
nextCursor?: string | null;
|
|
479
|
+
capabilities: {
|
|
480
|
+
/**
|
|
481
|
+
* @description Same end-to-end W0 readiness as public workspace_context; missing means unsupported.
|
|
482
|
+
* @default false
|
|
483
|
+
*/
|
|
484
|
+
workspaceContext: boolean;
|
|
485
|
+
/** @description Supports authorized Workspace discovery, empty Session creation, and saved binding read-back; does not enable execution. */
|
|
486
|
+
workspaceBinding: boolean;
|
|
487
|
+
};
|
|
488
|
+
/** @description Same authorized explicit default as default_workspace, including when outside this page; null if absent or not creatable. A non-null default is active and has canCreateSession=true. */
|
|
489
|
+
defaultWorkspace: (components["schemas"]["WebShellWorkspace"] & {
|
|
490
|
+
/** @constant */
|
|
491
|
+
state?: "active";
|
|
492
|
+
/** @constant */
|
|
493
|
+
canCreateSession?: true;
|
|
494
|
+
}) | null;
|
|
495
|
+
};
|
|
496
|
+
WebShellOperationRequest: {
|
|
497
|
+
/** Format: uuid */
|
|
498
|
+
sessionId: string;
|
|
499
|
+
operationId: string;
|
|
500
|
+
};
|
|
501
|
+
/** @description Receipt IDs are opaque authorized product handles, not private journal or storage refs. Input/cancel completion is command acceptance, not Turn completion or physical stop. Action completion may only record one vote. Lifecycle completion requires its cleanup facts; archive may remain java_durable because Java is its authority. Task cancel completion means that the authority recorded the cancel, not that the task stopped: the task becomes cancelled only after its physical execution settles. */
|
|
502
|
+
WebShellCommandOperation: {
|
|
503
|
+
operationId: string;
|
|
504
|
+
/** Format: uuid */
|
|
505
|
+
sessionId: string;
|
|
506
|
+
/** @enum {unknown} */
|
|
507
|
+
type: "create_session" | "submit_input" | "cancel" | "action_response" | "close" | "archive" | "delete" | "task_cancel";
|
|
508
|
+
/** @enum {unknown} */
|
|
509
|
+
status: "pending" | "running" | "completed" | "failed" | "cancelled" | "recovery_blocked";
|
|
510
|
+
/** @enum {unknown} */
|
|
511
|
+
admissionStage: "java_durable" | "harness_confirmed";
|
|
512
|
+
/** @enum {unknown} */
|
|
513
|
+
deliveryState: "pending" | "leased" | "confirmed" | "blocked";
|
|
514
|
+
receiptId?: string;
|
|
515
|
+
replayed: boolean;
|
|
516
|
+
} & (unknown & unknown & unknown & unknown);
|
|
517
|
+
WebShellOperation: components["schemas"]["WebShellCommandOperation"];
|
|
518
|
+
WebShellLifecycleRequest: {
|
|
519
|
+
/** Format: uuid */
|
|
520
|
+
sessionId: string;
|
|
521
|
+
idempotencyKey: string;
|
|
522
|
+
};
|
|
523
|
+
WebShellWorkspaceQueryRequest: {
|
|
524
|
+
cursor?: string | null;
|
|
525
|
+
/** @default 50 */
|
|
526
|
+
limit?: number | null;
|
|
527
|
+
};
|
|
528
|
+
WebShellWorkspaceGetRequest: {
|
|
529
|
+
workspaceId: string;
|
|
530
|
+
};
|
|
531
|
+
/** @enum {string} */
|
|
532
|
+
TaskKind: "child_agent" | "workflow" | "background_shell" | "monitor" | "automation_run";
|
|
533
|
+
/**
|
|
534
|
+
* @description Logical run state. completed, failed and cancelled are terminal and are set only after the physical execution has settled. degraded means that the task still runs with reduced guarantees, such as a Monitor that lost its observation source. recovery_blocked means that recovery cannot prove the physical outcome: it is not settled, is never reported as success and is never re-run automatically.
|
|
535
|
+
* @enum {string}
|
|
536
|
+
*/
|
|
537
|
+
TaskState: "pending" | "running" | "waiting" | "completed" | "failed" | "cancelled" | "degraded" | "recovery_blocked";
|
|
538
|
+
/**
|
|
539
|
+
* @description Redacted state of the Runtime that hosts the task, without binding identity or generation.
|
|
540
|
+
* @enum {string}
|
|
541
|
+
*/
|
|
542
|
+
TaskRuntimeState: "unbound" | "provisioning" | "ready" | "draining" | "lost";
|
|
543
|
+
/**
|
|
544
|
+
* @description Actions the task supports now, the same for every caller. cancel: the cancel route accepts a new command for this task; whether a caller may use it is an authorization check (403 on the cancel route). send_input: reserved for a later capability route. read_output: the task events route returns output events for this task to any caller that can read it. read_output does not change during the task's life, and a task without it produces no output events: its output goes only to Artifacts, so the events route never filters out events that exist.
|
|
545
|
+
* @enum {string}
|
|
546
|
+
*/
|
|
547
|
+
TaskActionCapability: "cancel" | "send_input" | "read_output";
|
|
548
|
+
/** @description Read-only projection of one asynchronous task of a Session (SessionTaskView). It is rebuilt from the Session's durable domain records and is never their source of truth. It never carries a Runtime binding ID, generation, Runtime endpoint, Pod, absolute path, raw PID, SecretHandle or local sidecar; diagnostics are authorized Artifact references. */
|
|
549
|
+
WebShellTask: {
|
|
550
|
+
taskId: string;
|
|
551
|
+
/** Format: uuid */
|
|
552
|
+
sessionId: string;
|
|
553
|
+
kind: components["schemas"]["TaskKind"];
|
|
554
|
+
state: components["schemas"]["TaskState"];
|
|
555
|
+
/**
|
|
556
|
+
* Format: int64
|
|
557
|
+
* @description Immutable definition revision this run is pinned to, when the kind has a definition.
|
|
558
|
+
*/
|
|
559
|
+
definitionRevision?: number;
|
|
560
|
+
runtimeState?: components["schemas"]["TaskRuntimeState"];
|
|
561
|
+
/**
|
|
562
|
+
* Format: int64
|
|
563
|
+
* @description Unix epoch milliseconds.
|
|
564
|
+
*/
|
|
565
|
+
createdAt: number;
|
|
566
|
+
/**
|
|
567
|
+
* Format: int64
|
|
568
|
+
* @description Unix epoch milliseconds.
|
|
569
|
+
*/
|
|
570
|
+
startedAt?: number;
|
|
571
|
+
/**
|
|
572
|
+
* Format: int64
|
|
573
|
+
* @description Unix epoch milliseconds.
|
|
574
|
+
*/
|
|
575
|
+
settledAt?: number;
|
|
576
|
+
/** @description The newest Artifacts that hold durable task output, at most 100, oldest first; older Artifacts stay readable through the Session artifact routes. */
|
|
577
|
+
artifactRefs: string[];
|
|
578
|
+
actionCapabilities: components["schemas"]["TaskActionCapability"][];
|
|
579
|
+
} & (unknown & unknown & unknown & unknown);
|
|
580
|
+
WebShellTaskPage: {
|
|
581
|
+
data: components["schemas"]["WebShellTask"][];
|
|
582
|
+
hasMore: boolean;
|
|
583
|
+
nextCursor?: string | null;
|
|
584
|
+
} & unknown;
|
|
585
|
+
WebShellTaskQueryRequest: {
|
|
586
|
+
/** Format: uuid */
|
|
587
|
+
sessionId: string;
|
|
588
|
+
cursor?: string;
|
|
589
|
+
/** @default 20 */
|
|
590
|
+
limit?: number;
|
|
591
|
+
};
|
|
592
|
+
WebShellTaskGetRequest: {
|
|
593
|
+
/** Format: uuid */
|
|
594
|
+
sessionId: string;
|
|
595
|
+
taskId: string;
|
|
596
|
+
};
|
|
597
|
+
};
|
|
598
|
+
responses: {
|
|
599
|
+
/** @description The authenticated actor belongs to another tenant than X-Qwen-Tenant-Id or has an invalid ID (actor_scope_mismatch, which the tenant filter answers on every /v1/agents/ and WebShell route), or the resource is readable but the actor lacks this operation or the original Action responder permission. */
|
|
600
|
+
Forbidden: {
|
|
601
|
+
headers: {
|
|
602
|
+
[name: string]: unknown;
|
|
603
|
+
};
|
|
604
|
+
content: {
|
|
605
|
+
"application/json": components["schemas"]["ErrorEnvelope"];
|
|
606
|
+
};
|
|
607
|
+
};
|
|
608
|
+
/** @description A trusted actor is required for this request but none was supplied. */
|
|
609
|
+
Unauthorized: {
|
|
610
|
+
headers: {
|
|
611
|
+
[name: string]: unknown;
|
|
612
|
+
};
|
|
613
|
+
content: {
|
|
614
|
+
"application/json": components["schemas"]["ErrorEnvelope"];
|
|
615
|
+
};
|
|
616
|
+
};
|
|
617
|
+
/** @description Invalid request. */
|
|
618
|
+
BadRequest: {
|
|
619
|
+
headers: {
|
|
620
|
+
[name: string]: unknown;
|
|
621
|
+
};
|
|
622
|
+
content: {
|
|
623
|
+
"application/json": components["schemas"]["ErrorEnvelope"];
|
|
624
|
+
};
|
|
625
|
+
};
|
|
626
|
+
/** @description State, idempotency, or recovery conflict. */
|
|
627
|
+
Conflict: {
|
|
628
|
+
headers: {
|
|
629
|
+
[name: string]: unknown;
|
|
630
|
+
};
|
|
631
|
+
content: {
|
|
632
|
+
"application/json": components["schemas"]["ErrorEnvelope"];
|
|
633
|
+
};
|
|
634
|
+
};
|
|
635
|
+
/** @description Resource absent or outside the caller tenant scope. */
|
|
636
|
+
NotFound: {
|
|
637
|
+
headers: {
|
|
638
|
+
[name: string]: unknown;
|
|
639
|
+
};
|
|
640
|
+
content: {
|
|
641
|
+
"application/json": components["schemas"]["ErrorEnvelope"];
|
|
642
|
+
};
|
|
643
|
+
};
|
|
644
|
+
/** @description A dependency such as the Hosted Harness is unavailable; retry later. */
|
|
645
|
+
Unavailable: {
|
|
646
|
+
headers: {
|
|
647
|
+
[name: string]: unknown;
|
|
648
|
+
};
|
|
649
|
+
content: {
|
|
650
|
+
"application/json": components["schemas"]["ErrorEnvelope"];
|
|
651
|
+
};
|
|
652
|
+
};
|
|
653
|
+
};
|
|
654
|
+
parameters: never;
|
|
655
|
+
requestBodies: never;
|
|
656
|
+
headers: {
|
|
657
|
+
/** @description Trace-only correlation identifier; never an idempotency key. */
|
|
658
|
+
RequestId: string;
|
|
659
|
+
};
|
|
660
|
+
pathItems: never;
|
|
661
|
+
}
|
|
662
|
+
export type $defs = Record<string, never>;
|
|
663
|
+
export interface operations {
|
|
664
|
+
webShellListSessions: {
|
|
665
|
+
parameters: {
|
|
666
|
+
query?: never;
|
|
667
|
+
header?: never;
|
|
668
|
+
path?: never;
|
|
669
|
+
cookie?: never;
|
|
670
|
+
};
|
|
671
|
+
requestBody: {
|
|
672
|
+
content: {
|
|
673
|
+
"application/json": components["schemas"]["WebShellListRequest"];
|
|
674
|
+
};
|
|
675
|
+
};
|
|
676
|
+
responses: {
|
|
677
|
+
/** @description WebShell session page. */
|
|
678
|
+
200: {
|
|
679
|
+
headers: {
|
|
680
|
+
[name: string]: unknown;
|
|
681
|
+
};
|
|
682
|
+
content: {
|
|
683
|
+
"application/json": components["schemas"]["WebShellSessionPage"];
|
|
684
|
+
};
|
|
685
|
+
};
|
|
686
|
+
400: components["responses"]["BadRequest"];
|
|
687
|
+
403: components["responses"]["Forbidden"];
|
|
688
|
+
};
|
|
689
|
+
};
|
|
690
|
+
webShellGetSession: {
|
|
691
|
+
parameters: {
|
|
692
|
+
query?: never;
|
|
693
|
+
header?: never;
|
|
694
|
+
path?: never;
|
|
695
|
+
cookie?: never;
|
|
696
|
+
};
|
|
697
|
+
requestBody: {
|
|
698
|
+
content: {
|
|
699
|
+
"application/json": components["schemas"]["WebShellSessionRequest"];
|
|
700
|
+
};
|
|
701
|
+
};
|
|
702
|
+
responses: {
|
|
703
|
+
/** @description WebShell session. */
|
|
704
|
+
200: {
|
|
705
|
+
headers: {
|
|
706
|
+
[name: string]: unknown;
|
|
707
|
+
};
|
|
708
|
+
content: {
|
|
709
|
+
"application/json": components["schemas"]["WebShellSession"];
|
|
710
|
+
};
|
|
711
|
+
};
|
|
712
|
+
400: components["responses"]["BadRequest"];
|
|
713
|
+
403: components["responses"]["Forbidden"];
|
|
714
|
+
404: components["responses"]["NotFound"];
|
|
715
|
+
};
|
|
716
|
+
};
|
|
717
|
+
webShellTranscript: {
|
|
718
|
+
parameters: {
|
|
719
|
+
query?: never;
|
|
720
|
+
header?: never;
|
|
721
|
+
path?: never;
|
|
722
|
+
cookie?: never;
|
|
723
|
+
};
|
|
724
|
+
requestBody: {
|
|
725
|
+
content: {
|
|
726
|
+
"application/json": components["schemas"]["WebShellTranscriptRequest"];
|
|
727
|
+
};
|
|
728
|
+
};
|
|
729
|
+
responses: {
|
|
730
|
+
/** @description Event transcript page. */
|
|
731
|
+
200: {
|
|
732
|
+
headers: {
|
|
733
|
+
[name: string]: unknown;
|
|
734
|
+
};
|
|
735
|
+
content: {
|
|
736
|
+
"application/json": components["schemas"]["WebShellTranscript"];
|
|
737
|
+
};
|
|
738
|
+
};
|
|
739
|
+
400: components["responses"]["BadRequest"];
|
|
740
|
+
404: components["responses"]["NotFound"];
|
|
741
|
+
};
|
|
742
|
+
};
|
|
743
|
+
webShellStreamEvents: {
|
|
744
|
+
parameters: {
|
|
745
|
+
query?: never;
|
|
746
|
+
header?: never;
|
|
747
|
+
path?: never;
|
|
748
|
+
cookie?: never;
|
|
749
|
+
};
|
|
750
|
+
requestBody: {
|
|
751
|
+
content: {
|
|
752
|
+
"application/json": components["schemas"]["WebShellStreamRequest"];
|
|
753
|
+
};
|
|
754
|
+
};
|
|
755
|
+
responses: {
|
|
756
|
+
/** @description SSE stream. */
|
|
757
|
+
200: {
|
|
758
|
+
headers: {
|
|
759
|
+
[name: string]: unknown;
|
|
760
|
+
};
|
|
761
|
+
content: {
|
|
762
|
+
"text/event-stream": string;
|
|
763
|
+
};
|
|
764
|
+
};
|
|
765
|
+
400: components["responses"]["BadRequest"];
|
|
766
|
+
404: components["responses"]["NotFound"];
|
|
767
|
+
};
|
|
768
|
+
};
|
|
769
|
+
webShellCreateSession: {
|
|
770
|
+
parameters: {
|
|
771
|
+
query?: never;
|
|
772
|
+
header?: never;
|
|
773
|
+
path?: never;
|
|
774
|
+
cookie?: never;
|
|
775
|
+
};
|
|
776
|
+
requestBody: {
|
|
777
|
+
content: {
|
|
778
|
+
"application/json": components["schemas"]["WebShellCreateRequest"];
|
|
779
|
+
};
|
|
780
|
+
};
|
|
781
|
+
responses: {
|
|
782
|
+
/** @description Session admitted. */
|
|
783
|
+
202: {
|
|
784
|
+
headers: {
|
|
785
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
786
|
+
[name: string]: unknown;
|
|
787
|
+
};
|
|
788
|
+
content: {
|
|
789
|
+
"application/json": components["schemas"]["WebShellAdmission"];
|
|
790
|
+
};
|
|
791
|
+
};
|
|
792
|
+
400: components["responses"]["BadRequest"];
|
|
793
|
+
401: components["responses"]["Unauthorized"];
|
|
794
|
+
403: components["responses"]["Forbidden"];
|
|
795
|
+
404: components["responses"]["NotFound"];
|
|
796
|
+
409: components["responses"]["Conflict"];
|
|
797
|
+
503: components["responses"]["Unavailable"];
|
|
798
|
+
};
|
|
799
|
+
};
|
|
800
|
+
webShellSubmitTurn: {
|
|
801
|
+
parameters: {
|
|
802
|
+
query?: never;
|
|
803
|
+
header?: never;
|
|
804
|
+
path?: never;
|
|
805
|
+
cookie?: never;
|
|
806
|
+
};
|
|
807
|
+
requestBody: {
|
|
808
|
+
content: {
|
|
809
|
+
"application/json": components["schemas"]["WebShellSubmitRequest"];
|
|
810
|
+
};
|
|
811
|
+
};
|
|
812
|
+
responses: {
|
|
813
|
+
/** @description Turn admitted. */
|
|
814
|
+
202: {
|
|
815
|
+
headers: {
|
|
816
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
817
|
+
[name: string]: unknown;
|
|
818
|
+
};
|
|
819
|
+
content: {
|
|
820
|
+
"application/json": components["schemas"]["WebShellAdmission"];
|
|
821
|
+
};
|
|
822
|
+
};
|
|
823
|
+
400: components["responses"]["BadRequest"];
|
|
824
|
+
404: components["responses"]["NotFound"];
|
|
825
|
+
409: components["responses"]["Conflict"];
|
|
826
|
+
};
|
|
827
|
+
};
|
|
828
|
+
webShellCancelTurn: {
|
|
829
|
+
parameters: {
|
|
830
|
+
query?: never;
|
|
831
|
+
header?: never;
|
|
832
|
+
path?: never;
|
|
833
|
+
cookie?: never;
|
|
834
|
+
};
|
|
835
|
+
requestBody: {
|
|
836
|
+
content: {
|
|
837
|
+
"application/json": components["schemas"]["WebShellCancelRequest"];
|
|
838
|
+
};
|
|
839
|
+
};
|
|
840
|
+
responses: {
|
|
841
|
+
/** @description Cancellation durably admitted. */
|
|
842
|
+
202: {
|
|
843
|
+
headers: {
|
|
844
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
845
|
+
[name: string]: unknown;
|
|
846
|
+
};
|
|
847
|
+
content: {
|
|
848
|
+
"application/json": components["schemas"]["WebShellAdmission"];
|
|
849
|
+
};
|
|
850
|
+
};
|
|
851
|
+
400: components["responses"]["BadRequest"];
|
|
852
|
+
404: components["responses"]["NotFound"];
|
|
853
|
+
409: components["responses"]["Conflict"];
|
|
854
|
+
};
|
|
855
|
+
};
|
|
856
|
+
webShellQueryWorkspaces: {
|
|
857
|
+
parameters: {
|
|
858
|
+
query?: never;
|
|
859
|
+
header?: never;
|
|
860
|
+
path?: never;
|
|
861
|
+
cookie?: never;
|
|
862
|
+
};
|
|
863
|
+
requestBody: {
|
|
864
|
+
content: {
|
|
865
|
+
"application/json": components["schemas"]["WebShellWorkspaceQueryRequest"];
|
|
866
|
+
};
|
|
867
|
+
};
|
|
868
|
+
responses: {
|
|
869
|
+
/** @description Authorized durable resource view; no Runtime startup required. */
|
|
870
|
+
200: {
|
|
871
|
+
headers: {
|
|
872
|
+
[name: string]: unknown;
|
|
873
|
+
};
|
|
874
|
+
content: {
|
|
875
|
+
"application/json": components["schemas"]["WebShellWorkspacePage"];
|
|
876
|
+
};
|
|
877
|
+
};
|
|
878
|
+
400: components["responses"]["BadRequest"];
|
|
879
|
+
404: components["responses"]["NotFound"];
|
|
880
|
+
};
|
|
881
|
+
};
|
|
882
|
+
webShellQueryCwdOperation: {
|
|
883
|
+
parameters: {
|
|
884
|
+
query?: never;
|
|
885
|
+
header?: never;
|
|
886
|
+
path?: never;
|
|
887
|
+
cookie?: never;
|
|
888
|
+
};
|
|
889
|
+
requestBody: {
|
|
890
|
+
content: {
|
|
891
|
+
"application/json": components["schemas"]["WebShellOperationRequest"];
|
|
892
|
+
};
|
|
893
|
+
};
|
|
894
|
+
responses: {
|
|
895
|
+
/** @description Same authorized operation semantics as the public API. */
|
|
896
|
+
200: {
|
|
897
|
+
headers: {
|
|
898
|
+
[name: string]: unknown;
|
|
899
|
+
};
|
|
900
|
+
content: {
|
|
901
|
+
"application/json": components["schemas"]["WebShellOperation"];
|
|
902
|
+
};
|
|
903
|
+
};
|
|
904
|
+
400: components["responses"]["BadRequest"];
|
|
905
|
+
403: components["responses"]["Forbidden"];
|
|
906
|
+
404: components["responses"]["NotFound"];
|
|
907
|
+
409: components["responses"]["Conflict"];
|
|
908
|
+
};
|
|
909
|
+
};
|
|
910
|
+
closeWebShellSession: {
|
|
911
|
+
parameters: {
|
|
912
|
+
query?: never;
|
|
913
|
+
header?: never;
|
|
914
|
+
path?: never;
|
|
915
|
+
cookie?: never;
|
|
916
|
+
};
|
|
917
|
+
requestBody: {
|
|
918
|
+
content: {
|
|
919
|
+
"application/json": components["schemas"]["WebShellLifecycleRequest"];
|
|
920
|
+
};
|
|
921
|
+
};
|
|
922
|
+
responses: {
|
|
923
|
+
/** @description Same authorized operation semantics as the public API. */
|
|
924
|
+
202: {
|
|
925
|
+
headers: {
|
|
926
|
+
[name: string]: unknown;
|
|
927
|
+
};
|
|
928
|
+
content: {
|
|
929
|
+
"application/json": components["schemas"]["WebShellCommandOperation"];
|
|
930
|
+
};
|
|
931
|
+
};
|
|
932
|
+
400: components["responses"]["BadRequest"];
|
|
933
|
+
403: components["responses"]["Forbidden"];
|
|
934
|
+
404: components["responses"]["NotFound"];
|
|
935
|
+
409: components["responses"]["Conflict"];
|
|
936
|
+
};
|
|
937
|
+
};
|
|
938
|
+
archiveWebShellSession: {
|
|
939
|
+
parameters: {
|
|
940
|
+
query?: never;
|
|
941
|
+
header?: never;
|
|
942
|
+
path?: never;
|
|
943
|
+
cookie?: never;
|
|
944
|
+
};
|
|
945
|
+
requestBody: {
|
|
946
|
+
content: {
|
|
947
|
+
"application/json": components["schemas"]["WebShellLifecycleRequest"];
|
|
948
|
+
};
|
|
949
|
+
};
|
|
950
|
+
responses: {
|
|
951
|
+
/** @description Same authorized operation semantics as the public API. */
|
|
952
|
+
202: {
|
|
953
|
+
headers: {
|
|
954
|
+
[name: string]: unknown;
|
|
955
|
+
};
|
|
956
|
+
content: {
|
|
957
|
+
"application/json": components["schemas"]["WebShellCommandOperation"];
|
|
958
|
+
};
|
|
959
|
+
};
|
|
960
|
+
400: components["responses"]["BadRequest"];
|
|
961
|
+
403: components["responses"]["Forbidden"];
|
|
962
|
+
404: components["responses"]["NotFound"];
|
|
963
|
+
409: components["responses"]["Conflict"];
|
|
964
|
+
};
|
|
965
|
+
};
|
|
966
|
+
deleteWebShellSession: {
|
|
967
|
+
parameters: {
|
|
968
|
+
query?: never;
|
|
969
|
+
header?: never;
|
|
970
|
+
path?: never;
|
|
971
|
+
cookie?: never;
|
|
972
|
+
};
|
|
973
|
+
requestBody: {
|
|
974
|
+
content: {
|
|
975
|
+
"application/json": components["schemas"]["WebShellLifecycleRequest"];
|
|
976
|
+
};
|
|
977
|
+
};
|
|
978
|
+
responses: {
|
|
979
|
+
/** @description Same authorized operation semantics as the public API. */
|
|
980
|
+
202: {
|
|
981
|
+
headers: {
|
|
982
|
+
[name: string]: unknown;
|
|
983
|
+
};
|
|
984
|
+
content: {
|
|
985
|
+
"application/json": components["schemas"]["WebShellCommandOperation"];
|
|
986
|
+
};
|
|
987
|
+
};
|
|
988
|
+
400: components["responses"]["BadRequest"];
|
|
989
|
+
403: components["responses"]["Forbidden"];
|
|
990
|
+
404: components["responses"]["NotFound"];
|
|
991
|
+
409: components["responses"]["Conflict"];
|
|
992
|
+
};
|
|
993
|
+
};
|
|
994
|
+
webShellGetWorkspace: {
|
|
995
|
+
parameters: {
|
|
996
|
+
query?: never;
|
|
997
|
+
header?: never;
|
|
998
|
+
path?: never;
|
|
999
|
+
cookie?: never;
|
|
1000
|
+
};
|
|
1001
|
+
requestBody: {
|
|
1002
|
+
content: {
|
|
1003
|
+
"application/json": components["schemas"]["WebShellWorkspaceGetRequest"];
|
|
1004
|
+
};
|
|
1005
|
+
};
|
|
1006
|
+
responses: {
|
|
1007
|
+
/** @description Authorized durable resource view; no Runtime startup required. */
|
|
1008
|
+
200: {
|
|
1009
|
+
headers: {
|
|
1010
|
+
[name: string]: unknown;
|
|
1011
|
+
};
|
|
1012
|
+
content: {
|
|
1013
|
+
"application/json": components["schemas"]["WebShellWorkspace"];
|
|
1014
|
+
};
|
|
1015
|
+
};
|
|
1016
|
+
400: components["responses"]["BadRequest"];
|
|
1017
|
+
404: components["responses"]["NotFound"];
|
|
1018
|
+
};
|
|
1019
|
+
};
|
|
1020
|
+
queryWebShellTasks: {
|
|
1021
|
+
parameters: {
|
|
1022
|
+
query?: never;
|
|
1023
|
+
header?: never;
|
|
1024
|
+
path?: never;
|
|
1025
|
+
cookie?: never;
|
|
1026
|
+
};
|
|
1027
|
+
requestBody: {
|
|
1028
|
+
content: {
|
|
1029
|
+
"application/json": components["schemas"]["WebShellTaskQueryRequest"];
|
|
1030
|
+
};
|
|
1031
|
+
};
|
|
1032
|
+
responses: {
|
|
1033
|
+
/** @description Same authorized task semantics as the public API. */
|
|
1034
|
+
200: {
|
|
1035
|
+
headers: {
|
|
1036
|
+
[name: string]: unknown;
|
|
1037
|
+
};
|
|
1038
|
+
content: {
|
|
1039
|
+
"application/json": components["schemas"]["WebShellTaskPage"];
|
|
1040
|
+
};
|
|
1041
|
+
};
|
|
1042
|
+
400: components["responses"]["BadRequest"];
|
|
1043
|
+
403: components["responses"]["Forbidden"];
|
|
1044
|
+
404: components["responses"]["NotFound"];
|
|
1045
|
+
};
|
|
1046
|
+
};
|
|
1047
|
+
getWebShellTask: {
|
|
1048
|
+
parameters: {
|
|
1049
|
+
query?: never;
|
|
1050
|
+
header?: never;
|
|
1051
|
+
path?: never;
|
|
1052
|
+
cookie?: never;
|
|
1053
|
+
};
|
|
1054
|
+
requestBody: {
|
|
1055
|
+
content: {
|
|
1056
|
+
"application/json": components["schemas"]["WebShellTaskGetRequest"];
|
|
1057
|
+
};
|
|
1058
|
+
};
|
|
1059
|
+
responses: {
|
|
1060
|
+
/** @description Same authorized task semantics as the public API. */
|
|
1061
|
+
200: {
|
|
1062
|
+
headers: {
|
|
1063
|
+
[name: string]: unknown;
|
|
1064
|
+
};
|
|
1065
|
+
content: {
|
|
1066
|
+
"application/json": components["schemas"]["WebShellTask"];
|
|
1067
|
+
};
|
|
1068
|
+
};
|
|
1069
|
+
400: components["responses"]["BadRequest"];
|
|
1070
|
+
403: components["responses"]["Forbidden"];
|
|
1071
|
+
404: components["responses"]["NotFound"];
|
|
1072
|
+
};
|
|
1073
|
+
};
|
|
1074
|
+
}
|