@qwen-code/web-shell 0.24.7 → 0.25.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (76) hide show
  1. package/README.md +65 -2
  2. package/dist/ThreadsRoute-CtecWS_K.js +2358 -0
  3. package/dist/daemon-react-sdk.js +1 -1
  4. package/dist/index-tVJkU24-.js +123317 -0
  5. package/dist/index.js +69 -120254
  6. package/dist/sw.js +1 -1
  7. package/dist/{toolNames-B0O1UjKB.js → toolNames-CAeFJ9L9.js} +5385 -4626
  8. package/dist/transcript.js +8972 -8737
  9. package/dist/types/App.d.ts +2 -2
  10. package/dist/types/ManagedAgentWebShell.d.ts +1 -0
  11. package/dist/types/adapters/messageTypes.d.ts +15 -0
  12. package/dist/types/components/ChatEditor.d.ts +1 -0
  13. package/dist/types/components/DesktopRelayControl.d.ts +2 -1
  14. package/dist/types/components/LocalFilesControl.d.ts +3 -1
  15. package/dist/types/components/MessageItem.d.ts +1 -0
  16. package/dist/types/components/MessageList.d.ts +1 -0
  17. package/dist/types/components/agents/AgentCreatePage.d.ts +29 -1
  18. package/dist/types/components/agents/AgentsManagerPage.d.ts +6 -1
  19. package/dist/types/components/artifacts/ArtifactPanel.d.ts +8 -1
  20. package/dist/types/components/artifacts/TrajectoryInspector.d.ts +3 -1
  21. package/dist/types/components/artifacts/TrajectoryOverview.d.ts +3 -1
  22. package/dist/types/components/artifacts/TrajectoryWaterfallCell.d.ts +15 -0
  23. package/dist/types/components/channels/ChannelsManagerPage.d.ts +1 -1
  24. package/dist/types/components/extensions/extensions-manager-logic.d.ts +3 -3
  25. package/dist/types/components/managed/ManagedToolResultPanel.d.ts +9 -0
  26. package/dist/types/components/managed/ManagedToolResultSummary.d.ts +5 -0
  27. package/dist/types/components/managed/generated/managed-agent-api.d.ts +724 -9
  28. package/dist/types/components/managed/java-managed-agent-client.d.ts +26 -0
  29. package/dist/types/components/managed/java-managed-agent-provider.d.ts +4 -0
  30. package/dist/types/components/managed/managed-agent-provider.d.ts +34 -1
  31. package/dist/types/components/managed/managed-agent-sse.test-fixtures.d.ts +8 -0
  32. package/dist/types/components/managed/managed-approval.d.ts +10 -0
  33. package/dist/types/components/managed/managed-artifact-download.d.ts +2 -0
  34. package/dist/types/components/managed/managed-request-error.d.ts +14 -0
  35. package/dist/types/components/managed/managed-tool-result-types.d.ts +24 -0
  36. package/dist/types/components/managed/managed-tool-result.test-fixtures.d.ts +6 -0
  37. package/dist/types/components/managed/use-managed-actions.d.ts +33 -0
  38. package/dist/types/components/messages/AssistantMessage.d.ts +3 -0
  39. package/dist/types/components/messages/AuthorAvatar.d.ts +16 -0
  40. package/dist/types/components/messages/ContextUsageMessage.d.ts +5 -1
  41. package/dist/types/components/messages/StatsMessage.d.ts +6 -1
  42. package/dist/types/components/messages/ToolApproval.d.ts +9 -1
  43. package/dist/types/components/messages/ToolGroup.d.ts +2 -0
  44. package/dist/types/components/sidebar/UpdateControl.d.ts +3 -1
  45. package/dist/types/components/sidebar/WebShellSidebar.d.ts +18 -5
  46. package/dist/types/components/sidebar/WorkspaceSection.d.ts +3 -1
  47. package/dist/types/components/sidebar/sessionSearch.d.ts +2 -1
  48. package/dist/types/components/workspace-agents/LazyThreadsRoute.d.ts +7 -0
  49. package/dist/types/components/workspace-agents/ThreadChat.d.ts +35 -0
  50. package/dist/types/components/workspace-agents/ThreadView.d.ts +72 -0
  51. package/dist/types/components/workspace-agents/ThreadsPage.d.ts +146 -0
  52. package/dist/types/components/workspace-agents/ThreadsRoute.d.ts +23 -0
  53. package/dist/types/components/workspace-agents/add-runtime-dialog.d.ts +47 -0
  54. package/dist/types/components/workspace-agents/agent-events.d.ts +50 -0
  55. package/dist/types/components/workspace-agents/agents-view-logic.d.ts +180 -0
  56. package/dist/types/components/workspace-agents/messages.d.ts +16 -0
  57. package/dist/types/components/workspace-agents/messages.transcript-stub.d.ts +12 -0
  58. package/dist/types/components/workspace-agents/share-agent-dialog.d.ts +33 -0
  59. package/dist/types/components/workspace-agents/threads-api.d.ts +63 -0
  60. package/dist/types/components/workspace-agents/useAgentChatEntry.d.ts +36 -0
  61. package/dist/types/components/workspace-agents/useProjectConversations.d.ts +10 -0
  62. package/dist/types/customization.d.ts +10 -0
  63. package/dist/types/daemon/workspace/hooks/useDaemonMemory.d.ts +4 -0
  64. package/dist/types/daemon/workspace/types.d.ts +6 -2
  65. package/dist/types/index.d.ts +2 -1
  66. package/dist/types/live/LiveVoiceButton.d.ts +2 -1
  67. package/dist/types/navigation.d.ts +1 -0
  68. package/dist/types/settings.d.ts +1 -0
  69. package/dist/types/trajectory/buildTrajectoryLayout.d.ts +27 -0
  70. package/dist/types/trajectory/types.d.ts +2 -1
  71. package/dist/types/trajectory/useTimelineViewport.d.ts +19 -0
  72. package/dist/types/utils/composerTag.d.ts +6 -1
  73. package/dist/types/utils/modelEncoding.d.ts +6 -0
  74. package/dist/types/utils/navigationUrl.d.ts +1 -1
  75. package/dist/types/utils/workspace.d.ts +1 -0
  76. package/package.json +1 -1
@@ -40,7 +40,7 @@ export interface paths {
40
40
  };
41
41
  get?: never;
42
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. */
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, item.tool_call.updated and item.tool_result.updated, which the Items already hold, and every event after it. Otherwise, and for an olderCursor, limit bounds the page of events. */
44
44
  post: operations["webShellTranscript"];
45
45
  delete?: never;
46
46
  options?: never;
@@ -74,7 +74,7 @@ export interface paths {
74
74
  };
75
75
  get?: never;
76
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. */
77
+ /** @description Maps workspaceId/cwdRelative to public Workspace selection without using environmentId or absolute cwd. Shares G0's opt-in initial file-tool Turn admission and fixed server-owned profile with public Session creation. The Session creator may submit later Turns and cancel its running Turns under the same opt-in, and may rename the Session, while the creator currently holds Workspace read and create grants on a registry row whose state is ACTIVE and the Session is an active, undeleted qwen-code Session on the frozen execution profile; Workspace close follows its separate close capability and lifecycle admission; archive, delete and unarchive follow their separate retention capabilities after reliable Workspace close; cwd operations remain gated. The per-caller workspaceTurns capability on this surface advertises the same rule. Freeze selection with the original idempotency key; admission does not prove physical directory readiness. */
78
78
  post: operations["webShellCreateSession"];
79
79
  delete?: never;
80
80
  options?: never;
@@ -147,6 +147,57 @@ export interface paths {
147
147
  patch?: never;
148
148
  trace?: never;
149
149
  };
150
+ "/api/agent/web-shell/v1/actions/query": {
151
+ parameters: {
152
+ query?: never;
153
+ header?: never;
154
+ path?: never;
155
+ cookie?: never;
156
+ };
157
+ get?: never;
158
+ put?: never;
159
+ /** @description D6 serves Hosted permission Actions. Question Actions and vote_recorded remain planned. Reads follow Session authorization; only the Session creator may respond (a Session with no recorded creator and no recorded create command answers to any caller in its tenant). Responses are durable operations, reconciled against the original journal decision. */
160
+ post: operations["queryWebShellActions"];
161
+ delete?: never;
162
+ options?: never;
163
+ head?: never;
164
+ patch?: never;
165
+ trace?: never;
166
+ };
167
+ "/api/agent/web-shell/v1/actions/get": {
168
+ parameters: {
169
+ query?: never;
170
+ header?: never;
171
+ path?: never;
172
+ cookie?: never;
173
+ };
174
+ get?: never;
175
+ put?: never;
176
+ /** @description D6 serves Hosted permission Actions. Question Actions and vote_recorded remain planned. Reads follow Session authorization; only the Session creator may respond (a Session with no recorded creator and no recorded create command answers to any caller in its tenant). Responses are durable operations, reconciled against the original journal decision. */
177
+ post: operations["getWebShellAction"];
178
+ delete?: never;
179
+ options?: never;
180
+ head?: never;
181
+ patch?: never;
182
+ trace?: never;
183
+ };
184
+ "/api/agent/web-shell/v1/actions/respond": {
185
+ parameters: {
186
+ query?: never;
187
+ header?: never;
188
+ path?: never;
189
+ cookie?: never;
190
+ };
191
+ get?: never;
192
+ put?: never;
193
+ /** @description D6 serves Hosted permission Actions. Question Actions and vote_recorded remain planned. Reads follow Session authorization; only the Session creator may respond (a Session with no recorded creator and no recorded create command answers to any caller in its tenant). Responses are durable operations, reconciled against the original journal decision. */
194
+ post: operations["respondWebShellAction"];
195
+ delete?: never;
196
+ options?: never;
197
+ head?: never;
198
+ patch?: never;
199
+ trace?: never;
200
+ };
150
201
  "/api/agent/web-shell/v1/sessions/close": {
151
202
  parameters: {
152
203
  query?: never;
@@ -156,6 +207,7 @@ export interface paths {
156
207
  };
157
208
  get?: never;
158
209
  put?: never;
210
+ /** @description Uses the same close admission, creator authorization and durable cleanup semantics as the public close route. sessionClose describes deployment support; it does not grant actor authorization. */
159
211
  post: operations["closeWebShellSession"];
160
212
  delete?: never;
161
213
  options?: never;
@@ -172,6 +224,7 @@ export interface paths {
172
224
  };
173
225
  get?: never;
174
226
  put?: never;
227
+ /** @description Workspace-bound archive requires a closed Session with completed reliable-close evidence and the creator with current read access. It completes atomically during admission, preserves data and the permanent close fence, and calls neither Harness nor Runtime. A readable non-creator returns 403; missing close evidence returns 409 workspace_unavailable. */
175
228
  post: operations["archiveWebShellSession"];
176
229
  delete?: never;
177
230
  options?: never;
@@ -188,6 +241,7 @@ export interface paths {
188
241
  };
189
242
  get?: never;
190
243
  put?: never;
244
+ /** @description Workspace-bound delete accepts only closed or archived Sessions with completed reliable-close evidence and the creator with current read access. Active deletion returns 409 session_state_conflict. Completion atomically retires private recovery/publication access with the tombstone, operation receipt and terminal event; it calls neither Harness nor Runtime and erases no shared Workspace files or backup bytes. Operations remain readable under current read grants; the same authorized actor/key can replay after deletion. A readable non-creator returns 403; missing close evidence returns 409 workspace_unavailable. */
191
245
  post: operations["deleteWebShellSession"];
192
246
  delete?: never;
193
247
  options?: never;
@@ -244,6 +298,71 @@ export interface paths {
244
298
  patch?: never;
245
299
  trace?: never;
246
300
  };
301
+ "/api/agent/web-shell/v1/tool-results/get": {
302
+ parameters: {
303
+ query?: never;
304
+ header?: never;
305
+ path?: never;
306
+ cookie?: never;
307
+ };
308
+ get?: never;
309
+ put?: never;
310
+ post: operations["getWebShellToolResult"];
311
+ delete?: never;
312
+ options?: never;
313
+ head?: never;
314
+ patch?: never;
315
+ trace?: never;
316
+ };
317
+ "/api/agent/web-shell/v1/artifacts/get": {
318
+ parameters: {
319
+ query?: never;
320
+ header?: never;
321
+ path?: never;
322
+ cookie?: never;
323
+ };
324
+ get?: never;
325
+ put?: never;
326
+ post: operations["getWebShellArtifact"];
327
+ delete?: never;
328
+ options?: never;
329
+ head?: never;
330
+ patch?: never;
331
+ trace?: never;
332
+ };
333
+ "/api/agent/web-shell/v1/artifacts/query": {
334
+ parameters: {
335
+ query?: never;
336
+ header?: never;
337
+ path?: never;
338
+ cookie?: never;
339
+ };
340
+ get?: never;
341
+ put?: never;
342
+ post: operations["queryWebShellArtifacts"];
343
+ delete?: never;
344
+ options?: never;
345
+ head?: never;
346
+ patch?: never;
347
+ trace?: never;
348
+ };
349
+ "/api/agent/web-shell/v1/sessions/unarchive": {
350
+ parameters: {
351
+ query?: never;
352
+ header?: never;
353
+ path?: never;
354
+ cookie?: never;
355
+ };
356
+ get?: never;
357
+ put?: never;
358
+ /** @description Synchronously restores an archived Session to closed. Workspace-bound Sessions require completed reliable-close evidence and the creator with current read access (404 unreadable, 403 readable non-creator). Bound keys are tenant/Session/actor scoped. Replay returns the current visible Session without repeating the mutation; a deleted Session returns 404. The permanent close fence is preserved and no Harness or Runtime call is made. */
359
+ post: operations["unarchiveWebShellSession"];
360
+ delete?: never;
361
+ options?: never;
362
+ head?: never;
363
+ patch?: never;
364
+ trace?: never;
365
+ };
247
366
  }
248
367
  export type webhooks = Record<string, never>;
249
368
  export interface components {
@@ -253,6 +372,27 @@ export interface components {
253
372
  type: "input_text";
254
373
  text: string;
255
374
  };
375
+ PublicArtifact: {
376
+ /** @constant */
377
+ object: "agent.artifact";
378
+ id: string;
379
+ session_id: string;
380
+ result_id: string;
381
+ revision: string;
382
+ /** @enum {string} */
383
+ stream_role: "stdout" | "stderr";
384
+ /** Format: int64 */
385
+ byte_length: number;
386
+ sha256: string;
387
+ media_type: string;
388
+ /** @enum {string} */
389
+ availability: "available" | "unavailable";
390
+ /**
391
+ * Format: int64
392
+ * @description Unix epoch milliseconds, unlike the seconds that the public Session, Turn, Event and Item resources report.
393
+ */
394
+ created_at: number;
395
+ };
256
396
  WebShellListRequest: {
257
397
  cursor?: string | null;
258
398
  /** @default 20 */
@@ -349,10 +489,38 @@ export interface components {
349
489
  /** Format: int64 */
350
490
  lastSequence: number;
351
491
  workspace?: components["schemas"]["WebShellWorkspaceContext"];
352
- capabilities?: components["schemas"]["WebShellSessionCapabilities"];
492
+ capabilities: components["schemas"]["WebShellSessionCapabilities"];
353
493
  };
354
494
  WebShellSessionCapabilities: {
495
+ /** @default false */
496
+ actions: boolean;
497
+ /**
498
+ * @description True when the caller may submit later Turns of this Workspace-bound Session, cancel its running Turns and rename it: the deployment enables Workspace files, the caller created the Session and currently holds Workspace read and create grants on a registry row whose state is ACTIVE, and the Session is an active qwen-code Session on the frozen execution profile. False for every other caller and for unbound Sessions, which do not use it.
499
+ * @default false
500
+ */
501
+ workspaceTurns?: boolean;
355
502
  tasks: boolean;
503
+ artifacts: boolean;
504
+ /**
505
+ * @description Deployment support for close independently of archive/delete. Admission also requires creator ownership and current read access for a bound Session.
506
+ * @default false
507
+ */
508
+ sessionClose?: boolean;
509
+ /**
510
+ * @description Optional support for this retention operation. For a Workspace-bound Session requires completed reliable-close evidence; authorization and source-state validation still apply.
511
+ * @default false
512
+ */
513
+ sessionArchive?: boolean;
514
+ /**
515
+ * @description Optional support for this retention operation. For a Workspace-bound Session requires completed reliable-close evidence; authorization and source-state validation still apply.
516
+ * @default false
517
+ */
518
+ sessionUnarchive?: boolean;
519
+ /**
520
+ * @description Optional support for this retention operation. For a Workspace-bound Session requires completed reliable-close evidence; authorization and source-state validation still apply.
521
+ * @default false
522
+ */
523
+ sessionDelete?: boolean;
356
524
  };
357
525
  WebShellSessionPage: {
358
526
  data: components["schemas"]["WebShellSession"][];
@@ -482,7 +650,7 @@ export interface components {
482
650
  * @default false
483
651
  */
484
652
  workspaceContext: boolean;
485
- /** @description Supports authorized Workspace discovery, empty Session creation, and saved binding read-back; does not enable execution. */
653
+ /** @description Supports authorized Workspace discovery, Session creation, and saved binding read-back. This capability does not advertise execution readiness. Deployments may separately opt in to an initial Workspace Read/Write/Edit Turn at creation; the Session creator may submit and cancel later Turns under the same opt-in, while close follows its separate capability and lifecycle admission; archive, delete and unarchive follow their separate retention capabilities after reliable Workspace close. */
486
654
  workspaceBinding: boolean;
487
655
  };
488
656
  /** @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. */
@@ -498,7 +666,31 @@ export interface components {
498
666
  sessionId: string;
499
667
  operationId: string;
500
668
  };
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. */
669
+ WebShellAction: components["schemas"]["WebShellPermissionAction"] | components["schemas"]["WebShellQuestionAction"];
670
+ WebShellActionResolution: {
671
+ actionId: string;
672
+ /**
673
+ * @description D6 supports decided only; vote_recorded is planned.
674
+ * @enum {unknown}
675
+ */
676
+ outcome: "vote_recorded" | "decided";
677
+ receiptId: string;
678
+ decisionReceiptId?: string;
679
+ } & unknown;
680
+ WebShellQuestionAnswer: {
681
+ questionId: string;
682
+ optionIds?: string[];
683
+ text?: string;
684
+ } | unknown | unknown;
685
+ WebShellActionQuestion: {
686
+ id: string;
687
+ prompt: string;
688
+ required: boolean;
689
+ multiple: boolean;
690
+ allowText: boolean;
691
+ options: components["schemas"]["WebShellActionOption"][];
692
+ };
693
+ /** @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 202 is Java durable admission; completion means the authority durably recorded cancellation and returned a receipt, not that the task stopped. Task cancel failed proves non-acceptance and no further delivery, with a failure code; recovery_blocked means acceptance is unknown and needs reconciliation before re-execution. Its status is never cancelled. Physical settlement and an unknown physical outcome belong to the task, independently of operation acceptance. A completed task cancel carries admission stage harness_confirmed and delivery state confirmed with the authority's receipt; failed and recovery_blocked carry java_durable and blocked, so they are never delivered again without reconciliation. */
502
694
  WebShellCommandOperation: {
503
695
  operationId: string;
504
696
  /** Format: uuid */
@@ -512,9 +704,107 @@ export interface components {
512
704
  /** @enum {unknown} */
513
705
  deliveryState: "pending" | "leased" | "confirmed" | "blocked";
514
706
  receiptId?: string;
707
+ actionResolution?: components["schemas"]["WebShellActionResolution"];
708
+ /** @description Reason a durable response or task cancellation failed. Action response failures come from the original committed Action, or a definitive invalid response. Workspace close recovery_blocked reports original resource identity or unsettled execution; the Session remains closing. */
709
+ failureCode?: string;
515
710
  replayed: boolean;
516
711
  } & (unknown & unknown & unknown & unknown);
712
+ WebShellQuestionAction: {
713
+ actionId: string;
714
+ /** Format: uuid */
715
+ sessionId: string;
716
+ /** @constant */
717
+ kind: "question";
718
+ source: components["schemas"]["WebShellActionSource"];
719
+ /** @enum {unknown} */
720
+ state: "requested" | "decided" | "cancelled" | "expired";
721
+ /** Format: int64 */
722
+ inputRevision: number;
723
+ policyRevision: string;
724
+ /** Format: int64 */
725
+ createdAt: number;
726
+ /** Format: int64 */
727
+ expiresAt: number;
728
+ decisionReceiptId?: string;
729
+ questions: components["schemas"]["WebShellActionQuestion"][];
730
+ } & unknown;
731
+ /** @description At most one requested Hosted approval per Turn. allow and deny are stable option IDs. Tool arguments are read from Items by function_call_id (functionCallId in WebShell). Public timestamps are milliseconds, as recorded by the Harness. Decision receipts are opaque product IDs. */
732
+ WebShellPermissionAction: {
733
+ actionId: string;
734
+ /** Format: uuid */
735
+ sessionId: string;
736
+ /** @constant */
737
+ kind: "permission";
738
+ source: components["schemas"]["WebShellActionSource"];
739
+ /** @enum {unknown} */
740
+ state: "requested" | "decided" | "cancelled" | "expired";
741
+ /** Format: int64 */
742
+ inputRevision: number;
743
+ policyRevision: string;
744
+ /** Format: int64 */
745
+ createdAt: number;
746
+ /** Format: int64 */
747
+ expiresAt: number;
748
+ decisionReceiptId?: string;
749
+ options: components["schemas"]["WebShellActionOption"][];
750
+ turnId?: string;
751
+ functionCallId: string;
752
+ toolName: string;
753
+ } & unknown;
754
+ WebShellPermissionResponse: {
755
+ /** @constant */
756
+ kind: "permission";
757
+ /** Format: int64 */
758
+ inputRevision: number;
759
+ policyRevision: string;
760
+ optionId: string;
761
+ };
762
+ WebShellActionPage: {
763
+ data: components["schemas"]["WebShellAction"][];
764
+ hasMore: boolean;
765
+ nextCursor?: string | null;
766
+ };
767
+ WebShellActionSource: {
768
+ /** @enum {unknown} */
769
+ kind: "tool_call" | "automation_run" | "team_plan" | "user_operation";
770
+ id: string;
771
+ };
772
+ /** @description Validate IDs, required answers, selection cardinality, text eligibility and current responder permission against the original Action. Unknown/expired/cancelled/conflicting revisions cannot grant execution. */
773
+ WebShellActionResponseRequest: components["schemas"]["WebShellPermissionResponse"] | components["schemas"]["WebShellQuestionResponse"];
774
+ WebShellActionOption: {
775
+ id: string;
776
+ label: string;
777
+ description?: string;
778
+ };
779
+ WebShellQuestionResponse: {
780
+ /** @constant */
781
+ kind: "question";
782
+ /** Format: int64 */
783
+ inputRevision: number;
784
+ policyRevision: string;
785
+ answers: components["schemas"]["WebShellQuestionAnswer"][];
786
+ };
517
787
  WebShellOperation: components["schemas"]["WebShellCommandOperation"];
788
+ WebShellActionQueryRequest: {
789
+ /** Format: uuid */
790
+ sessionId: string;
791
+ cursor?: string;
792
+ /** @default 20 */
793
+ limit?: number;
794
+ };
795
+ WebShellActionGetRequest: {
796
+ /** Format: uuid */
797
+ sessionId: string;
798
+ actionId: string;
799
+ };
800
+ WebShellActionRespondRequest: {
801
+ /** Format: uuid */
802
+ sessionId: string;
803
+ actionId: string;
804
+ idempotencyKey: string;
805
+ response: components["schemas"]["WebShellActionResponseRequest"];
806
+ requestId?: string;
807
+ };
518
808
  WebShellLifecycleRequest: {
519
809
  /** Format: uuid */
520
810
  sessionId: string;
@@ -531,7 +821,7 @@ export interface components {
531
821
  /** @enum {string} */
532
822
  TaskKind: "child_agent" | "workflow" | "background_shell" | "monitor" | "automation_run";
533
823
  /**
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.
824
+ * @description Logical run state. completed is terminal and is set when the run's own line ends settled, with or without a physical execution; failed and cancelled are terminal too, and they also cover a run that ended before its execution started (cancelled before dispatch, or failed with no provable start), when no physical execution ever 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
825
  * @enum {string}
536
826
  */
537
827
  TaskState: "pending" | "running" | "waiting" | "completed" | "failed" | "cancelled" | "degraded" | "recovery_blocked";
@@ -573,7 +863,7 @@ export interface components {
573
863
  * @description Unix epoch milliseconds.
574
864
  */
575
865
  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. */
866
+ /** @description The newest Artifacts that hold durable task output, at most 100, oldest first. Entries must not rotate out until older Artifacts can be enumerated and attributed to the task: an evicted Artifact stays readable by id through the Session artifact routes but is no longer discoverable from the task. */
577
867
  artifactRefs: string[];
578
868
  actionCapabilities: components["schemas"]["TaskActionCapability"][];
579
869
  } & (unknown & unknown & unknown & unknown);
@@ -594,9 +884,73 @@ export interface components {
594
884
  sessionId: string;
595
885
  taskId: string;
596
886
  };
887
+ ToolResultPreview: {
888
+ text: string;
889
+ truncated: boolean;
890
+ /** @enum {string} */
891
+ stream_id: "stdout" | "stderr";
892
+ /** Format: int64 */
893
+ source_start: number;
894
+ /** Format: int64 */
895
+ source_end: number;
896
+ };
897
+ PublicToolResult: {
898
+ id: string;
899
+ session_id: string;
900
+ turn_id: string;
901
+ item_id: string;
902
+ /** @description This implementation projects each result once at revision 1. Monotonic consumers reject duplicate or stale replay events; reprojection requires a separately reviewed migration and producer. */
903
+ projection_revision: number;
904
+ /** @enum {string} */
905
+ execution_status: "success" | "error" | "cancelled" | "not_started";
906
+ /** @enum {string|null} */
907
+ capture_status: "complete" | "partial" | "unavailable" | null;
908
+ /**
909
+ * @description O3 emits committed or blocked from the durable receipt. Pending is reserved for future producers and is not emitted by this implementation.
910
+ * @enum {string}
911
+ */
912
+ delivery_status: "pending" | "committed" | "blocked";
913
+ /** @enum {string|null} */
914
+ capture_scope: "process_pty" | "process_pipes" | "tool_native" | null;
915
+ upstream_truncated: boolean | null;
916
+ /** @enum {string|null} */
917
+ reason_code?: "quota_exhausted" | "size_limit" | "producer_lost" | "storage_failed" | "cancelled" | null;
918
+ preview?: components["schemas"]["ToolResultPreview"] | null;
919
+ artifacts: components["schemas"]["PublicArtifact"][];
920
+ };
921
+ ArtifactAccess: {
922
+ can_read_content: boolean;
923
+ };
924
+ ToolResultResponse: {
925
+ result: components["schemas"]["PublicToolResult"];
926
+ access: components["schemas"]["ArtifactAccess"];
927
+ };
928
+ ArtifactResponse: {
929
+ artifact: components["schemas"]["PublicArtifact"];
930
+ access: components["schemas"]["ArtifactAccess"];
931
+ };
932
+ WebShellArtifactPage: {
933
+ data: components["schemas"]["ArtifactResponse"][];
934
+ nextCursor: string | null;
935
+ hasMore: boolean;
936
+ };
937
+ WebShellToolResultRequest: {
938
+ sessionId: string;
939
+ itemId: string;
940
+ };
941
+ WebShellArtifactRequest: {
942
+ sessionId: string;
943
+ artifactId: string;
944
+ };
945
+ WebShellArtifactQueryRequest: {
946
+ sessionId: string;
947
+ cursor?: string | null;
948
+ /** @default 20 */
949
+ limit?: number;
950
+ };
597
951
  };
598
952
  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. */
953
+ /** @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. Artifact content reads may also return artifact_content_forbidden when the actor cannot read the original bytes. */
600
954
  Forbidden: {
601
955
  headers: {
602
956
  [name: string]: unknown;
@@ -605,7 +959,7 @@ export interface components {
605
959
  "application/json": components["schemas"]["ErrorEnvelope"];
606
960
  };
607
961
  };
608
- /** @description A trusted actor is required for this request but none was supplied. */
962
+ /** @description A trusted actor is required for this request but none was supplied (actor_required). In signed authentication mode (qwenSignature) every covered public and WebShell route additionally answers 401 authentication_required when the signature, timestamp or actor headers are missing, and 401 invalid_signature when the signature is wrong or stale. */
609
963
  Unauthorized: {
610
964
  headers: {
611
965
  [name: string]: unknown;
@@ -614,6 +968,15 @@ export interface components {
614
968
  "application/json": components["schemas"]["ErrorEnvelope"];
615
969
  };
616
970
  };
971
+ /** @description In signed authentication mode (qwenSignature) a request body beyond the configured signed-body limit (qwen.managed-agent.auth.max-signed-body-bytes, default 10 MiB) answers 413 payload_too_large before the signature is compared. */
972
+ PayloadTooLarge: {
973
+ headers: {
974
+ [name: string]: unknown;
975
+ };
976
+ content: {
977
+ "application/json": components["schemas"]["ErrorEnvelope"];
978
+ };
979
+ };
617
980
  /** @description Invalid request. */
618
981
  BadRequest: {
619
982
  headers: {
@@ -654,6 +1017,8 @@ export interface components {
654
1017
  parameters: never;
655
1018
  requestBodies: never;
656
1019
  headers: {
1020
+ /** @description True when an accepted command or operation was replayed for the same idempotency key and digest without repeating its mutation. Session mutation responses represent the current visible Session; operation responses represent the original operation at its current state. */
1021
+ IdempotentReplay: boolean;
657
1022
  /** @description Trace-only correlation identifier; never an idempotency key. */
658
1023
  RequestId: string;
659
1024
  };
@@ -684,7 +1049,9 @@ export interface operations {
684
1049
  };
685
1050
  };
686
1051
  400: components["responses"]["BadRequest"];
1052
+ 401: components["responses"]["Unauthorized"];
687
1053
  403: components["responses"]["Forbidden"];
1054
+ 413: components["responses"]["PayloadTooLarge"];
688
1055
  };
689
1056
  };
690
1057
  webShellGetSession: {
@@ -710,8 +1077,10 @@ export interface operations {
710
1077
  };
711
1078
  };
712
1079
  400: components["responses"]["BadRequest"];
1080
+ 401: components["responses"]["Unauthorized"];
713
1081
  403: components["responses"]["Forbidden"];
714
1082
  404: components["responses"]["NotFound"];
1083
+ 413: components["responses"]["PayloadTooLarge"];
715
1084
  };
716
1085
  };
717
1086
  webShellTranscript: {
@@ -737,7 +1106,10 @@ export interface operations {
737
1106
  };
738
1107
  };
739
1108
  400: components["responses"]["BadRequest"];
1109
+ 401: components["responses"]["Unauthorized"];
1110
+ 403: components["responses"]["Forbidden"];
740
1111
  404: components["responses"]["NotFound"];
1112
+ 413: components["responses"]["PayloadTooLarge"];
741
1113
  };
742
1114
  };
743
1115
  webShellStreamEvents: {
@@ -763,7 +1135,10 @@ export interface operations {
763
1135
  };
764
1136
  };
765
1137
  400: components["responses"]["BadRequest"];
1138
+ 401: components["responses"]["Unauthorized"];
1139
+ 403: components["responses"]["Forbidden"];
766
1140
  404: components["responses"]["NotFound"];
1141
+ 413: components["responses"]["PayloadTooLarge"];
767
1142
  };
768
1143
  };
769
1144
  webShellCreateSession: {
@@ -794,6 +1169,7 @@ export interface operations {
794
1169
  403: components["responses"]["Forbidden"];
795
1170
  404: components["responses"]["NotFound"];
796
1171
  409: components["responses"]["Conflict"];
1172
+ 413: components["responses"]["PayloadTooLarge"];
797
1173
  503: components["responses"]["Unavailable"];
798
1174
  };
799
1175
  };
@@ -821,8 +1197,11 @@ export interface operations {
821
1197
  };
822
1198
  };
823
1199
  400: components["responses"]["BadRequest"];
1200
+ 401: components["responses"]["Unauthorized"];
1201
+ 403: components["responses"]["Forbidden"];
824
1202
  404: components["responses"]["NotFound"];
825
1203
  409: components["responses"]["Conflict"];
1204
+ 413: components["responses"]["PayloadTooLarge"];
826
1205
  };
827
1206
  };
828
1207
  webShellCancelTurn: {
@@ -849,8 +1228,11 @@ export interface operations {
849
1228
  };
850
1229
  };
851
1230
  400: components["responses"]["BadRequest"];
1231
+ 401: components["responses"]["Unauthorized"];
1232
+ 403: components["responses"]["Forbidden"];
852
1233
  404: components["responses"]["NotFound"];
853
1234
  409: components["responses"]["Conflict"];
1235
+ 413: components["responses"]["PayloadTooLarge"];
854
1236
  };
855
1237
  };
856
1238
  webShellQueryWorkspaces: {
@@ -876,7 +1258,10 @@ export interface operations {
876
1258
  };
877
1259
  };
878
1260
  400: components["responses"]["BadRequest"];
1261
+ 401: components["responses"]["Unauthorized"];
1262
+ 403: components["responses"]["Forbidden"];
879
1263
  404: components["responses"]["NotFound"];
1264
+ 413: components["responses"]["PayloadTooLarge"];
880
1265
  };
881
1266
  };
882
1267
  webShellQueryCwdOperation: {
@@ -902,9 +1287,106 @@ export interface operations {
902
1287
  };
903
1288
  };
904
1289
  400: components["responses"]["BadRequest"];
1290
+ 401: components["responses"]["Unauthorized"];
905
1291
  403: components["responses"]["Forbidden"];
906
1292
  404: components["responses"]["NotFound"];
907
1293
  409: components["responses"]["Conflict"];
1294
+ 413: components["responses"]["PayloadTooLarge"];
1295
+ };
1296
+ };
1297
+ queryWebShellActions: {
1298
+ parameters: {
1299
+ query?: never;
1300
+ header?: never;
1301
+ path?: never;
1302
+ cookie?: never;
1303
+ };
1304
+ requestBody: {
1305
+ content: {
1306
+ "application/json": components["schemas"]["WebShellActionQueryRequest"];
1307
+ };
1308
+ };
1309
+ responses: {
1310
+ /** @description Same authorized operation semantics as the public API. */
1311
+ 200: {
1312
+ headers: {
1313
+ [name: string]: unknown;
1314
+ };
1315
+ content: {
1316
+ "application/json": components["schemas"]["WebShellActionPage"];
1317
+ };
1318
+ };
1319
+ 400: components["responses"]["BadRequest"];
1320
+ 401: components["responses"]["Unauthorized"];
1321
+ 403: components["responses"]["Forbidden"];
1322
+ /** @description Unknown or unreadable Session (session_not_found), or unknown Action (action_not_found). */
1323
+ 404: components["responses"]["NotFound"];
1324
+ 409: components["responses"]["Conflict"];
1325
+ 413: components["responses"]["PayloadTooLarge"];
1326
+ };
1327
+ };
1328
+ getWebShellAction: {
1329
+ parameters: {
1330
+ query?: never;
1331
+ header?: never;
1332
+ path?: never;
1333
+ cookie?: never;
1334
+ };
1335
+ requestBody: {
1336
+ content: {
1337
+ "application/json": components["schemas"]["WebShellActionGetRequest"];
1338
+ };
1339
+ };
1340
+ responses: {
1341
+ /** @description Same authorized operation semantics as the public API. */
1342
+ 200: {
1343
+ headers: {
1344
+ [name: string]: unknown;
1345
+ };
1346
+ content: {
1347
+ "application/json": components["schemas"]["WebShellAction"];
1348
+ };
1349
+ };
1350
+ 400: components["responses"]["BadRequest"];
1351
+ 401: components["responses"]["Unauthorized"];
1352
+ 403: components["responses"]["Forbidden"];
1353
+ /** @description Unknown or unreadable Session (session_not_found), or unknown Action (action_not_found). */
1354
+ 404: components["responses"]["NotFound"];
1355
+ 409: components["responses"]["Conflict"];
1356
+ 413: components["responses"]["PayloadTooLarge"];
1357
+ };
1358
+ };
1359
+ respondWebShellAction: {
1360
+ parameters: {
1361
+ query?: never;
1362
+ header?: never;
1363
+ path?: never;
1364
+ cookie?: never;
1365
+ };
1366
+ requestBody: {
1367
+ content: {
1368
+ "application/json": components["schemas"]["WebShellActionRespondRequest"];
1369
+ };
1370
+ };
1371
+ responses: {
1372
+ /** @description Same authorized operation semantics as the public API. */
1373
+ 202: {
1374
+ headers: {
1375
+ [name: string]: unknown;
1376
+ };
1377
+ content: {
1378
+ "application/json": components["schemas"]["WebShellCommandOperation"];
1379
+ };
1380
+ };
1381
+ 400: components["responses"]["BadRequest"];
1382
+ 401: components["responses"]["Unauthorized"];
1383
+ /** @description Responding requires the Session creator (action_forbidden). A Session with no recorded creator and no recorded create command (anonymous open-mode creation, or a Session created before the V40 migration that also has no Workspace creation record) answers to any caller in its tenant, matching its read ACL. The tenant filter's 403 actor_scope_mismatch also applies on this route. */
1384
+ 403: components["responses"]["Forbidden"];
1385
+ /** @description Unknown or unreadable Session (session_not_found), or unknown Action (action_not_found). */
1386
+ 404: components["responses"]["NotFound"];
1387
+ /** @description Idempotency conflict, a non-active Session (session_inactive), or an ended Action (action_expired, action_cancelled, action_already_resolved). An existing matching response replays before the Session-state check. */
1388
+ 409: components["responses"]["Conflict"];
1389
+ 413: components["responses"]["PayloadTooLarge"];
908
1390
  };
909
1391
  };
910
1392
  closeWebShellSession: {
@@ -930,9 +1412,11 @@ export interface operations {
930
1412
  };
931
1413
  };
932
1414
  400: components["responses"]["BadRequest"];
1415
+ 401: components["responses"]["Unauthorized"];
933
1416
  403: components["responses"]["Forbidden"];
934
1417
  404: components["responses"]["NotFound"];
935
1418
  409: components["responses"]["Conflict"];
1419
+ 413: components["responses"]["PayloadTooLarge"];
936
1420
  };
937
1421
  };
938
1422
  archiveWebShellSession: {
@@ -958,9 +1442,11 @@ export interface operations {
958
1442
  };
959
1443
  };
960
1444
  400: components["responses"]["BadRequest"];
1445
+ 401: components["responses"]["Unauthorized"];
961
1446
  403: components["responses"]["Forbidden"];
962
1447
  404: components["responses"]["NotFound"];
963
1448
  409: components["responses"]["Conflict"];
1449
+ 413: components["responses"]["PayloadTooLarge"];
964
1450
  };
965
1451
  };
966
1452
  deleteWebShellSession: {
@@ -986,9 +1472,11 @@ export interface operations {
986
1472
  };
987
1473
  };
988
1474
  400: components["responses"]["BadRequest"];
1475
+ 401: components["responses"]["Unauthorized"];
989
1476
  403: components["responses"]["Forbidden"];
990
1477
  404: components["responses"]["NotFound"];
991
1478
  409: components["responses"]["Conflict"];
1479
+ 413: components["responses"]["PayloadTooLarge"];
992
1480
  };
993
1481
  };
994
1482
  webShellGetWorkspace: {
@@ -1014,7 +1502,10 @@ export interface operations {
1014
1502
  };
1015
1503
  };
1016
1504
  400: components["responses"]["BadRequest"];
1505
+ 401: components["responses"]["Unauthorized"];
1506
+ 403: components["responses"]["Forbidden"];
1017
1507
  404: components["responses"]["NotFound"];
1508
+ 413: components["responses"]["PayloadTooLarge"];
1018
1509
  };
1019
1510
  };
1020
1511
  queryWebShellTasks: {
@@ -1040,8 +1531,10 @@ export interface operations {
1040
1531
  };
1041
1532
  };
1042
1533
  400: components["responses"]["BadRequest"];
1534
+ 401: components["responses"]["Unauthorized"];
1043
1535
  403: components["responses"]["Forbidden"];
1044
1536
  404: components["responses"]["NotFound"];
1537
+ 413: components["responses"]["PayloadTooLarge"];
1045
1538
  };
1046
1539
  };
1047
1540
  getWebShellTask: {
@@ -1067,8 +1560,230 @@ export interface operations {
1067
1560
  };
1068
1561
  };
1069
1562
  400: components["responses"]["BadRequest"];
1563
+ 401: components["responses"]["Unauthorized"];
1564
+ 403: components["responses"]["Forbidden"];
1565
+ 404: components["responses"]["NotFound"];
1566
+ 413: components["responses"]["PayloadTooLarge"];
1567
+ };
1568
+ };
1569
+ getWebShellToolResult: {
1570
+ parameters: {
1571
+ query?: never;
1572
+ header?: never;
1573
+ path?: never;
1574
+ cookie?: never;
1575
+ };
1576
+ requestBody: {
1577
+ content: {
1578
+ "application/json": components["schemas"]["WebShellToolResultRequest"];
1579
+ };
1580
+ };
1581
+ responses: {
1582
+ /** @description Authorized persisted tool result resource. */
1583
+ 200: {
1584
+ headers: {
1585
+ "Cache-Control"?: "private, no-store";
1586
+ [name: string]: unknown;
1587
+ };
1588
+ content: {
1589
+ "application/json": components["schemas"]["ToolResultResponse"];
1590
+ };
1591
+ };
1592
+ /** @description Invalid request. */
1593
+ 400: {
1594
+ headers: {
1595
+ [name: string]: unknown;
1596
+ };
1597
+ content: {
1598
+ "application/json": components["schemas"]["ErrorEnvelope"];
1599
+ };
1600
+ };
1601
+ /** @description Trusted actor required. */
1602
+ 401: {
1603
+ headers: {
1604
+ [name: string]: unknown;
1605
+ };
1606
+ content: {
1607
+ "application/json": components["schemas"]["ErrorEnvelope"];
1608
+ };
1609
+ };
1610
+ 403: components["responses"]["Forbidden"];
1611
+ /** @description Unknown or unreadable resource. */
1612
+ 404: {
1613
+ headers: {
1614
+ [name: string]: unknown;
1615
+ };
1616
+ content: {
1617
+ "application/json": components["schemas"]["ErrorEnvelope"];
1618
+ };
1619
+ };
1620
+ 413: components["responses"]["PayloadTooLarge"];
1621
+ /** @description Resource temporarily unavailable. */
1622
+ 503: {
1623
+ headers: {
1624
+ [name: string]: unknown;
1625
+ };
1626
+ content: {
1627
+ "application/json": components["schemas"]["ErrorEnvelope"];
1628
+ };
1629
+ };
1630
+ };
1631
+ };
1632
+ getWebShellArtifact: {
1633
+ parameters: {
1634
+ query?: never;
1635
+ header?: never;
1636
+ path?: never;
1637
+ cookie?: never;
1638
+ };
1639
+ requestBody: {
1640
+ content: {
1641
+ "application/json": components["schemas"]["WebShellArtifactRequest"];
1642
+ };
1643
+ };
1644
+ responses: {
1645
+ /** @description Authorized persisted artifact metadata. */
1646
+ 200: {
1647
+ headers: {
1648
+ "Cache-Control"?: "private, no-store";
1649
+ [name: string]: unknown;
1650
+ };
1651
+ content: {
1652
+ "application/json": components["schemas"]["ArtifactResponse"];
1653
+ };
1654
+ };
1655
+ /** @description Invalid request. */
1656
+ 400: {
1657
+ headers: {
1658
+ [name: string]: unknown;
1659
+ };
1660
+ content: {
1661
+ "application/json": components["schemas"]["ErrorEnvelope"];
1662
+ };
1663
+ };
1664
+ /** @description Trusted actor required. */
1665
+ 401: {
1666
+ headers: {
1667
+ [name: string]: unknown;
1668
+ };
1669
+ content: {
1670
+ "application/json": components["schemas"]["ErrorEnvelope"];
1671
+ };
1672
+ };
1673
+ 403: components["responses"]["Forbidden"];
1674
+ /** @description Unknown or unreadable resource. */
1675
+ 404: {
1676
+ headers: {
1677
+ [name: string]: unknown;
1678
+ };
1679
+ content: {
1680
+ "application/json": components["schemas"]["ErrorEnvelope"];
1681
+ };
1682
+ };
1683
+ 413: components["responses"]["PayloadTooLarge"];
1684
+ /** @description Resource temporarily unavailable. */
1685
+ 503: {
1686
+ headers: {
1687
+ [name: string]: unknown;
1688
+ };
1689
+ content: {
1690
+ "application/json": components["schemas"]["ErrorEnvelope"];
1691
+ };
1692
+ };
1693
+ };
1694
+ };
1695
+ queryWebShellArtifacts: {
1696
+ parameters: {
1697
+ query?: never;
1698
+ header?: never;
1699
+ path?: never;
1700
+ cookie?: never;
1701
+ };
1702
+ requestBody: {
1703
+ content: {
1704
+ "application/json": components["schemas"]["WebShellArtifactQueryRequest"];
1705
+ };
1706
+ };
1707
+ responses: {
1708
+ /** @description Authorized artifact metadata page. */
1709
+ 200: {
1710
+ headers: {
1711
+ "Cache-Control"?: "private, no-store";
1712
+ [name: string]: unknown;
1713
+ };
1714
+ content: {
1715
+ "application/json": components["schemas"]["WebShellArtifactPage"];
1716
+ };
1717
+ };
1718
+ /** @description Invalid request. */
1719
+ 400: {
1720
+ headers: {
1721
+ [name: string]: unknown;
1722
+ };
1723
+ content: {
1724
+ "application/json": components["schemas"]["ErrorEnvelope"];
1725
+ };
1726
+ };
1727
+ /** @description Trusted actor required. */
1728
+ 401: {
1729
+ headers: {
1730
+ [name: string]: unknown;
1731
+ };
1732
+ content: {
1733
+ "application/json": components["schemas"]["ErrorEnvelope"];
1734
+ };
1735
+ };
1736
+ 403: components["responses"]["Forbidden"];
1737
+ /** @description Unknown or unreadable resource. */
1738
+ 404: {
1739
+ headers: {
1740
+ [name: string]: unknown;
1741
+ };
1742
+ content: {
1743
+ "application/json": components["schemas"]["ErrorEnvelope"];
1744
+ };
1745
+ };
1746
+ 413: components["responses"]["PayloadTooLarge"];
1747
+ /** @description Resource temporarily unavailable. */
1748
+ 503: {
1749
+ headers: {
1750
+ [name: string]: unknown;
1751
+ };
1752
+ content: {
1753
+ "application/json": components["schemas"]["ErrorEnvelope"];
1754
+ };
1755
+ };
1756
+ };
1757
+ };
1758
+ unarchiveWebShellSession: {
1759
+ parameters: {
1760
+ query?: never;
1761
+ header?: never;
1762
+ path?: never;
1763
+ cookie?: never;
1764
+ };
1765
+ requestBody: {
1766
+ content: {
1767
+ "application/json": components["schemas"]["WebShellLifecycleRequest"];
1768
+ };
1769
+ };
1770
+ responses: {
1771
+ /** @description Current WebShell Session; replay does not repeat the mutation. */
1772
+ 200: {
1773
+ headers: {
1774
+ "X-Qwen-Idempotent-Replay": components["headers"]["IdempotentReplay"];
1775
+ [name: string]: unknown;
1776
+ };
1777
+ content: {
1778
+ "application/json": components["schemas"]["WebShellSession"];
1779
+ };
1780
+ };
1781
+ 400: components["responses"]["BadRequest"];
1782
+ 401: components["responses"]["Unauthorized"];
1070
1783
  403: components["responses"]["Forbidden"];
1071
1784
  404: components["responses"]["NotFound"];
1785
+ 409: components["responses"]["Conflict"];
1786
+ 413: components["responses"]["PayloadTooLarge"];
1072
1787
  };
1073
1788
  };
1074
1789
  }