@qwen-code/web-shell 0.28.1-preview.0 → 0.28.3-nightly.20261121.56ef346859

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 (138) hide show
  1. package/NOTICES.txt +464 -0
  2. package/README.md +4 -3
  3. package/dist/{PierreFilePreview-Dotc6rOk.js → PierreFilePreview-BirhX9A8.js} +1 -1
  4. package/dist/{SpreadsheetPreview-B9SWjSd8.js → SpreadsheetPreview-YvYBq0r3.js} +2 -2
  5. package/dist/{WorkspaceFileBrowser-Ckvcjlmo.js → WorkspaceFileBrowser-CuqdtAcy.js} +189 -189
  6. package/dist/WorkspacePdfRangePreview-D2qKhlQp.js +22384 -0
  7. package/dist/{agents-route-B5k1PKCM.js → agents-route-DGqnucS8.js} +2 -2
  8. package/dist/daemon-react-sdk.js +1 -1
  9. package/dist/i18n-ru-CQurqwP6.js +4399 -0
  10. package/dist/i18n-zh-cn-C3owX7KJ.js +4457 -0
  11. package/dist/i18n-zh-tw-meIHyJiH.js +5548 -0
  12. package/dist/{index-Plc_8yWQ.js → index-CVklLnTX.js} +71066 -75714
  13. package/dist/index.js +3 -3
  14. package/dist/sw.js +1 -1
  15. package/dist/terminal-runtime-BQaN1NCS.js +7881 -0
  16. package/dist/transcript.js +15898 -15572
  17. package/dist/types/App.d.ts +6 -2
  18. package/dist/types/adapters/messageTypes.d.ts +11 -1
  19. package/dist/types/adapters/transcriptAdapter.d.ts +8 -0
  20. package/dist/types/completions/sendCompletion.d.ts +28 -0
  21. package/dist/types/completions/slashCompletion.d.ts +8 -1
  22. package/dist/types/components/ChatContextHeader.d.ts +8 -2
  23. package/dist/types/components/ChatEditor.d.ts +3 -1
  24. package/dist/types/components/ChatPane.d.ts +3 -1
  25. package/dist/types/components/ComposerStatusStack.d.ts +8 -0
  26. package/dist/types/components/ComposerTaskChips.d.ts +3 -2
  27. package/dist/types/components/GoalStatusStrip.d.ts +9 -0
  28. package/dist/types/components/RestartRecoveryPanel.d.ts +22 -0
  29. package/dist/types/components/SessionGoalMarker.d.ts +24 -0
  30. package/dist/types/components/UnavailableModelTooltip.d.ts +4 -2
  31. package/dist/types/components/WebShellTranscript.d.ts +3 -1
  32. package/dist/types/components/artifacts/ArtifactPanel.d.ts +26 -2
  33. package/dist/types/components/artifacts/ArtifactsListPanel.d.ts +13 -0
  34. package/dist/types/components/artifacts/SessionPanel.d.ts +19 -0
  35. package/dist/types/components/artifacts/WorkspacePdfRangePreview.d.ts +10 -0
  36. package/dist/types/components/artifacts/artifactUtils.d.ts +9 -5
  37. package/dist/types/components/artifacts/change-overview.d.ts +21 -14
  38. package/dist/types/components/channels/channel-platform.d.ts +1 -1
  39. package/dist/types/components/managed/ManagedArtifactLibraryPage.d.ts +15 -0
  40. package/dist/types/components/managed/ManagedSurfaceDecisionsDialog.d.ts +1 -0
  41. package/dist/types/components/managed/ManagedTerminalPanel.d.ts +0 -1
  42. package/dist/types/components/managed/ManagedWorkspaceNavigation.d.ts +2 -1
  43. package/dist/types/components/managed/WorkspaceBindingCreator.d.ts +14 -2
  44. package/dist/types/components/managed/generated/managed-agent-api.d.ts +100 -6
  45. package/dist/types/components/managed/java-managed-agent-client.d.ts +21 -0
  46. package/dist/types/components/managed/managed-agent-provider.d.ts +4 -1
  47. package/dist/types/components/managed/managed-artifact-library-messages.d.ts +8 -0
  48. package/dist/types/components/managed/managed-artifact-library-messages.transcript-stub.d.ts +8 -0
  49. package/dist/types/components/managed/managed-diagnostics-messages.d.ts +167 -167
  50. package/dist/types/components/managed/managed-extension-install.d.ts +3 -0
  51. package/dist/types/components/managed/managed-recovery-messages.d.ts +3 -1
  52. package/dist/types/components/managed/managed-surface-decisions.d.ts +10 -0
  53. package/dist/types/components/managed/managed-tool-result-types.d.ts +6 -0
  54. package/dist/types/components/managed/use-managed-recovery.d.ts +1 -2
  55. package/dist/types/components/messages/AssistantMessage.d.ts +9 -2
  56. package/dist/types/components/messages/AssistantMessageRow.d.ts +13 -0
  57. package/dist/types/components/messages/AssistantMessageRow.transcript-stub.d.ts +6 -0
  58. package/dist/types/components/messages/Markdown.d.ts +1 -0
  59. package/dist/types/components/messages/MemoryMessage.d.ts +1 -2
  60. package/dist/types/components/messages/ModAssistantMessage.d.ts +22 -0
  61. package/dist/types/components/messages/ThinkingBody.d.ts +20 -0
  62. package/dist/types/components/messages/ThinkingBody.transcript-stub.d.ts +8 -0
  63. package/dist/types/components/messages/ToolGroup.d.ts +2 -6
  64. package/dist/types/components/messages/UserMessage.d.ts +5 -1
  65. package/dist/types/components/messages/WorkflowExecutionView.d.ts +4 -0
  66. package/dist/types/components/messages/mod-rows.d.ts +53 -0
  67. package/dist/types/components/panels/EnvironmentPanel.d.ts +1 -7
  68. package/dist/types/components/sidebar/WebShellSidebar.d.ts +1 -1
  69. package/dist/types/components/streaming-tail.d.ts +8 -0
  70. package/dist/types/components/streaming-tail.transcript-stub.d.ts +6 -0
  71. package/dist/types/components/terminal/TerminalPanel.d.ts +0 -1
  72. package/dist/types/components/terminal/terminal-runtime.d.ts +8 -0
  73. package/dist/types/components/terminal/use-terminal-runtime.d.ts +6 -0
  74. package/dist/types/components/ui/dialog.d.ts +1 -0
  75. package/dist/types/components/ui/drawer.d.ts +1 -1
  76. package/dist/types/constants/approvalModes.d.ts +7 -0
  77. package/dist/types/constants/localCommands.d.ts +3 -1
  78. package/dist/types/constants/sessions.d.ts +1 -0
  79. package/dist/types/customization.d.ts +16 -3
  80. package/dist/types/daemon/chat-controller.d.ts +67 -0
  81. package/dist/types/daemon/chat-intents.d.ts +88 -0
  82. package/dist/types/daemon/permission-signals.d.ts +35 -0
  83. package/dist/types/daemon/session/types.d.ts +30 -0
  84. package/dist/types/daemon/useDaemonChatController.d.ts +15 -0
  85. package/dist/types/daemon/workspace/hooks/useDaemonAgents.d.ts +5 -0
  86. package/dist/types/daemon/workspace/hooks/useDaemonAuth.d.ts +5 -0
  87. package/dist/types/daemon/workspace/hooks/useDaemonChannelEvents.d.ts +5 -0
  88. package/dist/types/daemon/workspace/hooks/useDaemonDiagnostics.d.ts +14 -2
  89. package/dist/types/daemon/workspace/hooks/useDaemonMcp.d.ts +5 -0
  90. package/dist/types/daemon/workspace/hooks/useDaemonMemory.d.ts +5 -0
  91. package/dist/types/daemon/workspace/hooks/useDaemonProviders.d.ts +5 -0
  92. package/dist/types/daemon/workspace/hooks/useDaemonResource.d.ts +7 -1
  93. package/dist/types/daemon/workspace/hooks/useDaemonSessions.d.ts +6 -0
  94. package/dist/types/daemon/workspace/hooks/useDaemonSettings.d.ts +5 -0
  95. package/dist/types/daemon/workspace/hooks/useDaemonStatusReport.d.ts +5 -0
  96. package/dist/types/daemon/workspace/hooks/useDaemonTools.d.ts +5 -0
  97. package/dist/types/daemon/workspace/hooks/useDaemonUsageDashboard.d.ts +5 -0
  98. package/dist/types/generated-ui/instance-store.d.ts +4 -1
  99. package/dist/types/generated-ui/view-state.d.ts +51 -0
  100. package/dist/types/hooks/useAtMentionSources.d.ts +1 -1
  101. package/dist/types/hooks/useComposerCore.d.ts +4 -2
  102. package/dist/types/hooks/useComposerWorkspace.d.ts +7 -0
  103. package/dist/types/hooks/useIsTouchComposer.d.ts +1 -0
  104. package/dist/types/hooks/useModelConfigurations.d.ts +7 -0
  105. package/dist/types/hooks/useModelRefresh.d.ts +1 -0
  106. package/dist/types/hooks/useScopedSessions.d.ts +1 -0
  107. package/dist/types/hooks/useSessionArtifacts.d.ts +7 -0
  108. package/dist/types/hooks/useSubSessionTasks.d.ts +8 -0
  109. package/dist/types/i18n-catalogs.d.ts +3 -0
  110. package/dist/types/i18n-catalogs.eager.d.ts +3 -0
  111. package/dist/types/i18n-language.d.ts +2 -0
  112. package/dist/types/i18n-ru.d.ts +7 -0
  113. package/dist/types/i18n-zh-cn.d.ts +7 -0
  114. package/dist/types/i18n-zh-tw.d.ts +8 -0
  115. package/dist/types/i18n-zh-tw.transcript-stub.d.ts +6 -0
  116. package/dist/types/i18n.d.ts +7 -2
  117. package/dist/types/index.d.ts +1 -1
  118. package/dist/types/mcpAppHostContext.d.ts +4 -0
  119. package/dist/types/session-catalog/session-catalog-hooks.d.ts +1 -0
  120. package/dist/types/session-catalog/session-live-work.d.ts +39 -0
  121. package/dist/types/settings.d.ts +3 -0
  122. package/dist/types/subagentDetailsContext.d.ts +9 -1
  123. package/dist/types/trajectory/buildTimeline.d.ts +1 -1
  124. package/dist/types/trajectory/types.d.ts +2 -0
  125. package/dist/types/utils/askUserPermission.d.ts +1 -1
  126. package/dist/types/utils/composerTasks.d.ts +6 -4
  127. package/dist/types/utils/imageIngestion.d.ts +1 -0
  128. package/dist/types/utils/planMode.d.ts +2 -2
  129. package/dist/types/utils/sendCommand.d.ts +31 -0
  130. package/dist/types/utils/sessionPreparation.d.ts +16 -14
  131. package/dist/types/utils/visualViewportInset.d.ts +13 -0
  132. package/dist/types/vision-timeout-command.d.ts +17 -0
  133. package/dist/types/voice/use-voice-workspace-settings.d.ts +1 -0
  134. package/dist/types/voice/voice-workspace-target.d.ts +1 -0
  135. package/dist/useDaemonMidTurnInjected-BQiO1GP_.js +23555 -0
  136. package/package.json +4 -1
  137. package/dist/types/components/managed/ManagedRecoveryPanel.d.ts +0 -9
  138. package/dist/useDaemonMidTurnInjected-D4Woo-Hh.js +0 -31578
@@ -414,6 +414,26 @@ export interface paths {
414
414
  patch?: never;
415
415
  trace?: never;
416
416
  };
417
+ "/api/agent/web-shell/v1/workspaces/artifacts/query": {
418
+ parameters: {
419
+ query?: never;
420
+ header?: never;
421
+ path?: never;
422
+ cookie?: never;
423
+ };
424
+ get?: never;
425
+ put?: never;
426
+ /**
427
+ * List a Workspace's artifacts across its Sessions
428
+ * @description Authorized artifact metadata page across the Sessions bound to the Workspace, newest projection first by the global artifact row id. Admission precedes validation: a trusted actor (401 actor_required without one) holding a READER grant on the Workspace (404 workspace_not_found below it, including unknown Workspaces); deployment artifact reads off answer 404 artifact_not_found. Rows exclude CONTROL, DELETED and DELETING Sessions, other actors' owner-only Sessions, legacy unbound Sessions, and publications whose source Workspace differs from the Session's current binding; archived Sessions stay visible. The opaque cursor binds tenant, actor and Workspace and freezes the first page's row-id watermark: rows projected later do not shift or duplicate later pages. Unavailable artifacts remain listed with availability=unavailable and can_read_content=false; a lost Workspace grant re-checked on unavailable rows answers 404 workspace_not_found. Byte reads use the unchanged Session-scoped content route. No Session load, unarchive, or primary fallback.
429
+ */
430
+ post: operations["queryWebShellWorkspaceArtifacts"];
431
+ delete?: never;
432
+ options?: never;
433
+ head?: never;
434
+ patch?: never;
435
+ trace?: never;
436
+ };
417
437
  "/api/agent/web-shell/v1/sessions/unarchive": {
418
438
  parameters: {
419
439
  query?: never;
@@ -644,7 +664,7 @@ export interface paths {
644
664
  };
645
665
  get?: never;
646
666
  put?: never;
647
- /** @description Read only names and descriptions from the Session's pinned static Skill catalog. Requires a trusted actor and Workspace read access. Never resolves the latest AgentDefinition or discovers host Skills. */
667
+ /** @description Returns names and descriptions of user-invocable Skills for a readable Session. Includes its pinned static Skills and standalone Skills from its initial package selection until the first configuration becomes active. Thereafter the active configuration supplies the package Skills. Requires a trusted actor and Workspace read access. */
648
668
  post: operations["queryWebShellSessionSkills"];
649
669
  delete?: never;
650
670
  options?: never;
@@ -802,7 +822,7 @@ export interface paths {
802
822
  };
803
823
  get?: never;
804
824
  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. */
825
+ /** @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. A cleanup recheck that no Hosted Harness can serve returns 503 recovery_runtime_unavailable; a typed terminal decline returns 409 hosted_turn_recovery_declined, and retrying cannot change a decline. 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
826
  post: operations["recheckWebShellSessionRecovery"];
807
827
  delete?: never;
808
828
  options?: never;
@@ -1742,9 +1762,9 @@ export interface components {
1742
1762
  approvalMode?: "default" | "auto-edit" | "yolo";
1743
1763
  /** @description Persisted public Plan overlay, independent of execution permission. Omission on a change preserves the selected state. */
1744
1764
  planMode?: boolean;
1745
- /** @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; a caller loop whose body is the verbatim bundled import is superseded by the definition's entry or the server variant rather than rejected; a user-authored caller loop that collides with a definition-authored loop is still rejected. On a creator-bearing tool profile the server also contributes a loop skill variant selected by the Session profile, replacing only the bundled caller import (carrying over its invocation flags) and added even when this array is empty; a user-authored caller loop or a definition-authored loop skill is preserved and suppresses the variant, and on a creator-less profile only the bundled caller import is dropped. Requires session-skills/2; persisted immutably and included in creation idempotency. */
1765
+ /** @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; a caller loop whose body is the verbatim bundled import is superseded by the definition's entry or the server variant rather than rejected; a user-authored caller loop that collides with a definition-authored loop is still rejected. On a creator-bearing tool profile the server also contributes a loop skill variant selected by the Session profile, replacing only the bundled caller import (carrying over its invocation flags) when the combined static and package Skill catalog has room, even if this array is empty; a user-authored caller loop or a definition-authored loop skill is preserved and suppresses the variant, and on a creator-less profile only the bundled caller import is dropped. Requires session-skills/2; persisted immutably and included in creation idempotency. */
1746
1766
  skills?: components["schemas"]["SessionCreationSkill"][];
1747
- /** @description Optional immutable initial extension selection. Omission keeps the legacy configuration path; an explicit empty array starts the unified configuration format. Included in creation idempotency and applied before the first model request. Requires session-extension-packages/1 and an extension-capable original Runtime. */
1767
+ /** @description Optional immutable initial extension selection for a Workspace Session. If omitted and the caller supplies no static Skills, MAS selects defaults from the configured Skill catalog providers. With no defaults, omission preserves the existing configuration. An explicit array selects exactly those pins and disables provider defaults. An empty array starts the unified configuration with no initial packages. Explicit selection is included in creation idempotency. Selected packages are applied before the first model request and require session-extension-packages/1 and an extension-capable original Runtime. */
1748
1768
  extensionPins?: components["schemas"]["ManagedExtensionPackagePin"][];
1749
1769
  /** @description Opt into a main Session worktree on supported LOCAL storage. Omission uses the current directory; an empty object freezes HEAD at first admission. Requires an explicit Workspace. Preparation is durable and gates Runtime execution; replay preserves the original commit, directory and branch. */
1750
1770
  worktree?: {
@@ -1898,7 +1918,7 @@ export interface components {
1898
1918
  modelChange?: boolean;
1899
1919
  /** @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, hosted-workspace-files/3, hosted-workspace-files/4, hosted-workspace-shell/1, hosted-workspace-shell/3 or hosted-workspace-shell/4 also require agent-definition-approval-selection/1. Idle-state admission is checked separately. Missing means false. */
1900
1920
  approvalModeChange?: boolean;
1901
- /** @description Optional deployment capability; missing means false. */
1921
+ /** @description True when the Harness supports input-attachments/1 and the visible Session admits attachment input: a Workspace-bound Session requires the fresh Workspace Turn admission (files opt-in, current OPERATOR access and the original binding's frozen execution facts), while an unbound Session requires ACTIVE status and must not be a public child. An active Turn does not itself make this false; the composer separately disables sending while a Turn runs. Missing means false. */
1902
1922
  inputAttachments?: boolean;
1903
1923
  /**
1904
1924
  * @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.
@@ -2089,6 +2109,8 @@ export interface components {
2089
2109
  workspaceDirectorySelection?: boolean;
2090
2110
  /** @description Trusted single-user local deployment can browse and import existing host directories without a pre-registered Workspace. Missing or false means unsupported. */
2091
2111
  localDirectoryImport?: boolean;
2112
+ /** @description Supports the workspace-wide artifact query across bound Sessions. Missing or false means unsupported; current actor and Workspace read-grant checks still apply. */
2113
+ workspaceArtifactLibrary?: boolean;
2092
2114
  };
2093
2115
  /** @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. */
2094
2116
  defaultWorkspace: (components["schemas"]["WebShellWorkspace"] & {
@@ -2474,6 +2496,12 @@ export interface components {
2474
2496
  /** @default 20 */
2475
2497
  limit?: number;
2476
2498
  };
2499
+ WebShellWorkspaceArtifactQueryRequest: {
2500
+ workspaceId: string;
2501
+ cursor?: string | null;
2502
+ /** @default 20 */
2503
+ limit?: number;
2504
+ };
2477
2505
  /** @description Optional preview for requested native read_file, write_file, edit or run_shell_command approvals. Missing or invalid input, and internal MCP inputs, omit the preview. No general secret redaction is performed; visibility follows Session read permissions. Deploy the version 2 Java reader before a Harness producer starts writing version 2 options. */
2478
2506
  WebShellActionInputPreview: {
2479
2507
  /** @description Exact UTF-8 prefix of payloadJson ({toolName,input}). Ordinary tools retain the 8192-byte preview. exit_plan_mode includes its complete input within the 64 KiB resource ceiling so a plan can be reviewed after refresh. Truncated ordinary previews may not be valid JSON. */
@@ -3102,6 +3130,9 @@ export interface components {
3102
3130
  revision: number;
3103
3131
  extensions: components["schemas"]["ManagedExtensionPackagePin"][];
3104
3132
  requestedExtensions: components["schemas"]["ManagedExtensionPackagePin"][];
3133
+ degradedComponents?: {
3134
+ [key: string]: ("mcp" | "hooks")[];
3135
+ };
3105
3136
  operation?: components["schemas"]["ManagedExtensionApplyOperation"];
3106
3137
  selfService?: {
3107
3138
  supported: boolean;
@@ -4952,6 +4983,69 @@ export interface operations {
4952
4983
  };
4953
4984
  };
4954
4985
  };
4986
+ queryWebShellWorkspaceArtifacts: {
4987
+ parameters: {
4988
+ query?: never;
4989
+ header?: never;
4990
+ path?: never;
4991
+ cookie?: never;
4992
+ };
4993
+ requestBody: {
4994
+ content: {
4995
+ "application/json": components["schemas"]["WebShellWorkspaceArtifactQueryRequest"];
4996
+ };
4997
+ };
4998
+ responses: {
4999
+ /** @description Authorized workspace artifact metadata page. */
5000
+ 200: {
5001
+ headers: {
5002
+ "Cache-Control"?: "no-store";
5003
+ [name: string]: unknown;
5004
+ };
5005
+ content: {
5006
+ "application/json": components["schemas"]["WebShellArtifactPage"];
5007
+ };
5008
+ };
5009
+ /** @description Invalid request. */
5010
+ 400: {
5011
+ headers: {
5012
+ [name: string]: unknown;
5013
+ };
5014
+ content: {
5015
+ "application/json": components["schemas"]["ErrorEnvelope"];
5016
+ };
5017
+ };
5018
+ /** @description Trusted actor required. */
5019
+ 401: {
5020
+ headers: {
5021
+ [name: string]: unknown;
5022
+ };
5023
+ content: {
5024
+ "application/json": components["schemas"]["ErrorEnvelope"];
5025
+ };
5026
+ };
5027
+ 403: components["responses"]["Forbidden"];
5028
+ /** @description Unknown or unreadable Workspace, or artifact reads disabled. */
5029
+ 404: {
5030
+ headers: {
5031
+ [name: string]: unknown;
5032
+ };
5033
+ content: {
5034
+ "application/json": components["schemas"]["ErrorEnvelope"];
5035
+ };
5036
+ };
5037
+ 413: components["responses"]["PayloadTooLarge"];
5038
+ /** @description Resource temporarily unavailable. */
5039
+ 503: {
5040
+ headers: {
5041
+ [name: string]: unknown;
5042
+ };
5043
+ content: {
5044
+ "application/json": components["schemas"]["ErrorEnvelope"];
5045
+ };
5046
+ };
5047
+ };
5048
+ };
4955
5049
  unarchiveWebShellSession: {
4956
5050
  parameters: {
4957
5051
  query?: never;
@@ -5364,7 +5458,7 @@ export interface operations {
5364
5458
  };
5365
5459
  };
5366
5460
  responses: {
5367
- /** @description Session static Skill metadata. */
5461
+ /** @description User-visible Session Skill metadata. */
5368
5462
  200: {
5369
5463
  headers: {
5370
5464
  [name: string]: unknown;
@@ -408,6 +408,9 @@ export declare class JavaManagedAgentClient {
408
408
  revision: number;
409
409
  extensions: components["schemas"]["ManagedExtensionPackagePin"][];
410
410
  requestedExtensions: components["schemas"]["ManagedExtensionPackagePin"][];
411
+ degradedComponents?: {
412
+ [key: string]: ("mcp" | "hooks")[];
413
+ };
411
414
  operation?: components["schemas"]["ManagedExtensionApplyOperation"];
412
415
  selfService?: {
413
416
  supported: boolean;
@@ -462,6 +465,9 @@ export declare class JavaManagedAgentClient {
462
465
  revision: number;
463
466
  extensions: components["schemas"]["ManagedExtensionPackagePin"][];
464
467
  requestedExtensions: components["schemas"]["ManagedExtensionPackagePin"][];
468
+ degradedComponents?: {
469
+ [key: string]: ("mcp" | "hooks")[];
470
+ };
465
471
  operation?: components["schemas"]["ManagedExtensionApplyOperation"];
466
472
  selfService?: {
467
473
  supported: boolean;
@@ -475,6 +481,9 @@ export declare class JavaManagedAgentClient {
475
481
  revision: number;
476
482
  extensions: components["schemas"]["ManagedExtensionPackagePin"][];
477
483
  requestedExtensions: components["schemas"]["ManagedExtensionPackagePin"][];
484
+ degradedComponents?: {
485
+ [key: string]: ("mcp" | "hooks")[];
486
+ };
478
487
  operation?: components["schemas"]["ManagedExtensionApplyOperation"];
479
488
  selfService?: {
480
489
  supported: boolean;
@@ -488,6 +497,9 @@ export declare class JavaManagedAgentClient {
488
497
  revision: number;
489
498
  extensions: components["schemas"]["ManagedExtensionPackagePin"][];
490
499
  requestedExtensions: components["schemas"]["ManagedExtensionPackagePin"][];
500
+ degradedComponents?: {
501
+ [key: string]: ("mcp" | "hooks")[];
502
+ };
491
503
  operation?: components["schemas"]["ManagedExtensionApplyOperation"];
492
504
  selfService?: {
493
505
  supported: boolean;
@@ -551,6 +563,15 @@ export declare class JavaManagedAgentClient {
551
563
  nextCursor: string | null;
552
564
  hasMore: boolean;
553
565
  }>;
566
+ listWorkspaceArtifacts(request: {
567
+ workspaceId: string;
568
+ cursor?: string;
569
+ limit?: number;
570
+ }, signal?: AbortSignal): Promise<{
571
+ data: components["schemas"]["ArtifactResponse"][];
572
+ nextCursor: string | null;
573
+ hasMore: boolean;
574
+ }>;
554
575
  getArtifact(sessionId: string, artifactId: string, signal?: AbortSignal): Promise<{
555
576
  artifact: components["schemas"]["PublicArtifact"];
556
577
  access: components["schemas"]["ArtifactAccess"];
@@ -1,7 +1,7 @@
1
1
  import type { ManagedExtensionManifest, ManagedExtensionPin, ManagedExtensionCatalog, ManagedExtensionPackageOperation, ManagedExtensionSettings, ManagedExtensionSnapshot, ManagedExtensionSelection, ManagedExtensionImportMetadata, ManagedExtensionInspection, ManagedRuntimeSkillCandidates, ManagedRuntimeSkillSnapshot, ManagedRuntimeSkillImport, ManagedRuntimeSkillOwner } from './managed-extension-types';
2
2
  import type { components } from './generated/managed-agent-api';
3
3
  import type { ManagedMcpManagementCommand, ManagedMcpManagementSnapshot } from './managed-mcp-management-types';
4
- import type { ManagedToolResultReader } from './managed-tool-result-types';
4
+ import type { ManagedToolResultReader, ManagedWorkspaceArtifactReader } from './managed-tool-result-types';
5
5
  export type ManagedAgentSessionPhase = 'created' | 'admitted' | 'runtime_starting' | 'agent_running' | 'waiting_runtime' | 'tool_running' | 'cancelling' | 'completed' | 'failed' | 'cancelled';
6
6
  export declare function isManagedSessionRunning(phase: ManagedAgentSessionPhase): boolean;
7
7
  export type ManagedAgentRuntimeState = 'unknown' | 'starting' | 'ready' | 'failed';
@@ -351,6 +351,8 @@ export interface ManagedAgentProvider {
351
351
  respond(action: ManagedAgentPendingAction, response: ManagedAgentActionResponse, options: ManagedAgentCommandOptions): Promise<void>;
352
352
  };
353
353
  readonly toolResults?: ManagedToolResultReader;
354
+ /** Present when the provider can list a Workspace's artifacts across Sessions. */
355
+ readonly workspaceArtifacts?: ManagedWorkspaceArtifactReader;
354
356
  readonly terminal?: ManagedAgentTerminalProvider;
355
357
  readonly toolDetails?: {
356
358
  get(sessionId: string, itemId: string, options: ManagedAgentRequestOptions): Promise<components['schemas']['WebShellToolDetails']>;
@@ -417,6 +419,7 @@ export interface ManagedAgentProvider {
417
419
  canSelectDirectory?: boolean;
418
420
  canImportLocalDirectory?: boolean;
419
421
  supportsApprovalModeSelection?: boolean;
422
+ artifactLibrary?: boolean;
420
423
  }>;
421
424
  get(workspaceId: string, options: ManagedAgentRequestOptions): Promise<ManagedAgentWorkspace>;
422
425
  createWorkspace?(request: {
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2026 Qwen Team
4
+ * SPDX-License-Identifier: Apache-2.0
5
+ */
6
+ export declare const ARTIFACT_LIBRARY_MESSAGES_EN: Record<string, string>;
7
+ export declare const ARTIFACT_LIBRARY_MESSAGES_ZH: Record<string, string>;
8
+ export declare const ARTIFACT_LIBRARY_MESSAGES_RU: Record<string, string>;
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2026 Qwen Team
4
+ * SPDX-License-Identifier: Apache-2.0
5
+ */
6
+ export declare const ARTIFACT_LIBRARY_MESSAGES_EN: {};
7
+ export declare const ARTIFACT_LIBRARY_MESSAGES_ZH: {};
8
+ export declare const ARTIFACT_LIBRARY_MESSAGES_RU: {};