@qwen-code/web-shell 0.27.2 → 0.27.3-nightly.20261115.6e3b2dcc19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/NOTICES.txt +2 -2
- package/README.md +143 -0
- package/dist/{PierreFilePreview-CVi_Wsf-.js → PierreFilePreview-VU6ciucZ.js} +1 -1
- package/dist/{SpreadsheetPreview-CTyYrLmD.js → SpreadsheetPreview-BorpWtXP.js} +11 -11
- package/dist/{WorkspaceFileBrowser-DkQgnDFv.js → WorkspaceFileBrowser-tSS17iaA.js} +2 -2
- package/dist/{abnfDiagram-VCTEODGH-DXK3iWaN.js → abnfDiagram-VCTEODGH-Bv0PY8t9.js} +3 -3
- package/dist/{abnfDiagram-VCTEODGH-CQWhk3bg.js → abnfDiagram-VCTEODGH-DtCQRLBn.js} +3 -3
- package/dist/{agents-route-ZD8W2lTb.js → agents-route-C04KyRLN.js} +2 -2
- package/dist/{arc-DkZAOzaU.js → arc-C9Fz3b3w.js} +1 -1
- package/dist/{arc-BcP3aO-G.js → arc-QRx-tRi9.js} +1 -1
- package/dist/{architectureDiagram-5GKGNRK7-DusU8ybk.js → architectureDiagram-5GKGNRK7-Cq2r75mE.js} +2 -2
- package/dist/{architectureDiagram-5GKGNRK7-DhcVEkLQ.js → architectureDiagram-5GKGNRK7-UM6LRJXg.js} +2 -2
- package/dist/{blockDiagram-NRAW4CY4-BMOuo5wl.js → blockDiagram-NRAW4CY4-8jzOft5T.js} +3 -3
- package/dist/{blockDiagram-NRAW4CY4-YciA8-8I.js → blockDiagram-NRAW4CY4-Cg0XJgiI.js} +3 -3
- package/dist/{c4Diagram-UCG6FXSJ-DNpq-cdF.js → c4Diagram-UCG6FXSJ-B13GwaU1.js} +2 -2
- package/dist/{c4Diagram-UCG6FXSJ-BJxpHO4v.js → c4Diagram-UCG6FXSJ-OLlWXJbv.js} +2 -2
- package/dist/{channel-CfhQTpjX.js → channel-DZupPnpU.js} +1 -1
- package/dist/{channel-QZAYPfF8.js → channel-OaMC7mHn.js} +1 -1
- package/dist/{chunk-2Q5K7J3B-EGbMOnEe.js → chunk-2Q5K7J3B-CtAmr6l0.js} +1 -1
- package/dist/{chunk-2Q5K7J3B-mtpkChaF.js → chunk-2Q5K7J3B-VYh2Z2EU.js} +1 -1
- package/dist/{chunk-5VM5RSS4-CP4Q2W8n.js → chunk-5VM5RSS4-CS08-akS.js} +1 -1
- package/dist/{chunk-5VM5RSS4-CucJ3wyB.js → chunk-5VM5RSS4-D6zF9hVH.js} +1 -1
- package/dist/{chunk-F27PBJKO-CS9kzvAx.js → chunk-F27PBJKO-CnRnHE8-.js} +1 -1
- package/dist/{chunk-F27PBJKO-Cfw_29T-.js → chunk-F27PBJKO-D70ioBbq.js} +1 -1
- package/dist/{chunk-G27WJ6UU-BZzmQ8FW.js → chunk-G27WJ6UU-CfPfcj_Q.js} +4 -4
- package/dist/{chunk-G27WJ6UU-DdeEiwmL.js → chunk-G27WJ6UU-oq9aNO3N.js} +4 -4
- package/dist/{chunk-JWPE2WC7-BL_hjRLf.js → chunk-JWPE2WC7-C8sFa4JA.js} +1 -1
- package/dist/{chunk-JWPE2WC7-C03UDQBx.js → chunk-JWPE2WC7-DWG2vaxW.js} +1 -1
- package/dist/{chunk-LCL6LL3I-CR-IGGIM.js → chunk-LCL6LL3I-BO1WHi1A.js} +5 -5
- package/dist/{chunk-LCL6LL3I-CNn3XyuL.js → chunk-LCL6LL3I-CeUEAKcc.js} +5 -5
- package/dist/{chunk-POPQ4Y6H-BVQbxVHz.js → chunk-POPQ4Y6H-0k1uCy9w.js} +1 -1
- package/dist/{chunk-POPQ4Y6H-UJK1fYGP.js → chunk-POPQ4Y6H-4u40N2Gl.js} +1 -1
- package/dist/{chunk-SVP7TREG-BUmyTmov.js → chunk-SVP7TREG-34lWdHk_.js} +1 -1
- package/dist/{chunk-SVP7TREG-B-E-xFG8.js → chunk-SVP7TREG-DDs3xrn_.js} +1 -1
- package/dist/{chunk-XXDRQBXY-BDcf4DQz.js → chunk-XXDRQBXY-CUHjo6qB.js} +1 -1
- package/dist/{chunk-XXDRQBXY-BHAq0mtL.js → chunk-XXDRQBXY-Ug95Mv8M.js} +1 -1
- package/dist/{classDiagram-DTDB5LWJ-CVA3J-EH.js → classDiagram-DTDB5LWJ-CtVOkCOx.js} +2 -2
- package/dist/{classDiagram-DTDB5LWJ-Dh121Rlt.js → classDiagram-DTDB5LWJ-DrnxKzn3.js} +2 -2
- package/dist/{classDiagram-v2-JRS7N3AN-CVA3J-EH.js → classDiagram-v2-JRS7N3AN-CtVOkCOx.js} +2 -2
- package/dist/{classDiagram-v2-JRS7N3AN-Dh121Rlt.js → classDiagram-v2-JRS7N3AN-DrnxKzn3.js} +2 -2
- package/dist/{cose-bilkent-JH36ORCC-CLe0kcHa.js → cose-bilkent-JH36ORCC-DdToriLo.js} +1 -1
- package/dist/{cose-bilkent-JH36ORCC-DpMM48hA.js → cose-bilkent-JH36ORCC-DwyNUx5U.js} +1 -1
- package/dist/{cynefinDiagram-5FMLGOSQ-mLaK-3R3.js → cynefinDiagram-5FMLGOSQ-CMVnYBto.js} +2 -2
- package/dist/{cynefinDiagram-5FMLGOSQ-C5xaWeuA.js → cynefinDiagram-5FMLGOSQ-Ct3Kw1RW.js} +2 -2
- package/dist/daemon-react-sdk.js +1 -1
- package/dist/{dagre-3AP2YEHR-CmNFrtW9.js → dagre-3AP2YEHR-CTYnAWpM.js} +2 -2
- package/dist/{dagre-3AP2YEHR-zDm3fBQq.js → dagre-3AP2YEHR-Dpv_LiCL.js} +2 -2
- package/dist/{diagram-S7CK7UJ4-Clojnf04.js → diagram-S7CK7UJ4-DQHeL6-s.js} +3 -3
- package/dist/{diagram-S7CK7UJ4-BQtgRcGU.js → diagram-S7CK7UJ4-DjeleT-0.js} +3 -3
- package/dist/{diagram-UQ7AKVKN-CTn4O0fd.js → diagram-UQ7AKVKN-BEBKTGDQ.js} +2 -2
- package/dist/{diagram-UQ7AKVKN-B3Ll3rB4.js → diagram-UQ7AKVKN-DtXjm2iL.js} +2 -2
- package/dist/{diagram-VSXAHHWV-mdxkNEZP.js → diagram-VSXAHHWV-DfbCHMm2.js} +2 -2
- package/dist/{diagram-VSXAHHWV-BeYXDVEh.js → diagram-VSXAHHWV-hbkOSX96.js} +2 -2
- package/dist/{diagram-VX7I27RA-DaPLIQOr.js → diagram-VX7I27RA--8imafs4.js} +3 -3
- package/dist/{diagram-VX7I27RA-C3bzQYLd.js → diagram-VX7I27RA-C8IxrKer.js} +3 -3
- package/dist/{diagram-Z3DM3KII-CkkdGhWO.js → diagram-Z3DM3KII-BV-k-SHd.js} +2 -2
- package/dist/{diagram-Z3DM3KII-BImvaL3c.js → diagram-Z3DM3KII-CHdV8r8y.js} +2 -2
- package/dist/{ebnfDiagram-PWID7BFC-C8RUggbp.js → ebnfDiagram-PWID7BFC-C3THC4i_.js} +3 -3
- package/dist/{ebnfDiagram-PWID7BFC-gJHJx-lt.js → ebnfDiagram-PWID7BFC-lYLcJq20.js} +3 -3
- package/dist/{erDiagram-SSCWMZ5O-DLJjXFG9.js → erDiagram-SSCWMZ5O-BLPb7gye.js} +4 -4
- package/dist/{erDiagram-SSCWMZ5O-CKFzjLCd.js → erDiagram-SSCWMZ5O-CbcO0mmG.js} +4 -4
- package/dist/{flowDiagram-A5DVABFB-BHAeEzG1.js → flowDiagram-A5DVABFB-R1z9XJ6w.js} +6 -6
- package/dist/{flowDiagram-A5DVABFB-BOdsfJ-4.js → flowDiagram-A5DVABFB-vckXB2YQ.js} +6 -6
- package/dist/{ganttDiagram-EL5Y4UJY-D0hNphpF.js → ganttDiagram-EL5Y4UJY-C8WN6e37.js} +2 -2
- package/dist/{ganttDiagram-EL5Y4UJY-CtL6LAbW.js → ganttDiagram-EL5Y4UJY-WeLoHtnc.js} +2 -2
- package/dist/{gitGraphDiagram-WWUBYQGX-DxHtQ0ba.js → gitGraphDiagram-WWUBYQGX-D-P5h6Lr.js} +3 -3
- package/dist/{gitGraphDiagram-WWUBYQGX-8XcPnT4w.js → gitGraphDiagram-WWUBYQGX-MFeLW7T-.js} +3 -3
- package/dist/{index-BGsppGgG.js → index-X0w50D9I.js} +101720 -98921
- package/dist/index.js +3 -3
- package/dist/{infoDiagram-RXCK75RN-B-Ds06LN.js → infoDiagram-RXCK75RN-BNKeKO1s.js} +1 -1
- package/dist/{infoDiagram-RXCK75RN-Dhirg4if.js → infoDiagram-RXCK75RN-Dps8MUWi.js} +1 -1
- package/dist/{ishikawaDiagram-5VMMS53U-CsttzTkq.js → ishikawaDiagram-5VMMS53U-BEGNZ7_e.js} +1 -1
- package/dist/{ishikawaDiagram-5VMMS53U-BJPKneVd.js → ishikawaDiagram-5VMMS53U-DD-5xbYo.js} +1 -1
- package/dist/{journeyDiagram-EYS64GPL-BBAEhOQ9.js → journeyDiagram-EYS64GPL-CwoTwXxQ.js} +4 -4
- package/dist/{journeyDiagram-EYS64GPL-DfXS6tI_.js → journeyDiagram-EYS64GPL-D_CRU8vl.js} +4 -4
- package/dist/{kanban-definition-3QL26DDD-Bh1Jz01C.js → kanban-definition-3QL26DDD-CGfVH7-u.js} +2 -2
- package/dist/{kanban-definition-3QL26DDD-C8yOTG02.js → kanban-definition-3QL26DDD-gFZV4o3C.js} +2 -2
- package/dist/{layout-sTbo9v3C.js → layout-CAcWj7Kv.js} +1 -1
- package/dist/{layout-Dxab-q-T.js → layout-DZbn3kqO.js} +1 -1
- package/dist/{linear-BhTDfwHZ.js → linear-CIB8jUpO.js} +1 -1
- package/dist/{linear-CjDL9r_e.js → linear-DXD1YCMV.js} +1 -1
- package/dist/{mermaid.core-DBp8atac.js → mermaid.core-BK41FwyV.js} +7197 -6573
- package/dist/{mermaid.core-CFV16zMl.js → mermaid.core-BKgs-Htx.js} +7194 -6570
- package/dist/{mindmap-definition-FBJOCRG2-KPo1Z4it.js → mindmap-definition-FBJOCRG2-CNksARfZ.js} +3 -3
- package/dist/{mindmap-definition-FBJOCRG2-vau9OLMK.js → mindmap-definition-FBJOCRG2-O4Y3c493.js} +3 -3
- package/dist/{pegDiagram-XKGWAZYB-CFjH6RoO.js → pegDiagram-XKGWAZYB-C1-7KdxI.js} +3 -3
- package/dist/{pegDiagram-XKGWAZYB-EeXt14MX.js → pegDiagram-XKGWAZYB-CaQotQw4.js} +3 -3
- package/dist/{pieDiagram-E7YTZNPT-CJa9GbCV.js → pieDiagram-E7YTZNPT-CuVj0IA0.js} +3 -3
- package/dist/{pieDiagram-E7YTZNPT-JyO_8fWF.js → pieDiagram-E7YTZNPT-D0dXDdXT.js} +3 -3
- package/dist/{quadrantDiagram-AXDQQJYC-G9wAekw0.js → quadrantDiagram-AXDQQJYC-DRsuFMxM.js} +2 -2
- package/dist/{quadrantDiagram-AXDQQJYC-B7tyPD89.js → quadrantDiagram-AXDQQJYC-pqP_q82t.js} +2 -2
- package/dist/{railroadDiagram-O6MQD6OU-3-cuTnqH.js → railroadDiagram-O6MQD6OU-BwN8iv67.js} +3 -3
- package/dist/{railroadDiagram-O6MQD6OU-SyM4QCMp.js → railroadDiagram-O6MQD6OU-CUAntKim.js} +3 -3
- package/dist/{requirementDiagram-EFPCY7ZU-BJal3W63.js → requirementDiagram-EFPCY7ZU-G9huvmji.js} +3 -3
- package/dist/{requirementDiagram-EFPCY7ZU-bMW72Av_.js → requirementDiagram-EFPCY7ZU-mJ1dporl.js} +3 -3
- package/dist/{sankeyDiagram-P5KCCOFB-BKP8fccK.js → sankeyDiagram-P5KCCOFB-BCgAcSoR.js} +1 -1
- package/dist/{sankeyDiagram-P5KCCOFB-C4KDi8Ty.js → sankeyDiagram-P5KCCOFB-Cdc1x2zX.js} +1 -1
- package/dist/{sequenceDiagram-WJ2MYXX4-DvgRoXFL.js → sequenceDiagram-WJ2MYXX4-DdTTcHCq.js} +3 -3
- package/dist/{sequenceDiagram-WJ2MYXX4-DFvbPjPG.js → sequenceDiagram-WJ2MYXX4-J9jJ_PIj.js} +3 -3
- package/dist/{sizeCapture-X5ZJPWSS-DPkvpCxM.js → sizeCapture-X5ZJPWSS-14A9sXYR.js} +1 -1
- package/dist/{sizeCapture-X5ZJPWSS-DU4nf5aV.js → sizeCapture-X5ZJPWSS-D4qVP_Sa.js} +1 -1
- package/dist/{stateDiagram-HBIQ2CUA-CWp0mOcF.js → stateDiagram-HBIQ2CUA-4NneHSIC.js} +3 -3
- package/dist/{stateDiagram-HBIQ2CUA-DkN3hNFV.js → stateDiagram-HBIQ2CUA-DkNYgHbg.js} +3 -3
- package/dist/{stateDiagram-v2-4QOOHH4V-Bh7H2ZBJ.js → stateDiagram-v2-4QOOHH4V-BMgrYGU3.js} +2 -2
- package/dist/{stateDiagram-v2-4QOOHH4V-DX-OvV9U.js → stateDiagram-v2-4QOOHH4V-rkG8uy--.js} +2 -2
- package/dist/sw.js +1 -1
- package/dist/{swimlanes-XN3QIQJK-CI3ENZQA.js → swimlanes-XN3QIQJK-BH6gLXA3.js} +1 -1
- package/dist/{swimlanes-XN3QIQJK-2s4fbN8J.js → swimlanes-XN3QIQJK-DrNfUgyT.js} +1 -1
- package/dist/{swimlanesDiagram-VK2B7HYN-BEjeqDmx.js → swimlanesDiagram-VK2B7HYN-BlPGkTOD.js} +2 -2
- package/dist/{swimlanesDiagram-VK2B7HYN-DWJY6BGD.js → swimlanesDiagram-VK2B7HYN-CSVKUjI1.js} +2 -2
- package/dist/{timeline-definition-24CTP7MA-C_tZHri9.js → timeline-definition-24CTP7MA-CeK_Y-eQ.js} +2 -2
- package/dist/{timeline-definition-24CTP7MA-DYXEracn.js → timeline-definition-24CTP7MA-s9sNQrJl.js} +2 -2
- package/dist/transcript.js +9667 -9448
- package/dist/types/App.d.ts +4 -1
- package/dist/types/components/ChatEditor.d.ts +4 -1
- package/dist/types/components/ComposerTaskChips.d.ts +21 -0
- package/dist/types/components/LocalFilesControl.d.ts +40 -1
- package/dist/types/components/ManagedLocalFilesControl.d.ts +20 -0
- package/dist/types/components/ModelPickerContent.d.ts +13 -0
- package/dist/types/components/ReportedArtifactRegistration.d.ts +25 -0
- package/dist/types/components/ToastHost.d.ts +27 -1
- package/dist/types/components/TranscriptViewport.d.ts +4 -1
- package/dist/types/components/UnavailableModelTooltip.d.ts +2 -1
- package/dist/types/components/WorkspacePill.d.ts +14 -0
- package/dist/types/components/channels/ChannelEditorDialog.d.ts +2 -2
- package/dist/types/components/channels/ChannelQrLogin.d.ts +2 -2
- package/dist/types/components/channels/ChannelsManagerPage.d.ts +10 -1
- package/dist/types/components/channels/channel-editor-state.d.ts +5 -4
- package/dist/types/components/channels/channel-platform.d.ts +5 -1
- package/dist/types/components/channels/qr-login-contract.type-test.d.ts +55 -0
- package/dist/types/components/dialogs/BindSessionPrDialog.d.ts +27 -0
- package/dist/types/components/dialogs/GoalsDialog.d.ts +23 -6
- package/dist/types/components/managed/ManagedTerminalPanel.d.ts +17 -0
- package/dist/types/components/managed/generated/managed-agent-api.d.ts +382 -5
- package/dist/types/components/managed/java-managed-agent-client.d.ts +14 -0
- package/dist/types/components/managed/managed-agent-provider.d.ts +22 -0
- package/dist/types/components/managed/managed-terminal-protocol.d.ts +14 -0
- package/dist/types/components/managed/use-managed-model-change.d.ts +3 -11
- package/dist/types/components/messages/ToolGroup.d.ts +2 -0
- package/dist/types/components/sidebar/SessionSearchDialog.d.ts +14 -0
- package/dist/types/components/sidebar/SessionSortMenu.d.ts +9 -1
- package/dist/types/components/sidebar/WebShellSidebar.d.ts +1 -1
- package/dist/types/components/sidebar/use-session-search.d.ts +38 -0
- package/dist/types/components/terminal/terminal-protocol.d.ts +30 -0
- package/dist/types/components/workspace-agents/useAgentChatEntry.d.ts +1 -1
- package/dist/types/constants/sessions.d.ts +1 -0
- package/dist/types/customization.d.ts +2 -0
- package/dist/types/daemon/session/actions.d.ts +2 -1
- package/dist/types/daemon/session/types.d.ts +5 -2
- package/dist/types/daemon/workspace/hooks/useDaemonChannels.d.ts +9 -2
- package/dist/types/daemon/workspace/types.d.ts +29 -1
- package/dist/types/hooks/useComposerCore.d.ts +20 -0
- package/dist/types/hooks/useListboxKeyboard.d.ts +8 -1
- package/dist/types/hooks/useSessionArtifacts.d.ts +1 -2
- package/dist/types/i18n.d.ts +6 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/local-files/managed-client-files-bridge.d.ts +87 -0
- package/dist/types/local-files/useLocalFilesBridge.d.ts +7 -1
- package/dist/types/local-files/useManagedLocalFilesBridge.d.ts +33 -0
- package/dist/types/model-picker.d.ts +32 -0
- package/dist/types/session-catalog/session-catalog-hooks.d.ts +3 -2
- package/dist/types/settings.d.ts +1 -0
- package/dist/types/toolRevealContext.d.ts +42 -0
- package/dist/types/utils/composerTasks.d.ts +15 -8
- package/dist/types/utils/random-uuid.d.ts +6 -0
- package/dist/types/voice/VoiceButton.d.ts +9 -1
- package/dist/types/voice/useVoiceCapture.d.ts +8 -0
- package/dist/{useDaemonMidTurnInjected-B7dPEdqk.js → useDaemonMidTurnInjected-3uO4tj-g.js} +5999 -5781
- package/dist/{vennDiagram-4TSXK5OY-DZCe1Ffi.js → vennDiagram-4TSXK5OY-Ugg_3Ng_.js} +1 -1
- package/dist/{vennDiagram-4TSXK5OY-Bi3e_aHN.js → vennDiagram-4TSXK5OY-lGXxi-Hh.js} +1 -1
- package/dist/{wardleyDiagram-VM6X3IG4-DqFJHRmt.js → wardleyDiagram-VM6X3IG4-CJ3EtuQM.js} +2 -2
- package/dist/{wardleyDiagram-VM6X3IG4-BNV5jzew.js → wardleyDiagram-VM6X3IG4-EJ4kWZKd.js} +2 -2
- package/dist/{xychartDiagram-S5SC5T6Z-J8xP-hcH.js → xychartDiagram-S5SC5T6Z-CWsXVaw1.js} +2 -2
- package/dist/{xychartDiagram-S5SC5T6Z-BVIJ86ch.js → xychartDiagram-S5SC5T6Z-aoVIM2Tw.js} +2 -2
- package/package.json +4 -2
- package/dist/types/components/StatusBar.d.ts +0 -26
|
@@ -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;
|
|
@@ -40,7 +57,7 @@ export interface paths {
|
|
|
40
57
|
};
|
|
41
58
|
get?: never;
|
|
42
59
|
put?: never;
|
|
43
|
-
/** @description Synchronously rename a Session
|
|
60
|
+
/** @description Synchronously rename a Session in one local SQL transaction under the same authorization as public PATCH. The public SQL row is the display authority: HTTP 200 confirms the SQL title is persisted, while the Harness journal copy is updated by a best-effort notification after commit and may lag or be skipped when the Harness is unavailable or does not support fenced titles. 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 notification, 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
61
|
post: operations["webShellRenameSession"];
|
|
45
62
|
delete?: never;
|
|
46
63
|
options?: never;
|
|
@@ -474,7 +491,7 @@ export interface paths {
|
|
|
474
491
|
};
|
|
475
492
|
get?: never;
|
|
476
493
|
put?: never;
|
|
477
|
-
/** @description Change the model of
|
|
494
|
+
/** @description Change the model selection of a Workspace Session for later Turns, including while a Turn or approval is active. Already admitted Turns keep their immutable model snapshot. Lifecycle, recovery and unsettled context changes remain guarded. The actor-scoped idempotency key replays an earlier completed change before current admission checks; expectedRevision prevents overwriting a concurrent selection. */
|
|
478
495
|
post: operations["changeWebShellSessionModel"];
|
|
479
496
|
delete?: never;
|
|
480
497
|
options?: 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 or hosted-workspace-shell/
|
|
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;
|
|
@@ -1783,9 +1894,9 @@ export interface components {
|
|
|
1783
1894
|
sessionDelete?: boolean;
|
|
1784
1895
|
/** @description Present only for persisted Shell Sessions, with no schema default; files and unbound Sessions omit it. True when Workspace files, Shell deployment admission and a valid persisted approval mode are valid. False prevents fresh sending. Disabling only the Shell flag preserves accepted cancellation and approval while Workspace files remain enabled and persisted approval remains valid; files-off or invalid approval can refuse attachment. This capability does not override authorization or recovery refusals. */
|
|
1785
1896
|
foregroundShell?: boolean;
|
|
1786
|
-
/** @description The caller may
|
|
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
|
|
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"][];
|
|
@@ -2728,6 +2846,7 @@ export interface components {
|
|
|
2728
2846
|
revision: number;
|
|
2729
2847
|
supported: boolean;
|
|
2730
2848
|
availableServers: components["schemas"]["ManagedMcpPublishedServer"][];
|
|
2849
|
+
/** @description The selected MCP server snapshot, including retained removed entries. Only non-removed entries count toward the 32-server live capacity, and the retained snapshot is capped at 96 total entries. */
|
|
2731
2850
|
servers: components["schemas"]["ManagedMcpManagementServer"][];
|
|
2732
2851
|
operation?: components["schemas"]["ManagedMcpManagementOperation"];
|
|
2733
2852
|
};
|
|
@@ -2890,11 +3009,26 @@ export interface components {
|
|
|
2890
3009
|
/** @description Exact source commit, resolved npm version, or imported content revision. Supplied together with sourceType. */
|
|
2891
3010
|
sourceRevision?: string;
|
|
2892
3011
|
};
|
|
3012
|
+
ManagedExtensionSourceReference: {
|
|
3013
|
+
providerId: string;
|
|
3014
|
+
/** @enum {string} */
|
|
3015
|
+
kind: "skill" | "extension";
|
|
3016
|
+
resourceId: string;
|
|
3017
|
+
/** @description Exact immutable business revision. Dynamic selectors must be resolved by the business entry point. */
|
|
3018
|
+
revision: string;
|
|
3019
|
+
};
|
|
3020
|
+
ManagedExtensionSourceOrigin: {
|
|
3021
|
+
reference: components["schemas"]["ManagedExtensionSourceReference"];
|
|
3022
|
+
/** @description SHA-256 of the actual raw archive bytes, distinct from packageDigest. */
|
|
3023
|
+
sourceDigest: string;
|
|
3024
|
+
requestDigest: string;
|
|
3025
|
+
};
|
|
2893
3026
|
ManagedExtensionPackage: {
|
|
2894
3027
|
pin: components["schemas"]["ManagedExtensionPackagePin"];
|
|
2895
3028
|
manifest: components["schemas"]["ManagedExtensionPackageManifest"];
|
|
2896
3029
|
/** Format: int64 */
|
|
2897
3030
|
byteLength: number;
|
|
3031
|
+
source?: components["schemas"]["ManagedExtensionSourceOrigin"];
|
|
2898
3032
|
};
|
|
2899
3033
|
ManagedExtensionPackageCatalog: {
|
|
2900
3034
|
supported: boolean;
|
|
@@ -3772,6 +3906,71 @@ export interface components {
|
|
|
3772
3906
|
limit?: number;
|
|
3773
3907
|
requestId?: string;
|
|
3774
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
|
+
};
|
|
3775
3974
|
};
|
|
3776
3975
|
responses: {
|
|
3777
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. */
|
|
@@ -3954,6 +4153,37 @@ export interface operations {
|
|
|
3954
4153
|
413: components["responses"]["PayloadTooLarge"];
|
|
3955
4154
|
};
|
|
3956
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
|
+
};
|
|
3957
4187
|
webShellRenameSession: {
|
|
3958
4188
|
parameters: {
|
|
3959
4189
|
query?: never;
|
|
@@ -6620,6 +6850,153 @@ export interface operations {
|
|
|
6620
6850
|
413: components["responses"]["PayloadTooLarge"];
|
|
6621
6851
|
};
|
|
6622
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
|
+
};
|
|
6623
7000
|
createWebShellSessionSideQuery: {
|
|
6624
7001
|
parameters: {
|
|
6625
7002
|
query?: never;
|
|
@@ -20,6 +20,7 @@ export type JavaAgentSessionPage = Omit<Schemas['WebShellSessionPage'], 'data'>
|
|
|
20
20
|
};
|
|
21
21
|
export type JavaAgentEvent = Schemas['WebShellEvent'];
|
|
22
22
|
export type JavaAgentResyncRequired = Schemas['WebShellResyncRequired'];
|
|
23
|
+
export type JavaAgentTerminalTicket = Schemas['WebShellTerminalTicket'];
|
|
23
24
|
export declare const SKIP_ON_CORRUPT: ReadonlySet<string>;
|
|
24
25
|
export declare function isJavaAgentResyncRequired(frame: JavaAgentEvent | JavaAgentResyncRequired): frame is JavaAgentResyncRequired;
|
|
25
26
|
export type JavaAgentContentPart = Schemas['WebShellContentPart'];
|
|
@@ -49,6 +50,8 @@ export declare class JavaManagedAgentClient {
|
|
|
49
50
|
constructor(options: JavaManagedAgentClientOptions);
|
|
50
51
|
listSessions(request: Schemas['WebShellListRequest'], signal?: AbortSignal): Promise<JavaAgentSessionPage>;
|
|
51
52
|
getSession(sessionId: string, signal?: AbortSignal): Promise<JavaAgentSession>;
|
|
53
|
+
terminalTicket(sessionId: string, terminalId: string, signal?: AbortSignal): Promise<JavaAgentTerminalTicket>;
|
|
54
|
+
terminalWebSocketUrl(sessionId: string, terminalId: string): string;
|
|
52
55
|
getRecovery(sessionId: string, signal?: AbortSignal): Promise<{
|
|
53
56
|
state: "recovering" | "awaiting_evidence" | "cleanup_pending" | "ready" | "operator_required";
|
|
54
57
|
reasonCode: string;
|
|
@@ -344,6 +347,16 @@ export declare class JavaManagedAgentClient {
|
|
|
344
347
|
session_id: string;
|
|
345
348
|
servers: components["schemas"]["PublicMcpServerCatalog"][];
|
|
346
349
|
}>;
|
|
350
|
+
/**
|
|
351
|
+
* The transport the client filesystem bridge drives: the WebShell API base
|
|
352
|
+
* plus a fetch that attaches the provider's auth headers (resolved per call
|
|
353
|
+
* so token refresh is honoured) and credentials. The bridge owns the
|
|
354
|
+
* register/SSE/response exchange; this only supplies the authenticated pipe.
|
|
355
|
+
*/
|
|
356
|
+
clientFilesTransport(): {
|
|
357
|
+
baseUrl: string;
|
|
358
|
+
fetch: import('../../local-files/managed-client-files-bridge.js').ManagedFetch;
|
|
359
|
+
};
|
|
347
360
|
listExtensionPackages(workspaceId: string, signal?: AbortSignal): Promise<{
|
|
348
361
|
supported: boolean;
|
|
349
362
|
extensions: components["schemas"]["ManagedExtensionPackage"][];
|
|
@@ -486,6 +499,7 @@ export declare class JavaManagedAgentClient {
|
|
|
486
499
|
pin: components["schemas"]["ManagedExtensionPackagePin"];
|
|
487
500
|
manifest: components["schemas"]["ManagedExtensionPackageManifest"];
|
|
488
501
|
byteLength: number;
|
|
502
|
+
source?: components["schemas"]["ManagedExtensionSourceOrigin"];
|
|
489
503
|
}>;
|
|
490
504
|
queryMcpManagement(request: Schemas['WebShellMcpManagementQuery'], signal?: AbortSignal): Promise<{
|
|
491
505
|
sessionId: string;
|
|
@@ -30,6 +30,14 @@ export type ManagedWorkspaceFileUploadRequest = ManagedWorkspaceFileLocator & {
|
|
|
30
30
|
expectedScopeRevision: string;
|
|
31
31
|
uploadId: string;
|
|
32
32
|
};
|
|
33
|
+
export interface ManagedAgentTerminalTicket {
|
|
34
|
+
ticket: string;
|
|
35
|
+
expiresInSeconds: number;
|
|
36
|
+
}
|
|
37
|
+
export interface ManagedAgentTerminalProvider {
|
|
38
|
+
ticket(sessionId: string, terminalId: string, options: ManagedAgentRequestOptions): Promise<ManagedAgentTerminalTicket>;
|
|
39
|
+
webSocketUrl(sessionId: string, terminalId: string): string;
|
|
40
|
+
}
|
|
33
41
|
export declare function isManagedApprovalMode(value: unknown): value is ManagedApprovalMode;
|
|
34
42
|
export declare function isManagedInitialApprovalMode(value: unknown): value is Exclude<ManagedApprovalMode, 'auto'>;
|
|
35
43
|
export declare function managedPermissionRulesEqual(left: ManagedPermissionRules | undefined, right: ManagedPermissionRules | undefined): boolean;
|
|
@@ -165,6 +173,8 @@ export interface ManagedAgentSessionSummary {
|
|
|
165
173
|
inputAttachments?: boolean;
|
|
166
174
|
btw?: boolean;
|
|
167
175
|
recap?: boolean;
|
|
176
|
+
terminal?: boolean | null;
|
|
177
|
+
clientFiles?: boolean;
|
|
168
178
|
};
|
|
169
179
|
failure?: {
|
|
170
180
|
code: string;
|
|
@@ -286,6 +296,17 @@ export interface ManagedAgentProvider {
|
|
|
286
296
|
readonly mcp?: {
|
|
287
297
|
list(sessionId: string, options: ManagedAgentRequestOptions): Promise<ManagedSessionMcp>;
|
|
288
298
|
};
|
|
299
|
+
/**
|
|
300
|
+
* The authenticated transport for the client filesystem bridge. The browser
|
|
301
|
+
* entry is gated on the deployment's client-files capability; this transport
|
|
302
|
+
* is the pipe the bridge drives once the entry is shown.
|
|
303
|
+
*/
|
|
304
|
+
readonly clientFiles?: {
|
|
305
|
+
transport(): {
|
|
306
|
+
baseUrl: string;
|
|
307
|
+
fetch: import('../../local-files/managed-client-files-bridge.js').ManagedFetch;
|
|
308
|
+
};
|
|
309
|
+
};
|
|
289
310
|
readonly extensions?: {
|
|
290
311
|
readonly storageScope?: string;
|
|
291
312
|
list(workspaceId: string, options: ManagedAgentRequestOptions): Promise<ManagedExtensionCatalog>;
|
|
@@ -330,6 +351,7 @@ export interface ManagedAgentProvider {
|
|
|
330
351
|
respond(action: ManagedAgentPendingAction, response: ManagedAgentActionResponse, options: ManagedAgentCommandOptions): Promise<void>;
|
|
331
352
|
};
|
|
332
353
|
readonly toolResults?: ManagedToolResultReader;
|
|
354
|
+
readonly terminal?: ManagedAgentTerminalProvider;
|
|
333
355
|
readonly toolDetails?: {
|
|
334
356
|
get(sessionId: string, itemId: string, options: ManagedAgentRequestOptions): Promise<components['schemas']['WebShellToolDetails']>;
|
|
335
357
|
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2025 Qwen Team
|
|
4
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
+
*/
|
|
6
|
+
export declare const MANAGED_TERMINAL_SUBPROTOCOL = "qwen-ws";
|
|
7
|
+
export declare const MANAGED_TERMINAL_BEARER_PREFIX = "qwen-bearer.";
|
|
8
|
+
/**
|
|
9
|
+
* The ticket is already base64url. The Managed relay consumes it verbatim,
|
|
10
|
+
* unlike the daemon terminal whose token is base64url-encoded here.
|
|
11
|
+
*/
|
|
12
|
+
export declare function managedTerminalProtocols(ticket: string): string[];
|
|
13
|
+
/** Stable per-Session id; reconnect reuse is what restores the PTY. */
|
|
14
|
+
export declare function newManagedTerminalId(now?: number): string;
|
|
@@ -1,23 +1,15 @@
|
|
|
1
|
-
import type { ManagedAgentProvider, ManagedAgentSessionSummary, ManagedSessionModels } from './managed-agent-provider';
|
|
2
|
-
interface ModelIntent {
|
|
3
|
-
sessionId: string;
|
|
4
|
-
modelId: string;
|
|
5
|
-
expectedRevision: number;
|
|
6
|
-
idempotencyKey: string;
|
|
7
|
-
}
|
|
1
|
+
import type { ManagedAgentProvider, ManagedAgentSessionSummary, ManagedModelSelection, ManagedSessionModels } from './managed-agent-provider';
|
|
8
2
|
export declare function useManagedModelChange(provider: ManagedAgentProvider, clientId: string, sessionId: string | undefined, summary: ManagedAgentSessionSummary | undefined, refreshSummary: (signal?: AbortSignal) => Promise<ManagedAgentSessionSummary | undefined>, interactive: boolean): {
|
|
3
|
+
selection: ManagedModelSelection | undefined;
|
|
9
4
|
options: ManagedSessionModels | undefined;
|
|
10
5
|
optionsLoading: boolean;
|
|
11
6
|
optionsError: boolean;
|
|
12
7
|
supported: boolean;
|
|
13
8
|
blocked: boolean;
|
|
14
|
-
submit: (modelId: string) => Promise<
|
|
15
|
-
confirm: () => Promise<true | undefined>;
|
|
9
|
+
submit: (modelId: string) => Promise<boolean | undefined>;
|
|
16
10
|
reloadOptions: () => void;
|
|
17
11
|
isBlocked: () => boolean;
|
|
18
12
|
key: string;
|
|
19
|
-
pending?: ModelIntent;
|
|
20
13
|
busy: boolean;
|
|
21
14
|
errorCode?: string;
|
|
22
15
|
};
|
|
23
|
-
export {};
|
|
@@ -39,6 +39,8 @@ interface ToolLineProps {
|
|
|
39
39
|
detailsVisible?: boolean;
|
|
40
40
|
hideHeader?: boolean;
|
|
41
41
|
hideCollapsedOutput?: boolean;
|
|
42
|
+
/** Bumped by the enclosing group to open this row from elsewhere. */
|
|
43
|
+
revealSeq?: number;
|
|
42
44
|
}
|
|
43
45
|
export declare function shouldAutoExpand(tool: ACPToolCall): boolean;
|
|
44
46
|
export declare function getToolHeaderKind(tool: ACPToolCall): ToolHeaderKind;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { type ReactNode } from 'react';
|
|
2
|
+
import { useSessionSearch } from './use-session-search';
|
|
3
|
+
type SearchOptions = Parameters<typeof useSessionSearch>[0];
|
|
4
|
+
type SearchEntry = ReturnType<typeof useSessionSearch>['entries'][number];
|
|
5
|
+
interface SessionSearchDialogProps extends Omit<SearchOptions, 'query'> {
|
|
6
|
+
onClose: () => void;
|
|
7
|
+
onSelect: (entry: SearchEntry) => void;
|
|
8
|
+
restoreFocus: HTMLElement | null;
|
|
9
|
+
customContent?: ReactNode;
|
|
10
|
+
additionalContent?: ReactNode;
|
|
11
|
+
onQueryChange: (query: string) => void;
|
|
12
|
+
}
|
|
13
|
+
export declare function SessionSearchDialog({ onClose, onSelect, restoreFocus, customContent, additionalContent, onQueryChange, ...options }: SessionSearchDialogProps): import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
export {};
|
|
@@ -1,8 +1,16 @@
|
|
|
1
|
+
import type { DaemonWorkspaceCapability } from '@qwen-code/sdk/daemon';
|
|
1
2
|
export type SessionSort = 'updatedAt' | 'lastUserPromptAt';
|
|
3
|
+
export type WorkspaceFilter = 'all' | 'standalone' | `workspace:${string}`;
|
|
2
4
|
export declare function readSessionSort(host: string): SessionSort;
|
|
3
5
|
export declare function writeSessionSort(host: string, sort: SessionSort): void;
|
|
4
|
-
export declare function
|
|
6
|
+
export declare function readWorkspaceFilter(host: string): WorkspaceFilter;
|
|
7
|
+
export declare function writeWorkspaceFilter(host: string, filter: WorkspaceFilter): void;
|
|
8
|
+
export declare function SessionSortMenu({ value, onChange, workspaceValue, onWorkspaceChange, workspaces, sortEnabled, triggerClassName, }: {
|
|
5
9
|
value: SessionSort;
|
|
6
10
|
onChange: (value: SessionSort) => void;
|
|
11
|
+
workspaceValue: WorkspaceFilter;
|
|
12
|
+
onWorkspaceChange: (value: WorkspaceFilter) => void;
|
|
13
|
+
workspaces: readonly DaemonWorkspaceCapability[];
|
|
14
|
+
sortEnabled?: boolean;
|
|
7
15
|
triggerClassName?: string;
|
|
8
16
|
}): import("react/jsx-runtime").JSX.Element;
|