@qwen-code/web-shell 0.25.4-preview.1 → 0.26.0-nightly.20261023.5a0be33432

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 (105) hide show
  1. package/README.md +88 -34
  2. package/dist/{PierreFilePreview-DDGm1BwT.js → PierreFilePreview-DoUYeaAC.js} +1 -1
  3. package/dist/{SpreadsheetPreview-Bo3dF5jL.js → SpreadsheetPreview-Ozgw7gyf.js} +2 -2
  4. package/dist/{WorkspaceFileBrowser-K5x5fG6c.js → WorkspaceFileBrowser-BKeFy6PK.js} +1008 -1041
  5. package/dist/{agents-route-hV5r9VDG.js → agents-route-D8D6jBvQ.js} +2 -2
  6. package/dist/daemon-react-sdk.js +1 -1
  7. package/dist/{index-CU9u4ISL.js → index-BInj1IN7.js} +61692 -56488
  8. package/dist/index.js +3 -3
  9. package/dist/sw.js +1 -1
  10. package/dist/transcript.js +7933 -7990
  11. package/dist/types/App.d.ts +7 -1
  12. package/dist/types/ManagedStandaloneApp.d.ts +9 -0
  13. package/dist/types/components/ChatEditor.d.ts +8 -2
  14. package/dist/types/components/ChatPane.d.ts +4 -1
  15. package/dist/types/components/ContextCompressionFeedback.d.ts +2 -2
  16. package/dist/types/components/ContextUsagePopover.d.ts +2 -2
  17. package/dist/types/components/ModelRefreshControl.d.ts +3 -0
  18. package/dist/types/components/SessionPrBadge.d.ts +7 -2
  19. package/dist/types/components/SplitView.d.ts +4 -1
  20. package/dist/types/components/UnavailableModelTooltip.d.ts +12 -0
  21. package/dist/types/components/WorkspaceSelector.d.ts +3 -1
  22. package/dist/types/components/artifacts/ArtifactPanel.d.ts +4 -1
  23. package/dist/types/components/artifacts/SideTaskPanel.d.ts +4 -1
  24. package/dist/types/components/artifacts/TrajectoryDetail.d.ts +34 -0
  25. package/dist/types/components/artifacts/TrajectoryExecutions.d.ts +6 -8
  26. package/dist/types/components/artifacts/TrajectoryOverview.d.ts +2 -0
  27. package/dist/types/components/artifacts/TrajectorySummaryBar.d.ts +35 -0
  28. package/dist/types/components/artifacts/TrajectoryToolbar.d.ts +24 -0
  29. package/dist/types/components/artifacts/TurnCallsPanel.d.ts +5 -0
  30. package/dist/types/components/artifacts/tool-call-content.d.ts +34 -0
  31. package/dist/types/components/dialogs/AddWorkspaceDialog.d.ts +5 -1
  32. package/dist/types/components/dialogs/ScheduledTasksDialog.d.ts +5 -1
  33. package/dist/types/components/dialogs/SessionRenameDialog.d.ts +10 -0
  34. package/dist/types/components/dialogs/WorkspaceAddStatusDialog.d.ts +3 -1
  35. package/dist/types/components/dialogs/scheduledTasksSchedule.d.ts +1 -0
  36. package/dist/types/components/managed/ManagedArchivedSessions.d.ts +17 -0
  37. package/dist/types/components/managed/ManagedChildSessionView.d.ts +8 -0
  38. package/dist/types/components/managed/ManagedMcpManagerPage.d.ts +8 -0
  39. package/dist/types/components/managed/ManagedRecoveryPanel.d.ts +9 -0
  40. package/dist/types/components/managed/ManagedSessionActions.d.ts +19 -0
  41. package/dist/types/components/managed/ManagedSessionNavigationRow.d.ts +9 -0
  42. package/dist/types/components/managed/ManagedSessionsPage.d.ts +23 -4
  43. package/dist/types/components/managed/ManagedTaskPanel.d.ts +3 -1
  44. package/dist/types/components/managed/ManagedWorkspaceNavigation.d.ts +16 -0
  45. package/dist/types/components/managed/WorkspaceBindingCreator.d.ts +17 -2
  46. package/dist/types/components/managed/generated/managed-agent-api.d.ts +827 -78
  47. package/dist/types/components/managed/java-managed-agent-client.d.ts +73 -3
  48. package/dist/types/components/managed/java-managed-agent-event-projector.d.ts +1 -2
  49. package/dist/types/components/managed/java-managed-agent-provider.d.ts +2 -6
  50. package/dist/types/components/managed/managed-agent-provider.d.ts +95 -13
  51. package/dist/types/components/managed/managed-creation-skills.d.ts +7 -0
  52. package/dist/types/components/managed/managed-lifecycle-messages.d.ts +80 -0
  53. package/dist/types/components/managed/managed-lifecycle-messages.transcript-stub.d.ts +2 -0
  54. package/dist/types/components/managed/managed-mcp-command-storage.d.ts +16 -0
  55. package/dist/types/components/managed/managed-mcp-management-types.d.ts +8 -0
  56. package/dist/types/components/managed/managed-mcp-messages.d.ts +4 -0
  57. package/dist/types/components/managed/managed-mcp-messages.transcript-stub.d.ts +2 -0
  58. package/dist/types/components/managed/managed-recovery-handoff.d.ts +17 -0
  59. package/dist/types/components/managed/managed-recovery-messages.d.ts +31 -0
  60. package/dist/types/components/managed/managed-session-export.d.ts +21 -0
  61. package/dist/types/components/managed/use-managed-actions.d.ts +2 -1
  62. package/dist/types/components/managed/use-managed-context-compression.d.ts +23 -0
  63. package/dist/types/components/managed/use-managed-mcp-management.d.ts +25 -0
  64. package/dist/types/components/managed/use-managed-mcp.d.ts +3 -0
  65. package/dist/types/components/managed/use-managed-recovery.d.ts +14 -0
  66. package/dist/types/components/managed/use-managed-session-lifecycle.d.ts +26 -0
  67. package/dist/types/components/managed/use-managed-session-rename.d.ts +13 -0
  68. package/dist/types/components/managed/use-managed-session.d.ts +1 -0
  69. package/dist/types/components/managed/use-managed-skills.d.ts +9 -2
  70. package/dist/types/components/managed/use-managed-tasks.d.ts +3 -0
  71. package/dist/types/components/managed/use-managed-turn-cancel.d.ts +9 -0
  72. package/dist/types/components/mcp/McpDetails.d.ts +30 -0
  73. package/dist/types/components/messages/McpApp.d.ts +4 -0
  74. package/dist/types/components/plugins/PluginManagerPage.d.ts +8 -1
  75. package/dist/types/components/sidebar/SessionDetailsTooltip.d.ts +2 -1
  76. package/dist/types/components/sidebar/WebShellSidebar.d.ts +9 -1
  77. package/dist/types/components/sidebar/WorkspaceMenu.d.ts +2 -0
  78. package/dist/types/components/sidebar/WorkspaceSection.d.ts +2 -1
  79. package/dist/types/components/sidebar/workspaceOrder.d.ts +12 -0
  80. package/dist/types/components/ui/tabs.d.ts +1 -1
  81. package/dist/types/components/workspaces/WorkspaceExecutionSelect.d.ts +6 -0
  82. package/dist/types/customization.d.ts +1 -0
  83. package/dist/types/daemon/index.d.ts +1 -1
  84. package/dist/types/daemon/workspace/index.d.ts +1 -1
  85. package/dist/types/daemon/workspace/types.d.ts +25 -0
  86. package/dist/types/daemon-react-sdk.d.ts +2 -0
  87. package/dist/types/desktop-relay/desktop-relay-client.d.ts +1 -1
  88. package/dist/types/hooks/composer-draft-attachments.d.ts +21 -0
  89. package/dist/types/hooks/composer-draft-session.d.ts +39 -0
  90. package/dist/types/hooks/useComposerCore.d.ts +1 -0
  91. package/dist/types/hooks/useContextUsageControls.d.ts +8 -3
  92. package/dist/types/index.d.ts +2 -1
  93. package/dist/types/main.d.ts +3 -1
  94. package/dist/types/mcpAppHostContext.d.ts +10 -1
  95. package/dist/types/settings.d.ts +2 -0
  96. package/dist/types/trajectory/summarizeTrajectory.d.ts +5 -0
  97. package/dist/types/trajectory/trajectory-status.d.ts +51 -0
  98. package/dist/types/trajectory/useTrajectoryWindow.d.ts +2 -0
  99. package/dist/types/unavailableModels.d.ts +24 -0
  100. package/dist/types/utils/composerModels.d.ts +18 -0
  101. package/dist/types/utils/indexeddb.d.ts +17 -0
  102. package/dist/{useDaemonMidTurnInjected-CfhBFIym.js → useDaemonMidTurnInjected-BUXyeZuZ.js} +4290 -4029
  103. package/package.json +1 -1
  104. package/dist/types/components/artifacts/TrajectoryFilters.d.ts +0 -15
  105. package/dist/types/components/artifacts/TrajectoryInspector.d.ts +0 -25
@@ -31,6 +31,23 @@ export interface paths {
31
31
  patch?: never;
32
32
  trace?: never;
33
33
  };
34
+ "/api/agent/web-shell/v1/sessions/rename": {
35
+ parameters: {
36
+ query?: never;
37
+ header?: never;
38
+ path?: never;
39
+ cookie?: never;
40
+ };
41
+ get?: never;
42
+ put?: never;
43
+ /** @description Synchronously rename a Session through the same durable, fenced title service as public PATCH. HTTP 200 confirms persistence; an unavailable or unknown Harness outcome remains an error and is never a pending success. Workspace-bound fresh renames require current OPERATOR access and the original binding's execution facts; unbound Sessions use the existing tenant-scoped rename authorization. An active Turn does not itself block rename. Reuse the same idempotency key only for the same Session and title; completed replay returns the Session's current persisted title without another Harness rename, including the existing last-visible result after deletion. Fresh-rename capability changes do not preclude authorized replay. The result title is authoritative and can differ from the requested title when a later rename already completed. */
44
+ post: operations["webShellRenameSession"];
45
+ delete?: never;
46
+ options?: never;
47
+ head?: never;
48
+ patch?: never;
49
+ trace?: never;
50
+ };
34
51
  "/api/agent/web-shell/v1/transcript/query": {
35
52
  parameters: {
36
53
  query?: never;
@@ -74,7 +91,7 @@ export interface paths {
74
91
  };
75
92
  get?: never;
76
93
  put?: never;
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 with public Session creation: the server-selected profile for the built-in qwen-code agent, and the profile selected by a stored definition's single allowlisted hosted_profile tools entry for a definition-pinned Session. Newly bound qwen-code Sessions, including empty creation, persist hosted-workspace-shell/1 with mandatory default/auto-edit approval when the Shell deployment opt-in is enabled; otherwise they persist hosted-workspace-files/1 with the configured file approval mode. The switch does not override a stored AgentDefinition's compiled profile or approval mode. Public callers cannot select the built-in profile. Any caller holding the OPERATOR role may submit later Turns and rename the Session under the same opt-in, while the Workspace registry row stays ACTIVE and still backs the binding, the actor recorded by the Workspace create command keeps OPERATOR or above, and the Session is active and undeleted and is either a qwen-code Session on the frozen execution profile or pinned to a stored definition; Workspace close follows its separate close capability and lifecycle admission; the same caller may cancel a running Turn (its delivery re-checks no grant it needs survives the cancellation), and the Session's own liveness keeps OPERATOR access even when its Workspace's background-exit observation closes some other bound Session; cancel is always allowed for its own running Turn even outside the Workspace files opt-in. A definition-pinned Session keeps its pinned revision's tool profile, model and instructions for its whole life, and a replay of the create command reuses the original pin; a WebShell Session inherits its Workspace's default Workspace selection when the request omits one. Shell Sessions additionally require the Shell opt-in and valid persisted approval for fresh Turns; disabling only Shell admission preserves original-key replay and accepted approvals and cancellation while Workspace files remain enabled and persisted approval remains valid. The public Shell tool list does not include the child agent tool. Invalid approval or files-off can refuse attachment. Public Shell close, archive, unarchive and delete stay unavailable, including protocol-0. Fresh Shell sending also requires foregroundShell=true; workspaceTurns advertises submit/rename permission and is not sufficient Shell Turn admission. */
94
+ /** @description Maps workspaceId/cwdRelative to public Workspace selection without using environmentId or absolute cwd. Shares G0's opt-in initial file-tool Turn admission with public Session creation: the server-selected profile for the built-in qwen-code agent, and the profile selected by a stored definition's single allowlisted hosted_profile tools entry for a definition-pinned Session. Newly bound qwen-code Sessions, including empty creation, persist hosted-workspace-shell/1 with mandatory default/auto-edit approval when the Shell deployment opt-in is enabled; otherwise they persist hosted-workspace-files/1 with the configured file approval mode. The switch does not override a stored AgentDefinition's compiled profile or approval mode. Public callers cannot select the built-in profile. Any caller holding the OPERATOR role may submit later Turns and rename the Session under the same opt-in, while the Workspace registry row stays ACTIVE and still backs the binding, the actor recorded by the Workspace create command keeps OPERATOR or above, and the Session is active and undeleted and is either a qwen-code Session on the frozen execution profile or pinned to a stored definition; Workspace close follows its separate close capability and lifecycle admission; the same caller may cancel a running Turn (its delivery re-checks no grant it needs survives the cancellation), and the Session's own liveness keeps OPERATOR access even when its Workspace's background-exit observation closes some other bound Session; cancel is always allowed for its own running Turn even outside the Workspace files opt-in. A definition-pinned Session keeps its pinned revision's tool profile, model and instructions for its whole life, and a replay of the create command reuses the original pin; a WebShell Session inherits its Workspace's default Workspace selection when the request omits one. Shell Sessions additionally require the Shell opt-in and valid persisted approval for fresh Turns; disabling only Shell admission preserves original-key replay and accepted approvals and cancellation while Workspace files remain enabled and persisted approval remains valid. Qualified new public Shell Sessions expose agent by default under the public-child deployment switch and runtime/Harness admission; existing Sessions retain their original tool scope. Invalid approval or files-off can refuse attachment. Public Shell close and active delete require lifecycle v2 and reliable original-Worker stop support; archive and unarchive require completed close proof. Fresh Shell sending also requires foregroundShell=true; workspaceTurns alone is not sufficient Shell Turn admission. Manual rename uses the independent rename capability. */
78
95
  post: operations["webShellCreateSession"];
79
96
  delete?: never;
80
97
  options?: never;
@@ -91,6 +108,7 @@ export interface paths {
91
108
  };
92
109
  get?: never;
93
110
  put?: never;
111
+ /** @description Admits the command durably and returns its operation identity, admission stage and delivery state. Replaying the same idempotency key returns the original command operation. Existing Session and actor authorization checks apply. */
94
112
  post: operations["webShellSubmitTurn"];
95
113
  delete?: never;
96
114
  options?: never;
@@ -107,6 +125,7 @@ export interface paths {
107
125
  };
108
126
  get?: never;
109
127
  put?: never;
128
+ /** @description Admits the command durably and returns its operation identity, admission stage and delivery state. Replaying the same idempotency key returns the original command operation. Existing Session and actor authorization checks apply. */
110
129
  post: operations["webShellCancelTurn"];
111
130
  delete?: never;
112
131
  options?: never;
@@ -506,7 +525,7 @@ export interface paths {
506
525
  };
507
526
  get?: never;
508
527
  put?: never;
509
- /** @description Change the next-user-Turn policy of an idle eligible Workspace Session: built-in qwen-code or a stored AgentDefinition on exactly hosted-workspace-files/1 or hosted-workspace-shell/1,/2. Requires its recorded owner, current OPERATOR or OWNER access and Session-specific Harness feature support. Changes are revision-checked and actor/session-scoped idempotent. Definition creation policy and pins remain immutable. */
528
+ /** @description Change the execution approval policy of an eligible Workspace Session: built-in qwen-code or a stored AgentDefinition on exactly hosted-workspace-files/1 or hosted-workspace-shell/1. With liveSupported, execution policy changes affect subsequent current-Turn permission checks and permit eligible pending ordinary tool approvals. Otherwise the Session must be idle. Plan changes remain idle-only. Requires its recorded owner, current OPERATOR or OWNER access and Session-specific Harness feature support. Changes are revision-checked and actor/session-scoped idempotent. Definition creation policy and pins remain immutable. */
510
529
  post: operations["changeWebShellSessionApproval"];
511
530
  delete?: never;
512
531
  options?: never;
@@ -599,6 +618,23 @@ export interface paths {
599
618
  patch?: never;
600
619
  trace?: never;
601
620
  };
621
+ "/api/agent/web-shell/v1/session-mcp/query": {
622
+ parameters: {
623
+ query?: never;
624
+ header?: never;
625
+ path?: never;
626
+ cookie?: never;
627
+ };
628
+ get?: never;
629
+ put?: never;
630
+ /** @description Read the selected Session's sanitized, committed MCP catalog. Requires a trusted actor and Workspace read access. Discovery states describe the published snapshot, not live Runtime health. Does not configure servers, discover capabilities or execute tools, resources or prompts. */
631
+ post: operations["queryWebShellSessionMcp"];
632
+ delete?: never;
633
+ options?: never;
634
+ head?: never;
635
+ patch?: never;
636
+ trace?: never;
637
+ };
602
638
  "/api/agent/web-shell/v1/session-skills/query": {
603
639
  parameters: {
604
640
  query?: never;
@@ -672,10 +708,180 @@ export interface paths {
672
708
  patch?: never;
673
709
  trace?: never;
674
710
  };
711
+ "/api/agent/web-shell/v1/sessions/compress": {
712
+ parameters: {
713
+ query?: never;
714
+ header?: never;
715
+ path?: never;
716
+ cookie?: never;
717
+ };
718
+ get?: never;
719
+ put?: never;
720
+ /** @description Admits idle-only context compression without creating a Turn. A trusted Workspace OPERATOR or OWNER is required. Read authorization precedes actor-scoped idempotency replay; replay precedes mutable role, capability, revision and busy checks. Expected compaction revision begins at zero. Returns 409 session_context_busy for active or queued Turns, approvals, unsettled Hooks, recovery or conflicting context operations; 409 compaction_revision_conflict for a stale revision; 409 idempotency_conflict for key reuse with different content. A 202 is durable admission; query the original operation for completion. Unknown acceptance is reconciled from native evidence without blind redelivery. A compressed outcome invalidates the prior context usage until a new main-model observation; noop and failure preserve history and revision. */
721
+ post: operations["webShellCompressContext"];
722
+ delete?: never;
723
+ options?: never;
724
+ head?: never;
725
+ patch?: never;
726
+ trace?: never;
727
+ };
728
+ "/api/agent/web-shell/v1/session-mcp/management/query": {
729
+ parameters: {
730
+ query?: never;
731
+ header?: never;
732
+ path?: never;
733
+ cookie?: never;
734
+ };
735
+ get?: never;
736
+ put?: never;
737
+ /** @description Requires a trusted Workspace operator and the Session creator execution grants. Manage only the selected active public Session; commands retain immutable definition pins, serialize while idle, and select only deployed Runtime definitions. Status reads persisted receipts without restarting or replaying the original effect. Management reattachment never drives recovery, cleanup, or wake dispatch. After a Harness restart, continue or recover the Session through its normal execution flow first; otherwise management returns 409 hosted_mcp_session_load_required. A fresh empty Session can initialize without a Turn; command status never creates one. Unsupported management queries return supported=false. Responses never include private executable recipes or credentials. */
738
+ post: operations["queryWebShellSessionMcpManagement"];
739
+ delete?: never;
740
+ options?: never;
741
+ head?: never;
742
+ patch?: never;
743
+ trace?: never;
744
+ };
745
+ "/api/agent/web-shell/v1/session-mcp/management/submit": {
746
+ parameters: {
747
+ query?: never;
748
+ header?: never;
749
+ path?: never;
750
+ cookie?: never;
751
+ };
752
+ get?: never;
753
+ put?: never;
754
+ /** @description Requires a trusted Workspace operator and the Session creator execution grants. Manage only the selected active public Session; commands retain immutable definition pins, serialize while idle, and select only deployed Runtime definitions. Status reads persisted receipts without restarting or replaying the original effect. Management reattachment never drives recovery, cleanup, or wake dispatch. After a Harness restart, continue or recover the Session through its normal execution flow first; otherwise management returns 409 hosted_mcp_session_load_required. A fresh empty Session can initialize without a Turn; command status never creates one. Unsupported management queries return supported=false. Responses never include private executable recipes or credentials. */
755
+ post: operations["submitWebShellSessionMcpManagement"];
756
+ delete?: never;
757
+ options?: never;
758
+ head?: never;
759
+ patch?: never;
760
+ trace?: never;
761
+ };
762
+ "/api/agent/web-shell/v1/session-mcp/management/operations/query": {
763
+ parameters: {
764
+ query?: never;
765
+ header?: never;
766
+ path?: never;
767
+ cookie?: never;
768
+ };
769
+ get?: never;
770
+ put?: never;
771
+ /** @description Requires a trusted Workspace operator and the Session creator execution grants. Manage only the selected active public Session; commands retain immutable definition pins, serialize while idle, and select only deployed Runtime definitions. Status reads persisted receipts without restarting or replaying the original effect. Management reattachment never drives recovery, cleanup, or wake dispatch. After a Harness restart, continue or recover the Session through its normal execution flow first; otherwise management returns 409 hosted_mcp_session_load_required. A fresh empty Session can initialize without a Turn; command status never creates one. Unsupported management queries return supported=false. Responses never include private executable recipes or credentials. */
772
+ post: operations["queryWebShellSessionMcpManagementOperation"];
773
+ delete?: never;
774
+ options?: never;
775
+ head?: never;
776
+ patch?: never;
777
+ trace?: never;
778
+ };
779
+ "/api/agent/web-shell/v1/session-recovery/query": {
780
+ parameters: {
781
+ query?: never;
782
+ header?: never;
783
+ path?: never;
784
+ cookie?: never;
785
+ };
786
+ get?: never;
787
+ put?: never;
788
+ /** @description Read authorized durable recovery facts and only already attached Harness evidence without loading a Session, acquiring a Runtime, invoking tools or models, stopping work or clearing a block. Missing or unreadable native readiness evidence never proves ready. This is Session-scoped; ordinary Workspace admission and concurrent unrelated Sessions remain independent. */
789
+ post: operations["queryWebShellSessionRecovery"];
790
+ delete?: never;
791
+ options?: never;
792
+ head?: never;
793
+ patch?: never;
794
+ trace?: never;
795
+ };
796
+ "/api/agent/web-shell/v1/session-recovery/recheck": {
797
+ parameters: {
798
+ query?: never;
799
+ header?: never;
800
+ path?: never;
801
+ cookie?: never;
802
+ };
803
+ get?: never;
804
+ put?: never;
805
+ /** @description Recheck only the latest original Turn under the existing cancellation/cleanup authorization. Repeated requests coalesce and may only advance existing cancellation/reconciliation or retry settled cleanup; they never resubmit input, replay effects, reset retry budgets or change claim generations. A stale Turn returns recovery_target_changed and ineligible work returns recovery_recheck_unavailable. 202 means requested, not cancelled or ready. For a terminal Java Turn whose Harness attachment is cold or whose status cannot be read, this POST may attempt a narrow cleanup-only load. It must verify the original prompt has a durable native terminal, covered continuation checkpoint or lawful initial state, and no pending input before retrying only its existing cleanup. It never resumes models, tools, MCP or Hooks, clears a permanent journal block, or treats a historical SQL failure as native settlement. */
806
+ post: operations["recheckWebShellSessionRecovery"];
807
+ delete?: never;
808
+ options?: never;
809
+ head?: never;
810
+ patch?: never;
811
+ trace?: never;
812
+ };
813
+ "/api/agent/web-shell/v1/sessions/export/query": {
814
+ parameters: {
815
+ query?: never;
816
+ header?: never;
817
+ path?: never;
818
+ cookie?: never;
819
+ };
820
+ get?: never;
821
+ put?: never;
822
+ /**
823
+ * Read one immutable public Session snapshot page for reading exports
824
+ * @description Requires current Session read authorization on every page. Reuses the public item snapshot cursor, whose subsequent pages retain the original snapshot version and watermark. No private journal, Runtime or storage credentials are returned. The client waits for a snapshot covering its captured Session watermark before using its first page.
825
+ */
826
+ post: operations["webShellExportSession"];
827
+ delete?: never;
828
+ options?: never;
829
+ head?: never;
830
+ patch?: never;
831
+ trace?: never;
832
+ };
675
833
  }
676
834
  export type webhooks = Record<string, never>;
677
835
  export interface components {
678
836
  schemas: {
837
+ PublicMcpCatalog: {
838
+ /** @constant */
839
+ object: "agent.mcp_catalog";
840
+ /** Format: uuid */
841
+ session_id: string;
842
+ servers: components["schemas"]["PublicMcpServerCatalog"][];
843
+ };
844
+ PublicMcpServerCatalog: {
845
+ server_id: string;
846
+ server_revision: number;
847
+ /** @description The pinned catalog revision; null while no catalog has been published. */
848
+ catalog_revision: number | null;
849
+ tools: components["schemas"]["PublicMcpTool"][];
850
+ resources: components["schemas"]["PublicMcpResource"][];
851
+ prompts: components["schemas"]["PublicMcpPrompt"][];
852
+ discovery: components["schemas"]["PublicMcpDiscovery"];
853
+ };
854
+ PublicMcpTool: {
855
+ name: string;
856
+ description?: string;
857
+ input_schema: {
858
+ [key: string]: unknown;
859
+ };
860
+ };
861
+ PublicMcpResource: {
862
+ name: string;
863
+ uri: string;
864
+ description?: string;
865
+ mime_type?: string;
866
+ };
867
+ PublicMcpPrompt: {
868
+ name: string;
869
+ description?: string;
870
+ arguments?: components["schemas"]["PublicMcpPromptArgument"][];
871
+ };
872
+ PublicMcpPromptArgument: {
873
+ name: string;
874
+ description?: string;
875
+ required?: boolean;
876
+ };
877
+ PublicMcpDiscovery: {
878
+ /** @enum {string} */
879
+ tools: "complete" | "partial" | "failed" | "stale";
880
+ /** @enum {string} */
881
+ resources: "complete" | "partial" | "failed" | "stale";
882
+ /** @enum {string} */
883
+ prompts: "complete" | "partial" | "failed" | "stale";
884
+ };
679
885
  InputBlock: components["schemas"]["InputTextBlock"] | components["schemas"]["InputFileBlock"] | components["schemas"]["InputImageBlock"];
680
886
  PublicArtifact: {
681
887
  /** @constant */
@@ -702,6 +908,14 @@ export interface components {
702
908
  cursor?: string | null;
703
909
  /** @default 20 */
704
910
  limit?: number | null;
911
+ /**
912
+ * @description Filter before pagination. Omission preserves all readable, undeleted Sessions. Cursors are bound to the normalized archive state and title query.
913
+ * @default all
914
+ * @enum {string}
915
+ */
916
+ archiveState?: "unarchived" | "archived" | "all";
917
+ /** @description Case-insensitive literal title substring, with surrounding whitespace stripped. Empty means no title filter; %, _ and backslash are literal. Applied before pagination. Cursors are bound to the stripped query and archiveState; listing is not a snapshot across title or archive changes. */
918
+ titleQuery?: string | null;
705
919
  };
706
920
  WebShellSessionRequest: {
707
921
  /** Format: uuid */
@@ -728,8 +942,8 @@ export interface components {
728
942
  requestId?: string | null;
729
943
  idempotencyKey: string;
730
944
  agentId: string;
731
- /** @description Planned; phase one rejects non-blank values. */
732
- environmentId?: string | null;
945
+ /** @description Optional host-catalog model for a bound built-in qwen-code Session. Requires modelSelectionSupported. Persisted atomically before the first Turn and included in creation idempotency; omission preserves the default model and old digest. */
946
+ modelId?: string;
733
947
  /** @description The server enforces the bound in UTF-16 code units (Java String.length()), so an astral character counts as two: a title this schema's code-point maxLength accepts can still exceed the server's 256-unit bound and answer 400 invalid_title. */
734
948
  title?: string | null;
735
949
  /** @description Text has a 4,000,000-character aggregate budget and per-block 1,000,000-character cap, counted in code points. Hosted also enforces its 64 KiB durable-record limit for text-only inputs and a 32 MiB prepared-snapshot ceiling. A complete canonical input containing file/image attachments must fit within 8 MiB and requires input-attachments/1. */
@@ -743,6 +957,8 @@ export interface components {
743
957
  approvalMode?: "default" | "auto-edit" | "yolo";
744
958
  /** @description Persisted public Plan overlay, independent of execution permission. Omission on a change preserves the selected state. */
745
959
  planMode?: boolean;
960
+ /** @description Optional static Skills imported from the enabled management catalog or added explicitly to the pinned AgentDefinition catalog. The merged catalog has unique names, at most 256 entries, 512 KiB per body and 2 MiB compact JSON. Requires session-skills/2; persisted immutably and included in creation idempotency. */
961
+ skills?: components["schemas"]["SessionCreationSkill"][];
746
962
  };
747
963
  WebShellSubmitRequest: {
748
964
  /** @description Trace correlation only. */
@@ -753,12 +969,6 @@ export interface components {
753
969
  /** @description Text has a 4,000,000-character aggregate budget and per-block 1,000,000-character cap, counted in code points. Hosted also enforces its 64 KiB durable-record limit for text-only inputs and a 32 MiB prepared-snapshot ceiling. A complete canonical input containing file/image attachments must fit within 8 MiB and requires input-attachments/1. */
754
970
  input?: components["schemas"]["InputBlock"][];
755
971
  metadata?: components["schemas"]["WebShellMetadata"];
756
- /**
757
- * @description D7-3. java_durable asks for the java_durable admission view: the 202 then names the command's operation (operationId, admissionStage, deliveryState), so a lost response resolves through that operation. Only a deployment whose Sessions advertise durableOperations admits it; elsewhere it answers 400 unsupported_feature before anything is read or written. Absent or harness_confirmed keeps today's response. harness_confirmed is the pinned reference design's qwen_confirmed. The request digest leaves this field out, so a retry under the same idempotencyKey replays the same command in either view.
758
- * @default harness_confirmed
759
- * @enum {string}
760
- */
761
- admissionProfile?: "harness_confirmed" | "java_durable";
762
972
  };
763
973
  WebShellCancelRequest: {
764
974
  /** @description Trace correlation only. */
@@ -767,34 +977,36 @@ export interface components {
767
977
  /** Format: uuid */
768
978
  sessionId: string;
769
979
  turnId: string;
770
- /**
771
- * @description D7-3. java_durable asks for the java_durable admission view: the 202 then names the command's operation (operationId, admissionStage, deliveryState), so a lost response resolves through that operation. Only a deployment whose Sessions advertise durableOperations admits it; elsewhere it answers 400 unsupported_feature before anything is read or written. Absent or harness_confirmed keeps today's response. harness_confirmed is the pinned reference design's qwen_confirmed. The request digest leaves this field out, so a retry under the same idempotencyKey replays the same command in either view.
772
- * @default harness_confirmed
773
- * @enum {string}
774
- */
775
- admissionProfile?: "harness_confirmed" | "java_durable";
776
980
  };
777
981
  /** @description Arbitrary caller metadata, as a JSON object (or null). Accepted and ignored in Phase 1: nothing from it is persisted. On WebShellCreateRequest the Session title travels in that request's own `title` field; WebShellSubmitRequest has no title surface. Any keys are valid. */
778
982
  WebShellMetadata: {
779
983
  [key: string]: unknown;
780
984
  } | null;
781
- /** @description accepted means Java durable delivery responsibility, not model execution. The three operation fields come together, and only on a Turn input or cancel admission that asked for admissionProfile java_durable on a deployment advertising durableOperations (D7-3): operationId names the command's original submit_input or cancel operation, readable through the operation query, and admissionStage and deliveryState are that operation's latest durable values. A fresh input reads java_durable and pending; a cancel of a Turn that already ended reads its settled values. A retry under the same key answers the same operation with replayed true. Missing fields keep the legacy harness_confirmed response semantics, also for Session creation and for a replayed command recorded before v1.58. */
985
+ /** @description Command admission. Session creation and internal commands may omit operation fields. */
782
986
  WebShellAdmission: {
783
987
  /** Format: uuid */
784
988
  sessionId: string;
785
989
  turnId?: string | null;
786
990
  status: string;
787
991
  replayed: boolean;
992
+ /** @description Durable operation identifier for turn submission or cancellation. */
788
993
  operationId?: string;
789
- /** @enum {string} */
994
+ /**
995
+ * @description Persisted admission stage of the operation.
996
+ * @enum {string}
997
+ */
790
998
  admissionStage?: "java_durable" | "harness_confirmed";
791
- /** @enum {string} */
999
+ /**
1000
+ * @description Current delivery state of the operation.
1001
+ * @enum {string}
1002
+ */
792
1003
  deliveryState?: "pending" | "leased" | "confirmed" | "blocked";
793
1004
  };
794
1005
  WebShellTurn: {
795
1006
  turnId: string;
796
1007
  /** Format: uuid */
797
1008
  sessionId: string;
1009
+ /** @description recovery_blocked with hosted_harness_recovery_blocked means the Harness stopped without a safely settled Turn. The input remains active internally. Execution redispatch is parked, while bounded read-only observation of the original Harness journal may settle a later terminal result. Policy changes and lifecycle close wait for settlement; explicit cancellation remains available. */
798
1010
  status: string;
799
1011
  /** Format: int64 */
800
1012
  submittedAt: number;
@@ -838,6 +1050,17 @@ export interface components {
838
1050
  planMode?: boolean;
839
1051
  /** @description Optional deployment capability; missing means false. */
840
1052
  planModeSupported?: boolean;
1053
+ /**
1054
+ * Format: int64
1055
+ * @description Sequence of the most recent native context.compacted event; independent of Workspace context revision. Omitted when retained pre-upgrade evidence cannot establish the revision, and context compression is unavailable.
1056
+ * @default 0
1057
+ */
1058
+ compactionRevision?: number | null;
1059
+ /** @description Current durable context compression operation, including recovery_blocked; absent when none is active. */
1060
+ contextCompressionOperationId?: string | null;
1061
+ /** @description Current unsettled lifecycle operation, queried in batch under Session read authorization. A failed close/delete may leave the Session closing/deleting; only explicit retry starts a new operation. Settled Sessions omit this projection. */
1062
+ lifecycleOperation?: components["schemas"]["WebShellLifecycleOperation"];
1063
+ recovery?: components["schemas"]["SessionRecovery"];
841
1064
  };
842
1065
  WebShellSessionCapabilities: {
843
1066
  /**
@@ -845,37 +1068,32 @@ export interface components {
845
1068
  * @default false
846
1069
  */
847
1070
  cwdChange?: boolean;
848
- /**
849
- * @description D7-3. Present only on a deployment that enables the java_durable admission profile, where it is true while the Session is readable: a Turn input or cancel may then ask for admissionProfile java_durable. Omitted elsewhere, where asking for it answers 400 unsupported_feature.
850
- * @default false
851
- */
852
- durableOperations?: boolean;
853
1071
  /** @default false */
854
1072
  actions: boolean;
855
1073
  /**
856
- * @description True when the caller may submit later Turns of this Workspace-bound Session or rename it: the deployment enables Workspace files, the caller holds the OPERATOR role on a Workspace registry row whose state is ACTIVE and still backs the Session's binding, the actor recorded by the Workspace create command keeps OPERATOR or above, and the Session is active and undeleted and is either a qwen-code Session or a Session pinned to a stored definition (both on the Workspace's frozen execution profile). Cancelling only aborts work already running, so an OPERATOR caller may cancel a running Turn even when this is false; the capability does not gate cancellation. False for every other caller and for unbound Sessions, which do not use it. Shell Sessions also require foregroundShell=true for fresh sending; workspaceTurns may remain true with Shell admission disabled and is not sufficient Shell Turn admission.
1074
+ * @description True when the caller may submit later Turns of this Workspace-bound Session: the deployment enables Workspace files, the caller holds the OPERATOR role on a Workspace registry row whose state is ACTIVE and still backs the Session's binding, the actor recorded by the Workspace create command keeps OPERATOR or above, and the Session is active and undeleted and is either a qwen-code Session or a Session pinned to a stored definition (both on the Workspace's frozen execution profile). Cancelling only aborts work already running, so an OPERATOR caller may cancel a running Turn even when this is false; the capability does not gate cancellation. False for every other caller and for unbound Sessions, which do not use it. Shell Sessions also require foregroundShell=true for fresh sending; workspaceTurns may remain true with Shell admission disabled and is not sufficient Shell Turn admission. Manual rename uses the independent rename capability.
857
1075
  * @default false
858
1076
  */
859
1077
  workspaceTurns: boolean;
860
1078
  tasks: boolean;
861
1079
  artifacts: boolean;
862
1080
  /**
863
- * @description Deployment support for close independently of archive/delete. Admission also requires Session ownership and current read access for a bound Session.
1081
+ * @description Close support including current actor authority. Workspace-bound Sessions require the recorded Session owner and current read access. Source-state and idle admission remain authoritative on the server.
864
1082
  * @default false
865
1083
  */
866
1084
  sessionClose?: boolean;
867
1085
  /**
868
- * @description Optional support for this retention operation. For a Workspace-bound Session requires completed reliable-close evidence; authorization and source-state validation still apply.
1086
+ * @description Archive support including current actor authority. Workspace-bound Sessions require completed reliable-close evidence, the recorded Session owner and current read access. Source-state and idle admission remain authoritative on the server.
869
1087
  * @default false
870
1088
  */
871
1089
  sessionArchive?: boolean;
872
1090
  /**
873
- * @description Optional support for this retention operation. For a Workspace-bound Session requires completed reliable-close evidence; authorization and source-state validation still apply.
1091
+ * @description Unarchive support including current actor authority. Workspace-bound Sessions require completed reliable-close evidence, the recorded Session owner and current read access. Source-state and idle admission remain authoritative on the server.
874
1092
  * @default false
875
1093
  */
876
1094
  sessionUnarchive?: boolean;
877
1095
  /**
878
- * @description Optional support capability. ACTIVE Workspace files Sessions require L3 lifecycle protocol and reliable original Runtime stop; CLOSED/ARCHIVED Sessions use independent L2 close evidence. Current creator/read authorization and idle/source-state admission checks still apply. The aggregate session lifecycle capability is unchanged.
1096
+ * @description Delete support including current actor authority. ACTIVE Workspace Sessions require a supported reliable-close protocol; CLOSED/ARCHIVED Sessions use completed close evidence. Workspace-bound Sessions require the recorded Session owner and current read access. Source-state and idle admission remain authoritative on the server. The aggregate session lifecycle capability is unchanged.
879
1097
  * @default false
880
1098
  */
881
1099
  sessionDelete?: boolean;
@@ -883,10 +1101,25 @@ export interface components {
883
1101
  foregroundShell?: boolean;
884
1102
  /** @description The caller may request an idle Session model change using the server model catalog. Missing means unsupported; authorization and revision admission still apply. */
885
1103
  modelChange?: boolean;
886
- /** @description The caller owns this eligible Workspace Session with current OPERATOR or OWNER access. Built-in qwen-code requires approval-selection/1; stored AgentDefinitions on exactly hosted-workspace-files/1 or hosted-workspace-shell/1,/2 also require agent-definition-approval-selection/1. Idle-state admission is checked separately. Missing means false. */
1104
+ /** @description The caller owns this eligible Workspace Session with current OPERATOR or OWNER access. Built-in qwen-code requires approval-selection/1; stored AgentDefinitions on exactly hosted-workspace-files/1 or hosted-workspace-shell/1 also require agent-definition-approval-selection/1. Idle-state admission is checked separately. Missing means false. */
887
1105
  approvalModeChange?: boolean;
888
1106
  /** @description Optional deployment capability; missing means false. */
889
1107
  inputAttachments?: boolean;
1108
+ /**
1109
+ * @description True for a visible ACTIVE Session when the Harness supports fenced title persistence and is available. Workspace-bound Sessions additionally require Workspace files admission, current OPERATOR access and the original binding's frozen execution facts, independently of approval or fresh Turn sending support. Unbound Sessions use the existing tenant-scoped rename permission. An active Turn does not itself make this false. Missing means false. This advertises fresh rename only; authorized completed original-key replay remains available under the rename service's replay rules.
1110
+ * @default false
1111
+ */
1112
+ rename?: boolean;
1113
+ /**
1114
+ * @description Requires a compatible Hosted Harness and an active Workspace Session. WebShell also reflects the current caller OPERATOR or OWNER grant; admission separately checks idle state.
1115
+ * @default false
1116
+ */
1117
+ contextCompression?: boolean;
1118
+ /**
1119
+ * @description Public child orchestration support for this persisted Session; launch and caller authorization are checked separately.
1120
+ * @default false
1121
+ */
1122
+ childAgents?: boolean;
890
1123
  };
891
1124
  WebShellSessionPage: {
892
1125
  data: components["schemas"]["WebShellSession"][];
@@ -1026,14 +1259,16 @@ export interface components {
1026
1259
  * @default false
1027
1260
  */
1028
1261
  workspaceContext: boolean;
1029
- /** @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 Turn at creation: Read/Write/Edit under hosted-workspace-files/1, or file tools plus mandatory-approval foreground Shell under hosted-workspace-shell/1 when the Shell opt-in is enabled. The public Shell tool list does not include the child agent tool. Callers holding the OPERATOR role may submit later Turns or rename under the same opt-in while the registry row stays ACTIVE and still backs the Session's binding and the actor recorded by the Workspace create command keeps OPERATOR or above, and may cancel a running Turn (its delivery re-checks no grants). Shell fresh sending also requires foregroundShell=true. Public Shell close, archive, unarchive and delete stay unavailable, including protocol-0, while close of other profiles follows its separate capability and lifecycle admission; archive, delete and unarchive follow their separate retention capabilities after reliable Workspace close. */
1262
+ /** @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 Turn at creation: Read/Write/Edit under hosted-workspace-files/1, or file tools plus mandatory-approval foreground Shell under hosted-workspace-shell/1 when the Shell opt-in is enabled. Qualified new public Shell Sessions expose agent by default under the public-child deployment switch and runtime/Harness admission; existing Sessions retain their original tool scope. Callers holding the OPERATOR role may submit later Turns or rename under the same opt-in while the registry row stays ACTIVE and still backs the Session's binding and the actor recorded by the Workspace create command keeps OPERATOR or above, and may cancel a running Turn (its delivery re-checks no grants). Shell fresh sending also requires foregroundShell=true. Public Shell close and active delete require lifecycle v2 and reliable original-Worker stop support; archive and unarchive require completed close proof, while close of other profiles follows its separate capability and lifecycle admission; archive, delete and unarchive follow their separate retention capabilities after reliable Workspace close. */
1030
1263
  workspaceBinding: boolean;
1031
1264
  /** @description Supports creating empty Workspaces under the operator-controlled root. Missing or false means unsupported; current actor and server admission checks still apply. */
1032
1265
  workspaceCreation?: boolean;
1033
1266
  /** @description Supports effective Session policy options and explicit Workspace-bound creation policy. Missing or false means unsupported. */
1034
1267
  approvalModeSelection?: boolean;
1035
- /** @description Supports browsing and selecting existing directories on authorized Linux storage; absent means unsupported. */
1268
+ /** @description Supports browsing and selecting existing directories on authorized Linux or macOS storage; absent means unsupported. */
1036
1269
  workspaceDirectorySelection?: boolean;
1270
+ /** @description Trusted single-user local deployment can browse and import existing host directories without a pre-registered Workspace. Missing or false means unsupported. */
1271
+ localDirectoryImport?: boolean;
1037
1272
  };
1038
1273
  /** @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. */
1039
1274
  defaultWorkspace: (components["schemas"]["WebShellWorkspace"] & {
@@ -1194,13 +1429,18 @@ export interface components {
1194
1429
  policyRevision: string;
1195
1430
  answers: components["schemas"]["WebShellQuestionAnswer"][];
1196
1431
  };
1197
- WebShellOperation: components["schemas"]["WebShellCwdOperation"] | components["schemas"]["WebShellCommandOperation"];
1432
+ WebShellOperation: components["schemas"]["WebShellCwdOperation"] | components["schemas"]["WebShellCommandOperation"] | components["schemas"]["WebShellContextCompressionOperation"];
1198
1433
  WebShellActionQueryRequest: {
1199
1434
  /** Format: uuid */
1200
1435
  sessionId: string;
1201
1436
  cursor?: string;
1202
1437
  /** @default 20 */
1203
1438
  limit?: number;
1439
+ /**
1440
+ * @description Include pending permission Actions of this public root Session and its direct children; each Action retains its actual owning sessionId.
1441
+ * @default false
1442
+ */
1443
+ includeChildren?: boolean;
1204
1444
  };
1205
1445
  WebShellActionGetRequest: {
1206
1446
  /** Format: uuid */
@@ -1219,6 +1459,8 @@ export interface components {
1219
1459
  /** Format: uuid */
1220
1460
  sessionId: string;
1221
1461
  idempotencyKey: string;
1462
+ /** @description Trace-only client request identity, excluded from idempotency digests. */
1463
+ requestId?: string | null;
1222
1464
  };
1223
1465
  WebShellWorkspaceQueryRequest: {
1224
1466
  cursor?: string | null;
@@ -1283,11 +1525,20 @@ export interface components {
1283
1525
  /** @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. */
1284
1526
  artifactRefs: string[];
1285
1527
  actionCapabilities: components["schemas"]["TaskActionCapability"][];
1528
+ /** @description A durable stop request has been recorded. This does not prove that the task has terminated. */
1529
+ stopRequested?: boolean;
1530
+ /**
1531
+ * @description The actual immutable approval mode of this public child Session.
1532
+ * @enum {string}
1533
+ */
1534
+ approvalMode?: "default" | "auto-edit" | "yolo";
1286
1535
  } & (unknown & unknown & unknown & unknown & unknown);
1287
1536
  WebShellTaskPage: {
1288
1537
  data: components["schemas"]["WebShellTask"][];
1289
1538
  hasMore: boolean;
1290
1539
  nextCursor?: string | null;
1540
+ /** @description The total number of nonterminal child Agent tasks in this Session, independent of pagination. */
1541
+ activeChildCount?: number;
1291
1542
  } & unknown;
1292
1543
  /** @description One task event: a logical state change, a bounded output chunk, or an Artifact reference. High-volume output goes to Artifacts or bounded chunks in this paged stream, never one Session event per raw line. The closed schema validates the server's own version; clients ignore unknown optional fields and unknown types and checkpoint their cursors. Strict response validation against an older minor version is not supported. Event identity, position, payload and accepted schema/projection versions are immutable across restart, projection rebuild and archival. */
1293
1544
  WebShellTaskEvent: {
@@ -1427,6 +1678,8 @@ export interface components {
1427
1678
  idempotencyKey: string;
1428
1679
  sourceWorkspaceId?: string;
1429
1680
  cwdRelative?: string;
1681
+ /** @description Absolute execution-host directory. Requires localDirectoryImport; exclusive with Workspace-relative fields. An empty path is allowed only for directory browsing and starts at the host home directory. */
1682
+ localPath?: string;
1430
1683
  };
1431
1684
  WebShellSessionOptionsRequest: {
1432
1685
  agentId: string;
@@ -1440,6 +1693,10 @@ export interface components {
1440
1693
  planModeSupported?: boolean;
1441
1694
  /** @description Optional deployment capability; missing means false. */
1442
1695
  inputAttachments?: boolean;
1696
+ /** @description Optional capability for modelId on Workspace creation. Missing means false. */
1697
+ modelSelectionSupported?: boolean;
1698
+ /** @description Optional deployment capability; missing means false. Requires a compatible Harness and durable Session Store. */
1699
+ skillsSupported?: boolean;
1443
1700
  };
1444
1701
  /** @description Safe allowlisted observation for a Workspace-bound Session. Unknown counts are omitted, never estimated. */
1445
1702
  WebShellModelContext: {
@@ -1486,6 +1743,8 @@ export interface components {
1486
1743
  sessionId: string;
1487
1744
  };
1488
1745
  WebShellSessionApproval: {
1746
+ /** @description Execution approval can change during a Turn when true. Missing means idle-only; Plan changes remain idle-only. */
1747
+ liveSupported?: boolean;
1489
1748
  /** @enum {string} */
1490
1749
  approvalMode: "default" | "auto-edit" | "yolo";
1491
1750
  /** Format: int64 */
@@ -1575,6 +1834,9 @@ export interface components {
1575
1834
  WebShellWorkspaceDirectoryQueryRequest: {
1576
1835
  workspaceId: string;
1577
1836
  cwdRelative: string;
1837
+ } | {
1838
+ /** @description Absolute execution-host directory. Requires localDirectoryImport; exclusive with Workspace-relative fields. An empty path is allowed only for directory browsing and starts at the host home directory. */
1839
+ localPath: string;
1578
1840
  };
1579
1841
  InputTextBlock: {
1580
1842
  /** @enum {string} */
@@ -1668,54 +1930,231 @@ export interface components {
1668
1930
  truncated: boolean;
1669
1931
  outputFiles: string[];
1670
1932
  };
1671
- };
1672
- responses: {
1673
- /** @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. */
1674
- Forbidden: {
1675
- headers: {
1676
- [name: string]: unknown;
1677
- };
1678
- content: {
1679
- "application/json": components["schemas"]["ErrorEnvelope"];
1680
- };
1933
+ WebShellRenameRequest: {
1934
+ requestId?: string;
1935
+ sessionId: string;
1936
+ idempotencyKey: string;
1937
+ /** @description The server enforces the bound in UTF-16 code units (Java String.length()), so an astral character counts as two: a title this schema's code-point maxLength accepts can still exceed the server's 256-unit bound and answer 400 invalid_title. */
1938
+ title: string;
1681
1939
  };
1682
- /** @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. */
1683
- Unauthorized: {
1684
- headers: {
1685
- [name: string]: unknown;
1686
- };
1687
- content: {
1688
- "application/json": components["schemas"]["ErrorEnvelope"];
1689
- };
1940
+ WebShellRenameResult: {
1941
+ sessionId: string;
1942
+ /** @description Current persisted title from the confirmed mutation or completed replay. */
1943
+ title: string;
1944
+ replayed: boolean;
1690
1945
  };
1691
- /** @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. */
1692
- PayloadTooLarge: {
1693
- headers: {
1694
- [name: string]: unknown;
1695
- };
1696
- content: {
1697
- "application/json": components["schemas"]["ErrorEnvelope"];
1698
- };
1946
+ SessionCreationSkill: {
1947
+ /** @description Unique Skill name, at most 128 UTF-8 bytes. */
1948
+ name: string;
1949
+ /** @description At most 4096 UTF-8 bytes. */
1950
+ description: string;
1951
+ /** @description Static instructions, at most 524288 UTF-8 bytes. */
1952
+ body: string;
1953
+ /** @description Canonical POSIX path relative to the Session working directory; defaults to dot. */
1954
+ base_directory?: string;
1955
+ /** @description Whether the model may invoke this Skill; defaults to true. */
1956
+ model_invocable?: boolean;
1957
+ /** @description Whether the user may invoke this Skill; defaults to true. */
1958
+ user_invocable?: boolean;
1959
+ };
1960
+ WebShellContextCompressionRequest: {
1961
+ requestId?: string;
1962
+ sessionId: string;
1963
+ idempotencyKey: string;
1964
+ /** Format: int64 */
1965
+ expectedCompactionRevision: number;
1699
1966
  };
1700
- /** @description Invalid request. */
1701
- BadRequest: {
1702
- headers: {
1703
- [name: string]: unknown;
1704
- };
1705
- content: {
1706
- "application/json": components["schemas"]["ErrorEnvelope"];
1707
- };
1967
+ WebShellContextCompressionOperation: {
1968
+ operationId: string;
1969
+ /** Format: uuid */
1970
+ sessionId: string;
1971
+ /** @constant */
1972
+ type: "context_compression";
1973
+ /** @enum {string} */
1974
+ status: "pending" | "running" | "recovery_blocked" | "completed" | "failed";
1975
+ /** Format: int64 */
1976
+ expectedCompactionRevision: number;
1977
+ /** Format: int64 */
1978
+ compactionRevision?: number | null;
1979
+ /** @enum {string|null} */
1980
+ outcome?: "compressed" | "noop" | null;
1981
+ failureCode?: string | null;
1982
+ replayed: boolean;
1708
1983
  };
1709
- /** @description State, idempotency, or recovery conflict. New Workspace-scoped admissions return workspace_unavailable with retryable=false while an offline Workspace migration holds the storage fence; authorized durable replays retain their existing behavior. */
1710
- Conflict: {
1711
- headers: {
1712
- [name: string]: unknown;
1713
- };
1714
- content: {
1715
- "application/json": components["schemas"]["ErrorEnvelope"];
1716
- };
1984
+ ManagedMcpServerPin: {
1985
+ serverId: string;
1986
+ serverRevision: number;
1987
+ definitionDigest: string;
1717
1988
  };
1718
- /** @description Resource absent or outside the caller tenant scope. */
1989
+ ManagedMcpPublishedServer: {
1990
+ serverId: string;
1991
+ serverRevision: number;
1992
+ definitionDigest: string;
1993
+ /** @enum {string} */
1994
+ transport: "stdio" | "streamable-http" | "sse";
1995
+ };
1996
+ ManagedMcpManagementServer: {
1997
+ serverId: string;
1998
+ serverRevision: number;
1999
+ definitionDigest: string;
2000
+ /** @enum {string} */
2001
+ state: "enabled" | "disabled" | "removed";
2002
+ };
2003
+ ManagedMcpManagementOperation: {
2004
+ /** Format: uuid */
2005
+ operationId: string;
2006
+ /** @enum {string} */
2007
+ action: "add" | "edit" | "remove" | "enable" | "disable" | "reload" | "restart";
2008
+ serverId: string;
2009
+ revision: number;
2010
+ /** @enum {string} */
2011
+ state: "pending" | "settled" | "failed" | "recovery_required";
2012
+ error?: {
2013
+ code: string;
2014
+ };
2015
+ };
2016
+ ManagedMcpManagementSnapshot: {
2017
+ sessionId: string;
2018
+ revision: number;
2019
+ supported: boolean;
2020
+ availableServers: components["schemas"]["ManagedMcpPublishedServer"][];
2021
+ servers: components["schemas"]["ManagedMcpManagementServer"][];
2022
+ operation?: components["schemas"]["ManagedMcpManagementOperation"];
2023
+ };
2024
+ WebShellMcpManagementQuery: {
2025
+ sessionId: string;
2026
+ requestId?: string;
2027
+ };
2028
+ WebShellMcpManagementSubmit: {
2029
+ sessionId: string;
2030
+ requestId?: string;
2031
+ idempotencyKey: string;
2032
+ /** @enum {string} */
2033
+ action: "add" | "edit" | "remove" | "enable" | "disable" | "reload" | "restart";
2034
+ serverId: string;
2035
+ expectedRevision: number;
2036
+ server?: components["schemas"]["ManagedMcpServerPin"];
2037
+ };
2038
+ WebShellMcpManagementOperationQuery: {
2039
+ sessionId: string;
2040
+ /** Format: uuid */
2041
+ operationId: string;
2042
+ requestId?: string;
2043
+ };
2044
+ SessionRecoveryActions: {
2045
+ recheck: boolean;
2046
+ cancel: boolean;
2047
+ continueInNewSession: boolean;
2048
+ };
2049
+ /** @description Separate from Session lifecycle and Turn outcome. ready requires affirmative native input settlement and an admissible continuation boundary with no active Java Turn or blocking debt. Actions are authorization-scoped hints, checked again by their mutations. A new-Session action opens an editable text handoff and grants no additional Workspace permission. A cold or unreadable terminal Turn may advertise a proof-checked cleanup recheck while remaining operator_required with nextTurnAllowed=false; only affirmative native evidence after that mutation can establish readiness. */
2050
+ SessionRecovery: {
2051
+ /** @enum {string} */
2052
+ state: "recovering" | "awaiting_evidence" | "cleanup_pending" | "ready" | "operator_required";
2053
+ reasonCode: string;
2054
+ /** @description Public Turn identity; never an internal prompt, checkpoint or execution reference. */
2055
+ turnId?: string;
2056
+ nextTurnAllowed: boolean;
2057
+ actions: components["schemas"]["SessionRecoveryActions"];
2058
+ /**
2059
+ * Format: int64
2060
+ * @description Known next reconciliation time in Unix epoch milliseconds.
2061
+ */
2062
+ nextRecheckAt?: number;
2063
+ };
2064
+ WebShellRecoveryRecheckRequest: {
2065
+ sessionId: string;
2066
+ turnId: string;
2067
+ };
2068
+ WebShellLifecycleOperation: {
2069
+ operationId: string;
2070
+ /** @enum {string} */
2071
+ type: "close" | "archive" | "delete";
2072
+ /** @enum {string} */
2073
+ status: "pending" | "running" | "completed" | "failed" | "recovery_blocked";
2074
+ failureCode?: string | null;
2075
+ };
2076
+ WebShellExportPage: {
2077
+ items: components["schemas"]["WebShellItem"][];
2078
+ nextCursor?: string | null;
2079
+ hasMore: boolean;
2080
+ /** Format: int64 */
2081
+ snapshotThroughSequence: number;
2082
+ };
2083
+ WebShellExportRequest: {
2084
+ /** Format: uuid */
2085
+ sessionId: string;
2086
+ cursor?: string | null;
2087
+ /** @default 100 */
2088
+ limit?: number | null;
2089
+ };
2090
+ /** @description Durable Turn input or cancellation admission. The operation identifies the saved command and remains stable across idempotent retries. */
2091
+ WebShellTurnAdmission: {
2092
+ /** Format: uuid */
2093
+ sessionId: string;
2094
+ turnId: string;
2095
+ status: string;
2096
+ replayed: boolean;
2097
+ /** @description Durable operation identifier for turn submission or cancellation. */
2098
+ operationId: string;
2099
+ /**
2100
+ * @description Persisted admission stage of the operation.
2101
+ * @enum {string}
2102
+ */
2103
+ admissionStage: "java_durable" | "harness_confirmed";
2104
+ /**
2105
+ * @description Current delivery state of the operation.
2106
+ * @enum {string}
2107
+ */
2108
+ deliveryState: "pending" | "leased" | "confirmed" | "blocked";
2109
+ };
2110
+ };
2111
+ responses: {
2112
+ /** @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. */
2113
+ Forbidden: {
2114
+ headers: {
2115
+ [name: string]: unknown;
2116
+ };
2117
+ content: {
2118
+ "application/json": components["schemas"]["ErrorEnvelope"];
2119
+ };
2120
+ };
2121
+ /** @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. */
2122
+ Unauthorized: {
2123
+ headers: {
2124
+ [name: string]: unknown;
2125
+ };
2126
+ content: {
2127
+ "application/json": components["schemas"]["ErrorEnvelope"];
2128
+ };
2129
+ };
2130
+ /** @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. */
2131
+ PayloadTooLarge: {
2132
+ headers: {
2133
+ [name: string]: unknown;
2134
+ };
2135
+ content: {
2136
+ "application/json": components["schemas"]["ErrorEnvelope"];
2137
+ };
2138
+ };
2139
+ /** @description Invalid request. */
2140
+ BadRequest: {
2141
+ headers: {
2142
+ [name: string]: unknown;
2143
+ };
2144
+ content: {
2145
+ "application/json": components["schemas"]["ErrorEnvelope"];
2146
+ };
2147
+ };
2148
+ /** @description State, idempotency, or recovery conflict. New Workspace-scoped admissions return workspace_unavailable with retryable=false while an offline Workspace migration holds the storage fence; authorized durable replays retain their existing behavior. */
2149
+ Conflict: {
2150
+ headers: {
2151
+ [name: string]: unknown;
2152
+ };
2153
+ content: {
2154
+ "application/json": components["schemas"]["ErrorEnvelope"];
2155
+ };
2156
+ };
2157
+ /** @description Resource absent or outside the caller tenant scope. */
1719
2158
  NotFound: {
1720
2159
  headers: {
1721
2160
  [name: string]: unknown;
@@ -1724,6 +2163,15 @@ export interface components {
1724
2163
  "application/json": components["schemas"]["ErrorEnvelope"];
1725
2164
  };
1726
2165
  };
2166
+ /** @description Replay cursor is older than the retained replay floor. */
2167
+ CursorExpired: {
2168
+ headers: {
2169
+ [name: string]: unknown;
2170
+ };
2171
+ content: {
2172
+ "application/json": components["schemas"]["ErrorEnvelope"];
2173
+ };
2174
+ };
1727
2175
  /** @description Task event cursor is strictly below the task's durable retention floor, which survives an empty retained set; equality is valid. The envelope's replay_floor_sequence and snapshot_through_sequence stay absent because task cursors are opaque. */
1728
2176
  TaskCursorExpired: {
1729
2177
  headers: {
@@ -1812,6 +2260,39 @@ export interface operations {
1812
2260
  413: components["responses"]["PayloadTooLarge"];
1813
2261
  };
1814
2262
  };
2263
+ webShellRenameSession: {
2264
+ parameters: {
2265
+ query?: never;
2266
+ header?: never;
2267
+ path?: never;
2268
+ cookie?: never;
2269
+ };
2270
+ requestBody: {
2271
+ content: {
2272
+ "application/json": components["schemas"]["WebShellRenameRequest"];
2273
+ };
2274
+ };
2275
+ responses: {
2276
+ /** @description Confirmed persisted Session title, or an authorized completed replay. */
2277
+ 200: {
2278
+ headers: {
2279
+ "X-Request-Id": components["headers"]["RequestId"];
2280
+ "X-Qwen-Idempotent-Replay": components["headers"]["IdempotentReplay"];
2281
+ [name: string]: unknown;
2282
+ };
2283
+ content: {
2284
+ "application/json": components["schemas"]["WebShellRenameResult"];
2285
+ };
2286
+ };
2287
+ 400: components["responses"]["BadRequest"];
2288
+ 401: components["responses"]["Unauthorized"];
2289
+ 403: components["responses"]["Forbidden"];
2290
+ 404: components["responses"]["NotFound"];
2291
+ 409: components["responses"]["Conflict"];
2292
+ 413: components["responses"]["PayloadTooLarge"];
2293
+ 503: components["responses"]["Unavailable"];
2294
+ };
2295
+ };
1815
2296
  webShellTranscript: {
1816
2297
  parameters: {
1817
2298
  query?: never;
@@ -1922,7 +2403,7 @@ export interface operations {
1922
2403
  [name: string]: unknown;
1923
2404
  };
1924
2405
  content: {
1925
- "application/json": components["schemas"]["WebShellAdmission"];
2406
+ "application/json": components["schemas"]["WebShellTurnAdmission"];
1926
2407
  };
1927
2408
  };
1928
2409
  400: components["responses"]["BadRequest"];
@@ -1953,7 +2434,7 @@ export interface operations {
1953
2434
  [name: string]: unknown;
1954
2435
  };
1955
2436
  content: {
1956
- "application/json": components["schemas"]["WebShellAdmission"];
2437
+ "application/json": components["schemas"]["WebShellTurnAdmission"];
1957
2438
  };
1958
2439
  };
1959
2440
  400: components["responses"]["BadRequest"];
@@ -2945,6 +3426,35 @@ export interface operations {
2945
3426
  409: components["responses"]["Conflict"];
2946
3427
  };
2947
3428
  };
3429
+ queryWebShellSessionMcp: {
3430
+ parameters: {
3431
+ query?: never;
3432
+ header?: never;
3433
+ path?: never;
3434
+ cookie?: never;
3435
+ };
3436
+ requestBody: {
3437
+ content: {
3438
+ "application/json": components["schemas"]["WebShellSessionRequest"];
3439
+ };
3440
+ };
3441
+ responses: {
3442
+ /** @description Session MCP catalog snapshot. */
3443
+ 200: {
3444
+ headers: {
3445
+ [name: string]: unknown;
3446
+ };
3447
+ content: {
3448
+ "application/json": components["schemas"]["PublicMcpCatalog"];
3449
+ };
3450
+ };
3451
+ 400: components["responses"]["BadRequest"];
3452
+ 401: components["responses"]["Unauthorized"];
3453
+ 403: components["responses"]["Forbidden"];
3454
+ 404: components["responses"]["NotFound"];
3455
+ 413: components["responses"]["PayloadTooLarge"];
3456
+ };
3457
+ };
2948
3458
  queryWebShellSessionSkills: {
2949
3459
  parameters: {
2950
3460
  query?: never;
@@ -3099,4 +3609,243 @@ export interface operations {
3099
3609
  };
3100
3610
  };
3101
3611
  };
3612
+ webShellCompressContext: {
3613
+ parameters: {
3614
+ query?: never;
3615
+ header?: never;
3616
+ path?: never;
3617
+ cookie?: never;
3618
+ };
3619
+ requestBody: {
3620
+ content: {
3621
+ "application/json": components["schemas"]["WebShellContextCompressionRequest"];
3622
+ };
3623
+ };
3624
+ responses: {
3625
+ /** @description Durable context compression operation. */
3626
+ 202: {
3627
+ headers: {
3628
+ [name: string]: unknown;
3629
+ };
3630
+ content: {
3631
+ "application/json": components["schemas"]["WebShellContextCompressionOperation"];
3632
+ };
3633
+ };
3634
+ 400: components["responses"]["BadRequest"];
3635
+ 401: components["responses"]["Unauthorized"];
3636
+ 403: components["responses"]["Forbidden"];
3637
+ 404: components["responses"]["NotFound"];
3638
+ 409: components["responses"]["Conflict"];
3639
+ 413: components["responses"]["PayloadTooLarge"];
3640
+ };
3641
+ };
3642
+ queryWebShellSessionMcpManagement: {
3643
+ parameters: {
3644
+ query?: never;
3645
+ header?: never;
3646
+ path?: never;
3647
+ cookie?: never;
3648
+ };
3649
+ requestBody: {
3650
+ content: {
3651
+ "application/json": components["schemas"]["WebShellMcpManagementQuery"];
3652
+ };
3653
+ };
3654
+ responses: {
3655
+ /** @description Session-local MCP settings and operation snapshot. Inventory describes published pins rather than live connection health; operation status omits inventory. */
3656
+ 200: {
3657
+ headers: {
3658
+ [name: string]: unknown;
3659
+ };
3660
+ content: {
3661
+ "application/json": components["schemas"]["ManagedMcpManagementSnapshot"];
3662
+ };
3663
+ };
3664
+ 400: components["responses"]["BadRequest"];
3665
+ 401: components["responses"]["Unauthorized"];
3666
+ 403: components["responses"]["Forbidden"];
3667
+ 404: components["responses"]["NotFound"];
3668
+ 409: components["responses"]["Conflict"];
3669
+ 413: components["responses"]["PayloadTooLarge"];
3670
+ /** @description The original MCP Runtime or management operation cannot be confirmed. Retry the same operation identity. */
3671
+ 503: {
3672
+ headers: {
3673
+ [name: string]: unknown;
3674
+ };
3675
+ content: {
3676
+ "application/json": components["schemas"]["ErrorEnvelope"];
3677
+ };
3678
+ };
3679
+ };
3680
+ };
3681
+ submitWebShellSessionMcpManagement: {
3682
+ parameters: {
3683
+ query?: never;
3684
+ header?: never;
3685
+ path?: never;
3686
+ cookie?: never;
3687
+ };
3688
+ requestBody: {
3689
+ content: {
3690
+ "application/json": components["schemas"]["WebShellMcpManagementSubmit"];
3691
+ };
3692
+ };
3693
+ responses: {
3694
+ /** @description Session-local MCP settings and operation snapshot. Inventory describes published pins rather than live connection health; operation status omits inventory. */
3695
+ 200: {
3696
+ headers: {
3697
+ [name: string]: unknown;
3698
+ };
3699
+ content: {
3700
+ "application/json": components["schemas"]["ManagedMcpManagementSnapshot"];
3701
+ };
3702
+ };
3703
+ 400: components["responses"]["BadRequest"];
3704
+ 401: components["responses"]["Unauthorized"];
3705
+ 403: components["responses"]["Forbidden"];
3706
+ 404: components["responses"]["NotFound"];
3707
+ 409: components["responses"]["Conflict"];
3708
+ 413: components["responses"]["PayloadTooLarge"];
3709
+ /** @description The original MCP Runtime or management operation cannot be confirmed. Retry the same operation identity. */
3710
+ 503: {
3711
+ headers: {
3712
+ [name: string]: unknown;
3713
+ };
3714
+ content: {
3715
+ "application/json": components["schemas"]["ErrorEnvelope"];
3716
+ };
3717
+ };
3718
+ };
3719
+ };
3720
+ queryWebShellSessionMcpManagementOperation: {
3721
+ parameters: {
3722
+ query?: never;
3723
+ header?: never;
3724
+ path?: never;
3725
+ cookie?: never;
3726
+ };
3727
+ requestBody: {
3728
+ content: {
3729
+ "application/json": components["schemas"]["WebShellMcpManagementOperationQuery"];
3730
+ };
3731
+ };
3732
+ responses: {
3733
+ /** @description Session-local MCP settings and operation snapshot. Inventory describes published pins rather than live connection health; operation status omits inventory. */
3734
+ 200: {
3735
+ headers: {
3736
+ [name: string]: unknown;
3737
+ };
3738
+ content: {
3739
+ "application/json": components["schemas"]["ManagedMcpManagementSnapshot"];
3740
+ };
3741
+ };
3742
+ 400: components["responses"]["BadRequest"];
3743
+ 401: components["responses"]["Unauthorized"];
3744
+ 403: components["responses"]["Forbidden"];
3745
+ 404: components["responses"]["NotFound"];
3746
+ 409: components["responses"]["Conflict"];
3747
+ 413: components["responses"]["PayloadTooLarge"];
3748
+ /** @description The original MCP Runtime or management operation cannot be confirmed. Retry the same operation identity. */
3749
+ 503: {
3750
+ headers: {
3751
+ [name: string]: unknown;
3752
+ };
3753
+ content: {
3754
+ "application/json": components["schemas"]["ErrorEnvelope"];
3755
+ };
3756
+ };
3757
+ };
3758
+ };
3759
+ queryWebShellSessionRecovery: {
3760
+ parameters: {
3761
+ query?: never;
3762
+ header?: never;
3763
+ path?: never;
3764
+ cookie?: never;
3765
+ };
3766
+ requestBody: {
3767
+ content: {
3768
+ "application/json": components["schemas"]["WebShellSessionRequest"];
3769
+ };
3770
+ };
3771
+ responses: {
3772
+ /** @description Current recovery evidence. */
3773
+ 200: {
3774
+ headers: {
3775
+ [name: string]: unknown;
3776
+ };
3777
+ content: {
3778
+ "application/json": components["schemas"]["SessionRecovery"];
3779
+ };
3780
+ };
3781
+ 400: components["responses"]["BadRequest"];
3782
+ 401: components["responses"]["Unauthorized"];
3783
+ 403: components["responses"]["Forbidden"];
3784
+ 404: components["responses"]["NotFound"];
3785
+ 409: components["responses"]["Conflict"];
3786
+ 413: components["responses"]["PayloadTooLarge"];
3787
+ 503: components["responses"]["Unavailable"];
3788
+ };
3789
+ };
3790
+ recheckWebShellSessionRecovery: {
3791
+ parameters: {
3792
+ query?: never;
3793
+ header?: never;
3794
+ path?: never;
3795
+ cookie?: never;
3796
+ };
3797
+ requestBody: {
3798
+ content: {
3799
+ "application/json": components["schemas"]["WebShellRecoveryRecheckRequest"];
3800
+ };
3801
+ };
3802
+ responses: {
3803
+ /** @description Current recovery evidence; recheck admission is not settlement. */
3804
+ 202: {
3805
+ headers: {
3806
+ [name: string]: unknown;
3807
+ };
3808
+ content: {
3809
+ "application/json": components["schemas"]["SessionRecovery"];
3810
+ };
3811
+ };
3812
+ 400: components["responses"]["BadRequest"];
3813
+ 401: components["responses"]["Unauthorized"];
3814
+ 403: components["responses"]["Forbidden"];
3815
+ 404: components["responses"]["NotFound"];
3816
+ 409: components["responses"]["Conflict"];
3817
+ 413: components["responses"]["PayloadTooLarge"];
3818
+ 503: components["responses"]["Unavailable"];
3819
+ };
3820
+ };
3821
+ webShellExportSession: {
3822
+ parameters: {
3823
+ query?: never;
3824
+ header?: never;
3825
+ path?: never;
3826
+ cookie?: never;
3827
+ };
3828
+ requestBody: {
3829
+ content: {
3830
+ "application/json": components["schemas"]["WebShellExportRequest"];
3831
+ };
3832
+ };
3833
+ responses: {
3834
+ /** @description Immutable public item snapshot page. */
3835
+ 200: {
3836
+ headers: {
3837
+ [name: string]: unknown;
3838
+ };
3839
+ content: {
3840
+ "application/json": components["schemas"]["WebShellExportPage"];
3841
+ };
3842
+ };
3843
+ 400: components["responses"]["BadRequest"];
3844
+ 401: components["responses"]["Unauthorized"];
3845
+ 403: components["responses"]["Forbidden"];
3846
+ 404: components["responses"]["NotFound"];
3847
+ 409: components["responses"]["CursorExpired"];
3848
+ 413: components["responses"]["PayloadTooLarge"];
3849
+ };
3850
+ };
3102
3851
  }