@qwen-code/web-shell 0.27.3 → 0.27.4-nightly.20261116.eb3a599ef3

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 (226) hide show
  1. package/NOTICES.txt +2 -2
  2. package/dist/{PierreFilePreview-BKOzAUEu.js → PierreFilePreview-BSPYtMfT.js} +1 -1
  3. package/dist/{SpreadsheetPreview-EW2DID9C.js → SpreadsheetPreview-Dt3j8svo.js} +11 -11
  4. package/dist/{WorkspaceFileBrowser-hawy03a1.js → WorkspaceFileBrowser-BEfKDZo-.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-CoQyuI6v.js +1746 -0
  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-CDuO1Jdf.js} +97124 -94299
  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 +11059 -10807
  113. package/dist/types/adapters/toolClassification.d.ts +2 -1
  114. package/dist/types/browser-notifications/messages.d.ts +1 -0
  115. package/dist/types/browser-notifications/messages.transcript-stub.d.ts +1 -0
  116. package/dist/types/components/ChatContextHeader.d.ts +5 -1
  117. package/dist/types/components/ChatEditor.d.ts +2 -1
  118. package/dist/types/components/GoalStatusStrip.d.ts +14 -2
  119. package/dist/types/components/LocalFilesControl.d.ts +40 -1
  120. package/dist/types/components/ManagedLocalFilesControl.d.ts +20 -0
  121. package/dist/types/components/MessageItem.d.ts +2 -0
  122. package/dist/types/components/MessageList.d.ts +1 -0
  123. package/dist/types/components/ReportedArtifactRegistration.d.ts +25 -0
  124. package/dist/types/components/ToastHost.d.ts +27 -1
  125. package/dist/types/components/WorkspacePill.d.ts +14 -0
  126. package/dist/types/components/artifacts/files-messages.d.ts +33 -0
  127. package/dist/types/components/artifacts/files-messages.transcript-stub.d.ts +1 -0
  128. package/dist/types/components/artifacts/token-usage-messages.d.ts +1 -0
  129. package/dist/types/components/artifacts/token-usage-messages.transcript-stub.d.ts +1 -0
  130. package/dist/types/components/channels/ChannelEditorDialog.d.ts +2 -2
  131. package/dist/types/components/channels/ChannelQrLogin.d.ts +2 -2
  132. package/dist/types/components/channels/channel-editor-state.d.ts +1 -1
  133. package/dist/types/components/channels/channel-events-messages.d.ts +1 -0
  134. package/dist/types/components/channels/channel-platform.d.ts +5 -1
  135. package/dist/types/components/channels/qr-login-contract.type-test.d.ts +55 -0
  136. package/dist/types/components/dialogs/GoalsDialog.d.ts +23 -6
  137. package/dist/types/components/managed/ManagedTerminalPanel.d.ts +17 -0
  138. package/dist/types/components/managed/generated/managed-agent-api.d.ts +364 -3
  139. package/dist/types/components/managed/java-managed-agent-client.d.ts +13 -0
  140. package/dist/types/components/managed/managed-agent-provider.d.ts +22 -0
  141. package/dist/types/components/managed/managed-diagnostics-messages.d.ts +167 -167
  142. package/dist/types/components/managed/managed-extension-messages.d.ts +1 -0
  143. package/dist/types/components/managed/managed-lifecycle-messages.d.ts +40 -0
  144. package/dist/types/components/managed/managed-lifecycle-messages.transcript-stub.d.ts +1 -0
  145. package/dist/types/components/managed/managed-mcp-messages.d.ts +1 -0
  146. package/dist/types/components/managed/managed-mcp-messages.transcript-stub.d.ts +1 -0
  147. package/dist/types/components/managed/managed-recovery-messages.d.ts +1 -0
  148. package/dist/types/components/managed/managed-task-messages.d.ts +1 -0
  149. package/dist/types/components/managed/managed-task-messages.transcript-stub.d.ts +1 -0
  150. package/dist/types/components/managed/managed-terminal-protocol.d.ts +14 -0
  151. package/dist/types/components/managed/managed-workspace-messages.d.ts +1 -0
  152. package/dist/types/components/managed/managed-workspace-messages.transcript-stub.d.ts +1 -0
  153. package/dist/types/components/message-deletion-messages.d.ts +1 -0
  154. package/dist/types/components/message-deletion-messages.transcript-stub.d.ts +1 -0
  155. package/dist/types/components/messages/AssistantMessage.d.ts +2 -0
  156. package/dist/types/components/messages/HookStatistics.d.ts +4 -0
  157. package/dist/types/components/messages/HookStatistics.transcript-stub.d.ts +4 -0
  158. package/dist/types/components/messages/hook-statistics-context.d.ts +13 -0
  159. package/dist/types/components/messages/hook-statistics-turns.d.ts +3 -0
  160. package/dist/types/components/messages/session-link.d.ts +1 -0
  161. package/dist/types/components/panels/EnvironmentPanel.d.ts +7 -1
  162. package/dist/types/components/sidebar/SessionSearchDialog.d.ts +14 -0
  163. package/dist/types/components/sidebar/SessionSortMenu.d.ts +9 -1
  164. package/dist/types/components/sidebar/activity-messages.d.ts +1 -0
  165. package/dist/types/components/sidebar/use-session-search.d.ts +38 -0
  166. package/dist/types/components/terminal/terminal-protocol.d.ts +30 -0
  167. package/dist/types/components/workspace-agents/add-runtime-dialog.d.ts +13 -5
  168. package/dist/types/components/workspace-agents/messages.d.ts +1 -0
  169. package/dist/types/components/workspace-agents/messages.transcript-stub.d.ts +1 -0
  170. package/dist/types/components/workspace-agents/useAgentChatEntry.d.ts +1 -1
  171. package/dist/types/customization.d.ts +9 -1
  172. package/dist/types/daemon/session/actions.d.ts +2 -1
  173. package/dist/types/daemon/session/types.d.ts +15 -1
  174. package/dist/types/daemon/workspace/hooks/useDaemonChannels.d.ts +2 -2
  175. package/dist/types/daemon/workspace/types.d.ts +17 -1
  176. package/dist/types/hooks/useComposerCore.d.ts +20 -0
  177. package/dist/types/hooks/useListboxKeyboard.d.ts +8 -1
  178. package/dist/types/hooks/useSessionArtifacts.d.ts +1 -2
  179. package/dist/types/i18n-ru-part1.d.ts +1 -0
  180. package/dist/types/i18n-ru-part1.transcript-stub.d.ts +12 -0
  181. package/dist/types/i18n-ru-part2.d.ts +1 -0
  182. package/dist/types/i18n-ru-part2.transcript-stub.d.ts +12 -0
  183. package/dist/types/i18n-ru-part3.d.ts +1 -0
  184. package/dist/types/i18n-ru-part3.transcript-stub.d.ts +12 -0
  185. package/dist/types/i18n-ru-part4.d.ts +1 -0
  186. package/dist/types/i18n-ru-part4.transcript-stub.d.ts +12 -0
  187. package/dist/types/i18n-ru-part5.d.ts +1 -0
  188. package/dist/types/i18n-ru-part5.transcript-stub.d.ts +12 -0
  189. package/dist/types/i18n-ru-part6.d.ts +1 -0
  190. package/dist/types/i18n-ru-part6.transcript-stub.d.ts +12 -0
  191. package/dist/types/i18n-ru-remainder.d.ts +6 -0
  192. package/dist/types/i18n-ru-remainder.transcript-stub.d.ts +11 -0
  193. package/dist/types/i18n.d.ts +6 -0
  194. package/dist/types/live/messages.d.ts +1 -0
  195. package/dist/types/live/messages.transcript-stub.d.ts +1 -0
  196. package/dist/types/local-files/managed-client-files-bridge.d.ts +87 -0
  197. package/dist/types/local-files/useLocalFilesBridge.d.ts +7 -1
  198. package/dist/types/local-files/useManagedLocalFilesBridge.d.ts +33 -0
  199. package/dist/types/mcp-app/messages.d.ts +1 -0
  200. package/dist/types/mcp-app/messages.transcript-stub.d.ts +1 -0
  201. package/dist/types/session-catalog/session-catalog-hooks.d.ts +3 -2
  202. package/dist/types/settings/messages.d.ts +1 -0
  203. package/dist/types/settings/messages.transcript-stub.d.ts +1 -0
  204. package/dist/types/trajectory/execution-messages.d.ts +1 -0
  205. package/dist/types/trajectory/execution-messages.transcript-stub.d.ts +1 -0
  206. package/dist/types/trajectory/filter-messages.d.ts +1 -0
  207. package/dist/types/trajectory/filter-messages.transcript-stub.d.ts +1 -0
  208. package/dist/types/trajectory/project-trajectory-lifecycle.d.ts +1 -1
  209. package/dist/types/trajectory/trajectory-live-store.d.ts +3 -1
  210. package/dist/types/trajectory/window-messages.d.ts +1 -0
  211. package/dist/types/trajectory/window-messages.transcript-stub.d.ts +1 -0
  212. package/dist/types/utils/plural.d.ts +5 -0
  213. package/dist/types/utils/random-uuid.d.ts +6 -0
  214. package/dist/types/voice/VoiceButton.d.ts +9 -1
  215. package/dist/types/voice/messages.d.ts +1 -0
  216. package/dist/types/voice/messages.transcript-stub.d.ts +1 -0
  217. package/dist/types/voice/useVoiceCapture.d.ts +8 -0
  218. package/dist/{useDaemonMidTurnInjected-Dz_HbaHK.js → useDaemonMidTurnInjected-CF_pQHJz.js} +11491 -5980
  219. package/dist/{vennDiagram-4TSXK5OY-DZCe1Ffi.js → vennDiagram-4TSXK5OY-Ugg_3Ng_.js} +1 -1
  220. package/dist/{vennDiagram-4TSXK5OY-Bi3e_aHN.js → vennDiagram-4TSXK5OY-lGXxi-Hh.js} +1 -1
  221. package/dist/{wardleyDiagram-VM6X3IG4-DqFJHRmt.js → wardleyDiagram-VM6X3IG4-CJ3EtuQM.js} +2 -2
  222. package/dist/{wardleyDiagram-VM6X3IG4-BNV5jzew.js → wardleyDiagram-VM6X3IG4-EJ4kWZKd.js} +2 -2
  223. package/dist/{xychartDiagram-S5SC5T6Z-J8xP-hcH.js → xychartDiagram-S5SC5T6Z-CWsXVaw1.js} +2 -2
  224. package/dist/{xychartDiagram-S5SC5T6Z-BVIJ86ch.js → xychartDiagram-S5SC5T6Z-aoVIM2Tw.js} +2 -2
  225. package/package.json +1 -1
  226. package/dist/agents-route-CGpa1jTD.js +0 -1727
@@ -1,5 +1,6 @@
1
- import type { ACPToolCall } from './types.js';
1
+ import type { ACPToolCall, PermissionRequest } from './types.js';
2
2
  export declare function resolveToolCallName(toolName: string | undefined, rawInput: unknown): string | undefined;
3
+ export declare function isNamedSubSessionApproval(request: PermissionRequest): boolean;
3
4
  export declare function isActiveToolStatus(status: ACPToolCall['status'] | string): boolean;
4
5
  export type TerminalBackgroundAgentStatus = 'completed' | 'failed' | 'cancelled' | 'canceled';
5
6
  export declare function isTerminalBackgroundAgentStatus(status: unknown): status is TerminalBackgroundAgentStatus;
@@ -6,4 +6,5 @@
6
6
  type BrowserNotificationMessage = string | ((vars?: Record<string, string | number>) => string);
7
7
  export declare const BROWSER_NOTIFICATION_MESSAGES_EN: Record<string, BrowserNotificationMessage>;
8
8
  export declare const BROWSER_NOTIFICATION_MESSAGES_ZH: Record<string, BrowserNotificationMessage>;
9
+ export declare const BROWSER_NOTIFICATION_MESSAGES_RU: Record<string, BrowserNotificationMessage>;
9
10
  export {};
@@ -5,3 +5,4 @@
5
5
  */
6
6
  export declare const BROWSER_NOTIFICATION_MESSAGES_EN: {};
7
7
  export declare const BROWSER_NOTIFICATION_MESSAGES_ZH: {};
8
+ export declare const BROWSER_NOTIFICATION_MESSAGES_RU: {};
@@ -31,8 +31,12 @@ interface ChatContextHeaderProps {
31
31
  onOpenTokenUsage?: () => void;
32
32
  /** Opens the session context panel; hidden when omitted. */
33
33
  onOpenContextUsage?: () => void;
34
+ /** Session artifact count; the artifact entry shows when greater than 0. */
35
+ artifactCount?: number;
36
+ /** Opens the environment panel's artifacts section; hidden when omitted. */
37
+ onOpenArtifacts?: () => void;
34
38
  /** Shows the Local Control QR entry; hidden when omitted. */
35
39
  onOpenLocalControlSettings?: () => void;
36
40
  }
37
- export declare function ChatContextHeader({ content, location, workspaceName, workspacePath, hideWorkspaceIcon, environmentOpen, environmentAvailable, environmentRunning, rightPanelOpen, rightPanelAvailable, onToggleEnvironment, onToggleRightPanel, onOpenFiles, onOpenTokenUsage, onOpenContextUsage, onOpenLocalControlSettings, }: ChatContextHeaderProps): import("react/jsx-runtime").JSX.Element;
41
+ export declare function ChatContextHeader({ content, location, workspaceName, workspacePath, hideWorkspaceIcon, environmentOpen, environmentAvailable, environmentRunning, rightPanelOpen, rightPanelAvailable, onToggleEnvironment, onToggleRightPanel, onOpenFiles, onOpenTokenUsage, onOpenContextUsage, artifactCount, onOpenArtifacts, onOpenLocalControlSettings, }: ChatContextHeaderProps): import("react/jsx-runtime").JSX.Element;
38
42
  export {};
@@ -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
  /**
@@ -1,5 +1,14 @@
1
- import type { GoalSnapshotV2 } from '@qwen-code/sdk/daemon';
1
+ import type { GoalSnapshotV2, GoalStatus } from '@qwen-code/sdk/daemon';
2
2
  import { useI18n } from '../i18n';
3
+ /**
4
+ * Lifecycle tone shared by the strip's status text and the Goals page's
5
+ * status pill / budget fills. Maps onto the shared execution-status palette
6
+ * (App.module.css) the cockpit and workflow inspector already use, so a
7
+ * goal's state reads the same colour everywhere: active = in flight,
8
+ * paused/blocked/usage_limited = needs attention, complete = done. Matches
9
+ * GoalStatusMessage's warning/success language.
10
+ */
11
+ export declare function goalStatusTone(status: GoalStatus): 'running' | 'attention' | 'done';
3
12
  export interface GoalStatusStripProps {
4
13
  snapshot: GoalSnapshotV2;
5
14
  busy?: boolean;
@@ -7,6 +16,9 @@ export interface GoalStatusStripProps {
7
16
  onPause: () => void;
8
17
  onResume: () => void;
9
18
  onClear: () => void;
19
+ /** Open the Goals page listing every goal. Absent on surfaces where that
20
+ * page is unavailable — the affordance then does not render. */
21
+ onOpenGoals?: () => void;
10
22
  }
11
23
  export declare function getGoalActiveTimeMs(snapshot: GoalSnapshotV2, now: number): number;
12
24
  export declare function getGoalTokenLabel(goal: NonNullable<GoalSnapshotV2['goal']>, t: ReturnType<typeof useI18n>['t']): string | undefined;
@@ -22,4 +34,4 @@ export declare function getGoalActiveTimeLabel(goal: NonNullable<GoalSnapshotV2[
22
34
  * as it does for tokens.
23
35
  */
24
36
  export declare function getGoalTurnBudgetLabel(goal: NonNullable<GoalSnapshotV2['goal']>, t: ReturnType<typeof useI18n>['t']): string | undefined;
25
- export declare function GoalStatusStrip({ snapshot, busy, onEdit, onPause, onResume, onClear, }: GoalStatusStripProps): import("react/jsx-runtime").JSX.Element | null;
37
+ export declare function GoalStatusStrip({ snapshot, busy, onEdit, onPause, onResume, onClear, onOpenGoals, }: GoalStatusStripProps): import("react/jsx-runtime").JSX.Element | null;
@@ -6,17 +6,56 @@
6
6
  import type { DaemonCapabilities, DaemonClient, DaemonWorkspaceCapability } from '@qwen-code/sdk/daemon';
7
7
  import type { AcpWorkspaceSelector } from '../local-files/bridge-client';
8
8
  import { type LocalFilesStatus } from '../local-files/useLocalFilesBridge';
9
+ /** Concrete command that enables the reverse channel on the daemon. */
10
+ export declare const LOCAL_FILES_DAEMON_COMMAND = "QWEN_SERVE_CLIENT_MCP_OVER_WS=1 qwen serve";
11
+ /**
12
+ * The startup command in the user's shell syntax: the POSIX env-prefix form
13
+ * is not parseable by PowerShell, so on Windows the affordance must copy the
14
+ * `$env:` form or the one action the blocker offers cannot enable the feature.
15
+ * The variable name is the literal run-qwen-serve.ts reads.
16
+ */
17
+ export declare function deriveLocalFilesDaemonCommand(platform: string | undefined): string;
18
+ /**
19
+ * Trigger dot color per phase. `null` means no dot. Failed and needs-gesture
20
+ * get distinct colors so a broken or re-authorization-pending bridge is not
21
+ * invisible the way a plain busy dot made it. `held-elsewhere` stays muted
22
+ * (not primary): the bridge is live but owned by another tab, so this tab must
23
+ * not read the dot as "I have a working bridge here". The warning states use
24
+ * the theme-aware `--warning-color` token (App.module.css) rather than a fixed
25
+ * palette color, so the dot keeps contrast in the light theme too.
26
+ */
27
+ export declare function getLocalFilesDotClass(status: LocalFilesStatus): string | null;
28
+ /** Tooltip naming the state (and directory) instead of the static label. */
29
+ export declare function getLocalFilesTooltip(status: LocalFilesStatus, t: (key: string) => string): string;
30
+ /** Derive the SSH tunnel command for the insecure-context blocker. */
31
+ export declare function deriveLocalFilesTunnelCommand(baseUrl: string): string | undefined;
32
+ /** The local port the copied tunnel binds — the address the user must open. */
33
+ export declare function deriveLocalFilesTunnelLocalPort(baseUrl: string): number | undefined;
9
34
  export interface LocalFilesPanelProps {
10
35
  status: LocalFilesStatus;
11
36
  onConnect: () => void;
12
37
  onDisconnect: () => void;
13
38
  onOpenInNewTab: () => void;
39
+ /** Offered only while connected; re-opens the picker for a new grant. */
40
+ onChangeDirectory?: () => void;
41
+ /** Bound session title, shown while connected when known. */
42
+ sessionName?: string;
43
+ /** Offered in needs-session when the host can create a session. */
44
+ onNewSession?: () => void;
45
+ /** Copies a concrete fix command; absent hosts render no copy buttons. */
46
+ onCopyCommand?: (command: string) => void;
47
+ /** SSH tunnel command for the insecure-context blocker, when derivable. */
48
+ tunnelCommand?: string;
49
+ /** Local port the tunnel binds; the blocker copy names the address to open. */
50
+ tunnelLocalPort?: number;
51
+ /** Daemon startup command in the user's shell syntax; defaults to POSIX. */
52
+ daemonCommand?: string;
14
53
  }
15
54
  /**
16
55
  * The popover body, kept prop-driven and free of hooks/portals so the phase →
17
56
  * affordance mapping is testable without a Radix portal or a daemon provider.
18
57
  */
19
- export declare function LocalFilesPanel({ status, onConnect, onDisconnect, onOpenInNewTab, }: LocalFilesPanelProps): import("react/jsx-runtime").JSX.Element;
58
+ export declare function LocalFilesPanel({ status, onConnect, onDisconnect, onOpenInNewTab, onChangeDirectory, sessionName, onNewSession, onCopyCommand, tunnelCommand, tunnelLocalPort, daemonCommand, }: LocalFilesPanelProps): import("react/jsx-runtime").JSX.Element;
20
59
  interface LocalFilesControlProps {
21
60
  /**
22
61
  * Class for the trigger button. Required, and supplied by the host surface
@@ -0,0 +1,20 @@
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
+ /** Bound session title, shown while connected when known. */
12
+ sessionName?: string;
13
+ }
14
+ /**
15
+ * The Managed-mode local files entry. Unlike the daemon control it has no
16
+ * workspace route or ACP re-warm: the provider supplies an authenticated
17
+ * HTTP/SSE transport, and the entry is withheld entirely when the deployment
18
+ * does not expose client files.
19
+ */
20
+ export declare function ManagedLocalFilesControl({ provider, sessionId, triggerClassName, sessionName, }: ManagedLocalFilesControlProps): import("react/jsx-runtime").JSX.Element | null;
@@ -4,7 +4,9 @@ import type { WebShellAssistantFeedbackRating, WebShellAssistantTurnFooterRender
4
4
  import { type SessionContentGenerator } from './messages/AssistantMessage';
5
5
  import type { TurnOutputOpenRequest } from './artifacts/TurnOutputs';
6
6
  import type { AttachmentPreviewRequest } from '../adapters/messageTypes';
7
+ import type { HookStatisticsTurn } from './messages/hook-statistics-context';
7
8
  interface MessageItemProps {
9
+ hookTurn?: HookStatisticsTurn;
8
10
  message: Message;
9
11
  pendingApproval?: PermissionRequest | null;
10
12
  /** Run /context detail, exactly like typing it (context-usage panels). */
@@ -12,6 +12,7 @@ export interface MessageListProps {
12
12
  deletion?: MessageDeletionControls;
13
13
  messages: Message[];
14
14
  frozenViewport?: boolean;
15
+ hookStatisticsSessionId?: string;
15
16
  terminalBackgroundShellTaskIds?: ReadonlySet<string>;
16
17
  pendingApproval: PermissionRequest | null;
17
18
  /** Run /context detail, exactly like typing it (context-usage panels). */
@@ -0,0 +1,25 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2026 Qwen Team
4
+ * SPDX-License-Identifier: Apache-2.0
5
+ */
6
+ import type { DaemonSessionArtifact } from '@qwen-code/sdk/daemon';
7
+ import { type RegistrationErrorTranslator } from '../hooks/useReportedArtifactRegistration';
8
+ /**
9
+ * Registers the files slash commands reported writing with the session
10
+ * artifact store. Rendered inside the shell's portal-root provider so the
11
+ * failure toast is scoped to this shell: App calls useSessionArtifacts in
12
+ * its own body, above the provider it returns, so the registration cannot
13
+ * ride along inside that hook without reading an unpopulated context.
14
+ *
15
+ * Mounted once per session consumer: App for the main session, ChatPane for
16
+ * split panes and side tasks, SubagentDetailContent for subagent sessions —
17
+ * each of those runs under its own DaemonSessionProvider, so a single mount
18
+ * in App would leave their reported artifacts unregistered.
19
+ */
20
+ export declare function ReportedArtifactRegistration({ registered, hydrated, refresh, translateError, }: {
21
+ registered: readonly DaemonSessionArtifact[];
22
+ hydrated: boolean;
23
+ refresh: () => Promise<void>;
24
+ translateError?: RegistrationErrorTranslator;
25
+ }): null;
@@ -1,4 +1,6 @@
1
1
  export type ToastTone = 'info' | 'warning' | 'error' | 'success';
2
+ export declare const MAX_TOASTS = 4;
3
+ export declare const TOAST_AUTO_DISMISS_MS = 5000;
2
4
  /** Window event that asks the app-level toast host to show a toast. Lets
3
5
  * deeply nested components (markdown links, artifact actions) report failures
4
6
  * without prop-drilling the toast callback. */
@@ -7,7 +9,7 @@ export interface ToastRequestDetail {
7
9
  tone: ToastTone;
8
10
  message: string;
9
11
  }
10
- export declare function requestToast(tone: ToastTone, message: string): void;
12
+ export declare function requestToast(tone: ToastTone, message: string, scope?: Element | null): void;
11
13
  export interface WebShellToast {
12
14
  id: string;
13
15
  tone: ToastTone;
@@ -15,6 +17,14 @@ export interface WebShellToast {
15
17
  /** Epoch ms when the toast auto-dismisses; survives host remounts. */
16
18
  dismissAt: number;
17
19
  }
20
+ /**
21
+ * The toast queue contract shared by App's listener and WindowToastHost, in
22
+ * one place so the two hosts cannot drift: deadline-based auto-dismiss and
23
+ * tone+message de-duplication with a capped stack (a repeat moves to the top
24
+ * instead of stacking twice; the oldest overflow drops).
25
+ */
26
+ export declare function createWebShellToast(tone: ToastTone, message: string, sequence: number): WebShellToast;
27
+ export declare function appendToastDeduped(current: readonly WebShellToast[], toast: WebShellToast): WebShellToast[];
18
28
  interface ToastHostProps {
19
29
  toasts: readonly WebShellToast[];
20
30
  onDismiss: (id: string) => void;
@@ -22,4 +32,20 @@ interface ToastHostProps {
22
32
  elevated?: boolean;
23
33
  }
24
34
  export declare function ToastHost({ toasts, onDismiss, elevated, }: ToastHostProps): import("react/jsx-runtime").JSX.Element | null;
35
+ /**
36
+ * Self-contained host for the window toast channel, for shells that do not
37
+ * carry App's toast state (the managed-only boot path). Same contract as
38
+ * App's listener: non-empty message guard, tone+message de-duplication, a
39
+ * capped stack, and deadline-based auto-dismiss. Without it, requestToast
40
+ * from a nested control dispatches into a document with no listener and the
41
+ * notice is silently dropped.
42
+ *
43
+ * `scope` narrows the listener to one shell's root element: requestToast
44
+ * dispatches on the acting shell's root (bubbling to window), so co-mounted
45
+ * shells do not show each other's notices. Omit it only for a single-shell
46
+ * document.
47
+ */
48
+ export declare function WindowToastHost({ scope }: {
49
+ scope?: HTMLElement | null;
50
+ }): import("react/jsx-runtime").JSX.Element;
25
51
  export {};
@@ -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 {};
@@ -64,3 +64,36 @@ export declare const FILES_MESSAGES_ZH: {
64
64
  'files.close': string;
65
65
  'files.sourceTooLarge': string;
66
66
  };
67
+ export declare const FILES_MESSAGES_RU: {
68
+ 'files.delete': string;
69
+ 'files.deleteTitle': string;
70
+ 'files.deleteWarning': string;
71
+ 'files.copyRelativePath': string;
72
+ 'files.copyAbsolutePath': string;
73
+ 'files.reference': string;
74
+ 'files.title': string;
75
+ 'files.newFile': string;
76
+ 'files.newFolder': string;
77
+ 'files.deleteMenu': string;
78
+ 'files.deleteFolderTitle': string;
79
+ 'files.deleteFolderWarning': string;
80
+ 'files.deleting': string;
81
+ 'files.name': string;
82
+ 'files.create': string;
83
+ 'files.creating': string;
84
+ 'files.destination': string;
85
+ 'files.invalidName': string;
86
+ 'files.uploadTo': string;
87
+ 'files.description': string;
88
+ 'files.filter': string;
89
+ 'files.noMatches': string;
90
+ 'files.resizeTree': string;
91
+ 'files.toggleTree': string;
92
+ 'files.closePreview': string;
93
+ 'files.emptyDirectory': string;
94
+ 'files.truncated': string;
95
+ 'files.loadFailed': string;
96
+ 'files.reloadUnavailable': string;
97
+ 'files.close': string;
98
+ 'files.sourceTooLarge': string;
99
+ };
@@ -1,2 +1,3 @@
1
1
  export declare const FILES_MESSAGES_EN: {};
2
2
  export declare const FILES_MESSAGES_ZH: {};
3
+ export declare const FILES_MESSAGES_RU: {};
@@ -6,4 +6,5 @@
6
6
  type TokenUsageMessage = string | ((vars?: Record<string, string | number>) => string);
7
7
  export declare const TOKEN_USAGE_MESSAGES_EN: Record<string, TokenUsageMessage>;
8
8
  export declare const TOKEN_USAGE_MESSAGES_ZH: Record<string, TokenUsageMessage>;
9
+ export declare const TOKEN_USAGE_MESSAGES_RU: Record<string, TokenUsageMessage>;
9
10
  export {};
@@ -5,3 +5,4 @@
5
5
  */
6
6
  export declare const TOKEN_USAGE_MESSAGES_EN: {};
7
7
  export declare const TOKEN_USAGE_MESSAGES_ZH: {};
8
+ export declare const TOKEN_USAGE_MESSAGES_RU: {};
@@ -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>;
@@ -6,4 +6,5 @@
6
6
  type ChannelEventsMessage = string | ((vars?: Record<string, string | number>) => string);
7
7
  export declare const CHANNEL_EVENTS_MESSAGES_EN: Record<string, ChannelEventsMessage>;
8
8
  export declare const CHANNEL_EVENTS_MESSAGES_ZH: Record<string, ChannelEventsMessage>;
9
+ export declare const CHANNEL_EVENTS_MESSAGES_RU: Record<string, ChannelEventsMessage>;
9
10
  export {};
@@ -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,31 @@
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 a creatable primary, else the first creatable
28
+ * entry, when absent or not creatable. */
29
+ defaultWorkspaceCwd?: string;
13
30
  onError: (error: unknown, fallback: string) => void;
14
31
  }
15
- export declare function GoalsDialog({ onCreateGoal, onOpenSession, onError, }: GoalsDialogProps): import("react/jsx-runtime").JSX.Element;
32
+ export declare function GoalsDialog({ onCreateGoal, onOpenSession, workspaces, lockedWorkspace, defaultWorkspaceCwd, onError, }: GoalsDialogProps): import("react/jsx-runtime").JSX.Element;
16
33
  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 {};