@qwen-code/web-shell 0.27.3 → 0.27.4

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 (148) hide show
  1. package/NOTICES.txt +2 -2
  2. package/dist/{PierreFilePreview-BKOzAUEu.js → PierreFilePreview-BMd8Nqyr.js} +1 -1
  3. package/dist/{SpreadsheetPreview-EW2DID9C.js → SpreadsheetPreview-MnZX4z-A.js} +2 -2
  4. package/dist/{WorkspaceFileBrowser-hawy03a1.js → WorkspaceFileBrowser-CvJS8MdL.js} +2 -2
  5. package/dist/{abnfDiagram-VCTEODGH-DXK3iWaN.js → abnfDiagram-VCTEODGH-Bv0PY8t9.js} +3 -3
  6. package/dist/{abnfDiagram-VCTEODGH-CQWhk3bg.js → abnfDiagram-VCTEODGH-DtCQRLBn.js} +3 -3
  7. package/dist/{agents-route-CGpa1jTD.js → agents-route-BYqfB9LM.js} +2 -2
  8. package/dist/{arc-DkZAOzaU.js → arc-C9Fz3b3w.js} +1 -1
  9. package/dist/{arc-BcP3aO-G.js → arc-QRx-tRi9.js} +1 -1
  10. package/dist/{architectureDiagram-5GKGNRK7-DusU8ybk.js → architectureDiagram-5GKGNRK7-Cq2r75mE.js} +2 -2
  11. package/dist/{architectureDiagram-5GKGNRK7-DhcVEkLQ.js → architectureDiagram-5GKGNRK7-UM6LRJXg.js} +2 -2
  12. package/dist/{blockDiagram-NRAW4CY4-BMOuo5wl.js → blockDiagram-NRAW4CY4-8jzOft5T.js} +3 -3
  13. package/dist/{blockDiagram-NRAW4CY4-YciA8-8I.js → blockDiagram-NRAW4CY4-Cg0XJgiI.js} +3 -3
  14. package/dist/{c4Diagram-UCG6FXSJ-DNpq-cdF.js → c4Diagram-UCG6FXSJ-B13GwaU1.js} +2 -2
  15. package/dist/{c4Diagram-UCG6FXSJ-BJxpHO4v.js → c4Diagram-UCG6FXSJ-OLlWXJbv.js} +2 -2
  16. package/dist/{channel-CfhQTpjX.js → channel-DZupPnpU.js} +1 -1
  17. package/dist/{channel-QZAYPfF8.js → channel-OaMC7mHn.js} +1 -1
  18. package/dist/{chunk-2Q5K7J3B-EGbMOnEe.js → chunk-2Q5K7J3B-CtAmr6l0.js} +1 -1
  19. package/dist/{chunk-2Q5K7J3B-mtpkChaF.js → chunk-2Q5K7J3B-VYh2Z2EU.js} +1 -1
  20. package/dist/{chunk-5VM5RSS4-CP4Q2W8n.js → chunk-5VM5RSS4-CS08-akS.js} +1 -1
  21. package/dist/{chunk-5VM5RSS4-CucJ3wyB.js → chunk-5VM5RSS4-D6zF9hVH.js} +1 -1
  22. package/dist/{chunk-F27PBJKO-CS9kzvAx.js → chunk-F27PBJKO-CnRnHE8-.js} +1 -1
  23. package/dist/{chunk-F27PBJKO-Cfw_29T-.js → chunk-F27PBJKO-D70ioBbq.js} +1 -1
  24. package/dist/{chunk-G27WJ6UU-BZzmQ8FW.js → chunk-G27WJ6UU-CfPfcj_Q.js} +4 -4
  25. package/dist/{chunk-G27WJ6UU-DdeEiwmL.js → chunk-G27WJ6UU-oq9aNO3N.js} +4 -4
  26. package/dist/{chunk-JWPE2WC7-BL_hjRLf.js → chunk-JWPE2WC7-C8sFa4JA.js} +1 -1
  27. package/dist/{chunk-JWPE2WC7-C03UDQBx.js → chunk-JWPE2WC7-DWG2vaxW.js} +1 -1
  28. package/dist/{chunk-LCL6LL3I-CR-IGGIM.js → chunk-LCL6LL3I-BO1WHi1A.js} +5 -5
  29. package/dist/{chunk-LCL6LL3I-CNn3XyuL.js → chunk-LCL6LL3I-CeUEAKcc.js} +5 -5
  30. package/dist/{chunk-POPQ4Y6H-BVQbxVHz.js → chunk-POPQ4Y6H-0k1uCy9w.js} +1 -1
  31. package/dist/{chunk-POPQ4Y6H-UJK1fYGP.js → chunk-POPQ4Y6H-4u40N2Gl.js} +1 -1
  32. package/dist/{chunk-SVP7TREG-BUmyTmov.js → chunk-SVP7TREG-34lWdHk_.js} +1 -1
  33. package/dist/{chunk-SVP7TREG-B-E-xFG8.js → chunk-SVP7TREG-DDs3xrn_.js} +1 -1
  34. package/dist/{chunk-XXDRQBXY-BDcf4DQz.js → chunk-XXDRQBXY-CUHjo6qB.js} +1 -1
  35. package/dist/{chunk-XXDRQBXY-BHAq0mtL.js → chunk-XXDRQBXY-Ug95Mv8M.js} +1 -1
  36. package/dist/{classDiagram-DTDB5LWJ-CVA3J-EH.js → classDiagram-DTDB5LWJ-CtVOkCOx.js} +2 -2
  37. package/dist/{classDiagram-DTDB5LWJ-Dh121Rlt.js → classDiagram-DTDB5LWJ-DrnxKzn3.js} +2 -2
  38. package/dist/{classDiagram-v2-JRS7N3AN-CVA3J-EH.js → classDiagram-v2-JRS7N3AN-CtVOkCOx.js} +2 -2
  39. package/dist/{classDiagram-v2-JRS7N3AN-Dh121Rlt.js → classDiagram-v2-JRS7N3AN-DrnxKzn3.js} +2 -2
  40. package/dist/{cose-bilkent-JH36ORCC-CLe0kcHa.js → cose-bilkent-JH36ORCC-DdToriLo.js} +1 -1
  41. package/dist/{cose-bilkent-JH36ORCC-DpMM48hA.js → cose-bilkent-JH36ORCC-DwyNUx5U.js} +1 -1
  42. package/dist/{cynefinDiagram-5FMLGOSQ-mLaK-3R3.js → cynefinDiagram-5FMLGOSQ-CMVnYBto.js} +2 -2
  43. package/dist/{cynefinDiagram-5FMLGOSQ-C5xaWeuA.js → cynefinDiagram-5FMLGOSQ-Ct3Kw1RW.js} +2 -2
  44. package/dist/daemon-react-sdk.js +1 -1
  45. package/dist/{dagre-3AP2YEHR-CmNFrtW9.js → dagre-3AP2YEHR-CTYnAWpM.js} +2 -2
  46. package/dist/{dagre-3AP2YEHR-zDm3fBQq.js → dagre-3AP2YEHR-Dpv_LiCL.js} +2 -2
  47. package/dist/{diagram-S7CK7UJ4-Clojnf04.js → diagram-S7CK7UJ4-DQHeL6-s.js} +3 -3
  48. package/dist/{diagram-S7CK7UJ4-BQtgRcGU.js → diagram-S7CK7UJ4-DjeleT-0.js} +3 -3
  49. package/dist/{diagram-UQ7AKVKN-CTn4O0fd.js → diagram-UQ7AKVKN-BEBKTGDQ.js} +2 -2
  50. package/dist/{diagram-UQ7AKVKN-B3Ll3rB4.js → diagram-UQ7AKVKN-DtXjm2iL.js} +2 -2
  51. package/dist/{diagram-VSXAHHWV-mdxkNEZP.js → diagram-VSXAHHWV-DfbCHMm2.js} +2 -2
  52. package/dist/{diagram-VSXAHHWV-BeYXDVEh.js → diagram-VSXAHHWV-hbkOSX96.js} +2 -2
  53. package/dist/{diagram-VX7I27RA-DaPLIQOr.js → diagram-VX7I27RA--8imafs4.js} +3 -3
  54. package/dist/{diagram-VX7I27RA-C3bzQYLd.js → diagram-VX7I27RA-C8IxrKer.js} +3 -3
  55. package/dist/{diagram-Z3DM3KII-CkkdGhWO.js → diagram-Z3DM3KII-BV-k-SHd.js} +2 -2
  56. package/dist/{diagram-Z3DM3KII-BImvaL3c.js → diagram-Z3DM3KII-CHdV8r8y.js} +2 -2
  57. package/dist/{ebnfDiagram-PWID7BFC-C8RUggbp.js → ebnfDiagram-PWID7BFC-C3THC4i_.js} +3 -3
  58. package/dist/{ebnfDiagram-PWID7BFC-gJHJx-lt.js → ebnfDiagram-PWID7BFC-lYLcJq20.js} +3 -3
  59. package/dist/{erDiagram-SSCWMZ5O-DLJjXFG9.js → erDiagram-SSCWMZ5O-BLPb7gye.js} +4 -4
  60. package/dist/{erDiagram-SSCWMZ5O-CKFzjLCd.js → erDiagram-SSCWMZ5O-CbcO0mmG.js} +4 -4
  61. package/dist/{flowDiagram-A5DVABFB-BHAeEzG1.js → flowDiagram-A5DVABFB-R1z9XJ6w.js} +6 -6
  62. package/dist/{flowDiagram-A5DVABFB-BOdsfJ-4.js → flowDiagram-A5DVABFB-vckXB2YQ.js} +6 -6
  63. package/dist/{ganttDiagram-EL5Y4UJY-D0hNphpF.js → ganttDiagram-EL5Y4UJY-C8WN6e37.js} +2 -2
  64. package/dist/{ganttDiagram-EL5Y4UJY-CtL6LAbW.js → ganttDiagram-EL5Y4UJY-WeLoHtnc.js} +2 -2
  65. package/dist/{gitGraphDiagram-WWUBYQGX-DxHtQ0ba.js → gitGraphDiagram-WWUBYQGX-D-P5h6Lr.js} +3 -3
  66. package/dist/{gitGraphDiagram-WWUBYQGX-8XcPnT4w.js → gitGraphDiagram-WWUBYQGX-MFeLW7T-.js} +3 -3
  67. package/dist/{index-BN-WVLl5.js → index-ENe4NzKy.js} +95434 -93968
  68. package/dist/index.js +3 -3
  69. package/dist/{infoDiagram-RXCK75RN-B-Ds06LN.js → infoDiagram-RXCK75RN-BNKeKO1s.js} +1 -1
  70. package/dist/{infoDiagram-RXCK75RN-Dhirg4if.js → infoDiagram-RXCK75RN-Dps8MUWi.js} +1 -1
  71. package/dist/{ishikawaDiagram-5VMMS53U-CsttzTkq.js → ishikawaDiagram-5VMMS53U-BEGNZ7_e.js} +1 -1
  72. package/dist/{ishikawaDiagram-5VMMS53U-BJPKneVd.js → ishikawaDiagram-5VMMS53U-DD-5xbYo.js} +1 -1
  73. package/dist/{journeyDiagram-EYS64GPL-BBAEhOQ9.js → journeyDiagram-EYS64GPL-CwoTwXxQ.js} +4 -4
  74. package/dist/{journeyDiagram-EYS64GPL-DfXS6tI_.js → journeyDiagram-EYS64GPL-D_CRU8vl.js} +4 -4
  75. package/dist/{kanban-definition-3QL26DDD-Bh1Jz01C.js → kanban-definition-3QL26DDD-CGfVH7-u.js} +2 -2
  76. package/dist/{kanban-definition-3QL26DDD-C8yOTG02.js → kanban-definition-3QL26DDD-gFZV4o3C.js} +2 -2
  77. package/dist/{layout-sTbo9v3C.js → layout-CAcWj7Kv.js} +1 -1
  78. package/dist/{layout-Dxab-q-T.js → layout-DZbn3kqO.js} +1 -1
  79. package/dist/{linear-BhTDfwHZ.js → linear-CIB8jUpO.js} +1 -1
  80. package/dist/{linear-CjDL9r_e.js → linear-DXD1YCMV.js} +1 -1
  81. package/dist/{mermaid.core-DBp8atac.js → mermaid.core-BK41FwyV.js} +7197 -6573
  82. package/dist/{mermaid.core-CFV16zMl.js → mermaid.core-BKgs-Htx.js} +7194 -6570
  83. package/dist/{mindmap-definition-FBJOCRG2-KPo1Z4it.js → mindmap-definition-FBJOCRG2-CNksARfZ.js} +3 -3
  84. package/dist/{mindmap-definition-FBJOCRG2-vau9OLMK.js → mindmap-definition-FBJOCRG2-O4Y3c493.js} +3 -3
  85. package/dist/{pegDiagram-XKGWAZYB-CFjH6RoO.js → pegDiagram-XKGWAZYB-C1-7KdxI.js} +3 -3
  86. package/dist/{pegDiagram-XKGWAZYB-EeXt14MX.js → pegDiagram-XKGWAZYB-CaQotQw4.js} +3 -3
  87. package/dist/{pieDiagram-E7YTZNPT-CJa9GbCV.js → pieDiagram-E7YTZNPT-CuVj0IA0.js} +3 -3
  88. package/dist/{pieDiagram-E7YTZNPT-JyO_8fWF.js → pieDiagram-E7YTZNPT-D0dXDdXT.js} +3 -3
  89. package/dist/{quadrantDiagram-AXDQQJYC-G9wAekw0.js → quadrantDiagram-AXDQQJYC-DRsuFMxM.js} +2 -2
  90. package/dist/{quadrantDiagram-AXDQQJYC-B7tyPD89.js → quadrantDiagram-AXDQQJYC-pqP_q82t.js} +2 -2
  91. package/dist/{railroadDiagram-O6MQD6OU-3-cuTnqH.js → railroadDiagram-O6MQD6OU-BwN8iv67.js} +3 -3
  92. package/dist/{railroadDiagram-O6MQD6OU-SyM4QCMp.js → railroadDiagram-O6MQD6OU-CUAntKim.js} +3 -3
  93. package/dist/{requirementDiagram-EFPCY7ZU-BJal3W63.js → requirementDiagram-EFPCY7ZU-G9huvmji.js} +3 -3
  94. package/dist/{requirementDiagram-EFPCY7ZU-bMW72Av_.js → requirementDiagram-EFPCY7ZU-mJ1dporl.js} +3 -3
  95. package/dist/{sankeyDiagram-P5KCCOFB-BKP8fccK.js → sankeyDiagram-P5KCCOFB-BCgAcSoR.js} +1 -1
  96. package/dist/{sankeyDiagram-P5KCCOFB-C4KDi8Ty.js → sankeyDiagram-P5KCCOFB-Cdc1x2zX.js} +1 -1
  97. package/dist/{sequenceDiagram-WJ2MYXX4-DvgRoXFL.js → sequenceDiagram-WJ2MYXX4-DdTTcHCq.js} +3 -3
  98. package/dist/{sequenceDiagram-WJ2MYXX4-DFvbPjPG.js → sequenceDiagram-WJ2MYXX4-J9jJ_PIj.js} +3 -3
  99. package/dist/{sizeCapture-X5ZJPWSS-DPkvpCxM.js → sizeCapture-X5ZJPWSS-14A9sXYR.js} +1 -1
  100. package/dist/{sizeCapture-X5ZJPWSS-DU4nf5aV.js → sizeCapture-X5ZJPWSS-D4qVP_Sa.js} +1 -1
  101. package/dist/{stateDiagram-HBIQ2CUA-CWp0mOcF.js → stateDiagram-HBIQ2CUA-4NneHSIC.js} +3 -3
  102. package/dist/{stateDiagram-HBIQ2CUA-DkN3hNFV.js → stateDiagram-HBIQ2CUA-DkNYgHbg.js} +3 -3
  103. package/dist/{stateDiagram-v2-4QOOHH4V-Bh7H2ZBJ.js → stateDiagram-v2-4QOOHH4V-BMgrYGU3.js} +2 -2
  104. package/dist/{stateDiagram-v2-4QOOHH4V-DX-OvV9U.js → stateDiagram-v2-4QOOHH4V-rkG8uy--.js} +2 -2
  105. package/dist/sw.js +1 -1
  106. package/dist/{swimlanes-XN3QIQJK-CI3ENZQA.js → swimlanes-XN3QIQJK-BH6gLXA3.js} +1 -1
  107. package/dist/{swimlanes-XN3QIQJK-2s4fbN8J.js → swimlanes-XN3QIQJK-DrNfUgyT.js} +1 -1
  108. package/dist/{swimlanesDiagram-VK2B7HYN-BEjeqDmx.js → swimlanesDiagram-VK2B7HYN-BlPGkTOD.js} +2 -2
  109. package/dist/{swimlanesDiagram-VK2B7HYN-DWJY6BGD.js → swimlanesDiagram-VK2B7HYN-CSVKUjI1.js} +2 -2
  110. package/dist/{timeline-definition-24CTP7MA-C_tZHri9.js → timeline-definition-24CTP7MA-CeK_Y-eQ.js} +2 -2
  111. package/dist/{timeline-definition-24CTP7MA-DYXEracn.js → timeline-definition-24CTP7MA-s9sNQrJl.js} +2 -2
  112. package/dist/transcript.js +6675 -6606
  113. package/dist/types/components/ChatEditor.d.ts +2 -1
  114. package/dist/types/components/ManagedLocalFilesControl.d.ts +18 -0
  115. package/dist/types/components/WorkspacePill.d.ts +14 -0
  116. package/dist/types/components/channels/ChannelEditorDialog.d.ts +2 -2
  117. package/dist/types/components/channels/ChannelQrLogin.d.ts +2 -2
  118. package/dist/types/components/channels/channel-editor-state.d.ts +1 -1
  119. package/dist/types/components/channels/channel-platform.d.ts +5 -1
  120. package/dist/types/components/channels/qr-login-contract.type-test.d.ts +55 -0
  121. package/dist/types/components/dialogs/GoalsDialog.d.ts +22 -6
  122. package/dist/types/components/managed/ManagedTerminalPanel.d.ts +17 -0
  123. package/dist/types/components/managed/generated/managed-agent-api.d.ts +363 -2
  124. package/dist/types/components/managed/java-managed-agent-client.d.ts +13 -0
  125. package/dist/types/components/managed/managed-agent-provider.d.ts +22 -0
  126. package/dist/types/components/managed/managed-terminal-protocol.d.ts +14 -0
  127. package/dist/types/components/sidebar/SessionSearchDialog.d.ts +14 -0
  128. package/dist/types/components/sidebar/use-session-search.d.ts +38 -0
  129. package/dist/types/components/terminal/terminal-protocol.d.ts +30 -0
  130. package/dist/types/components/workspace-agents/useAgentChatEntry.d.ts +1 -1
  131. package/dist/types/daemon/session/actions.d.ts +2 -1
  132. package/dist/types/daemon/session/types.d.ts +1 -0
  133. package/dist/types/daemon/workspace/hooks/useDaemonChannels.d.ts +2 -2
  134. package/dist/types/daemon/workspace/types.d.ts +17 -1
  135. package/dist/types/hooks/useComposerCore.d.ts +2 -0
  136. package/dist/types/hooks/useListboxKeyboard.d.ts +8 -1
  137. package/dist/types/local-files/managed-client-files-bridge.d.ts +87 -0
  138. package/dist/types/local-files/useManagedLocalFilesBridge.d.ts +29 -0
  139. package/dist/types/session-catalog/session-catalog-hooks.d.ts +3 -2
  140. package/dist/types/utils/random-uuid.d.ts +6 -0
  141. package/dist/{useDaemonMidTurnInjected-Dz_HbaHK.js → useDaemonMidTurnInjected-BCExZTLK.js} +5490 -5430
  142. package/dist/{vennDiagram-4TSXK5OY-DZCe1Ffi.js → vennDiagram-4TSXK5OY-Ugg_3Ng_.js} +1 -1
  143. package/dist/{vennDiagram-4TSXK5OY-Bi3e_aHN.js → vennDiagram-4TSXK5OY-lGXxi-Hh.js} +1 -1
  144. package/dist/{wardleyDiagram-VM6X3IG4-DqFJHRmt.js → wardleyDiagram-VM6X3IG4-CJ3EtuQM.js} +2 -2
  145. package/dist/{wardleyDiagram-VM6X3IG4-BNV5jzew.js → wardleyDiagram-VM6X3IG4-EJ4kWZKd.js} +2 -2
  146. package/dist/{xychartDiagram-S5SC5T6Z-J8xP-hcH.js → xychartDiagram-S5SC5T6Z-CWsXVaw1.js} +2 -2
  147. package/dist/{xychartDiagram-S5SC5T6Z-BVIJ86ch.js → xychartDiagram-S5SC5T6Z-aoVIM2Tw.js} +2 -2
  148. package/package.json +1 -1
@@ -32,6 +32,8 @@ interface ChatEditorProps {
32
32
  /** First Esc armed a cancel — the send button shows an "Esc to stop" hint. */
33
33
  cancelArmed?: boolean;
34
34
  disabled?: boolean;
35
+ /** Keep the editor editable but reject every submit path. */
36
+ submitDisabled?: boolean;
35
37
  placeholderText?: string;
36
38
  commands: CommandInfo[];
37
39
  skills?: SkillInfo[];
@@ -85,7 +87,6 @@ interface ChatEditorProps {
85
87
  workspaceColor?: DaemonSessionGroupPresetColor;
86
88
  chatWidthMode?: '1000' | 'wide';
87
89
  showChatWidthToggle?: boolean;
88
- chatWidthToggleMin?: number;
89
90
  visibleToolbarActions?: readonly ComposerToolbarAction[];
90
91
  liveVoicePortalContainer?: HTMLElement | null;
91
92
  /**
@@ -0,0 +1,18 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2026 Qwen Team
4
+ * SPDX-License-Identifier: Apache-2.0
5
+ */
6
+ import type { ManagedAgentProvider } from './managed/managed-agent-provider';
7
+ export interface ManagedLocalFilesControlProps {
8
+ provider: ManagedAgentProvider;
9
+ sessionId: string | undefined;
10
+ triggerClassName: string;
11
+ }
12
+ /**
13
+ * The Managed-mode local files entry. Unlike the daemon control it has no
14
+ * workspace route or ACP re-warm: the provider supplies an authenticated
15
+ * HTTP/SSE transport, and the entry is withheld entirely when the deployment
16
+ * does not expose client files.
17
+ */
18
+ export declare function ManagedLocalFilesControl({ provider, sessionId, triggerClassName, }: ManagedLocalFilesControlProps): import("react/jsx-runtime").JSX.Element | null;
@@ -0,0 +1,14 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2026 Qwen Team
4
+ * SPDX-License-Identifier: Apache-2.0
5
+ */
6
+ interface WorkspacePillProps {
7
+ /** The workspace cwd, shown as the tooltip. */
8
+ cwd: string;
9
+ /** Display label (already disambiguated by the caller when needed). */
10
+ label: string;
11
+ }
12
+ /** Compact workspace badge shared by the Goals and Scheduled Tasks pages. */
13
+ export declare function WorkspacePill({ cwd, label }: WorkspacePillProps): import("react/jsx-runtime").JSX.Element;
14
+ export {};
@@ -4,7 +4,7 @@
4
4
  * SPDX-License-Identifier: Apache-2.0
5
5
  */
6
6
  import type { DaemonChannelInstanceSnapshot, DaemonChannelPairingApprovalResult, DaemonChannelPairingApprovalsSnapshot, DaemonChannelPairingRequestsSnapshot, DaemonChannelPairingRevocationRequest, DaemonChannelPairingRevocationResult, DaemonChannelTypeDescriptor, DaemonChannelUpsertRequest, DaemonWorkspaceCapability } from '@qwen-code/sdk/daemon';
7
- import type { DaemonChannelQrLoginActions } from '../../daemon/workspace/types';
7
+ import type { DaemonChannelQrLoginHandlers } from '../../daemon/workspace/types';
8
8
  import { type WeixinLoginApi } from './WeixinLoginPanel';
9
9
  export interface ChannelEditorDialogProps {
10
10
  open: boolean;
@@ -19,7 +19,7 @@ export interface ChannelEditorDialogProps {
19
19
  onOpenChange: (open: boolean) => void;
20
20
  onSave: (name: string, request: DaemonChannelUpsertRequest) => Promise<unknown>;
21
21
  onReload: () => Promise<unknown>;
22
- qrLoginActions?: DaemonChannelQrLoginActions;
22
+ qrLoginActions?: DaemonChannelQrLoginHandlers;
23
23
  listPairingRequests: (name: string) => Promise<DaemonChannelPairingRequestsSnapshot>;
24
24
  approvePairingRequest: (name: string, code: string) => Promise<DaemonChannelPairingApprovalResult>;
25
25
  listPairingApprovals: (name: string) => Promise<DaemonChannelPairingApprovalsSnapshot>;
@@ -3,10 +3,10 @@
3
3
  * Copyright 2026 Qwen Team
4
4
  * SPDX-License-Identifier: Apache-2.0
5
5
  */
6
- import type { DaemonChannelQrLoginActions } from '../../daemon/workspace/types';
6
+ import type { DaemonChannelQrLoginHandlers } from '../../daemon/workspace/types';
7
7
  export interface ChannelQrLoginProps {
8
8
  channelName: string;
9
- actions: DaemonChannelQrLoginActions;
9
+ actions: DaemonChannelQrLoginHandlers;
10
10
  /** Called once a bind succeeds so the editor can reload the channel. */
11
11
  onBound: () => void;
12
12
  }
@@ -30,7 +30,7 @@ export interface ChannelGroupOverrideDraft {
30
30
  senders: '' | 'open' | 'allowlist';
31
31
  allowedUsers: string;
32
32
  }
33
- export type ChannelEditorValidationCode = 'required' | 'credential' | 'duplicate' | 'invalid' | 'invalidGroupId' | 'invalidOption' | 'invalidRepoId' | 'repoFilterRequired' | 'conflictingRepoAliases' | 'invalidGroupEntry' | 'number' | 'outOfRange' | 'policy' | 'requiresBoundDelivery' | 'requiresBoundDeliveryForWatchGate';
33
+ export type ChannelEditorValidationCode = 'required' | 'credential' | 'duplicate' | 'invalid' | 'invalidGroupId' | 'invalidOption' | 'invalidRepoId' | 'repoFilterRequired' | 'conflictingRepoAliases' | 'invalidGroupEntry' | 'number' | 'outOfRange' | 'policy' | 'requiresBoundDeliveryForWatchGate';
34
34
  export type ChannelEditorValidationErrors = Record<string, ChannelEditorValidationCode>;
35
35
  /** Access fields that only gate direct messages, which repository-only channels never receive. */
36
36
  export declare const PRIVATE_ONLY_FIELD_KEYS: Set<string>;
@@ -4,8 +4,12 @@
4
4
  * SPDX-License-Identifier: Apache-2.0
5
5
  */
6
6
  import type { DaemonChannelTypeDescriptor } from '@qwen-code/sdk/daemon';
7
+ export declare const CHANNEL_METHOD_PLATFORMS: Record<string, {
8
+ type: string;
9
+ displayName: string;
10
+ } | undefined>;
7
11
  export declare const PLATFORM_MARKS: Record<string, string>;
8
- export declare function isSupportedChannelType(type: unknown): type is 'dingtalk' | 'dingtalk-webhook' | 'dws' | 'weixin' | 'wecom' | 'wecom-callback' | 'feishu' | 'github' | 'gitlab' | 'email' | 'qq';
12
+ export declare function isSupportedChannelType(type: unknown): type is 'dingtalk' | 'dingtalk-webhook' | 'dws' | 'weixin' | 'wecom' | 'wecom-webhook' | 'wecom-callback' | 'feishu' | 'feishu-webhook' | 'github' | 'gitlab' | 'email' | 'qq';
9
13
  export declare function isChannelPlatformAvailable(descriptor: DaemonChannelTypeDescriptor): boolean;
10
14
  export declare function isRepositoryOnlyChannelType(type: unknown): boolean;
11
15
  export declare function isPrivateOnlyChannelType(type: unknown): boolean;
@@ -0,0 +1,55 @@
1
+ /**
2
+ * Type-level pins for the QR-login identity contract: the tab's own client id is
3
+ * not a per-call argument on anything the channels hook publishes.
4
+ *
5
+ * `tsc` is the runner — this file is never imported and never executed. Three
6
+ * layers, because no single one is sufficient:
7
+ *
8
+ * 1. Identity: every published surface must be exactly the narrow handler type,
9
+ * so re-declaring a prop or the hook's return to something wider fails here.
10
+ * 2. Arity of the contract itself: adding an *optional* parameter leaves the
11
+ * object types identical to the checker, so the contract's argument counts
12
+ * and first arguments are pinned too. An optional member makes the inferred
13
+ * tuple's length `1 | 2`.
14
+ * 3. Positive controls: real calls, so renaming a member reds the build instead
15
+ * of leaving the assertions comparing types that no longer describe it.
16
+ *
17
+ * Sampling call shapes with `@ts-expect-error` cannot do any of this: a
18
+ * suppression keeps swallowing an unrelated error (a renamed member, an excess
19
+ * property) and goes silent about the thing it names.
20
+ *
21
+ * The collectors below are deliberately not generic: an indexed access into a
22
+ * conditionally inferred tuple stays deferred inside a generic alias, so the
23
+ * comparison would never resolve to a concrete tuple.
24
+ *
25
+ * The name avoids `*.test.ts`: this package's tsconfig excludes test files from
26
+ * typechecking, which would make these pins inert.
27
+ */
28
+ import type { useDaemonChannels } from '../../daemon/workspace/hooks/useDaemonChannels';
29
+ import type { DaemonChannelQrLoginHandlers } from '../../daemon/workspace/types';
30
+ import type { ChannelEditorDialogProps } from './ChannelEditorDialog';
31
+ import type { ChannelQrLoginProps } from './ChannelQrLogin';
32
+ type Identical<A, B> = (<T>() => T extends A ? 1 : 2) extends <T>() => T extends B ? 1 : 2 ? true : false;
33
+ type Assert<T extends true> = T;
34
+ type Args<F> = F extends (...args: infer A) => unknown ? A : never;
35
+ type HookQrLogin = ReturnType<typeof useDaemonChannels>['qrLogin'];
36
+ type PanelQrLogin = ChannelQrLoginProps['actions'];
37
+ type EditorQrLogin = NonNullable<ChannelEditorDialogProps['qrLoginActions']>;
38
+ export type HookIdentity = Assert<Identical<HookQrLogin, DaemonChannelQrLoginHandlers>>;
39
+ export type PanelIdentity = Assert<Identical<PanelQrLogin, DaemonChannelQrLoginHandlers>>;
40
+ export type EditorIdentity = Assert<Identical<EditorQrLogin, DaemonChannelQrLoginHandlers>>;
41
+ type ContractLengths = [
42
+ Args<DaemonChannelQrLoginHandlers['start']>['length'],
43
+ Args<DaemonChannelQrLoginHandlers['state']>['length'],
44
+ Args<DaemonChannelQrLoginHandlers['cancel']>['length'],
45
+ Args<DaemonChannelQrLoginHandlers['release']>['length']
46
+ ];
47
+ type ContractFirsts = [
48
+ Args<DaemonChannelQrLoginHandlers['start']>[0],
49
+ Args<DaemonChannelQrLoginHandlers['state']>[0],
50
+ Args<DaemonChannelQrLoginHandlers['cancel']>[0],
51
+ Args<DaemonChannelQrLoginHandlers['release']>[0]
52
+ ];
53
+ export type ContractArities = Assert<Identical<ContractLengths, [1, 1, 1, 1]>>;
54
+ export type ContractFirstArgs = Assert<Identical<ContractFirsts, [string, string, string, string]>>;
55
+ export {};
@@ -3,14 +3,30 @@
3
3
  * Copyright 2026 Qwen Team
4
4
  * SPDX-License-Identifier: Apache-2.0
5
5
  */
6
+ import type { DaemonWorkspaceCapability } from '@qwen-code/sdk/daemon';
6
7
  interface GoalsDialogProps {
7
8
  /** Create a canonical Goal in a brand-new session and switch to it.
8
- * Return `false` when session setup failed and the error was already shown;
9
- * throw to render the control failure inline. */
10
- onCreateGoal: (condition: string) => boolean | void | Promise<boolean | void>;
11
- /** Open the session driving a goal — its transcript IS the goal's history. */
12
- onOpenSession: (sessionId: string) => void;
9
+ * `workspaceCwd` targets that workspace when the multi-workspace picker
10
+ * chose one; absent keeps the App's default target. Return `false` when
11
+ * session setup failed and the error was already shown; throw to render the
12
+ * control failure inline. */
13
+ onCreateGoal: (condition: string, workspaceCwd?: string) => boolean | void | Promise<boolean | void>;
14
+ /** Open the session driving a goal — its transcript IS the goal's history.
15
+ * `workspaceCwd` is the goal's own workspace when the aggregated view
16
+ * tagged it, so the App loads the session in that workspace's context. */
17
+ onOpenSession: (sessionId: string, workspaceCwd?: string) => void;
18
+ /** Registered workspaces on a multi-workspace daemon (from capabilities).
19
+ * When more than one is present the page aggregates every operable
20
+ * workspace's goals (each card tagged with its workspace) and the New form
21
+ * offers a workspace picker. Absent or a single entry → the plain
22
+ * primary-only view. */
23
+ workspaces?: DaemonWorkspaceCapability[];
24
+ /** Forces all goal listing through this workspace's route. */
25
+ lockedWorkspace?: DaemonWorkspaceCapability;
26
+ /** The workspace the create form defaults to (the App's currently selected
27
+ * workspace). Falls back to the primary when absent or not operable. */
28
+ defaultWorkspaceCwd?: string;
13
29
  onError: (error: unknown, fallback: string) => void;
14
30
  }
15
- export declare function GoalsDialog({ onCreateGoal, onOpenSession, onError, }: GoalsDialogProps): import("react/jsx-runtime").JSX.Element;
31
+ export declare function GoalsDialog({ onCreateGoal, onOpenSession, workspaces, lockedWorkspace, defaultWorkspaceCwd, onError, }: GoalsDialogProps): import("react/jsx-runtime").JSX.Element;
16
32
  export {};
@@ -0,0 +1,17 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2025 Qwen Team
4
+ * SPDX-License-Identifier: Apache-2.0
5
+ */
6
+ import '@xterm/xterm/css/xterm.css';
7
+ import type { ManagedAgentTerminalProvider } from './managed-agent-provider';
8
+ interface ManagedTerminalPanelProps {
9
+ terminal: ManagedAgentTerminalProvider;
10
+ sessionId: string;
11
+ terminalId: string;
12
+ clientId: string;
13
+ onClose(): void;
14
+ restoreFocus(): void;
15
+ }
16
+ export declare function ManagedTerminalPanel({ terminal, sessionId, terminalId, clientId, onClose, restoreFocus, }: ManagedTerminalPanelProps): import("react/jsx-runtime").JSX.Element;
17
+ export {};
@@ -31,6 +31,23 @@ export interface paths {
31
31
  patch?: never;
32
32
  trace?: never;
33
33
  };
34
+ "/api/agent/web-shell/v1/sessions/terminal-ticket": {
35
+ parameters: {
36
+ query?: never;
37
+ header?: never;
38
+ path?: never;
39
+ cookie?: never;
40
+ };
41
+ get?: never;
42
+ put?: never;
43
+ /** @description Mint the single-use, short-lived ticket a browser offers on the terminal WebSocket upgrade. The request travels the authenticated WebShell surface and runs the full terminal admission (readable, active, Shell capability and OPERATOR access) here, where the deployment authentication headers are available; the upgrade itself then only consumes the ticket. Mounted only with the Runtime Broker. The ticket is never carried in a URL and is consumed exactly once. */
44
+ post: operations["webShellTerminalTicket"];
45
+ delete?: never;
46
+ options?: never;
47
+ head?: never;
48
+ patch?: never;
49
+ trace?: never;
50
+ };
34
51
  "/api/agent/web-shell/v1/sessions/rename": {
35
52
  parameters: {
36
53
  query?: never;
@@ -508,7 +525,7 @@ export interface paths {
508
525
  };
509
526
  get?: never;
510
527
  put?: never;
511
- /** @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, hosted-workspace-files/3, hosted-workspace-shell/1 or hosted-workspace-shell/3. 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. Classifier auto requires auto-approval/1. Optional permissionRules requires permission-rules/1 and an idle Session. Omitted rules preserve the current selection; three empty arrays clear it. Mode, Plan and rules share one approval revision and receipt. Persisted rules are also snapshotted at Turn admission; replay preserves the original policy. Empty rules are omitted from responses and Harness payloads. */
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, hosted-workspace-files/3, hosted-workspace-files/4, hosted-workspace-shell/1, hosted-workspace-shell/3 or hosted-workspace-shell/4. 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. Classifier auto requires auto-approval/1. Optional permissionRules requires permission-rules/1 and an idle Session. Omitted rules preserve the current selection; three empty arrays clear it. Mode, Plan and rules share one approval revision and receipt. Persisted rules are also snapshotted at Turn admission; replay preserves the original policy. Empty rules are omitted from responses and Harness payloads. */
512
529
  post: operations["changeWebShellSessionApproval"];
513
530
  delete?: never;
514
531
  options?: never;
@@ -1383,6 +1400,91 @@ export interface paths {
1383
1400
  patch?: never;
1384
1401
  trace?: never;
1385
1402
  };
1403
+ "/api/agent/web-shell/v1/client-files/register": {
1404
+ parameters: {
1405
+ query?: never;
1406
+ header?: never;
1407
+ path?: never;
1408
+ cookie?: never;
1409
+ };
1410
+ get?: never;
1411
+ put?: never;
1412
+ /** @description Registers the calling actor's client directory grant into the Session and dispatches the one-time relay credential to the Harness server-side for the Runtime MCP leg; the credential is never part of the browser response. Requires the deployment opt-in and current execution authority on the bound ACTIVE Workspace. Registration is ephemeral session state: the bounded TTL queue holds the size-bounded JSON-RPC bodies (which may include file content) only until they settle or expire, no credential or directory path is persisted, and no file content enters the journal or public events beyond the normal durable tool-result policy. */
1413
+ post: operations["registerWebShellClientFiles"];
1414
+ delete?: never;
1415
+ options?: never;
1416
+ head?: never;
1417
+ patch?: never;
1418
+ trace?: never;
1419
+ };
1420
+ "/api/agent/web-shell/v1/client-files/unregister": {
1421
+ parameters: {
1422
+ query?: never;
1423
+ header?: never;
1424
+ path?: never;
1425
+ cookie?: never;
1426
+ };
1427
+ get?: never;
1428
+ put?: never;
1429
+ /** @description Closes the calling actor's registration (or an operator's teardown of it) and fails every queued request with the structured offline error. */
1430
+ post: operations["unregisterWebShellClientFiles"];
1431
+ delete?: never;
1432
+ options?: never;
1433
+ head?: never;
1434
+ patch?: never;
1435
+ trace?: never;
1436
+ };
1437
+ "/api/agent/web-shell/v1/client-files/status": {
1438
+ parameters: {
1439
+ query?: never;
1440
+ header?: never;
1441
+ path?: never;
1442
+ cookie?: never;
1443
+ };
1444
+ get?: never;
1445
+ put?: never;
1446
+ /** @description Reads the Session's binding summary without the credential; an absent binding answers an empty 200. */
1447
+ post: operations["queryWebShellClientFilesStatus"];
1448
+ delete?: never;
1449
+ options?: never;
1450
+ head?: never;
1451
+ patch?: never;
1452
+ trace?: never;
1453
+ };
1454
+ "/api/agent/web-shell/v1/client-files/requests/stream": {
1455
+ parameters: {
1456
+ query?: never;
1457
+ header?: never;
1458
+ path?: never;
1459
+ cookie?: never;
1460
+ };
1461
+ get?: never;
1462
+ put?: never;
1463
+ /** @description The browser downlink: SSE events named request carrying opaque JSON-RPC payloads for the registering actor's own active binding generation. Each poll revalidates the read grant. */
1464
+ post: operations["streamWebShellClientFilesRequests"];
1465
+ delete?: never;
1466
+ options?: never;
1467
+ head?: never;
1468
+ patch?: never;
1469
+ trace?: never;
1470
+ };
1471
+ "/api/agent/web-shell/v1/client-files/responses": {
1472
+ parameters: {
1473
+ query?: never;
1474
+ header?: never;
1475
+ path?: never;
1476
+ cookie?: never;
1477
+ };
1478
+ get?: never;
1479
+ put?: never;
1480
+ /** @description The browser uplink: settles one queued JSON-RPC request with either a response payload or a structured error code, never both. */
1481
+ post: operations["respondWebShellClientFiles"];
1482
+ delete?: never;
1483
+ options?: never;
1484
+ head?: never;
1485
+ patch?: never;
1486
+ trace?: never;
1487
+ };
1386
1488
  "/api/agent/web-shell/v1/session-side-queries/create": {
1387
1489
  parameters: {
1388
1490
  query?: never;
@@ -1594,6 +1696,15 @@ export interface components {
1594
1696
  /** Format: uuid */
1595
1697
  sessionId: string;
1596
1698
  };
1699
+ WebShellTerminalTicketRequest: {
1700
+ sessionId: string;
1701
+ terminalId: string;
1702
+ };
1703
+ WebShellTerminalTicket: {
1704
+ ticket: string;
1705
+ /** Format: int64 */
1706
+ expiresInSeconds: number;
1707
+ };
1597
1708
  WebShellTranscriptRequest: {
1598
1709
  /** Format: uuid */
1599
1710
  sessionId: string;
@@ -1785,7 +1896,7 @@ export interface components {
1785
1896
  foregroundShell?: boolean;
1786
1897
  /** @description The caller may change the Session model selection for later Turns using the server model catalog, including while a Turn or approval is active. Missing means unsupported; authorization, recovery and revision admission still apply. */
1787
1898
  modelChange?: boolean;
1788
- /** @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-shell/1 or hosted-workspace-shell/3 also require agent-definition-approval-selection/1. Idle-state admission is checked separately. Missing means false. */
1899
+ /** @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. */
1789
1900
  approvalModeChange?: boolean;
1790
1901
  /** @description Optional deployment capability; missing means false. */
1791
1902
  inputAttachments?: boolean;
@@ -1813,6 +1924,13 @@ export interface components {
1813
1924
  btw?: boolean;
1814
1925
  /** @default false */
1815
1926
  recap?: boolean;
1927
+ /** @description UI hint that this Session may open a Managed Web Terminal: the terminal deployment opt-in is enabled, the caller may submit (OPERATOR on the bound Workspace), and the Session is a Shell Session. The relay re-runs the full admission on the WebSocket attach; this field does not gate it. */
1928
+ terminal?: boolean | null;
1929
+ /**
1930
+ * @description Browser local-files registration is available for this Session: the Session is bound to a Workspace, the caller holds current execution authority, the deployment enables the client-files relay and the Harness supports it. A Workspace-less Session never advertises this capability. Registration admission still checks the actor grant and idle state separately.
1931
+ * @default false
1932
+ */
1933
+ clientFiles?: boolean;
1816
1934
  };
1817
1935
  WebShellSessionPage: {
1818
1936
  data: components["schemas"]["WebShellSession"][];
@@ -3788,6 +3906,71 @@ export interface components {
3788
3906
  limit?: number;
3789
3907
  requestId?: string;
3790
3908
  };
3909
+ WebShellClientFilesRegisterRequest: {
3910
+ sessionId: string;
3911
+ /** @description Browser-generated identity correlating this registration's downlink and teardown with its own binding. */
3912
+ connectionId: string;
3913
+ };
3914
+ WebShellClientFilesUnregisterRequest: {
3915
+ sessionId: string;
3916
+ /** @description The unregistering bridge's owned registration identity; a stale teardown of a replaced binding is a no-op. */
3917
+ connectionId?: string;
3918
+ };
3919
+ WebShellClientFilesStatusRequest: {
3920
+ sessionId: string;
3921
+ /** @description The caller's own registration identity. The response echoes the live generation and identity only when this matches the binding; a merely readable session learns that a binding exists, not how to attach to it. */
3922
+ connectionId?: string;
3923
+ };
3924
+ WebShellClientFilesStreamRequest: {
3925
+ sessionId: string;
3926
+ generation: number;
3927
+ /** @description The downlink's owned registration identity; a stream omitting it or naming another tab's binding is refused. */
3928
+ connectionId: string;
3929
+ };
3930
+ WebShellClientFilesRespondRequest: {
3931
+ sessionId: string;
3932
+ generation: number;
3933
+ /** @description The settling client's owned registration identity; a response omitting it or naming another tab's binding is refused, so a second client of the same actor cannot answer this registration's queued requests. */
3934
+ connectionId: string;
3935
+ /** @description The JSON-RPC request identity being settled; distinct from the HTTP request id echo field. */
3936
+ rpcRequestId: string;
3937
+ responseJson?: string;
3938
+ errorCode?: string;
3939
+ };
3940
+ /** @description The browser-facing registration ack. The relay credential is dispatched server-to-harness and is never part of this response; the bridge correlates on generation, toolCount and connectionId. */
3941
+ WebShellClientFilesRegistration: {
3942
+ serverId: string;
3943
+ generation: number;
3944
+ /**
3945
+ * Format: int64
3946
+ * @description Binding deadline in Unix epoch milliseconds.
3947
+ */
3948
+ expiresAt: number;
3949
+ /** @description Number of browser tools the Harness discovered during registration. */
3950
+ toolCount: number;
3951
+ /** @description Echo of the registration identity the caller supplied, for downlink correlation. */
3952
+ connectionId: string;
3953
+ };
3954
+ /** @description The binding summary. Every field is optional because an absent binding answers 200 with an empty body, which a client reads as an empty object. The generation and connectionId are the fence for the downlink and settlement, so they are echoed only when the request's connectionId proves the caller owns the binding (owned=true); otherwise they are 0 / absent and only the non-secret summary is returned. */
3955
+ WebShellClientFilesStatus: {
3956
+ serverId?: string;
3957
+ /** @description The binding generation, echoed only when owned; 0 otherwise. */
3958
+ generation?: number;
3959
+ /** @enum {unknown} */
3960
+ state?: "active" | "closed";
3961
+ /**
3962
+ * Format: int64
3963
+ * @description Binding deadline in Unix epoch milliseconds.
3964
+ */
3965
+ expiresAt?: number;
3966
+ /** @description The binding's registration identity, echoed only when the request proved it (owned=true); absent otherwise. */
3967
+ connectionId?: string;
3968
+ /** @description Whether the request's connectionId matched the live binding, gating the generation/connectionId echo. */
3969
+ owned?: boolean;
3970
+ };
3971
+ WebShellClientFilesRespondReceipt: {
3972
+ settled: boolean;
3973
+ };
3791
3974
  };
3792
3975
  responses: {
3793
3976
  /** @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. */
@@ -3970,6 +4153,37 @@ export interface operations {
3970
4153
  413: components["responses"]["PayloadTooLarge"];
3971
4154
  };
3972
4155
  };
4156
+ webShellTerminalTicket: {
4157
+ parameters: {
4158
+ query?: never;
4159
+ header?: never;
4160
+ path?: never;
4161
+ cookie?: never;
4162
+ };
4163
+ requestBody: {
4164
+ content: {
4165
+ "application/json": components["schemas"]["WebShellTerminalTicketRequest"];
4166
+ };
4167
+ };
4168
+ responses: {
4169
+ /** @description Single-use terminal upgrade ticket and its lifetime in seconds. */
4170
+ 200: {
4171
+ headers: {
4172
+ [name: string]: unknown;
4173
+ };
4174
+ content: {
4175
+ "application/json": components["schemas"]["WebShellTerminalTicket"];
4176
+ };
4177
+ };
4178
+ 400: components["responses"]["BadRequest"];
4179
+ 401: components["responses"]["Unauthorized"];
4180
+ 403: components["responses"]["Forbidden"];
4181
+ 404: components["responses"]["NotFound"];
4182
+ 409: components["responses"]["Conflict"];
4183
+ 413: components["responses"]["PayloadTooLarge"];
4184
+ 503: components["responses"]["Unavailable"];
4185
+ };
4186
+ };
3973
4187
  webShellRenameSession: {
3974
4188
  parameters: {
3975
4189
  query?: never;
@@ -6636,6 +6850,153 @@ export interface operations {
6636
6850
  413: components["responses"]["PayloadTooLarge"];
6637
6851
  };
6638
6852
  };
6853
+ registerWebShellClientFiles: {
6854
+ parameters: {
6855
+ query?: never;
6856
+ header?: never;
6857
+ path?: never;
6858
+ cookie?: never;
6859
+ };
6860
+ requestBody: {
6861
+ content: {
6862
+ "application/json": components["schemas"]["WebShellClientFilesRegisterRequest"];
6863
+ };
6864
+ };
6865
+ responses: {
6866
+ /** @description The registration ack (generation, toolCount, connectionId); the relay credential stays on the server-to-harness path. */
6867
+ 200: {
6868
+ headers: {
6869
+ [name: string]: unknown;
6870
+ };
6871
+ content: {
6872
+ "application/json": components["schemas"]["WebShellClientFilesRegistration"];
6873
+ };
6874
+ };
6875
+ 400: components["responses"]["BadRequest"];
6876
+ 401: components["responses"]["Unauthorized"];
6877
+ 403: components["responses"]["Forbidden"];
6878
+ 404: components["responses"]["NotFound"];
6879
+ 503: components["responses"]["Unavailable"];
6880
+ };
6881
+ };
6882
+ unregisterWebShellClientFiles: {
6883
+ parameters: {
6884
+ query?: never;
6885
+ header?: never;
6886
+ path?: never;
6887
+ cookie?: never;
6888
+ };
6889
+ requestBody: {
6890
+ content: {
6891
+ "application/json": components["schemas"]["WebShellClientFilesUnregisterRequest"];
6892
+ };
6893
+ };
6894
+ responses: {
6895
+ /** @description The closed binding summary. */
6896
+ 200: {
6897
+ headers: {
6898
+ [name: string]: unknown;
6899
+ };
6900
+ content: {
6901
+ "application/json": components["schemas"]["WebShellClientFilesStatus"];
6902
+ };
6903
+ };
6904
+ 400: components["responses"]["BadRequest"];
6905
+ 401: components["responses"]["Unauthorized"];
6906
+ 403: components["responses"]["Forbidden"];
6907
+ 404: components["responses"]["NotFound"];
6908
+ 503: components["responses"]["Unavailable"];
6909
+ };
6910
+ };
6911
+ queryWebShellClientFilesStatus: {
6912
+ parameters: {
6913
+ query?: never;
6914
+ header?: never;
6915
+ path?: never;
6916
+ cookie?: never;
6917
+ };
6918
+ requestBody: {
6919
+ content: {
6920
+ "application/json": components["schemas"]["WebShellClientFilesStatusRequest"];
6921
+ };
6922
+ };
6923
+ responses: {
6924
+ /** @description The binding summary, or an empty body when nothing is registered. */
6925
+ 200: {
6926
+ headers: {
6927
+ [name: string]: unknown;
6928
+ };
6929
+ content: {
6930
+ "application/json": components["schemas"]["WebShellClientFilesStatus"];
6931
+ };
6932
+ };
6933
+ 400: components["responses"]["BadRequest"];
6934
+ 401: components["responses"]["Unauthorized"];
6935
+ 403: components["responses"]["Forbidden"];
6936
+ 404: components["responses"]["NotFound"];
6937
+ 503: components["responses"]["Unavailable"];
6938
+ };
6939
+ };
6940
+ streamWebShellClientFilesRequests: {
6941
+ parameters: {
6942
+ query?: never;
6943
+ header?: never;
6944
+ path?: never;
6945
+ cookie?: never;
6946
+ };
6947
+ requestBody: {
6948
+ content: {
6949
+ "application/json": components["schemas"]["WebShellClientFilesStreamRequest"];
6950
+ };
6951
+ };
6952
+ responses: {
6953
+ /** @description Queued JSON-RPC requests as SSE events. */
6954
+ 200: {
6955
+ headers: {
6956
+ [name: string]: unknown;
6957
+ };
6958
+ content: {
6959
+ "text/event-stream": string;
6960
+ };
6961
+ };
6962
+ 400: components["responses"]["BadRequest"];
6963
+ 401: components["responses"]["Unauthorized"];
6964
+ 403: components["responses"]["Forbidden"];
6965
+ 404: components["responses"]["NotFound"];
6966
+ 409: components["responses"]["Conflict"];
6967
+ 503: components["responses"]["Unavailable"];
6968
+ };
6969
+ };
6970
+ respondWebShellClientFiles: {
6971
+ parameters: {
6972
+ query?: never;
6973
+ header?: never;
6974
+ path?: never;
6975
+ cookie?: never;
6976
+ };
6977
+ requestBody: {
6978
+ content: {
6979
+ "application/json": components["schemas"]["WebShellClientFilesRespondRequest"];
6980
+ };
6981
+ };
6982
+ responses: {
6983
+ /** @description The request was settled. */
6984
+ 200: {
6985
+ headers: {
6986
+ [name: string]: unknown;
6987
+ };
6988
+ content: {
6989
+ "application/json": components["schemas"]["WebShellClientFilesRespondReceipt"];
6990
+ };
6991
+ };
6992
+ 400: components["responses"]["BadRequest"];
6993
+ 401: components["responses"]["Unauthorized"];
6994
+ 403: components["responses"]["Forbidden"];
6995
+ 404: components["responses"]["NotFound"];
6996
+ 409: components["responses"]["Conflict"];
6997
+ 503: components["responses"]["Unavailable"];
6998
+ };
6999
+ };
6639
7000
  createWebShellSessionSideQuery: {
6640
7001
  parameters: {
6641
7002
  query?: never;