@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
@@ -0,0 +1,4 @@
1
+ import { type HookStatisticsTurn } from './hook-statistics-context';
2
+ export declare const HookStatistics: import("react").NamedExoticComponent<{
3
+ turn: HookStatisticsTurn;
4
+ }>;
@@ -0,0 +1,4 @@
1
+ import type { HookStatisticsTurn } from './hook-statistics-context';
2
+ export declare function HookStatistics(_props: {
3
+ turn: HookStatisticsTurn;
4
+ }): null;
@@ -0,0 +1,13 @@
1
+ import type { HookTurnPage, DaemonSessionTurnHooksPageOptions } from '@qwen-code/sdk/daemon';
2
+ import type { DaemonTurnNavigationStore } from '../../daemon/session/turn-navigation-store.js';
3
+ export interface HookStatisticsTurn {
4
+ sessionId: string;
5
+ promptId?: string;
6
+ recordId?: string;
7
+ }
8
+ export interface HookStatisticsSource {
9
+ sessionId: string;
10
+ navigation: DaemonTurnNavigationStore;
11
+ readPage(promptId: string, options: DaemonSessionTurnHooksPageOptions): Promise<HookTurnPage>;
12
+ }
13
+ export declare const HookStatisticsContext: import("react").Context<HookStatisticsSource | undefined>;
@@ -0,0 +1,3 @@
1
+ import type { Message } from '../../adapters/types';
2
+ import type { HookStatisticsTurn } from './hook-statistics-context';
3
+ export declare function collectHookStatisticsTurns(messages: readonly Message[], sessionId: string): ReadonlyMap<string, HookStatisticsTurn>;
@@ -0,0 +1 @@
1
+ export declare function openSessionLink(target: string): void;
@@ -24,6 +24,12 @@ interface EnvironmentPanelProps {
24
24
  onRetryAttachments?: () => void;
25
25
  artifacts?: readonly DaemonSessionArtifact[];
26
26
  artifactsLoading?: boolean;
27
+ /**
28
+ * Monotonic counter bumped by the header artifact entry. Each change forces
29
+ * the artifacts section open, so clicking the entry reveals the list even
30
+ * when the user had collapsed the section (the panel hides, not unmounts).
31
+ */
32
+ artifactsExpandSignal?: number;
27
33
  items?: readonly WebShellEnvironmentPanelItem[];
28
34
  onOpenGitDiff?: () => void;
29
35
  onOpenGitCommit?: () => void;
@@ -49,5 +55,5 @@ export type EnvironmentAgentTask = DaemonSessionAgentTaskStatus & {
49
55
  * off the same set, so the dot cannot promise a row the panel shows settled.
50
56
  */
51
57
  export declare function isTaskInProgress(status: DaemonSessionTaskWithWorkflowStatus['status']): boolean;
52
- export declare function EnvironmentPanel({ sources, onOpenSource, retrySourceRegistration, floating, hidden, workspaceCwd, gitWorkspaceCwd, gitCwd, gitSessionId, branch, gitStatus, tasks, agentTasks, attachments, attachmentsLoading, attachmentsError, onRetryAttachments, artifacts, artifactsLoading, items, onOpenGitDiff, onOpenGitCommit, onOpenGitWorktrees, onOpenGitLog, onOpenAgent, onOpenAgentWorkflow, onOpenTask, onReadImage, onImagePreview, onAttachmentPreview, onAttachmentPreviewError, onOpenArtifact, onDismiss, }: EnvironmentPanelProps): import("react/jsx-runtime").JSX.Element;
58
+ export declare function EnvironmentPanel({ sources, onOpenSource, retrySourceRegistration, floating, hidden, workspaceCwd, gitWorkspaceCwd, gitCwd, gitSessionId, branch, gitStatus, tasks, agentTasks, attachments, attachmentsLoading, attachmentsError, onRetryAttachments, artifacts, artifactsLoading, artifactsExpandSignal, items, onOpenGitDiff, onOpenGitCommit, onOpenGitWorktrees, onOpenGitLog, onOpenAgent, onOpenAgentWorkflow, onOpenTask, onReadImage, onImagePreview, onAttachmentPreview, onAttachmentPreviewError, onOpenArtifact, onDismiss, }: EnvironmentPanelProps): import("react/jsx-runtime").JSX.Element;
53
59
  export {};
@@ -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 SessionSortMenu({ value, onChange, triggerClassName, }: {
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;
@@ -1,4 +1,5 @@
1
1
  type Message = string | ((vars?: Record<string, string | number>) => string);
2
2
  export declare const ACTIVITY_MESSAGES_EN: Record<string, Message>;
3
3
  export declare const ACTIVITY_MESSAGES_ZH: Record<string, Message>;
4
+ export declare const ACTIVITY_MESSAGES_RU: Record<string, Message>;
4
5
  export {};
@@ -0,0 +1,38 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2026 Qwen
4
+ * SPDX-License-Identifier: Apache-2.0
5
+ */
6
+ import { type DaemonClient, type DaemonSessionSummary } from '@qwen-code/sdk/daemon';
7
+ export interface SessionSearchEntry {
8
+ session: DaemonSessionSummary;
9
+ workspaceCwd?: string;
10
+ snippet?: string;
11
+ }
12
+ export interface SessionSearchOptions {
13
+ client: DaemonClient | undefined;
14
+ workspaces: readonly {
15
+ cwd: string;
16
+ trusted?: boolean;
17
+ displayName?: string;
18
+ }[];
19
+ initialSessions: readonly DaemonSessionSummary[];
20
+ primaryWorkspaceCwd?: string;
21
+ includeStandalone: boolean;
22
+ source?: string;
23
+ organizationEnabled: boolean;
24
+ qualified: boolean;
25
+ /**
26
+ * Order-insensitive catalog membership (reload token + sorted session ids).
27
+ * A change drops settled content hits for sessions deleted, archived, or
28
+ * renamed while a query is active.
29
+ */
30
+ catalogKey: string;
31
+ query: string;
32
+ }
33
+ export declare function useSessionSearch({ client, workspaces, initialSessions, primaryWorkspaceCwd, includeStandalone, source, organizationEnabled, qualified, catalogKey, query, }: SessionSearchOptions): {
34
+ entries: SessionSearchEntry[];
35
+ loading: boolean;
36
+ failed: boolean;
37
+ retry: () => void;
38
+ };
@@ -0,0 +1,30 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2025 Qwen Team
4
+ * SPDX-License-Identifier: Apache-2.0
5
+ */
6
+ import type { WebShellTheme } from '../../themeContext';
7
+ export declare const CONTROL_FRAME_PREFIX = "\0";
8
+ /** Exponential backoff bounds for automatic WebSocket reconnection. */
9
+ export declare const RECONNECT_INITIAL_MS = 500;
10
+ export declare const RECONNECT_MAX_MS = 10000;
11
+ /**
12
+ * Close codes that end the terminal instead of reconnecting. 4003 is the
13
+ * Managed relay's synthesized "worker lost" code (TerminalRelayHandler
14
+ * TERMINAL_LOST_CLOSE_CODE); the daemon's own terminal never sends it, so the
15
+ * shared local panel is unaffected. Keep the two sides in sync.
16
+ */
17
+ export declare const NON_RETRYABLE_CLOSE_CODES: Set<number>;
18
+ export declare const WS_AUTH_SUBPROTOCOL = "qwen-ws";
19
+ export declare const WS_BEARER_SUBPROTOCOL_PREFIX = "qwen-bearer.";
20
+ export declare function xtermTheme(theme: WebShellTheme): {
21
+ background: string;
22
+ foreground: string;
23
+ cursor: string;
24
+ selectionBackground: string;
25
+ } | {
26
+ background: string;
27
+ foreground: string;
28
+ cursor: string;
29
+ selectionBackground?: undefined;
30
+ };
@@ -60,21 +60,29 @@ export declare function joinCommands(address: string, join: JoinToken): {
60
60
  /**
61
61
  * A join that went through, as the dialog sees it: whether the computer that
62
62
  * joined saved the connection. A `saveError` means it will not reconnect
63
- * after a restart or a workspace reload. `workspaceCwd`, from a remote
64
- * connect: the workspace the remote answered from, which its runtime
65
- * reports too. `false` is a connect that failed and was already reported
66
- * elsewhere; a failed join throws instead.
63
+ * after a restart or a workspace reload. The notice advises a rerun only on
64
+ * `recorded: true`: the credential then records this join's token, so the
65
+ * same join again goes on. Absent means unknown (an older daemon), and
66
+ * `recorded: false` means the rerun can be refused; neither earns the
67
+ * advice. `workspaceCwd`, from a remote connect: the workspace the remote
68
+ * answered from, which its runtime reports too. `false` is a connect that
69
+ * failed and was already reported elsewhere; a failed join throws instead.
67
70
  */
68
71
  export type RuntimeJoinOutcome = false | {
69
72
  saveError?: string;
70
73
  workspaceCwd?: string;
74
+ recorded?: boolean;
71
75
  };
72
76
  /**
73
77
  * Reads a `hosts/connect` answer, which `hosts/remote-connect` passes on. An
74
- * older daemon sends no `saved` field; it always claimed the save.
78
+ * older daemon sends no `saved` field; it always claimed the save. Nor
79
+ * `recorded`; absent means unknown, not recorded, and the notice then drops
80
+ * the remedy: a released daemon aborts the live connection on a token-bearing
81
+ * rerun and refuses the spent token.
75
82
  */
76
83
  export declare function joinOutcome(answer: unknown): {
77
84
  saveError?: string;
85
+ recorded?: boolean;
78
86
  };
79
87
  /**
80
88
  * The dialog's "I have its address and token" callback over `run`, which
@@ -13,4 +13,5 @@
13
13
  type CollabMessage = string | ((vars?: Record<string, string | number>) => string);
14
14
  export declare const COLLAB_MESSAGES_EN: Record<string, CollabMessage>;
15
15
  export declare const COLLAB_MESSAGES_ZH: Record<string, CollabMessage>;
16
+ export declare const COLLAB_MESSAGES_RU: Record<string, CollabMessage>;
16
17
  export {};
@@ -10,3 +10,4 @@
10
10
  */
11
11
  export declare const COLLAB_MESSAGES_EN: {};
12
12
  export declare const COLLAB_MESSAGES_ZH: {};
13
+ export declare const COLLAB_MESSAGES_RU: {};
@@ -101,7 +101,7 @@ export declare function useAgentChatEntry({ enabled, cwd, baseUrl, token, client
101
101
  t: ReturnType<typeof useI18n>['t'];
102
102
  }): {
103
103
  providers: WebShellAtProvider[];
104
- submit: (text: string, images?: import("../../adapters/promptTypes").PromptImage[], files?: import("../../adapters/promptTypes").PromptFile[], commitAccepted?: import("../../hooks/useComposerCore").ComposerSubmitCommit, metadata?: import("../../hooks/useComposerCore").ComposerSubmitMetadata) => boolean | void;
104
+ submit: (text: string, images?: import("../../adapters/promptTypes.js").PromptImage[], files?: import("../../adapters/promptTypes.js").PromptFile[], commitAccepted?: import("../../hooks/useComposerCore.js").ComposerSubmitCommit, metadata?: import("../../hooks/useComposerCore.js").ComposerSubmitMetadata) => boolean | void;
105
105
  pending: boolean;
106
106
  pendingMentions: PendingAgentMention[];
107
107
  };
@@ -136,7 +136,7 @@ export interface ToolHeaderExtraRenderInfo {
136
136
  export type ToolHeaderExtraRenderer = (info: ToolHeaderExtraRenderInfo) => ReactNode;
137
137
  export type WelcomeHeaderRenderer = (props: WelcomeHeaderProps) => ReactNode;
138
138
  export type WelcomeFooterRenderer = (props: WelcomeHeaderProps) => ReactNode;
139
- export type WebShellChatHeaderItem = 'title' | 'environment' | 'rightPanel' | 'tokenUsage' | 'contextUsage';
139
+ export type WebShellChatHeaderItem = 'title' | 'environment' | 'rightPanel' | 'artifacts' | 'tokenUsage' | 'contextUsage';
140
140
  export interface WebShellChatHeaderOptions {
141
141
  /** Show the mobile-access QR entry in chat headers. Defaults to false. */
142
142
  showMobileAccess?: boolean;
@@ -181,6 +181,14 @@ export interface ChatHeaderRenderInfo {
181
181
  onOpenTokenUsage?: () => void;
182
182
  /** Opens context usage for the current session, when available. */
183
183
  onOpenContextUsage?: () => void;
184
+ /**
185
+ * Number of session artifacts. Published together with `onOpenArtifacts`
186
+ * only when the artifacts section can actually be opened, so a count never
187
+ * appears without a way to act on it.
188
+ */
189
+ artifactCount?: number;
190
+ /** Opens the environment panel's artifacts section, when available. */
191
+ onOpenArtifacts?: () => void;
184
192
  /** Opens Settings deep-linked to Local Control (Daemon category). */
185
193
  onOpenLocalControlSettings?: () => void;
186
194
  }
@@ -65,6 +65,7 @@ export interface CreateDaemonSessionActionsArgs {
65
65
  getDefaultSessionContext: () => DaemonProductSessionContext | undefined;
66
66
  getClient?: () => DaemonClient | undefined;
67
67
  getConnection: () => DaemonConnectionState;
68
+ getPromptStatus: () => DaemonPromptStatus;
68
69
  getEventDetailMode: () => 'full' | 'summary';
69
70
  hasSessionActivePrompt: () => boolean;
70
71
  resetCurrentSessionActivePrompt: () => void;
@@ -91,7 +92,7 @@ export interface CreateDaemonSessionActionsArgs {
91
92
  export declare function getWorkspaceModelsAfterSessionClear(current: DaemonConnectionState): DaemonConnectionState['models'];
92
93
  export declare function getConnectionAfterSessionClear(current: DaemonConnectionState, clearedSessionId: string | undefined, preserveWorkspaceMetadata?: boolean, dropSessionContext?: boolean): DaemonConnectionState;
93
94
  export declare function advanceSessionRecoveryGeneration(generations: WeakMap<DaemonSessionClient, number>, session: DaemonSessionClient): number;
94
- export declare function createDaemonSessionActions({ store, sessionRef, activePromptsRef, settledPromptsRef, pendingSessionLoadRef, pendingSessionLoadIdRef, sessionConfigGeneration, sessionRecoveryGeneration, heartbeatSupportedRef, manualSessionClearRef, skipNextCleanupDetachSessionRef, passiveAssistantDoneTimerRef, daemonActivePromptRef, settleRestoredActivePrompt, flushTranscript, getCreateSessionRequest, createDetachedSession, createDetachedStandaloneSession, getDefaultSessionContext, getClient, getConnection, getEventDetailMode, hasSessionActivePrompt, resetCurrentSessionActivePrompt, restartEventStream, addNotice, setConnection, setPromptStatus, setRestoreSessionId, setRestoreSessionContext, setRestoreMode, setRestoreSessionNonce, setAttachSessionNonce, setNewSessionNonce, clearLiveJournalRepair, onGeneratedUiInvalidated, onPromptAdmitted, onContinuationAdmitted, onPromptRemoved, }: CreateDaemonSessionActionsArgs): DaemonSessionActions;
95
+ export declare function createDaemonSessionActions({ store, sessionRef, activePromptsRef, settledPromptsRef, pendingSessionLoadRef, pendingSessionLoadIdRef, sessionConfigGeneration, sessionRecoveryGeneration, heartbeatSupportedRef, manualSessionClearRef, skipNextCleanupDetachSessionRef, passiveAssistantDoneTimerRef, daemonActivePromptRef, settleRestoredActivePrompt, flushTranscript, getCreateSessionRequest, createDetachedSession, createDetachedStandaloneSession, getDefaultSessionContext, getClient, getConnection, getPromptStatus, getEventDetailMode, hasSessionActivePrompt, resetCurrentSessionActivePrompt, restartEventStream, addNotice, setConnection, setPromptStatus, setRestoreSessionId, setRestoreSessionContext, setRestoreMode, setRestoreSessionNonce, setAttachSessionNonce, setNewSessionNonce, clearLiveJournalRepair, onGeneratedUiInvalidated, onPromptAdmitted, onContinuationAdmitted, onPromptRemoved, }: CreateDaemonSessionActionsArgs): DaemonSessionActions;
95
96
  /**
96
97
  * Key under which a shell command tracks its prompt in the active-prompt map.
97
98
  * Shell commands run as their own prompt alongside a conversation turn, so they
@@ -4,7 +4,7 @@
4
4
  * SPDX-License-Identifier: Apache-2.0
5
5
  */
6
6
  import type { ReactNode } from 'react';
7
- import type { CreateSessionRequest, DaemonBranchSessionRequest, DaemonCapabilities, DaemonBackgroundTurn, DaemonEvent, DaemonApprovalMode, DaemonApprovalModeResult, DaemonAvailableCommand, DaemonForkSessionResult, DaemonInputAnnotation, DaemonSessionBtwResult, DaemonSessionGenerationEvent, DaemonSessionAttachmentReference, DaemonSessionAttachmentData, DaemonMidTurnMessageResult, DaemonMidTurnMessagesResult, DaemonRemoveMidTurnMessageResult, DaemonSendMidTurnMessagesNowResult, DaemonPendingPromptsResult, DaemonRemovePendingPromptResult, DaemonSessionContextStatus, DaemonSessionSavedWorkflowDetail, DaemonSessionContextUsageStatus, DaemonSessionRecapResult, DaemonRewindResult, DaemonRewindSnapshotInfo, DaemonSession, DaemonSessionClient, DaemonSessionPrInfo, DaemonSessionSummary, DaemonSessionSupportedCommandsStatus, DaemonSessionTaskRuntimeStatus, DaemonSessionTaskWithWorkflowStatus, DaemonSessionTasksStatus, DaemonSessionWorkflowTaskStatus, DaemonSessionWorkflowTasksStatus, DaemonSessionStatsStatus, DaemonSessionArtifactsEnvelope, DaemonSessionArtifactInput, DaemonSessionArtifactMutationResult, SessionSourceInput, SessionSourcesResult, SessionSourceUpsertResult, SessionSourceRemoveResult, DaemonSkillToggleMutation, DaemonShellCommandResult, DaemonTranscriptBlock, DaemonTranscriptStore, DaemonWorkspaceGitStatus, DaemonWorkspaceProvidersStatus, DaemonStandaloneCreationRecovery, DaemonStandaloneWorkingDirectory, HeartbeatResult, GoalControlRequest, GoalSnapshotV2, GoalStateResponse, PermissionResponse, PromptContentBlock, PromptResult, ReasoningSelection, SessionMetadataResult, SetModelResult } from '@qwen-code/sdk/daemon';
7
+ import type { CreateSessionRequest, DaemonBranchSessionRequest, DaemonCapabilities, DaemonBackgroundTurn, DaemonEvent, DaemonApprovalMode, DaemonApprovalModeResult, DaemonAvailableCommand, DaemonForkSessionResult, DaemonInputAnnotation, DaemonSessionBtwResult, DaemonSessionGenerationEvent, DaemonSessionAttachmentReference, DaemonSessionAttachmentData, DaemonMidTurnMessageResult, DaemonMidTurnMessagesResult, DaemonRemoveMidTurnMessageResult, DaemonSendMidTurnMessagesNowResult, DaemonPendingPromptsResult, DaemonRemovePendingPromptResult, DaemonSessionContextStatus, DaemonSessionSavedWorkflowDetail, DaemonSessionContextUsageStatus, DaemonSessionRecapResult, DaemonRewindResult, DaemonRewindSnapshotInfo, DaemonSession, DaemonSessionClient, DaemonSessionPrInfo, DaemonSessionSummary, DaemonSessionSupportedCommandsStatus, DaemonSessionTaskRuntimeStatus, DaemonSessionTaskWithWorkflowStatus, DaemonSessionTasksStatus, DaemonSessionWorkflowTaskStatus, DaemonSessionWorkflowTasksStatus, DaemonSessionStatsStatus, DaemonSessionArtifact, DaemonSessionArtifactsEnvelope, DaemonSessionArtifactInput, DaemonSessionArtifactMutationResult, SessionSourceInput, SessionSourcesResult, SessionSourceUpsertResult, SessionSourceRemoveResult, DaemonSkillToggleMutation, DaemonShellCommandResult, DaemonTranscriptBlock, DaemonTranscriptStore, DaemonWorkspaceGitStatus, DaemonWorkspaceProvidersStatus, DaemonStandaloneCreationRecovery, DaemonStandaloneWorkingDirectory, HeartbeatResult, GoalControlRequest, GoalSnapshotV2, GoalStateResponse, PermissionResponse, PromptContentBlock, PromptResult, ReasoningSelection, SessionMetadataResult, SetModelResult } from '@qwen-code/sdk/daemon';
8
8
  export type DaemonConnectionStatus = 'idle' | 'connecting' | 'connected' | 'disconnected' | 'error';
9
9
  export interface DaemonSessionOwnerSnapshot {
10
10
  isCurrent(): boolean;
@@ -104,6 +104,19 @@ export interface DaemonConnectionState {
104
104
  loadingTranscript?: boolean;
105
105
  /** True while replaying buffered events after a reconnect. */
106
106
  catchingUp?: boolean;
107
+ /**
108
+ * Restored artifact snapshot embedded in the load response. Available before
109
+ * the replay renders so a session-level artifact entry can appear early;
110
+ * live updates still come from the gated artifact fetch.
111
+ */
112
+ restoredArtifacts?: DaemonSessionArtifact[];
113
+ /**
114
+ * Session the restoredArtifacts snapshot belongs to. The optimistic session
115
+ * switch moves sessionId before the new restore lands, so consumers must
116
+ * only use the snapshot when this matches the current sessionId — otherwise
117
+ * the previous session's artifacts leak under the new one.
118
+ */
119
+ restoredArtifactsSessionId?: string;
107
120
  error?: string;
108
121
  /** Latest HTTP error status kept for diagnostics; use missingSession for UI. */
109
122
  errorStatus?: number;
@@ -698,5 +711,6 @@ export interface PendingSessionLoad {
698
711
  reject: (error: unknown) => void;
699
712
  signal?: AbortSignal;
700
713
  replaySource?: 'configured' | 'memory';
714
+ reconcilePromptActivity?: boolean;
701
715
  }
702
716
  export {};
@@ -4,7 +4,7 @@
4
4
  * SPDX-License-Identifier: Apache-2.0
5
5
  */
6
6
  import type { DaemonChannelStartupRequest, DaemonChannelUpsertRequest, DaemonRevisionRequest } from '@qwen-code/sdk/daemon';
7
- import type { DaemonChannelPairingActions, DaemonChannelQrLoginActions, DaemonChannelsResource, DaemonResourceOptions } from '../types.js';
7
+ import type { DaemonChannelPairingActions, DaemonChannelQrLoginHandlers, DaemonChannelsResource, DaemonResourceOptions } from '../types.js';
8
8
  interface WorkspaceChannelsResource extends DaemonChannelsResource {
9
9
  workspaceCwd: string;
10
10
  }
@@ -36,6 +36,6 @@ export declare function useDaemonChannels(options?: DaemonChannelsOptions): {
36
36
  stop: (name: string) => Promise<import("@qwen-code/sdk/daemon").DaemonChannelMutationResult>;
37
37
  restart: (name: string) => Promise<import("@qwen-code/sdk/daemon").DaemonChannelMutationResult>;
38
38
  pairing: DaemonChannelPairingActions;
39
- qrLogin: DaemonChannelQrLoginActions;
39
+ qrLogin: DaemonChannelQrLoginHandlers;
40
40
  };
41
41
  export {};
@@ -146,6 +146,18 @@ export interface DaemonChannelQrLoginActions {
146
146
  */
147
147
  release(loginId: string, clientId?: string, workspaceCwd?: string): Promise<void>;
148
148
  }
149
+ /**
150
+ * What the channels hook hands its consumers: the identity is the tab's own, so
151
+ * a caller cannot supply one per call. Advertising the wider contract here
152
+ * would promise an attribution the hook does not honour — and with no tab id
153
+ * attached, honouring a caller's would attribute the login to a peer tab.
154
+ */
155
+ export interface DaemonChannelQrLoginHandlers {
156
+ start(name: string): Promise<DaemonChannelQrLoginStartResult>;
157
+ state(loginId: string): Promise<DaemonChannelQrLoginView>;
158
+ cancel(loginId: string): Promise<DaemonChannelQrLoginView>;
159
+ release(loginId: string): Promise<void>;
160
+ }
149
161
  export interface DaemonChannelPairingActions {
150
162
  list(name: string): Promise<DaemonChannelPairingRequestsSnapshot>;
151
163
  approve(name: string, code: string): Promise<DaemonChannelPairingApprovalResult>;
@@ -298,6 +310,10 @@ export interface DaemonGoal {
298
310
  hasActivePrompt: boolean;
299
311
  /** Canonical lifecycle state; UI controls must use its goalId/revision. */
300
312
  snapshot: GoalSnapshotV2;
313
+ /** The owning workspace's cwd, tagged client-side by the Goals page (in
314
+ * every listing branch) so opening a goal's session restores it in that
315
+ * workspace's context. Absent when the daemon advertises no workspaces. */
316
+ workspaceCwd?: string;
301
317
  }
302
318
  /** The `GET /goals` payload. */
303
319
  export interface DaemonGoalList {
@@ -523,7 +539,7 @@ export interface DaemonWorkspaceActions extends Pick<DaemonClient, 'getSubscript
523
539
  /** The provider workspace's Channel event journal, newest last. A scoped
524
540
  * workspace reads its own through its client. */
525
541
  listChannelEvents(query?: DaemonChannelEventsQuery): Promise<DaemonChannelEventList>;
526
- listGoals(): Promise<DaemonGoalList>;
542
+ listGoals(workspaceId?: string): Promise<DaemonGoalList>;
527
543
  controlGoal(sessionId: string, request: GoalControlRequest): Promise<GoalStateResponse>;
528
544
  /** Drop a session's goal hook. No-op when that session has no active goal. */
529
545
  clearGoal(sessionId: string): Promise<{
@@ -63,11 +63,22 @@ export interface ComposerSubmitMetadata {
63
63
  }
64
64
  export interface UseComposerCoreOptions {
65
65
  onSubmit: (text: string, images?: PromptImage[], files?: PromptFile[], commitAccepted?: ComposerSubmitCommit, metadata?: ComposerSubmitMetadata) => boolean | void;
66
+ /**
67
+ * Awaited before a user-initiated submit (Send button or Enter) reads the
68
+ * draft, so the host can finalize pending input first — e.g. stop voice
69
+ * dictation and insert its final transcript. Submits stay synchronous when
70
+ * it is absent. While it runs, further user submits are ignored and
71
+ * `submitPreparing` is true; a session switch, unmount, or a rejecting
72
+ * finalizer cancels the submit.
73
+ */
74
+ prepareSubmit?: () => Promise<void>;
66
75
  onInputTextChange?: (text: string) => void;
67
76
  onCycleMode?: () => void;
68
77
  cycleModeOnTab?: boolean;
69
78
  onToggleShortcuts?: () => void;
70
79
  disabled?: boolean;
80
+ /** Keep the editor editable while rejecting every submit path. */
81
+ submitDisabled?: boolean;
71
82
  /**
72
83
  * Whether the composer may react to FILE drags at all (drag highlight and
73
84
  * drop ingestion on the inline image/text lane). `false` leaves paste
@@ -183,6 +194,15 @@ export interface UseComposerCoreReturn {
183
194
  hasAttachments: boolean;
184
195
  hasContent: boolean;
185
196
  canSubmit: boolean;
197
+ /**
198
+ * The content-independent submit guards (disabled, submitDisabled, draft
199
+ * restore, pending attachment batches, workspace upload). `canSubmit` is
200
+ * `!submitBlocked && hasContent`; render sites that relax the content term
201
+ * must keep these guards.
202
+ */
203
+ submitBlocked: boolean;
204
+ /** True while `prepareSubmit` is running ahead of a user-initiated submit. */
205
+ submitPreparing: boolean;
186
206
  pendingImageBatchCount: number;
187
207
  imageDragActive: boolean;
188
208
  clearImageDragState: () => void;
@@ -1,3 +1,4 @@
1
+ import type { RefObject } from 'react';
1
2
  export interface ListboxKeyboardOptions {
2
3
  /** Number of selectable items in the list. */
3
4
  itemCount: number;
@@ -9,6 +10,12 @@ export interface ListboxKeyboardOptions {
9
10
  onConfirm: (index: number) => void;
10
11
  /** Disable the listener without unmounting the host component. */
11
12
  enabled?: boolean;
13
+ /**
14
+ * Optional element that must contain the focused element for keys to act.
15
+ * Dialogs that are not `DialogShell`s have no stack identity, so they use
16
+ * this to stay inert while another dialog is stacked above them.
17
+ */
18
+ scope?: RefObject<HTMLElement | null>;
12
19
  }
13
20
  export interface ListboxKeyboardResult {
14
21
  /**
@@ -39,4 +46,4 @@ export interface ListboxKeyboardResult {
39
46
  * Escape is intentionally NOT handled here — {@link DialogShell} owns dialog
40
47
  * dismissal.
41
48
  */
42
- export declare function useListboxKeyboard({ itemCount, activeIndex, onActiveIndexChange, onConfirm, enabled, }: ListboxKeyboardOptions): ListboxKeyboardResult;
49
+ export declare function useListboxKeyboard({ itemCount, activeIndex, onActiveIndexChange, onConfirm, enabled, scope, }: ListboxKeyboardOptions): ListboxKeyboardResult;
@@ -1,5 +1,4 @@
1
1
  import type { DaemonSessionArtifact } from '@qwen-code/sdk/daemon';
2
- import { type RegistrationErrorTranslator } from './useReportedArtifactRegistration';
3
2
  export interface SessionArtifactsState {
4
3
  artifacts: DaemonSessionArtifact[];
5
4
  artifactById: ReadonlyMap<string, DaemonSessionArtifact>;
@@ -8,4 +7,4 @@ export interface SessionArtifactsState {
8
7
  hydrated: boolean;
9
8
  refresh: () => Promise<void>;
10
9
  }
11
- export declare function useSessionArtifacts(translateError?: RegistrationErrorTranslator): SessionArtifactsState;
10
+ export declare function useSessionArtifacts(): SessionArtifactsState;
@@ -0,0 +1 @@
1
+ export declare const RU_PART1: Record<string, string | ((vars?: Record<string, string | number>) => string)>;
@@ -0,0 +1,12 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2025 Qwen
4
+ * SPDX-License-Identifier: Apache-2.0
5
+ */
6
+ /**
7
+ * Stands in for `./i18n-ru-part1` in the transcript build (`--mode transcript`).
8
+ * The Russian Web Shell catalog is interactive-only; exported transcripts
9
+ * fall back to English for these strings so every reader does not download
10
+ * a third full UI dictionary.
11
+ */
12
+ export declare const RU_PART1: {};
@@ -0,0 +1 @@
1
+ export declare const RU_PART2: Record<string, string | ((vars?: Record<string, string | number>) => string)>;
@@ -0,0 +1,12 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2025 Qwen
4
+ * SPDX-License-Identifier: Apache-2.0
5
+ */
6
+ /**
7
+ * Stands in for `./i18n-ru-part2` in the transcript build (`--mode transcript`).
8
+ * The Russian Web Shell catalog is interactive-only; exported transcripts
9
+ * fall back to English for these strings so every reader does not download
10
+ * a third full UI dictionary.
11
+ */
12
+ export declare const RU_PART2: {};
@@ -0,0 +1 @@
1
+ export declare const RU_PART3: Record<string, string | ((vars?: Record<string, string | number>) => string)>;
@@ -0,0 +1,12 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2025 Qwen
4
+ * SPDX-License-Identifier: Apache-2.0
5
+ */
6
+ /**
7
+ * Stands in for `./i18n-ru-part3` in the transcript build (`--mode transcript`).
8
+ * The Russian Web Shell catalog is interactive-only; exported transcripts
9
+ * fall back to English for these strings so every reader does not download
10
+ * a third full UI dictionary.
11
+ */
12
+ export declare const RU_PART3: {};
@@ -0,0 +1 @@
1
+ export declare const RU_PART4: Record<string, string | ((vars?: Record<string, string | number>) => string)>;
@@ -0,0 +1,12 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2025 Qwen
4
+ * SPDX-License-Identifier: Apache-2.0
5
+ */
6
+ /**
7
+ * Stands in for `./i18n-ru-part4` in the transcript build (`--mode transcript`).
8
+ * The Russian Web Shell catalog is interactive-only; exported transcripts
9
+ * fall back to English for these strings so every reader does not download
10
+ * a third full UI dictionary.
11
+ */
12
+ export declare const RU_PART4: {};
@@ -0,0 +1 @@
1
+ export declare const RU_PART5: Record<string, string | ((vars?: Record<string, string | number>) => string)>;
@@ -0,0 +1,12 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2025 Qwen
4
+ * SPDX-License-Identifier: Apache-2.0
5
+ */
6
+ /**
7
+ * Stands in for `./i18n-ru-part5` in the transcript build (`--mode transcript`).
8
+ * The Russian Web Shell catalog is interactive-only; exported transcripts
9
+ * fall back to English for these strings so every reader does not download
10
+ * a third full UI dictionary.
11
+ */
12
+ export declare const RU_PART5: {};
@@ -0,0 +1 @@
1
+ export declare const RU_PART6: Record<string, string | ((vars?: Record<string, string | number>) => string)>;
@@ -0,0 +1,12 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2025 Qwen
4
+ * SPDX-License-Identifier: Apache-2.0
5
+ */
6
+ /**
7
+ * Stands in for `./i18n-ru-part6` in the transcript build (`--mode transcript`).
8
+ * The Russian Web Shell catalog is interactive-only; exported transcripts
9
+ * fall back to English for these strings so every reader does not download
10
+ * a third full UI dictionary.
11
+ */
12
+ export declare const RU_PART6: {};
@@ -0,0 +1,6 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2025 Qwen
4
+ * SPDX-License-Identifier: Apache-2.0
5
+ */
6
+ export declare const RU_REMAINDER: Record<string, string | ((vars?: Record<string, string | number>) => string)>;
@@ -0,0 +1,11 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2025 Qwen
4
+ * SPDX-License-Identifier: Apache-2.0
5
+ */
6
+ /**
7
+ * Stands in for `./i18n-ru-remainder` in the transcript build
8
+ * (`--mode transcript`). Activity, channel-events, managed-extension, and
9
+ * GitHub bound-action Russian copy stay in the interactive shell only.
10
+ */
11
+ export declare const RU_REMAINDER: {};
@@ -1,6 +1,12 @@
1
1
  import { type PropsWithChildren } from 'react';
2
2
  export declare const WEB_SHELL_LANGUAGES: readonly ["en", "zh-CN", "ru"];
3
3
  export type WebShellLanguage = (typeof WEB_SHELL_LANGUAGES)[number];
4
+ /**
5
+ * Every local-files message key, derived from the EN catalog so the
6
+ * locale-parity test covers new keys automatically instead of drifting
7
+ * behind a hardcoded subset.
8
+ */
9
+ export declare const LOCAL_FILES_MESSAGE_KEYS: string[];
4
10
  export declare function normalizeLanguage(value: string | undefined | null): WebShellLanguage;
5
11
  export declare function languageSettingToWebShellLanguage(value: unknown): WebShellLanguage | undefined;
6
12
  export declare function languageLabel(language: WebShellLanguage): string;
@@ -13,4 +13,5 @@
13
13
  type LiveMessage = string | ((vars?: Record<string, string | number>) => string);
14
14
  export declare const LIVE_MESSAGES_EN: Record<string, LiveMessage>;
15
15
  export declare const LIVE_MESSAGES_ZH: Record<string, LiveMessage>;
16
+ export declare const LIVE_MESSAGES_RU: Record<string, LiveMessage>;
16
17
  export {};
@@ -10,3 +10,4 @@
10
10
  */
11
11
  export declare const LIVE_MESSAGES_EN: {};
12
12
  export declare const LIVE_MESSAGES_ZH: {};
13
+ export declare const LIVE_MESSAGES_RU: {};