@myagentroam/server 0.15.22 → 0.15.24

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 (443) hide show
  1. package/node_modules/@myagentroam/protocol/dist/node-connection.d.ts +2 -0
  2. package/node_modules/@myagentroam/protocol/dist/node-connection.js +15 -1
  3. package/node_modules/@myagentroam/protocol/dist/node-stream-wire.d.ts +2 -0
  4. package/node_modules/@myagentroam/protocol/dist/node-stream-wire.js +2 -0
  5. package/node_modules/@myagentroam/protocol/dist/node-stream.d.ts +2 -0
  6. package/node_modules/@myagentroam/protocol/dist/node-stream.js +4 -0
  7. package/node_modules/@myagentroam/protocol/dist/tcp-forward.d.ts +51 -0
  8. package/node_modules/@myagentroam/protocol/dist/tcp-forward.js +49 -0
  9. package/node_modules/@myagentroam/protocol/package.json +6 -1
  10. package/node_modules/@myagentroam/server-core/dist/auth-contracts.d.ts +3 -4
  11. package/node_modules/@myagentroam/server-core/dist/auth-routes.js +6 -5
  12. package/node_modules/@myagentroam/server-core/dist/browser-attachment-coordinator.d.ts +1 -0
  13. package/node_modules/@myagentroam/server-core/dist/browser-attachment-coordinator.js +16 -0
  14. package/node_modules/@myagentroam/server-core/dist/direct-transfer-coordinator.d.ts +5 -0
  15. package/node_modules/@myagentroam/server-core/dist/direct-transfer-coordinator.js +48 -5
  16. package/node_modules/@myagentroam/server-core/dist/mysql-authentication.d.ts +5 -1
  17. package/node_modules/@myagentroam/server-core/dist/mysql-authentication.js +14 -2
  18. package/node_modules/@myagentroam/server-core/dist/node-access-contracts.d.ts +9 -1
  19. package/node_modules/@myagentroam/server-core/dist/node-access-contracts.js +13 -1
  20. package/node_modules/@myagentroam/server-core/dist/node-relay-channel.d.ts +2 -1
  21. package/node_modules/@myagentroam/server-core/dist/node-relay-channel.js +50 -6
  22. package/node_modules/@myagentroam/server-core/dist/terminal-direct-coordinator.d.ts +2 -0
  23. package/node_modules/@myagentroam/server-core/dist/terminal-direct-coordinator.js +12 -2
  24. package/node_modules/@myagentroam/server-core/dist/terminal-relay-service.d.ts +2 -2
  25. package/node_modules/@myagentroam/server-core/dist/terminal-relay-service.js +4 -5
  26. package/node_modules/@myagentroam/server-core/dist/workbench-relay-service.d.ts +1 -0
  27. package/node_modules/@myagentroam/server-core/dist/workbench-relay-service.js +17 -18
  28. package/node_modules/@myagentroam/server-core/dist/workspace-route-contracts.d.ts +2 -2
  29. package/node_modules/@myagentroam/server-core/dist/workspace-routes.js +5 -1
  30. package/node_modules/@myagentroam/server-core/package.json +2 -2
  31. package/node_modules/@myagentroam-enterprise/server-implementation/dist/composition/node-control-factory.js +1 -0
  32. package/node_modules/@myagentroam-enterprise/server-implementation/dist/database.d.ts +2 -2
  33. package/node_modules/@myagentroam-enterprise/server-implementation/dist/database.js +25 -8
  34. package/node_modules/@myagentroam-enterprise/server-implementation/dist/mysql/server-database.d.ts +2 -2
  35. package/node_modules/@myagentroam-enterprise/server-implementation/dist/mysql/server-database.js +3 -2
  36. package/node_modules/@myagentroam-enterprise/server-implementation/dist/node-control.d.ts +6 -8
  37. package/node_modules/@myagentroam-enterprise/server-implementation/dist/node-control.js +50 -22
  38. package/node_modules/@myagentroam-enterprise/server-implementation/dist/rbac/resource-grant-service.d.ts +5 -1
  39. package/node_modules/@myagentroam-enterprise/server-implementation/dist/rbac/resource-grant-service.js +5 -1
  40. package/node_modules/@myagentroam-enterprise/server-implementation/dist/route/auth-routes.d.ts +1 -4
  41. package/node_modules/@myagentroam-enterprise/server-implementation/dist/route/auth-routes.js +2 -7
  42. package/node_modules/@myagentroam-enterprise/server-implementation/dist/route/management-routes.js +3 -2
  43. package/node_modules/@myagentroam-enterprise/server-implementation/dist/route/node-routes.js +1 -1
  44. package/node_modules/@myagentroam-enterprise/server-implementation/dist/route/oauth-routes.js +2 -4
  45. package/node_modules/@myagentroam-enterprise/server-implementation/dist/route/realtime-routes.js +17 -5
  46. package/node_modules/@myagentroam-enterprise/server-implementation/dist/route/resource-grant-routes.js +7 -4
  47. package/node_modules/@myagentroam-enterprise/server-implementation/dist/service/browser-workbench-service.d.ts +2 -2
  48. package/node_modules/@myagentroam-enterprise/server-implementation/dist/service/browser-workbench-service.js +9 -4
  49. package/node_modules/@myagentroam-enterprise/server-implementation/dist/service/file-stream-tickets.d.ts +2 -1
  50. package/node_modules/@myagentroam-enterprise/server-implementation/dist/service/file-stream-tickets.js +9 -4
  51. package/node_modules/@myagentroam-enterprise/server-implementation/dist/service/tcp-forward-relay.d.ts +7 -0
  52. package/node_modules/@myagentroam-enterprise/server-implementation/dist/service/tcp-forward-relay.js +65 -0
  53. package/node_modules/@myagentroam-enterprise/server-implementation/dist/service/workspace-file-stream-tickets.d.ts +2 -1
  54. package/node_modules/@myagentroam-enterprise/server-implementation/dist/service/workspace-file-stream-tickets.js +5 -0
  55. package/node_modules/@myagentroam-enterprise/server-implementation/package.json +3 -3
  56. package/package.json +5 -5
  57. package/web/assets/{AuditManagementPage-DbKh6eRe.js → AuditManagementPage-CGT3i2Py.js} +1 -1
  58. package/web/assets/AuthEntryPanel-BbK37NPu.js +48 -0
  59. package/web/assets/{CodeFileEditor-BCFxG5-W.css → CodeFileEditor-CyfrAw17.css} +1 -1
  60. package/web/assets/{CodeFileEditor-BHZUlISI.js → CodeFileEditor-zbYI70nW.js} +8 -8
  61. package/web/assets/{ConversationTemplateManagementPage-B6u4jDfQ.js → ConversationTemplateManagementPage-1p1DGSmL.js} +1 -1
  62. package/web/assets/{ConversationTemplateManagementPage-BI8lcF1i.js → ConversationTemplateManagementPage-CA8pnPIQ.js} +1 -1
  63. package/web/assets/{EnterpriseUserManagementPage-CrJkhVtx.js → EnterpriseUserManagementPage-Dh__E_vi.js} +1 -1
  64. package/web/assets/{EnvironmentSecretManager-Aka-GJz7.js → EnvironmentSecretManager-BfdMwcaD.js} +1 -1
  65. package/web/assets/{FilePreviewLoading-DA-2VsTB.js → FilePreviewState-C-M3wmfr.js} +18 -18
  66. package/web/assets/{FilePreviewLoading-BCZE-xW1.css → FilePreviewState-L7io9jvT.css} +1 -1
  67. package/web/assets/{LicenseManagementPage-Rtpmf3nv.js → LicenseManagementPage-DtuPsABb.js} +1 -1
  68. package/web/assets/{ManagementPagination-BvaR99Dc.js → ManagementPagination-BZGD1Olh.js} +1 -1
  69. package/web/assets/{MarAgentModelManagementPage-CcT3JGgb.js → MarAgentModelManagementPage-CWOA7fui.js} +1 -1
  70. package/web/assets/{MarAgentModelManagementPage-BivUyL7J.js → MarAgentModelManagementPage-D5rpbb9n.js} +1 -1
  71. package/web/assets/{MarAlert-CRVLX9Wa.js → MarAlert-0bfj7wdI.js} +1 -1
  72. package/web/assets/{MarCascader-Btmgo8dB.js → MarCascader-BR-2GdCP.js} +1 -1
  73. package/web/assets/{MarCheckTag-Ch4CbbZ8.js → MarCheckTag-kcOMfOD9.js} +1 -1
  74. package/web/assets/{MarCheckboxGroup-Be97d9TS.js → MarCheckboxGroup-Cy_1zAUw.js} +1 -1
  75. package/web/assets/{MarCheckboxGroup.vue_vue_type_style_index_0_scoped_3769668f_lang-ClmS8idk.js → MarCheckboxGroup.vue_vue_type_style_index_0_scoped_3769668f_lang-C57AOr7j.js} +1 -1
  76. package/web/assets/{MarDatePicker-CMFjXJQs.js → MarDatePicker-D3z_EyCG.js} +1 -1
  77. package/web/assets/{MarDescriptionsItem-DEXPl4ah.js → MarDescriptionsItem-B60t3Q2d.js} +1 -1
  78. package/web/assets/{MarFormItem.vue_vue_type_script_setup_true_lang-CPNk2Veu.js → MarFormItem.vue_vue_type_script_setup_true_lang-CYgELH5R.js} +1 -1
  79. package/web/assets/{MarInputNumber-DdalMF7L.js → MarInputNumber-VlO7KGVa.js} +1 -1
  80. package/web/assets/{MarOptionGroup.vue_vue_type_style_index_0_scoped_0cdd846e_lang-CHfYexS5.js → MarOptionGroup.vue_vue_type_style_index_0_scoped_0cdd846e_lang-Ddq9Jk-x.js} +1 -1
  81. package/web/assets/{MarSwitch-CFVo4O4a.js → MarSwitch-B56av4xY.js} +1 -1
  82. package/web/assets/{MarTableColumn.vue_vue_type_script_setup_true_lang-D1N4pE61.js → MarTableColumn.vue_vue_type_script_setup_true_lang-22ORNs_K.js} +1 -1
  83. package/web/assets/{MarTabs-DHhviMuu.js → MarTabs-BX5RoPa0.js} +1 -1
  84. package/web/assets/{MarTag-D7k5Giue.js → MarTag-DBQgsmfS.js} +1 -1
  85. package/web/assets/MarkdownFilePreview-BE2Tndh0.js +2 -0
  86. package/web/assets/{McpDetailsDialog-TPdDUnPs.js → McpDetailsDialog-Clct_-AU.js} +1 -1
  87. package/web/assets/{McpSourceManagementPage-qCz59w5x.js → McpSourceManagementPage-C3YveLEE.js} +1 -1
  88. package/web/assets/{McpSourceManagementPage-Cks9Enob.js → McpSourceManagementPage-CQkvR5dR.js} +1 -1
  89. package/web/assets/{NodeDetailsDialogs-nZJMkek8.js → NodeDetailsDialogs-BPRcYPIX.js} +1 -1
  90. package/web/assets/NodeManagementPage-C7M7qZ4Y.js +1 -0
  91. package/web/assets/NodeManagementPage-Duz1AXGO.js +1 -0
  92. package/web/assets/{OAuthManagementPage-DhrnM3Rh.js → OAuthManagementPage-Dzflsp9D.js} +1 -1
  93. package/web/assets/{OrganizationManagementPage-BYf1bedj.js → OrganizationManagementPage-BT-TX2ei.js} +1 -1
  94. package/web/assets/{RemoteDesktopPage-Cq90OEFv.js → RemoteDesktopPage-CGbauDIk.js} +1 -1
  95. package/web/assets/{ResourceManagementPanel-BkGbWBp5.js → ResourceManagementPanel-CLim3ih3.js} +1 -1
  96. package/web/assets/{ResourceManagementPanel.vue_vue_type_script_setup_true_lang-B895a56H.js → ResourceManagementPanel.vue_vue_type_script_setup_true_lang-DTNhFb1y.js} +1 -1
  97. package/web/assets/{SecretManagementPage-B3VchO2Z.js → SecretManagementPage-BtPawgAo.js} +1 -1
  98. package/web/assets/SecretManagementPage-Bx3FiieB.js +1 -0
  99. package/web/assets/{SecretManagementPage.vue_vue_type_script_setup_true_lang-Dv-nPi2X.js → SecretManagementPage.vue_vue_type_script_setup_true_lang-BKwboiyy.js} +1 -1
  100. package/web/assets/SessionSharePage-BlSIDhy2.js +2 -0
  101. package/web/assets/SettingsContent-CSV-4ma3.js +1 -0
  102. package/web/assets/SettingsContent-CmJ3w7fH.js +1 -0
  103. package/web/assets/SkillCenterPage-9ORiIgeN.js +1 -0
  104. package/web/assets/{SkillCenterPage-C3TWbgQG.js → SkillCenterPage-CaalQgLf.js} +1 -1
  105. package/web/assets/{SkillDetailsDialog-pnSmYh55.js → SkillDetailsDialog-BXZejtpw.js} +1 -1
  106. package/web/assets/{SkillSourceManagementPage-Co87BS1d.js → SkillSourceManagementPage-C8DDdcTO.js} +1 -1
  107. package/web/assets/{SkillSourceManagementPage-AGlHKb1h.js → SkillSourceManagementPage-IdJQwMrD.js} +1 -1
  108. package/web/assets/StandaloneFilePreviewPage-BUkqxOsd.js +1 -0
  109. package/web/assets/{SystemConfigurationPage-Cy_yEAvW.js → SystemConfigurationPage-B1br07ec.js} +1 -1
  110. package/web/assets/{SystemConfigurationPage-DGEbrYw9.js → SystemConfigurationPage-DjAroh5l.js} +1 -1
  111. package/web/assets/{SystemInformationPage-BU9wGwM8.js → SystemInformationPage-CUK0xX9p.js} +1 -1
  112. package/web/assets/{TerminalTabView-DQf9rX19.js → TerminalTabView-CuBOOOB0.js} +1 -1
  113. package/web/assets/WorkbenchPage-BuaMnQOB.css +1 -0
  114. package/web/assets/WorkbenchPage-DReF7sy5.js +22 -0
  115. package/web/assets/WorkspaceManagementPage-Cd8w2tOO.js +1 -0
  116. package/web/assets/WorkspaceManagementPage-FvO3wU5J.js +1 -0
  117. package/web/assets/abnfDiagram-VCTEODGH-CA8j58R1.js +1 -0
  118. package/web/assets/{arc-BqpnsZyy.js → arc-Bwac_6rz.js} +1 -1
  119. package/web/assets/architectureDiagram-5GKGNRK7-CO8RyDPy.js +36 -0
  120. package/web/assets/{blockDiagram-OSKFZWR5-C52VK4uA.js → blockDiagram-OSKFZWR5-Dvz8RfTX.js} +1 -1
  121. package/web/assets/{c4Diagram-7LVT6UL2-DzH0eUeZ.js → c4Diagram-7LVT6UL2-BVPafNyb.js} +1 -1
  122. package/web/assets/{catalog-ownership-service-DyAP1Cp9.js → catalog-ownership-service-Dww-XSRR.js} +1 -1
  123. package/web/assets/{catalog-page-service-ktoR2mW5.js → catalog-page-service-PWTvP4cN.js} +1 -1
  124. package/web/assets/channel-o8xweNXI.js +1 -0
  125. package/web/assets/{chunk-2Q5K7J3B-xQs0KV_Q.js → chunk-2Q5K7J3B-Dbp-d3to.js} +1 -1
  126. package/web/assets/{chunk-5VM5RSS4-DOjeP0nb.js → chunk-5VM5RSS4-BpqgYiot.js} +1 -1
  127. package/web/assets/{chunk-F27PBJKO-BcVSMrTE.js → chunk-F27PBJKO-Dt79FvDS.js} +1 -1
  128. package/web/assets/{chunk-HLEWEB6X-CCYsvU8p.js → chunk-HLEWEB6X-Dhsuh8Ao.js} +1 -1
  129. package/web/assets/{chunk-JWPE2WC7-BBJToXcH.js → chunk-JWPE2WC7-BAy9Y7aB.js} +1 -1
  130. package/web/assets/{chunk-POPQ4Y6H-COLF2byZ.js → chunk-POPQ4Y6H-Bqe-w6AA.js} +1 -1
  131. package/web/assets/{chunk-SVP7TREG-C4GOh-rt.js → chunk-SVP7TREG-Cpbfd3kI.js} +1 -1
  132. package/web/assets/{chunk-XXDRQBXY-BoSNlDY8.js → chunk-XXDRQBXY-1IPDayGg.js} +1 -1
  133. package/web/assets/{chunk-ZLD2IHE6-DdCRdjwl.js → chunk-ZLD2IHE6-9fdX01yx.js} +1 -1
  134. package/web/assets/classDiagram-CYGNFDIV-Uzytj27C.js +1 -0
  135. package/web/assets/classDiagram-v2-TLXNO2FR-Uzytj27C.js +1 -0
  136. package/web/assets/{conversation-history-BmJPw5LP.js → conversation-history-Cqya9QRI.js} +1 -1
  137. package/web/assets/cose-bilkent-JH36ORCC-CH4pFJaz.js +1 -0
  138. package/web/assets/{cynefin-OW5HDTMX-DBO8k3eX.js → cynefin-OW5HDTMX-CKAM6vZ2.js} +1 -1
  139. package/web/assets/cynefinDiagram-5FMLGOSQ-BtX2GGKR.js +62 -0
  140. package/web/assets/{dagre-OS7QT2EB-ZjosT-Ut.js → dagre-OS7QT2EB-B476zUzo.js} +1 -1
  141. package/web/assets/{diagram-S7CK7UJ4-fxsZGdNG.js → diagram-S7CK7UJ4-BJFq7xXW.js} +1 -1
  142. package/web/assets/diagram-UQ7AKVKN-C6UyrKgO.js +41 -0
  143. package/web/assets/{diagram-VSXAHHWV-BFJRqPgO.js → diagram-VSXAHHWV-FgaLuwec.js} +1 -1
  144. package/web/assets/diagram-VX7I27RA-CIvoXQaA.js +24 -0
  145. package/web/assets/diagram-Z3DM3KII-DMSqNl6x.js +24 -0
  146. package/web/assets/ebnfDiagram-PWID7BFC-CQjcrdkB.js +1 -0
  147. package/web/assets/{enterprise-management-service-wdIkWPiz.js → enterprise-management-service-B-DkD-Uo.js} +1 -1
  148. package/web/assets/{erDiagram-2YWLMYGG-DwhYXTH9.js → erDiagram-2YWLMYGG-D4J3nn8E.js} +1 -1
  149. package/web/assets/{error-presentation-ByGJeIET.js → error-presentation-DYD9LEHG.js} +1 -1
  150. package/web/assets/{flowDiagram-T62WH6J4-DsORnU2U.js → flowDiagram-T62WH6J4-DxD08giN.js} +1 -1
  151. package/web/assets/ganttDiagram-EL5Y4UJY-B4l7waW3.js +292 -0
  152. package/web/assets/gitGraphDiagram-WWUBYQGX-DnGjs4yy.js +106 -0
  153. package/web/assets/{hosted-conversation-template-client-B0ZYqmTk.js → hosted-conversation-template-client-s2w1-ksb.js} +1 -1
  154. package/web/assets/index-0t3aXw_d.js +13 -0
  155. package/web/assets/{index-DL13dgZ3.js → index-B4VQW-dz.js} +16 -16
  156. package/web/assets/index-BWYDp1bY.js +1 -0
  157. package/web/assets/index-BaEA895Q.js +1 -0
  158. package/web/assets/index-BbvL6_H1.js +1 -0
  159. package/web/assets/index-Bh1SvYyb.js +3 -0
  160. package/web/assets/{index-WtLb4iMg.js → index-Buurn_t6.js} +1 -1
  161. package/web/assets/{index-Dtx1cuLa.js → index-CC0bT3iQ.js} +1 -1
  162. package/web/assets/{index-jK-vrzFJ.js → index-CDoqo1q9.js} +1 -1
  163. package/web/assets/index-CEMmO78L.js +1 -0
  164. package/web/assets/index-CJTNDMT1.js +1 -0
  165. package/web/assets/index-CNv6xrI7.js +1 -0
  166. package/web/assets/index-CONwO8qC.js +1 -0
  167. package/web/assets/index-CT8jkGXz.js +1 -0
  168. package/web/assets/index-CvdaXBxy.js +7 -0
  169. package/web/assets/index-D0b_8SLX.js +1 -0
  170. package/web/assets/index-DOJrz4zy.js +1 -0
  171. package/web/assets/{index--Nav5BrS.js → index-Dg6mRp1h.js} +1 -1
  172. package/web/assets/index-DgTkzz0K.css +1 -0
  173. package/web/assets/index-DtWBeKJh.js +1 -0
  174. package/web/assets/{index-CBLMVH5L.js → index-L5mqsLlX.js} +1 -1
  175. package/web/assets/index-RHseWcg3.js +1 -0
  176. package/web/assets/index-fnIxs35Y.js +1 -0
  177. package/web/assets/index-l3MZZewe.js +1 -0
  178. package/web/assets/{index-Bh-D72qD.js → index-olmHEjF1.js} +1 -1
  179. package/web/assets/index-px1LwFgd.js +1 -0
  180. package/web/assets/index-tvdySdLV.js +1 -0
  181. package/web/assets/{index-z3zIC2t-.js → index-v6HKOngJ.js} +1 -1
  182. package/web/assets/infoDiagram-FKFFQAWI-BQwBeuxz.js +2 -0
  183. package/web/assets/{ishikawaDiagram-5VMMS53U-DZchJO7q.js → ishikawaDiagram-5VMMS53U-2g-I4b0n.js} +1 -1
  184. package/web/assets/{journeyDiagram-EYS64GPL-BthbKdPi.js → journeyDiagram-EYS64GPL-wbRS2mN1.js} +1 -1
  185. package/web/assets/{kanban-definition-UXKFOSKX-Oue8-YDe.js → kanban-definition-UXKFOSKX-CjftCwY8.js} +1 -1
  186. package/web/assets/{layout-P_fMvMVr.js → layout-_jK2qI6r.js} +1 -1
  187. package/web/assets/{linear-qyUWIARl.js → linear-Cm_QW2W3.js} +1 -1
  188. package/web/assets/{management-url-service-Cx42TODZ.js → management-url-service-CnycLz_5.js} +1 -1
  189. package/web/assets/{mar-agent-reasoning-effort-BPIyiFPy.js → mar-agent-reasoning-effort-DG8WxAqH.js} +1 -1
  190. package/web/assets/{mcp-center-service-vHCyWUNL.js → mcp-center-service-DoIqqcpn.js} +1 -1
  191. package/web/assets/{mermaid.core-Dy6ET9-Q.js → mermaid.core-_Dvermzy.js} +5 -5
  192. package/web/assets/{mindmap-definition-THT77NOG-CnEiw27w.js → mindmap-definition-THT77NOG-CWCQLbCA.js} +1 -1
  193. package/web/assets/{mobile-dialog-return-service-DlLb35Lg.js → mobile-dialog-return-service-qULIwSky.js} +1 -1
  194. package/web/assets/{oauth-callback-Cer08vFN.js → oauth-callback-B1GAUKFD.js} +1 -1
  195. package/web/assets/pegDiagram-XKGWAZYB-B_4hfQ1f.js +1 -0
  196. package/web/assets/{pieDiagram-E7YTZNPT-BS07nbyb.js → pieDiagram-E7YTZNPT-eSoG8CiQ.js} +1 -1
  197. package/web/assets/{quadrantDiagram-AXDQQJYC-CV5Fpqy7.js → quadrantDiagram-AXDQQJYC-CLbmT-Pm.js} +1 -1
  198. package/web/assets/railroadDiagram-O6MQD6OU-C_VGMASU.js +1 -0
  199. package/web/assets/{requirementDiagram-IS5BZ75X-DCS756Il.js → requirementDiagram-IS5BZ75X-BmNjsbJ9.js} +1 -1
  200. package/web/assets/{runner-presentation-lS9K2dXa.js → runner-presentation-CDg5BaAx.js} +1 -1
  201. package/web/assets/{sankeyDiagram-P5KCCOFB-BXDAj0Mf.js → sankeyDiagram-P5KCCOFB-h0kSDIxP.js} +1 -1
  202. package/web/assets/scoped-http-service-Bk51-WFk.js +7 -0
  203. package/web/assets/scoped-http-service-D1jaFvno.css +1 -0
  204. package/web/assets/{sequenceDiagram-WJ2MYXX4-0GTw7BpM.js → sequenceDiagram-WJ2MYXX4-ZZC1uM0w.js} +1 -1
  205. package/web/assets/{session-share-client-service-snHprEW-.js → session-share-client-service-5zrZUF_3.js} +1 -1
  206. package/web/assets/sizeCapture-INFHLROL-D529cjJN.js +1 -0
  207. package/web/assets/stateDiagram-XQSTLZYL-uEXAFC4r.js +1 -0
  208. package/web/assets/stateDiagram-v2-IH3M54BS-Be2arugG.js +1 -0
  209. package/web/assets/swimlanes-V6O3JKXN-mwY0EMg3.js +1 -0
  210. package/web/assets/swimlanesDiagram-JKAHXJPX-ByV9ehQP.js +8 -0
  211. package/web/assets/{time-presentation-lflK1mo_.js → time-presentation-DFWz4oNQ.js} +1 -1
  212. package/web/assets/{timeline-definition-24CTP7MA-DT6BzmCs.js → timeline-definition-24CTP7MA-DmHMX_8l.js} +1 -1
  213. package/web/assets/{vennDiagram-4TSXK5OY-DUwto326.js → vennDiagram-4TSXK5OY-DXKDSWVQ.js} +1 -1
  214. package/web/assets/{wardleyDiagram-VM6X3IG4-CerbjFKK.js → wardleyDiagram-VM6X3IG4-Dm6CnKVG.js} +1 -1
  215. package/web/assets/workbench-live-service-D88UUhku.js +1 -0
  216. package/web/assets/{workbench-presentation-D8Akt6Xe.js → workbench-presentation-mt1mE_ue.js} +1 -1
  217. package/web/assets/workspace-direct-transfer-service-9MZIlsEr.js +2 -0
  218. package/web/assets/{xychartDiagram-S5SC5T6Z-TnQRqM50.js → xychartDiagram-S5SC5T6Z-CotiB69w.js} +1 -1
  219. package/web/docs/404.html +2 -2
  220. package/web/docs/administration/account.html +3 -3
  221. package/web/docs/administration/audit.html +3 -3
  222. package/web/docs/administration/conversation-templates.html +3 -3
  223. package/web/docs/administration/email-notifications.html +3 -3
  224. package/web/docs/administration/license.html +3 -3
  225. package/web/docs/administration/nodes-workspaces.html +3 -3
  226. package/web/docs/administration/oauth.html +3 -3
  227. package/web/docs/administration/secrets.html +3 -3
  228. package/web/docs/administration/template-workspace-maintenance.html +3 -3
  229. package/web/docs/administration/users-organizations.html +3 -3
  230. package/web/docs/assets/{app.A8TQLz-C.js → app.BaHpmZXO.js} +1 -1
  231. package/web/docs/assets/chunks/@localSearchIndexen-US.CEvDn1VG.js +1 -0
  232. package/web/docs/assets/chunks/@localSearchIndexroot.Dk2bleY3.js +1 -0
  233. package/web/docs/assets/chunks/{VPLocalSearchBox.B1M1meLK.js → VPLocalSearchBox.SEwpKucI.js} +1 -1
  234. package/web/docs/assets/chunks/{theme.CkVExRlN.js → theme.gXplHcs7.js} +2 -2
  235. package/web/docs/assets/{en-US_operations_marctl.md.Dye9YgGG.js → en-US_operations_marctl.md.xLI4hpwP.js} +4 -3
  236. package/web/docs/assets/{en-US_operations_marctl.md.Dye9YgGG.lean.js → en-US_operations_marctl.md.xLI4hpwP.lean.js} +1 -1
  237. package/web/docs/assets/{en-US_reference_keyboard-shortcuts.md.B1RWRtSj.js → en-US_reference_keyboard-shortcuts.md.DzBBRxkm.js} +1 -1
  238. package/web/docs/assets/{en-US_reference_keyboard-shortcuts.md.B1RWRtSj.lean.js → en-US_reference_keyboard-shortcuts.md.DzBBRxkm.lean.js} +1 -1
  239. package/web/docs/assets/en-US_workbench_file-reference-and-attachment.md.BAw0saDI.js +1 -0
  240. package/web/docs/assets/{en-US_workbench_file-reference-and-attachment.md.CO_ZfbB9.lean.js → en-US_workbench_file-reference-and-attachment.md.BAw0saDI.lean.js} +1 -1
  241. package/web/docs/assets/{en-US_workbench_files.md.1BijbIvU.js → en-US_workbench_files.md.CW6zKB3O.js} +1 -1
  242. package/web/docs/assets/{en-US_workbench_files.md.1BijbIvU.lean.js → en-US_workbench_files.md.CW6zKB3O.lean.js} +1 -1
  243. package/web/docs/assets/{operations_marctl.md.Du4UXJ_O.js → operations_marctl.md.B75PUq2t.js} +4 -3
  244. package/web/docs/assets/{operations_marctl.md.Du4UXJ_O.lean.js → operations_marctl.md.B75PUq2t.lean.js} +1 -1
  245. package/web/docs/assets/{reference_keyboard-shortcuts.md.B-L6_Hs7.js → reference_keyboard-shortcuts.md.DRS737VZ.js} +1 -1
  246. package/web/docs/assets/{reference_keyboard-shortcuts.md.B-L6_Hs7.lean.js → reference_keyboard-shortcuts.md.DRS737VZ.lean.js} +1 -1
  247. package/web/docs/assets/workbench_file-reference-and-attachment.md.BZO4OXk5.js +1 -0
  248. package/web/docs/assets/{workbench_file-reference-and-attachment.md.CkStAhL5.lean.js → workbench_file-reference-and-attachment.md.BZO4OXk5.lean.js} +1 -1
  249. package/web/docs/assets/{workbench_files.md.BKqliSda.js → workbench_files.md.Bk6sMMXy.js} +1 -1
  250. package/web/docs/assets/{workbench_files.md.BKqliSda.lean.js → workbench_files.md.Bk6sMMXy.lean.js} +1 -1
  251. package/web/docs/concepts/architecture.html +3 -3
  252. package/web/docs/concepts/data-and-security.html +3 -3
  253. package/web/docs/concepts/files-git-terminal.html +3 -3
  254. package/web/docs/concepts/node-and-workspace.html +3 -3
  255. package/web/docs/concepts/permissions-and-sharing.html +3 -3
  256. package/web/docs/concepts/runner-control.html +3 -3
  257. package/web/docs/concepts/secrets.html +3 -3
  258. package/web/docs/concepts/session-run-turn.html +3 -3
  259. package/web/docs/deployment/backup-restore.html +3 -3
  260. package/web/docs/deployment/network.html +3 -3
  261. package/web/docs/deployment/node-installation.html +3 -3
  262. package/web/docs/deployment/node-linux.html +3 -3
  263. package/web/docs/deployment/node-macos.html +3 -3
  264. package/web/docs/deployment/node-windows.html +3 -3
  265. package/web/docs/deployment/production.html +3 -3
  266. package/web/docs/deployment/security-checklist.html +3 -3
  267. package/web/docs/deployment/upgrade.html +3 -3
  268. package/web/docs/en-US/administration/account.html +3 -3
  269. package/web/docs/en-US/administration/audit.html +3 -3
  270. package/web/docs/en-US/administration/conversation-templates.html +3 -3
  271. package/web/docs/en-US/administration/email-notifications.html +3 -3
  272. package/web/docs/en-US/administration/license.html +3 -3
  273. package/web/docs/en-US/administration/nodes-workspaces.html +3 -3
  274. package/web/docs/en-US/administration/oauth.html +3 -3
  275. package/web/docs/en-US/administration/secrets.html +3 -3
  276. package/web/docs/en-US/administration/template-workspace-maintenance.html +3 -3
  277. package/web/docs/en-US/administration/users-organizations.html +3 -3
  278. package/web/docs/en-US/concepts/architecture.html +3 -3
  279. package/web/docs/en-US/concepts/data-and-security.html +3 -3
  280. package/web/docs/en-US/concepts/files-git-terminal.html +3 -3
  281. package/web/docs/en-US/concepts/node-and-workspace.html +3 -3
  282. package/web/docs/en-US/concepts/permissions-and-sharing.html +3 -3
  283. package/web/docs/en-US/concepts/runner-control.html +3 -3
  284. package/web/docs/en-US/concepts/secrets.html +3 -3
  285. package/web/docs/en-US/concepts/session-run-turn.html +3 -3
  286. package/web/docs/en-US/deployment/backup-restore.html +3 -3
  287. package/web/docs/en-US/deployment/network.html +3 -3
  288. package/web/docs/en-US/deployment/node-installation.html +3 -3
  289. package/web/docs/en-US/deployment/node-linux.html +3 -3
  290. package/web/docs/en-US/deployment/node-macos.html +3 -3
  291. package/web/docs/en-US/deployment/node-windows.html +3 -3
  292. package/web/docs/en-US/deployment/production.html +3 -3
  293. package/web/docs/en-US/deployment/security-checklist.html +3 -3
  294. package/web/docs/en-US/deployment/upgrade.html +3 -3
  295. package/web/docs/en-US/getting-started/connect-node.html +3 -3
  296. package/web/docs/en-US/getting-started/first-agent-session.html +3 -3
  297. package/web/docs/en-US/getting-started/first-login.html +3 -3
  298. package/web/docs/en-US/getting-started/next-steps.html +3 -3
  299. package/web/docs/en-US/getting-started/npm-quick-start.html +3 -3
  300. package/web/docs/en-US/getting-started/overview.html +3 -3
  301. package/web/docs/en-US/getting-started/prerequisites.html +3 -3
  302. package/web/docs/en-US/getting-started/register-workspace.html +3 -3
  303. package/web/docs/en-US/getting-started/server-installation.html +3 -3
  304. package/web/docs/en-US/operations/marctl.html +7 -6
  305. package/web/docs/en-US/reference/configuration.html +3 -3
  306. package/web/docs/en-US/reference/keyboard-shortcuts.html +5 -5
  307. package/web/docs/en-US/reference/limits.html +3 -3
  308. package/web/docs/en-US/reference/ports-paths-data.html +3 -3
  309. package/web/docs/en-US/reference/status-and-errors.html +3 -3
  310. package/web/docs/en-US/runners/claude-code.html +3 -3
  311. package/web/docs/en-US/runners/codex.html +3 -3
  312. package/web/docs/en-US/runners/mar-agent.html +3 -3
  313. package/web/docs/en-US/runners/opencode.html +3 -3
  314. package/web/docs/en-US/runners/overview.html +3 -3
  315. package/web/docs/en-US/runners/runner-troubleshooting.html +3 -3
  316. package/web/docs/en-US/troubleshooting/node-offline.html +3 -3
  317. package/web/docs/en-US/troubleshooting/quick-diagnosis.html +3 -3
  318. package/web/docs/en-US/troubleshooting/session-run.html +3 -3
  319. package/web/docs/en-US/troubleshooting/terminal.html +3 -3
  320. package/web/docs/en-US/troubleshooting/workspace-files.html +3 -3
  321. package/web/docs/en-US/workbench/browser.html +3 -3
  322. package/web/docs/en-US/workbench/composer.html +3 -3
  323. package/web/docs/en-US/workbench/context-and-plan.html +3 -3
  324. package/web/docs/en-US/workbench/conversation.html +3 -3
  325. package/web/docs/en-US/workbench/file-reference-and-attachment.html +5 -5
  326. package/web/docs/en-US/workbench/files.html +5 -5
  327. package/web/docs/en-US/workbench/git-changes.html +3 -3
  328. package/web/docs/en-US/workbench/git-history.html +3 -3
  329. package/web/docs/en-US/workbench/hosted-conversations.html +3 -3
  330. package/web/docs/en-US/workbench/mobile.html +3 -3
  331. package/web/docs/en-US/workbench/navigation.html +3 -3
  332. package/web/docs/en-US/workbench/remote-desktop.html +3 -3
  333. package/web/docs/en-US/workbench/sessions.html +3 -3
  334. package/web/docs/en-US/workbench/skills.html +3 -3
  335. package/web/docs/en-US/workbench/terminal.html +3 -3
  336. package/web/docs/getting-started/connect-node.html +3 -3
  337. package/web/docs/getting-started/first-agent-session.html +3 -3
  338. package/web/docs/getting-started/first-login.html +3 -3
  339. package/web/docs/getting-started/next-steps.html +3 -3
  340. package/web/docs/getting-started/npm-quick-start.html +3 -3
  341. package/web/docs/getting-started/overview.html +3 -3
  342. package/web/docs/getting-started/prerequisites.html +3 -3
  343. package/web/docs/getting-started/register-workspace.html +3 -3
  344. package/web/docs/getting-started/server-installation.html +3 -3
  345. package/web/docs/hashmap.json +1 -1
  346. package/web/docs/operations/marctl.html +7 -6
  347. package/web/docs/reference/configuration.html +3 -3
  348. package/web/docs/reference/keyboard-shortcuts.html +5 -5
  349. package/web/docs/reference/limits.html +3 -3
  350. package/web/docs/reference/ports-paths-data.html +3 -3
  351. package/web/docs/reference/status-and-errors.html +3 -3
  352. package/web/docs/runners/claude-code.html +3 -3
  353. package/web/docs/runners/codex.html +3 -3
  354. package/web/docs/runners/mar-agent.html +3 -3
  355. package/web/docs/runners/opencode.html +3 -3
  356. package/web/docs/runners/overview.html +3 -3
  357. package/web/docs/runners/runner-troubleshooting.html +3 -3
  358. package/web/docs/troubleshooting/node-offline.html +3 -3
  359. package/web/docs/troubleshooting/quick-diagnosis.html +3 -3
  360. package/web/docs/troubleshooting/session-run.html +3 -3
  361. package/web/docs/troubleshooting/terminal.html +3 -3
  362. package/web/docs/troubleshooting/workspace-files.html +3 -3
  363. package/web/docs/workbench/browser.html +3 -3
  364. package/web/docs/workbench/composer.html +3 -3
  365. package/web/docs/workbench/context-and-plan.html +3 -3
  366. package/web/docs/workbench/conversation.html +3 -3
  367. package/web/docs/workbench/file-reference-and-attachment.html +5 -5
  368. package/web/docs/workbench/files.html +5 -5
  369. package/web/docs/workbench/git-changes.html +3 -3
  370. package/web/docs/workbench/git-history.html +3 -3
  371. package/web/docs/workbench/hosted-conversations.html +3 -3
  372. package/web/docs/workbench/mobile.html +3 -3
  373. package/web/docs/workbench/navigation.html +3 -3
  374. package/web/docs/workbench/remote-desktop.html +3 -3
  375. package/web/docs/workbench/sessions.html +3 -3
  376. package/web/docs/workbench/skills.html +3 -3
  377. package/web/docs/workbench/terminal.html +3 -3
  378. package/web/index.html +3 -3
  379. package/web/service-worker.js +1 -1
  380. package/web/web-version.json +1 -1
  381. package/web/assets/AuthEntryPanel-B8bTU548.js +0 -48
  382. package/web/assets/MarkdownFilePreview--gkjyQ19.js +0 -2
  383. package/web/assets/NodeManagementPage-B06iRh26.js +0 -1
  384. package/web/assets/NodeManagementPage-CfcByo9d.js +0 -1
  385. package/web/assets/SecretManagementPage-CU9Lzgsn.js +0 -1
  386. package/web/assets/SessionSharePage-CDmP1Pd8.js +0 -2
  387. package/web/assets/SettingsContent-BF7_Z2mX.js +0 -1
  388. package/web/assets/SettingsContent-D5sxsJJS.js +0 -1
  389. package/web/assets/SkillCenterPage-BdI59V6y.js +0 -1
  390. package/web/assets/StandaloneFilePreviewPage-DwH6oKrv.js +0 -1
  391. package/web/assets/WorkbenchPage-8o3lIbk0.js +0 -22
  392. package/web/assets/WorkbenchPage-BLqtJjyz.css +0 -1
  393. package/web/assets/WorkspaceManagementPage-DGoPBvIb.js +0 -1
  394. package/web/assets/WorkspaceManagementPage-DchU2N0l.js +0 -1
  395. package/web/assets/abnfDiagram-VCTEODGH-C3tsQMw3.js +0 -1
  396. package/web/assets/architectureDiagram-5GKGNRK7-CdVOYvXa.js +0 -36
  397. package/web/assets/channel-BnCWY8zx.js +0 -1
  398. package/web/assets/classDiagram-CYGNFDIV-oBFzYO-t.js +0 -1
  399. package/web/assets/classDiagram-v2-TLXNO2FR-oBFzYO-t.js +0 -1
  400. package/web/assets/cose-bilkent-JH36ORCC-BKl5UDjv.js +0 -1
  401. package/web/assets/cynefinDiagram-5FMLGOSQ-TD9Xj8st.js +0 -62
  402. package/web/assets/diagram-UQ7AKVKN-odDausn4.js +0 -41
  403. package/web/assets/diagram-VX7I27RA-Bvif7Esn.js +0 -24
  404. package/web/assets/diagram-Z3DM3KII-C44BzfvC.js +0 -24
  405. package/web/assets/ebnfDiagram-PWID7BFC-BhStRwzQ.js +0 -1
  406. package/web/assets/ganttDiagram-EL5Y4UJY-p4qazHhU.js +0 -292
  407. package/web/assets/gitGraphDiagram-WWUBYQGX-BSChhjOo.js +0 -106
  408. package/web/assets/index--PMSIy_a.js +0 -1
  409. package/web/assets/index-B0nwvzeT.css +0 -1
  410. package/web/assets/index-B3FT77VF.js +0 -1
  411. package/web/assets/index-BQAV2Gam.js +0 -1
  412. package/web/assets/index-BTmhjJxk.js +0 -1
  413. package/web/assets/index-BYnC3YH0.js +0 -1
  414. package/web/assets/index-BZkG9PDn.js +0 -3
  415. package/web/assets/index-Bfc1bEpp.js +0 -1
  416. package/web/assets/index-BlNva1r2.js +0 -1
  417. package/web/assets/index-BmqB9bZD.js +0 -1
  418. package/web/assets/index-C8v-Wha4.js +0 -1
  419. package/web/assets/index-CRh9-n9Q.js +0 -1
  420. package/web/assets/index-ChVGp7_s.js +0 -13
  421. package/web/assets/index-Cl9wJ-G1.js +0 -7
  422. package/web/assets/index-D6U-kvTO.js +0 -1
  423. package/web/assets/index-DPsoRysk.js +0 -1
  424. package/web/assets/index-DyOjUZTa.js +0 -1
  425. package/web/assets/index-MHhIV6Ba.js +0 -1
  426. package/web/assets/index-iXDZt-Ax.js +0 -1
  427. package/web/assets/index-jeRtbwYG.js +0 -1
  428. package/web/assets/infoDiagram-FKFFQAWI-DYFT5LfB.js +0 -2
  429. package/web/assets/pegDiagram-XKGWAZYB-BbxFPtr8.js +0 -1
  430. package/web/assets/railroadDiagram-O6MQD6OU-D38LRNVh.js +0 -1
  431. package/web/assets/scoped-http-service-Djy4UMDU.css +0 -1
  432. package/web/assets/scoped-http-service-f5uCQBFZ.js +0 -8
  433. package/web/assets/sizeCapture-INFHLROL-DTiDoBqa.js +0 -1
  434. package/web/assets/stateDiagram-XQSTLZYL-CNrxPdVp.js +0 -1
  435. package/web/assets/stateDiagram-v2-IH3M54BS--b8Qvmks.js +0 -1
  436. package/web/assets/swimlanes-V6O3JKXN-CDuO7NCq.js +0 -1
  437. package/web/assets/swimlanesDiagram-JKAHXJPX-C6M4eF1j.js +0 -8
  438. package/web/assets/workbench-live-service-B1nVp-rC.js +0 -1
  439. package/web/assets/workspace-direct-transfer-service-BS1D4IzA.js +0 -2
  440. package/web/docs/assets/chunks/@localSearchIndexen-US.DIQjXgnG.js +0 -1
  441. package/web/docs/assets/chunks/@localSearchIndexroot.CgMvGlcj.js +0 -1
  442. package/web/docs/assets/en-US_workbench_file-reference-and-attachment.md.CO_ZfbB9.js +0 -1
  443. package/web/docs/assets/workbench_file-reference-and-attachment.md.CkStAhL5.js +0 -1
@@ -0,0 +1 @@
1
+ import{_ as t,o as a,c as n,a3 as s}from"./chunks/framework.BHjrhdiC.js";const u=JSON.parse('{"title":"References, Folders, and Attachments","description":"","frontmatter":{"title":"References, Folders, and Attachments","lastUpdated":"2026-11-28T00:00:00.000Z"},"headers":[],"relativePath":"en-US/workbench/file-reference-and-attachment.md","filePath":"en-US/workbench/file-reference-and-attachment.md"}'),o={name:"en-US/workbench/file-reference-and-attachment.md"};function r(i,e,c,l,d,h){return a(),n("div",null,[...e[0]||(e[0]=[s('<h1 id="references-folders-and-attachments" tabindex="-1">References, Folders, and Attachments <a class="header-anchor" href="#references-folders-and-attachments" aria-label="Permalink to &quot;References, Folders, and Attachments&quot;">​</a></h1><p>Type <code>@</code> to search Workspace files and folders. Selecting a result adds a removable Composer tag rather than inserting a path into the message body. References are sent to the Agent as resource inputs and shown as read-only tags in the sent message, without exposing XML. The Agent reads the original resources through its normal tools and permissions; references are not uploaded, copied, or subject to attachment cleanup.</p><p>In regular work mode, the same <code>@</code> picker also offers registered main Sessions in the current Node and Workspace. Matching Sessions appear before files, without type-switching tabs. Type <code>@session</code> or <code>@session keyword</code> to search only Sessions. A bare <code>@</code> shows the first Sessions; enter a path to search files. Each source shows only its first results, so refine the query when more are available. The current Session and child Sessions are excluded. Hosted conversations and shared-session entries do not expose the ordinary Session directory.</p><p>Selecting a Session works like selecting a file: it removes the query at the caret and adds a removable Session reference tag without inserting markup into the body. The tag retains the Session ID and its name at selection time. Session and file references are sent together as XML resource inputs and displayed as read-only tags without exposing XML. Selecting the same Session twice does not duplicate it; different Sessions with matching names remain distinct by ID. Up to 128 Session, file, and folder references can be selected together and restored with the current Workspace draft. Click a tag to remove it, or press Backspace with an empty body to remove the last reference. Editing a queued message&#39;s body preserves reference metadata. References do not import history, send collaboration messages, or automatically read the source Session. Any actual read still uses the Agent&#39;s existing tools and permissions.</p><p>Use the attachment action for files outside the Workspace. The first message accepts up to five files, each larger than zero and no larger than 5 MiB, with a combined limit of 10 MiB. Wait for every upload to complete before sending.</p><p>When pasted clipboard text reaches either 100 lines or 10,000 characters, Composer automatically creates a TXT attachment while preserving the existing draft.</p><p>In regular Workspaces and hosted conversations, BMP attachments are converted to PNG in the browser before upload, preserving their resolution. The attachment name changes to <code>.png</code>; your local source file is unchanged. Both the source and the converted file must fit within 5 MiB, and the image must not exceed 16 megapixels. Images are not automatically resized. If conversion fails or exceeds a limit, save a smaller PNG and add it again. PNG, JPEG, GIF, and WebP are not converted.</p><p>Sent image attachments appear as thumbnail cards without filename text or filename tooltips; other attachments appear as file icons and names. Click an image to enlarge it in a dialog, or Ctrl/Cmd+Click to open a separate window. If a thumbnail cannot load, it falls back to an image placeholder; clicking still checks whether the attachment is available. Other files use the normal Workspace preview. Supported images are also supplied through the Agent&#39;s native visual input, not just as paths.</p><h2 id="quote-a-selected-excerpt" tabindex="-1">Quote a selected excerpt <a class="header-anchor" href="#quote-a-selected-excerpt" aria-label="Permalink to &quot;Quote a selected excerpt&quot;">​</a></h2><p>Unlike <code>@file</code>, a quote saves the text you see as a snapshot. It does not require the Agent to read the current file again.</p><ul><li>Select text in a file or Diff, then choose <strong>Quote</strong> in the content context menu. <strong>Select all</strong> selects only the loaded body of the current page, including text outside the viewport. It does not read other files, add a quote, or send a message. Quote is not in the mobile file toolbar&#39;s More menu.</li><li>Select text within one Agent reply in Chat. A floating <strong>Quote</strong> button appears near the selection on desktop and mobile. Browsers that emit a text-selection context-menu event show the standard Copy/Quote menu instead. The two surfaces are mutually exclusive; mobile does not depend on that event or place Quote in the message action area. Links, images, and non-body content keep their normal menus.</li><li>Adding a quote creates a compact first-line tag capped at 32 characters and a maximum width. Hover, focus, or click to preview the excerpt; a separate button removes it. Your opinion and existing references remain unchanged. A successful file or Diff quote closes the entire source preview window and returns to the originating conversation; a rejected quote leaves it open. Unsaved changes still require confirmation before closing; cancelling keeps both the edits and the added quote. Write feedback and send when ready; a quote-only message is also allowed.</li><li>Quotes go to the draft associated with the source surface, not an unrelated Main or Aside conversation. If the target changes while a menu is open, reopen it in the current target. A companion file window does not deliver quotes into another window.</li><li>Unsaved edits, historical versions, and streaming replies retain their source descriptions. A captured quote does not update when the source changes. Each excerpt allows up to 8,000 characters; all references share a 128-item limit and an encoded-size limit. Reduce the selection or remove references when necessary; text is never silently truncated.</li><li>Sent quotes display their source and a read-only excerpt above your opinion, preserving line breaks. Multiline previews can be expanded or collapsed. Sent excerpts and hover previews share a 500-character limit with an ellipsis for longer text; the saved snapshot, Agent input, and copied content remain complete. Ordinary <code>@</code> references remain length-limited tags, and XML stays hidden. Copying that user message retains the quote XML from its public input. Regular Workspace quotes follow the existing Workspace draft restoration rules; hosted and shared entries retain their own draft lifecycle and file-access boundaries.</li></ul><h2 id="attachment-retention" tabindex="-1">Attachment retention <a class="header-anchor" href="#attachment-retention" aria-label="Permalink to &quot;Attachment retention&quot;">​</a></h2><ul><li>Sent files remain available while the Session is preparing, queued, or executing work, then for 30 minutes after it becomes idle.</li><li>An accepted follow-up message pauses cleanup and starts a fresh interval when the Session becomes idle again. Viewing history, switching Sessions, or opening previews does not extend retention.</li><li>In a regular Workspace, clicking a sent attachment opens the preview before checking whether the file is available. If the check fails, the preview shows the reason and offers <strong>Retry</strong>. The message&#39;s file list remains after cleanup; upload the file again if needed. Normal Node shutdown also removes temporary attachments, so old preview URLs are not guaranteed across restarts. In regular Workspaces, MAR Agent <a href="./sessions#automatic-continuation-after-orderly-shutdown">orderly shutdown handoffs</a> retain unsent attachment content and prepare it again during recovery.</li><li>Completed uploads that have not been sent expire after one hour. Removing an attachment deletes its temporary upload early.</li></ul><p>References and attachments never grant additional access. Check the selected tags before sending, verify missing paths in the Workspace file tree, and do not upload credentials or secret files. Next: <a href="./files">Browse, search, and manage files</a>.</p><p>Attachments are stored under <code>temp-files/</code> in the Node private data directory, without creating a Workspace <code>.mar</code> directory or changing Git ignore rules. Message attachments remain available for preview and download while retained, but cannot be edited as Workspace files.</p>',15)])])}const m=t(o,[["render",r]]);export{u as __pageData,m as default};
@@ -1 +1 @@
1
- import{_ as t,o as a,c as n,a3 as s}from"./chunks/framework.BHjrhdiC.js";const u=JSON.parse('{"title":"References, Folders, and Attachments","description":"","frontmatter":{"title":"References, Folders, and Attachments","lastUpdated":"2026-11-13T00:00:00.000Z"},"headers":[],"relativePath":"en-US/workbench/file-reference-and-attachment.md","filePath":"en-US/workbench/file-reference-and-attachment.md"}'),o={name:"en-US/workbench/file-reference-and-attachment.md"};function r(i,e,c,d,l,h){return a(),n("div",null,[...e[0]||(e[0]=[s("",15)])])}const m=t(o,[["render",r]]);export{u as __pageData,m as default};
1
+ import{_ as t,o as a,c as n,a3 as s}from"./chunks/framework.BHjrhdiC.js";const u=JSON.parse('{"title":"References, Folders, and Attachments","description":"","frontmatter":{"title":"References, Folders, and Attachments","lastUpdated":"2026-11-28T00:00:00.000Z"},"headers":[],"relativePath":"en-US/workbench/file-reference-and-attachment.md","filePath":"en-US/workbench/file-reference-and-attachment.md"}'),o={name:"en-US/workbench/file-reference-and-attachment.md"};function r(i,e,c,l,d,h){return a(),n("div",null,[...e[0]||(e[0]=[s("",15)])])}const m=t(o,[["render",r]]);export{u as __pageData,m as default};
@@ -1 +1 @@
1
- import{_ as t,o as a,c as o,a3 as i}from"./chunks/framework.BHjrhdiC.js";const f=JSON.parse('{"title":"Browse, Search, and Manage Files","description":"","frontmatter":{"title":"Browse, Search, and Manage Files","lastUpdated":"2026-11-23T00:00:00.000Z"},"headers":[],"relativePath":"en-US/workbench/files.md","filePath":"en-US/workbench/files.md"}'),r={name:"en-US/workbench/files.md"};function n(s,e,l,d,c,h){return a(),o("div",null,[...e[0]||(e[0]=[i('<h1 id="browse-search-and-manage-files" tabindex="-1">Browse, Search, and Manage Files <a class="header-anchor" href="#browse-search-and-manage-files" aria-label="Permalink to &quot;Browse, Search, and Manage Files&quot;">​</a></h1><p>Files shows the selected Workspace as a lazily loaded tree. Files and folders are clickable, and more actions appear when you hover over a row.</p><h2 id="prerequisites" tabindex="-1">Prerequisites <a class="header-anchor" href="#prerequisites" aria-label="Permalink to &quot;Prerequisites&quot;">​</a></h2><p>The Workspace must be online and readable. Creating, renaming, moving, or deleting also requires file-system permission for the Node service account and run access to the resource.</p><h2 id="steps" tabindex="-1">Steps <a class="header-anchor" href="#steps" aria-label="Permalink to &quot;Steps&quot;">​</a></h2><ol><li>Select <strong>Files</strong>, expand a folder, and select a file. Text, Diff, images, PDF, Office, video, and audio open in one file-tab strip; every tab shows its file name with a full-path tooltip, while its content page keeps independent state. The × in a tab closes that file only. <strong>Close file window</strong> in the upper-right corner closes all file tabs and returns to the workbench, or closes the browser window in a companion file window. Unsaved edits require confirmation first; canceling any confirmation keeps all tabs open. <code>Ctrl+W</code> / <code>Alt+W</code> closes the active file tab; <code>Esc</code> / <code>Ctrl+Shift+W</code> / <code>Alt+Shift+W</code> closes the whole file window. Esc first dismisses the topmost find panel, menu, or settings dialog. Mobile browser Back also closes the whole window; canceling an unsaved-change confirmation keeps it open. Companion file pages and tab-free rendered previews use the same behavior. Ctrl combinations require the browser to deliver the key event; use Alt as an alternative. Additional entries load automatically near the bottom of an expanded directory; retry in place if loading fails. Use <strong>Filter displayed items</strong> to filter currently loaded files and folders by name or relative path; clear it to restore the tree. Filtering does not read folders that have not been expanded.</li><li>In Quick Open, filter by result type using <strong>All</strong>, <strong>Workspace</strong>, <strong>Session</strong>, <strong>File</strong>, or <strong>Symbol</strong>. Workspaces match display names only, not paths or Node names; Sessions match the titles of loaded sessions in the current Workspace. All results are ranked by match strength first, with ties ordered as Workspace, Session, File, then Symbol; definitions precede references when Symbol scores tie. Enter a complete name to find a symbol: definitions can appear before references finish loading. Selecting a Session opens it in the current Workspace. Selecting a symbol or file immediately opens its preview without switching the Aside tool. The file tree expands its ancestors and selects the target in the background, then reveals it when Files is shown. Selecting a Workspace switches to or opens its tab. For duplicate file names, add space-separated terms to match the relative path, such as <code>app src</code> for <code>src/app.ts</code>; term order does not matter. You can enter <code>foo.ts:12</code> for a root-level file to jump to a line. The current Workspace&#39;s path index is built on demand; the first use may show “Preparing the index”. Each result type shows its own progress, failure, or timeout. If results are incomplete, refine the query; failure details and Retry are available. <strong>Search</strong> finds file contents and can open the matching line. It searches plain text by default; select <strong>Use Regular Expression</strong> above the search box before running a pattern search. Invalid patterns show an error.</li><li>Long file and folder names are abbreviated in the tree. Hover a row to see its complete relative path. The open file remains selected in the tree.</li><li>Hover over a row and select <code>…</code>. A file can be downloaded, copied as a relative or absolute path, renamed, or deleted. A folder also supports creating files or folders and uploading files. <strong>Copy absolute path</strong> copies the full path on the Node host; for the root, it copies the actual Workspace root path. This action is unavailable until the root path is known. When an authenticated loopback direct connection confirms that the browser and current Node are on the same device, <strong>Open in local file manager</strong> also appears. Windows opens a folder or selects a file, macOS opens a folder or reveals a file in Finder, and Linux opens the containing folder for a file. The Node must run in a session with access to the user&#39;s desktop; an unavailable desktop or file manager produces an error.</li><li>Drag a file or folder onto another folder to move it. Existing destinations cannot be overwritten, and a folder cannot be moved into itself.</li><li>Text files open in read-only mode by default. For a writable, complete UTF-8 text file, switch modes from the preview title bar, or choose <strong>Edit</strong> under <strong>Settings &gt; Appearance &gt; Default file mode</strong> to change the default in this browser. Your saved preference still applies. Use <code>Ctrl/Cmd+S</code> or Save to write, <code>Ctrl/Cmd+F</code> to find, <code>Ctrl/Cmd+H</code> to find and replace in the same panel, and <code>Alt+M</code> to open symbols and jump to a class, function, or heading. Completion uses only the current document and basic language syntax; it is not a project language service. Text larger than 1 MiB remains editable and saveable, but uses plain-text mode without syntax parsing, symbols, or completion to keep browser memory bounded.</li><li>On a Node with code navigation, hold <code>Ctrl/Cmd</code> over a code symbol to identify a jump target. Candidates list definitions before references. Selecting a target opens a new tab at the top of the file preview, focuses and selects the target line. Within the file preview, use <code>Alt+Left</code> / <code>Alt+Right</code> to go back and forward through code jumps and manual file-tab switches, restoring the cursor position; closed tabs are removed from navigation history. The first source preview builds a local index in the background, and a jump waits for that same build if it is still running. TypeScript/JavaScript, Python, Java/Kotlin, Go, Rust, C/C++, and C# are formally supported; other Ctags parsers are best effort. If the symbol index reaches its size limit or code-navigation resources are unavailable on the Node, the navigation area shows a local notice instead of a global error or a misleading no-match result. File browsing, editing, and saving remain available.</li><li>Ctrl/Cmd-click a file to open it in one reusable companion Console window while keeping the conversation visible. The window automatically selects the target Workspace and uses the same full-screen file tabs, editing, saving, find, and code-navigation capabilities as the main window. Later opens accumulate or activate files in that Console without reloading it or creating more windows; <code>Ctrl+R</code> keeps it in file-window mode and opens the most recently opened file. Right-click text or Git Diff content for Copy, Paste, Select all, Quote, and Reload; Paste is unavailable for read-only content, and reloading unsaved edits requires confirmation. Rendered Markdown uses a separate page without file tabs, while ordinary Markdown opens as source text first.</li><li>For a Markdown file, use the preview icon in its title bar to open a rendered page. The independent page always uses a light appearance, regardless of the console theme, with a print-friendly A4 body; refresh the browser to update its content. Preview settings can enable a browser-wide text watermark; its enabled state and text are stored only in this browser. There is no theme selector. Mermaid diagrams are supported; relative links and images remain limited to the current Workspace, while <code>http</code>/<code>https</code> images load directly in the browser.</li><li>HTML/HTM files still open as source by default. <strong>Preview</strong> in the file menu, the source preview button, or <code>Ctrl/Cmd+Shift+V</code> opens the saved version in a new <a href="./browser">Workspace browser</a> tab. It does not save drafts. The source window is hidden temporarily; its tabs and drafts remain available from Files. Wait for any save to finish first. A companion source window still opens standalone HTML previews.</li></ol><p>In the Workspace browser, the page runs on the Node and may execute scripts or load resources from its directory and subdirectories. Reload to read the latest saved file. Preview trusted files only. Standalone previews still use the preview origin configured by your administrator. Without a separate origin they share the Console origin, so HTML scripts are not isolated from the workbench.</p><p>Standalone HTML previews use the available window width and keep the document&#39;s own layout and styles. Standalone rendered Markdown/HTML pages retain the browser&#39;s native context menu instead of the custom menu used by ordinary file pages.</p><p>File and Diff read failures show a short reason and <strong>Retry</strong> inside their content area, keeping the file title and close action without a duplicate global error message. Retry reads the same target without adding a file tab. Files and Git list failures likewise stay in their own lists with a retry action. Unsupported or failed previews offer download instead; a binary Diff or a Diff without displayable text can open the file preview when available.</p><p>The unified preview supports code and text, common images, PDF, DOCX, XLSX, PPTX, common video, and audio. The workbench renders PDF pages itself and does not depend on the browser&#39;s built-in PDF viewer. PDF and media are read on demand. Modern Office files are parsed locally in the browser and are not sent to an external preview service. PPTX previews are constrained by both available width and height, preserving the complete slide ratio in very wide or short windows. Legacy DOC, XLS, and PPT files and other unsupported formats keep a download action. A damaged or oversized Office file may also fall back to download.</p><p>Legacy text previews recognize BOM-marked UTF-16 and automatically try GB18030 for known text files when UTF-8 decoding fails. Damaged text can fall back to UTF-8 with replacement characters. The preview identifies fallback decoding and always remains read-only; it does not convert or overwrite the source file. Unknown binary formats still fall back to download. Git Diff displays the patch returned by Git rather than recomputing differences from decoded previews; a non-UTF-8 worktree does not suppress a text patch, but Git-reported binary differences remain unsupported for text comparison.</p><p>In ordinary Work mode, chat file and image links support absolute paths readable by the Node service account, including session image directories outside the Workspace. Relative paths still resolve within the current Workspace. Absolute paths are for read-only preview and download; they do not expand the file tree, search, or write scope and do not apply to hosted conversations. <strong>Users with Workspace access can read other host files available to the Node service account by their absolute paths; Workspaces and allowed roots are not file confidentiality boundaries.</strong> When sharing a Node, isolate sensitive data through the service account and operating-system file permissions.</p><p>Image files open fitted to the window without changing their aspect ratio. On desktop, use the wheel to zoom over the image area and hold the primary mouse button to drag after zooming in. On mobile, pinch with two fingers to zoom and drag with one finger. The file toolbar (in the desktop header or at the bottom right on mobile) also lets you zoom in, zoom out, fit the image, or use the four-way arrow to choose a pan direction.</p><p><strong>Success:</strong> The preview title matches the selected tree path, and refreshing the tree shows the real file-system state.</p><h2 id="troubleshooting" tabindex="-1">Troubleshooting <a class="header-anchor" href="#troubleshooting" aria-label="Permalink to &quot;Troubleshooting&quot;">​</a></h2><ul><li>If canceling or removing a task reports that temporary upload cleanup could not be confirmed, the task stays visible instead of silently disappearing. Retry or ask an administrator to check the Node&#39;s temporary uploads. Refreshing the page does not confirm cleanup.</li><li>Workspace direct uploads verify the complete file&#39;s SHA-256; a mismatch leaves the target unchanged. An interruption after upload starts reports an error, without automatic retry, reauthorization, or a new upload through the Server. Click Retry yourself; after refreshing the page, select the same unchanged source file with the same name and size. Fresh authorization then resumes from the continuous offset confirmed by the Node. Expired temporary uploads and Node restarts require a new upload. Server upload fallback remains available before direct upload starts; existing download and preview fallback behavior is unchanged.</li><li>Operation denied: check the Node service account permissions, Workspace boundary, and resource authorization.</li><li>Regular-expression search unavailable: regular-expression mode requires the Node-bundled <code>rg</code> resource. Reinstall or upgrade that Node, then try again; plain-text search can still fall back when the resource is missing.</li><li>Long file name: hover the tree row to confirm its full relative path before moving or deleting it.</li><li>Read-only preview: write-incompatible Nodes, truncated text, Diff, and Git History content remain read-only. Nodes below the business baseline must first be <a href="./../deployment/upgrade">upgraded</a>.</li><li>Save conflict: an Agent, terminal, or another window changed the file. Discard the local edit, reopen the file, review the latest content, and edit again; the workbench does not force an overwrite.</li><li>A Diff opens instead of a file: chat file changes and Git text changes open Diff by default. Supported images, audio, video, PDF, and Office formats in Git Changes / Git History open directly in a preview of the corresponding worktree or selected commit. Unknown binary files and unsupported formats retain fallback actions.</li><li>Office preview fails: verify that the file is DOCX, XLSX, or PPTX rather than a legacy file with a renamed extension, then use Download if needed.</li><li>Dragging has no effect: refresh the tree and confirm the destination is writable and inside the Workspace.</li><li>A new tab is blocked: allow pop-ups for MyAgentRoam. Executable HTML on the Console origin may use the current account&#39;s existing permissions.</li></ul><p>File operations act on the real Node directory. There is no hidden recycle bin. Check Git Changes or create a backup before renaming, moving, overwriting, or deleting. Next: <a href="./git-changes">Git Changes and Diff</a>.</p><p>After selecting file or Diff text, use that menu to <a href="./file-reference-and-attachment#quote-a-selected-excerpt">add a quote</a>. Select all covers only the currently loaded document; it does not quote automatically or read other files. The mobile bottom toolbar provides direct actions without a More button; text selection and content context menus are unchanged.</p>',18)])])}const u=t(r,[["render",n]]);export{f as __pageData,u as default};
1
+ import{_ as t,o as a,c as o,a3 as i}from"./chunks/framework.BHjrhdiC.js";const f=JSON.parse('{"title":"Browse, Search, and Manage Files","description":"","frontmatter":{"title":"Browse, Search, and Manage Files","lastUpdated":"2026-11-28T00:00:00.000Z"},"headers":[],"relativePath":"en-US/workbench/files.md","filePath":"en-US/workbench/files.md"}'),r={name:"en-US/workbench/files.md"};function n(s,e,l,d,c,h){return a(),o("div",null,[...e[0]||(e[0]=[i('<h1 id="browse-search-and-manage-files" tabindex="-1">Browse, Search, and Manage Files <a class="header-anchor" href="#browse-search-and-manage-files" aria-label="Permalink to &quot;Browse, Search, and Manage Files&quot;">​</a></h1><p>Files shows the selected Workspace as a lazily loaded tree. Files and folders are clickable, and more actions appear when you hover over a row.</p><h2 id="prerequisites" tabindex="-1">Prerequisites <a class="header-anchor" href="#prerequisites" aria-label="Permalink to &quot;Prerequisites&quot;">​</a></h2><p>The Workspace must be online and readable. Creating, renaming, moving, or deleting also requires file-system permission for the Node service account and run access to the resource.</p><h2 id="steps" tabindex="-1">Steps <a class="header-anchor" href="#steps" aria-label="Permalink to &quot;Steps&quot;">​</a></h2><ol><li>Select <strong>Files</strong>, expand a folder, and select a file. Text, Diff, images, PDF, Office, video, and audio open in one file-tab strip; every tab shows its file name with a full-path tooltip, while its content page keeps independent state. The × in a tab closes that file only. <strong>Close file window</strong> in the upper-right corner closes all file tabs and returns to the workbench, or closes the browser window in a companion file window. Unsaved edits require confirmation first; canceling any confirmation keeps all tabs open. <code>Ctrl+W</code> / <code>Alt+W</code> closes the active file tab; <code>Esc</code> / <code>Ctrl+Shift+W</code> / <code>Alt+Shift+W</code> closes the whole file window. Esc first dismisses the topmost find panel, menu, or settings dialog. Mobile browser Back also closes the whole window; canceling an unsaved-change confirmation keeps it open. Companion file pages and tab-free rendered previews use the same behavior. Ctrl combinations require the browser to deliver the key event; use Alt as an alternative. Additional entries load automatically near the bottom of an expanded directory; retry in place if loading fails. Use <strong>Filter displayed items</strong> to filter currently loaded files and folders by name or relative path; clear it to restore the tree. Filtering does not read folders that have not been expanded.</li><li>In Quick Open, filter by result type using <strong>All</strong>, <strong>Workspace</strong>, <strong>Session</strong>, <strong>File</strong>, or <strong>Symbol</strong>. Workspaces match display names only, not paths or Node names; Sessions match the titles of loaded sessions in the current Workspace. All results are ranked by match strength first, with ties ordered as Workspace, Session, File, then Symbol; definitions precede references when Symbol scores tie. Enter a complete name to find a symbol: definitions can appear before references finish loading. Selecting a Session opens it in the current Workspace. Selecting a symbol or file immediately opens its preview without switching the Aside tool. The file tree expands its ancestors and selects the target in the background, then reveals it when Files is shown. Selecting a Workspace switches to or opens its tab. For duplicate file names, add space-separated terms to match the relative path, such as <code>app src</code> for <code>src/app.ts</code>; term order does not matter. You can enter <code>foo.ts:12</code> for a root-level file to jump to a line. The current Workspace&#39;s path index is built on demand; the first use may show “Preparing the index”. Each result type shows its own progress, failure, or timeout. If results are incomplete, refine the query; failure details and Retry are available. <strong>Search</strong> finds file contents and can open the matching line. It searches plain text by default; select <strong>Use Regular Expression</strong> above the search box before running a pattern search. Invalid patterns show an error.</li><li>Long file and folder names are abbreviated in the tree. Hover a row to see its complete relative path. The open file remains selected in the tree.</li><li>Hover over a row and select <code>…</code>. A file can be downloaded, copied as a relative or absolute path, renamed, or deleted. A folder also supports creating files or folders and uploading files. <strong>Copy absolute path</strong> copies the full path on the Node host; for the root, it copies the actual Workspace root path. This action is unavailable until the root path is known. When an authenticated loopback direct connection confirms that the browser and current Node are on the same device, <strong>Open in local file manager</strong> also appears. Windows opens a folder or selects a file, macOS opens a folder or reveals a file in Finder, and Linux opens the containing folder for a file. The Node must run in a session with access to the user&#39;s desktop; an unavailable desktop or file manager produces an error.</li><li>Drag a file or folder onto another folder to move it. Existing destinations cannot be overwritten, and a folder cannot be moved into itself.</li><li>Text files open in read-only mode by default. For a writable, complete UTF-8 text file, switch modes from the preview title bar, or choose <strong>Edit</strong> under <strong>Settings &gt; Appearance &gt; Default file mode</strong> to change the default in this browser. Your saved preference still applies. Use <code>Ctrl/Cmd+S</code> or Save to write, <code>Ctrl/Cmd+F</code> to find, <code>Ctrl/Cmd+H</code> to find and replace in the same panel, and <code>Alt+M</code> to open symbols and jump to a class, function, or heading. Completion uses only the current document and basic language syntax; it is not a project language service. Text larger than 1 MiB remains editable and saveable, but uses plain-text mode without syntax parsing, symbols, or completion to keep browser memory bounded.</li><li>On a Node with code navigation, hold <code>Ctrl/Cmd</code> over a code symbol to identify a jump target. Candidates list definitions before references. Selecting a target opens a new tab at the top of the file preview, focuses and selects the target line. Within the file preview, use <code>Alt+Left</code> / <code>Alt+Right</code> to go back and forward through code jumps and manual file-tab switches, restoring the cursor position; closed tabs are removed from navigation history. The first source preview builds a local index in the background, and a jump waits for that same build if it is still running. TypeScript/JavaScript, Python, Java/Kotlin, Go, Rust, C/C++, and C# are formally supported; other Ctags parsers are best effort. If the symbol index reaches its size limit or code-navigation resources are unavailable on the Node, the navigation area shows a local notice instead of a global error or a misleading no-match result. File browsing, editing, and saving remain available.</li><li>Ctrl/Cmd-click a file to open it in one reusable companion Console window while keeping the conversation visible. The window automatically selects the target Workspace and uses the same full-screen file tabs, editing, saving, find, and code-navigation capabilities as the main window. Later opens accumulate or activate files in that Console without reloading it or creating more windows; <code>Ctrl+R</code> keeps it in file-window mode and opens the most recently opened file. Right-click text or Git Diff content for Copy, Paste, Select all, Quote, and Reload; Paste is unavailable for read-only content, and reloading unsaved edits requires confirmation. Rendered Markdown uses a separate page without file tabs, while ordinary Markdown opens as source text first.</li><li>For a Markdown file, use the preview icon in its title bar to open a rendered page. The independent page always uses a light appearance, regardless of the console theme, with a print-friendly A4 body; refresh the browser to update its content. Preview settings can enable a browser-wide text watermark; its enabled state and text are stored only in this browser. There is no theme selector. Mermaid diagrams are supported; relative links and images remain limited to the current Workspace, while <code>http</code>/<code>https</code> images load directly in the browser.</li><li>HTML/HTM files still open as source by default. <strong>Preview</strong> in the file menu, the source preview button, or <code>Ctrl/Cmd+Shift+V</code> opens the saved version in a new <a href="./browser">Workspace browser</a> tab. It does not save drafts. The source window is hidden temporarily; its tabs and drafts remain available from Files. Wait for any save to finish first. A companion source window still opens standalone HTML previews.</li></ol><p>In the Workspace browser, the page runs on the Node and may execute scripts or load resources from its directory and subdirectories. Reload to read the latest saved file. Preview trusted files only. Standalone previews still use the preview origin configured by your administrator. Without a separate origin they share the Console origin, so HTML scripts are not isolated from the workbench.</p><p>Standalone HTML previews use the available window width and keep the document&#39;s own layout and styles. Standalone rendered Markdown/HTML pages retain the browser&#39;s native context menu instead of the custom menu used by ordinary file pages.</p><p>File and Diff read failures show a short reason and <strong>Retry</strong> inside their content area, keeping the file title and close action without a duplicate global error message. Retry reads the same target without adding a file tab. Files and Git list failures likewise stay in their own lists with a retry action. Unsupported or failed previews offer download instead; a binary Diff or a Diff without displayable text can open the file preview when available.</p><p>The unified preview supports code and text, common images, PDF, DOCX, XLSX, PPTX, common video, and audio. The workbench renders PDF pages itself and does not depend on the browser&#39;s built-in PDF viewer. PDF and media are read on demand. Modern Office files are parsed locally in the browser and are not sent to an external preview service. PPTX previews are constrained by both available width and height, preserving the complete slide ratio in very wide or short windows. Legacy DOC, XLS, and PPT files and other unsupported formats keep a download action. A damaged or oversized Office file may also fall back to download.</p><p>Legacy text previews recognize BOM-marked UTF-16 and automatically try GB18030 for known text files when UTF-8 decoding fails. Damaged text can fall back to UTF-8 with replacement characters. The preview identifies fallback decoding and always remains read-only; it does not convert or overwrite the source file. Unknown binary formats still fall back to download. Git Diff displays the patch returned by Git rather than recomputing differences from decoded previews; a non-UTF-8 worktree does not suppress a text patch, but Git-reported binary differences remain unsupported for text comparison.</p><p>In ordinary Work mode, chat file and image links support absolute paths readable by the Node service account, including session image directories outside the Workspace. Relative paths still resolve within the current Workspace. Absolute paths are for read-only preview and download; they do not expand the file tree, search, or write scope and do not apply to hosted conversations. <strong>Users with Workspace access can read other host files available to the Node service account by their absolute paths; Workspaces and allowed roots are not file confidentiality boundaries.</strong> When sharing a Node, isolate sensitive data through the service account and operating-system file permissions.</p><p>Image files open fitted to the window without changing their aspect ratio. On desktop, use the wheel to zoom over the image area and hold the primary mouse button to drag after zooming in. On mobile, pinch with two fingers to zoom and drag with one finger. The file toolbar (in the desktop header or at the bottom right on mobile) also lets you zoom in, zoom out, fit the image, or use the four-way arrow to choose a pan direction.</p><p><strong>Success:</strong> The preview title matches the selected tree path, and refreshing the tree shows the real file-system state.</p><h2 id="troubleshooting" tabindex="-1">Troubleshooting <a class="header-anchor" href="#troubleshooting" aria-label="Permalink to &quot;Troubleshooting&quot;">​</a></h2><ul><li>If canceling or removing a task reports that temporary upload cleanup could not be confirmed, the task stays visible instead of silently disappearing. Retry or ask an administrator to check the Node&#39;s temporary uploads. Refreshing the page does not confirm cleanup.</li><li>Workspace direct uploads verify the complete file&#39;s SHA-256; a mismatch leaves the target unchanged. An interruption after upload starts reports an error, without automatic retry, reauthorization, or a new upload through the Server. Click Retry yourself; after refreshing the page, select the same unchanged source file with the same name and size. Fresh authorization then resumes from the continuous offset confirmed by the Node. Expired temporary uploads and Node restarts require a new upload. Server upload fallback remains available before direct upload starts; existing download and preview fallback behavior is unchanged.</li><li>Operation denied: check the Node service account permissions, Workspace boundary, and resource authorization.</li><li>Regular-expression search unavailable: regular-expression mode requires the Node-bundled <code>rg</code> resource. Reinstall or upgrade that Node, then try again; plain-text search can still fall back when the resource is missing.</li><li>Long file name: hover the tree row to confirm its full relative path before moving or deleting it.</li><li>Read-only preview: write-incompatible Nodes, truncated text, Diff, and Git History content remain read-only. Nodes below the business baseline must first be <a href="./../deployment/upgrade">upgraded</a>.</li><li>Save conflict: an Agent, terminal, or another window changed the file. Discard the local edit, reopen the file, review the latest content, and edit again; the workbench does not force an overwrite.</li><li>A Diff opens instead of a file: chat file changes and Git text changes open Diff by default. Supported images, audio, video, PDF, and Office formats in Git Changes / Git History open directly in a preview of the corresponding worktree or selected commit. Unknown binary files and unsupported formats retain fallback actions.</li><li>Office preview fails: verify that the file is DOCX, XLSX, or PPTX rather than a legacy file with a renamed extension, then use Download if needed.</li><li>Dragging has no effect: refresh the tree and confirm the destination is writable and inside the Workspace.</li><li>A new tab is blocked: allow pop-ups for MyAgentRoam. Executable HTML on the Console origin may use the current account&#39;s existing permissions.</li></ul><p>File operations act on the real Node directory. There is no hidden recycle bin. Check Git Changes or create a backup before renaming, moving, overwriting, or deleting. Next: <a href="./git-changes">Git Changes and Diff</a>.</p><p>On mobile, the file toolbar is at the bottom right and starts expanded. Tap the double chevrons at the far right to collapse it, and tap again to expand it. Tap frequently used actions directly and open <strong>More file actions (⋯)</strong> for the rest. For example, the Diff toolbar moves between files or changes, while opening the source file, finding text, and downloading are in the menu. A preview with only one action shows that button without a menu or collapse control.</p><p>After selecting file or Diff text, use the content context menu to <a href="./file-reference-and-attachment#quote-a-selected-excerpt">add a quote</a>. Select all covers only the currently loaded document; it does not quote automatically or read other files.</p>',19)])])}const u=t(r,[["render",n]]);export{f as __pageData,u as default};
@@ -1 +1 @@
1
- import{_ as t,o as a,c as o,a3 as i}from"./chunks/framework.BHjrhdiC.js";const f=JSON.parse('{"title":"Browse, Search, and Manage Files","description":"","frontmatter":{"title":"Browse, Search, and Manage Files","lastUpdated":"2026-11-23T00:00:00.000Z"},"headers":[],"relativePath":"en-US/workbench/files.md","filePath":"en-US/workbench/files.md"}'),r={name:"en-US/workbench/files.md"};function n(s,e,l,d,c,h){return a(),o("div",null,[...e[0]||(e[0]=[i("",18)])])}const u=t(r,[["render",n]]);export{f as __pageData,u as default};
1
+ import{_ as t,o as a,c as o,a3 as i}from"./chunks/framework.BHjrhdiC.js";const f=JSON.parse('{"title":"Browse, Search, and Manage Files","description":"","frontmatter":{"title":"Browse, Search, and Manage Files","lastUpdated":"2026-11-28T00:00:00.000Z"},"headers":[],"relativePath":"en-US/workbench/files.md","filePath":"en-US/workbench/files.md"}'),r={name:"en-US/workbench/files.md"};function n(s,e,l,d,c,h){return a(),o("div",null,[...e[0]||(e[0]=[i("",19)])])}const u=t(r,[["render",n]]);export{f as __pageData,u as default};
@@ -1,4 +1,4 @@
1
- import{_ as e,o as a,c as i,a3 as t}from"./chunks/framework.BHjrhdiC.js";const k=JSON.parse('{"title":"使用 marctl 管理节点","description":"","frontmatter":{"title":"使用 marctl 管理节点","lastUpdated":"2026-11-27T00:00:00.000Z"},"headers":[],"relativePath":"operations/marctl.md","filePath":"operations/marctl.md"}'),n={name:"operations/marctl.md"};function o(d,s,p,l,c,h){return a(),i("div",null,[...s[0]||(s[0]=[t(`<h1 id="使用-marctl-管理节点" tabindex="-1">使用 marctl 管理节点 <a class="header-anchor" href="#使用-marctl-管理节点" aria-label="Permalink to &quot;使用 marctl 管理节点&quot;">​</a></h1><p><code>marctl</code> 是社区版和企业版的节点命令行工具;Node 安装包自带 <code>marnodes</code>、<code>marssh</code>、<code>marscp</code> 入口,仅供 MAR 内部执行上下文使用。它通过 Server 授权列出节点、打开交互终端、执行一次命令或复制文件;不需要 Node 开放 SSH 端口。<code>ssh</code> 是方便记忆的子命令名,<strong>不是系统 SSH 协议</strong>。</p><p>在 Node 上由 MAR 打开的普通 Workbench 终端、Workspace Agent Run 及其本地 MCP 子进程中,这些命令会自动加入 <code>PATH</code>。脚本可用 <code>MAR_NODE_CONTEXT=1</code> 判断 MAR 启动上下文,用 <code>MAR_USERNAME</code> 识别当前 MAR 账号的用户名(不是昵称或系统账号);定时任务使用任务 owner 的用户名。没有可信执行身份时用户名为空,不继承 Node 服务进程的用户名。这些变量只提供上下文信息,不代表已获得节点权限,也不改变托管对话的独立沙箱边界。</p><h2 id="agent-按需加载指南" tabindex="-1">Agent 按需加载指南 <a class="header-anchor" href="#agent-按需加载指南" aria-label="Permalink to &quot;Agent 按需加载指南&quot;">​</a></h2><p>在具备 marctl 执行上下文的受管 Workspace 中,MAR Agent 使用内建 <code>marctl</code> Skill;Codex、Claude Code 和 OpenCode 使用内建 <code>mar_cli</code> MCP 的 <code>load_guide</code> 工具按需读取同一份指南。服务与工具描述提供简短提示,客户端是否展示服务描述取决于对应 Agent。</p><p>加载指南只返回说明,不执行命令;Agent 仍通过自己的 Shell 工具运行 marctl,必要时查询本地命令帮助。已经加载且仍在上下文中的指南可以直接复用。该入口不增加权限,也不改变协作消息来源或现有定时任务工具。</p><h2 id="查看命令帮助" tabindex="-1">查看命令帮助 <a class="header-anchor" href="#查看命令帮助" aria-label="Permalink to &quot;查看命令帮助&quot;">​</a></h2><div class="language-text vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">text</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span>marctl help</span></span>
1
+ import{_ as e,o as a,c as i,a3 as t}from"./chunks/framework.BHjrhdiC.js";const k=JSON.parse('{"title":"使用 marctl 管理节点","description":"","frontmatter":{"title":"使用 marctl 管理节点","lastUpdated":"2026-11-28T00:00:00.000Z"},"headers":[],"relativePath":"operations/marctl.md","filePath":"operations/marctl.md"}'),n={name:"operations/marctl.md"};function o(d,s,l,p,c,h){return a(),i("div",null,[...s[0]||(s[0]=[t(`<h1 id="使用-marctl-管理节点" tabindex="-1">使用 marctl 管理节点 <a class="header-anchor" href="#使用-marctl-管理节点" aria-label="Permalink to &quot;使用 marctl 管理节点&quot;">​</a></h1><p><code>marctl</code> 是社区版和企业版的节点命令行工具;Node 安装包自带 <code>marnodes</code>、<code>marssh</code>、<code>marscp</code> 入口,仅供 MAR 内部执行上下文使用。它通过 Server 授权列出节点、打开交互终端、执行一次命令或复制文件;不需要 Node 开放 SSH 端口。<code>ssh</code> 是方便记忆的子命令名,<strong>不是系统 SSH 协议</strong>。</p><p>在 Node 上由 MAR 打开的普通 Workbench 终端、Workspace Agent Run 及其本地 MCP 子进程中,这些命令会自动加入 <code>PATH</code>。脚本可用 <code>MAR_NODE_CONTEXT=1</code> 判断 MAR 启动上下文,用 <code>MAR_USERNAME</code> 识别当前 MAR 账号的用户名(不是昵称或系统账号);定时任务使用任务 owner 的用户名。没有可信执行身份时用户名为空,不继承 Node 服务进程的用户名。这些变量只提供上下文信息,不代表已获得节点权限,也不改变托管对话的独立沙箱边界。</p><h2 id="agent-按需加载指南" tabindex="-1">Agent 按需加载指南 <a class="header-anchor" href="#agent-按需加载指南" aria-label="Permalink to &quot;Agent 按需加载指南&quot;">​</a></h2><p>在具备 marctl 执行上下文的受管 Workspace 中,MAR Agent 使用内建 <code>marctl</code> Skill;Codex、Claude Code 和 OpenCode 使用内建 <code>mar_cli</code> MCP 的 <code>load_guide</code> 工具按需读取同一份指南。服务与工具描述提供简短提示,客户端是否展示服务描述取决于对应 Agent。</p><p>加载指南只返回说明,不执行命令;Agent 仍通过自己的 Shell 工具运行 marctl,必要时查询本地命令帮助。已经加载且仍在上下文中的指南可以直接复用。该入口不增加权限,也不改变协作消息来源或现有定时任务工具。</p><h2 id="查看命令帮助" tabindex="-1">查看命令帮助 <a class="header-anchor" href="#查看命令帮助" aria-label="Permalink to &quot;查看命令帮助&quot;">​</a></h2><div class="language-text vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">text</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span>marctl help</span></span>
2
2
  <span class="line"><span>marctl help ssh</span></span>
3
3
  <span class="line"><span>marctl ssh --help</span></span>
4
4
  <span class="line"><span>marnodes --help</span></span>
@@ -50,5 +50,6 @@ import{_ as e,o as a,c as i,a3 as t}from"./chunks/framework.BHjrhdiC.js";const k
50
50
  <span class="line"><span>marscp ./artifact.bin &lt;node-id|node-name&gt;:///existing/directory/</span></span>
51
51
  <span class="line"><span>marscp &lt;node-id|node-name&gt;:///absolute/path/artifact.bin ./</span></span>
52
52
  <span class="line"><span>marscp &lt;node-id|node-name&gt;:///absolute/path/artifact.bin ./artifact.bin</span></span>
53
- <span class="line"><span>marctl scp linux:///absolute/path/artifact.bin windows://C:\\absolute\\path\\artifact.bin</span></span></code></pre></div><p><code>nodes</code> 仅列出当前授权用户有终端使用权的 Node,首行是节点 ID、名称、在线状态、平台的列标题;<code>ssh</code> 可使用节点 ID,或使用在可访问节点中唯一的精确节点名称(包括离线节点在内进行重名检查)。同名时会拒绝连接并提示使用 ID;ID 与其他节点名称相同时优先匹配 ID。不带命令时打开交互 Shell。带命令时,CLI 按 SSH 的常见形式把节点后的参数传给远端 Shell,显示输出并返回真实退出码,便于 Agent 或脚本判断成功与否;拼接后的命令最多为 64 KiB UTF-8 字节,目标平台或 Shell 可能有更低限制。节点后以 <code>-</code> 开头的参数也是远端命令内容,无需额外的 <code>--</code>。不支持 <code>-t</code>、登录账号、端口、私钥等系统 SSH 选项,也不自动提权。不要在命令中传入密钥。</p><p>CLI 使用已就绪的 Node 直连或 Server 中继;未附着时可以改用另一条路径,不重复创建或执行命令。两种传输方式都由 Server 授权,命令始终以 <strong>Node 服务账号</strong>运行。企业 ADMIN 可以操作自己的个人 Node 和全部组织 Node,但不能使用其他用户个人 Node 的终端。</p><p><code>scp</code> 支持当前机器与有权限的 Node 之间、两个有权限的 Node 之间复制单个普通文件。Node 端点使用 <code>&lt;节点ID|节点名称&gt;://&lt;绝对路径&gt;</code> 或 <code>节点:&lt;绝对路径&gt;</code>,名称须在可访问 Node 中唯一,重名时使用节点 ID;没有节点前缀的路径是本机路径。与标准 <code>scp</code> 一样,已有普通目标文件默认覆盖,无需特殊开关,并保留原目标权限;<code>-p</code> 保留源文件权限及访问/修改时间,<code>-q</code> 不显示进度(默认已不显示)。其他 SCP 参数(包括 <code>-r</code> 和 SSH 专属连接选项)明确拒绝而非静默忽略。已有真实目标目录会自动追加源文件名,不必写完整目标文件名;以分隔符结尾的目录目标必须已存在,不会自动创建目录或误建同名文件。源目录、符号链接源或目标,以及目录内最终路径为目录或符号链接的情况均拒绝;源文件名在接收平台不合法时也会拒绝。完整校验后原子发布,传输失败不会替换原文件;强制终止进程时可能留下临时文件。Node 使用内置程序复制文件,不通过远端 Shell 启动。文件正文复用授权的 Terminal 二进制链路,<strong>不是</strong>系统 SCP 协议。CLI、Server 和 Node 须一起更新;不回退到旧 Shell 启动方式或文本协议。文件访问遵循各 Node 服务账号的权限;路径含空格时需要按本机 Shell 语法加引号。Windows Node 路径可在 <code>://</code> 后使用 <code>C:\\absolute\\path</code>。</p><p>单次 SSH 命令的 stdin、stdout 按原始字节传输,stderr 单独输出;交互式 SSH 仍使用 PTY。</p><h2 id="操作远程桌面" tabindex="-1">操作远程桌面 <a class="header-anchor" href="#操作远程桌面" aria-label="Permalink to &quot;操作远程桌面&quot;">​</a></h2><p><code>marctl computer &lt;节点&gt; &lt;输出目录&gt;</code> 用 Python/PyAutoGUI 操作远程桌面,使用与 <code>marctl ssh</code> 相同的凭据和 Node 使用权。无需管理权,也不限于 Agent 发起;只有工作区使用权不够。目标还须开启 Computer Use 并在本机配置中显式设置 <code>computerUse.remoteEnabled: true</code>。自动化期间不要同时操作同一桌面。</p><div class="language-bash vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">bash</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">mkdir</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> -p</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> captures</span></span>
54
- <span class="line"><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">printf</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> &#39;%s\\n&#39;</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> &#39;{&quot;code&quot;:&quot;&quot;}&#39;</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> |</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> marctl</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> computer</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> linux</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> ./captures</span></span></code></pre></div><p>空脚本观察主桌面。要继续操作,保持 stdin 打开,读取返回的 JSON 和 PNG 后,再发一行 Python 请求;依赖截图坐标时,将上一结果的观察 ID 填入 <code>basedOnObservationId</code>。Python 在目标 Computer Use Runtime 执行(不是沙箱),PNG 以新文件名保存在本地。关闭 stdin 或断开连接即释放桌面;结果未知时 CLI 以 <code>OUTCOME_UNKNOWN</code>(退出码 6)结束,不再发送后续脚本。请重新连接并观察,不自动重放。</p><p><code>COMPUTER_CLEANUP_FAILED</code> 表示脚本已执行,但桌面清理失败。不要重跑该脚本。</p><h2 id="长任务与断线" tabindex="-1">长任务与断线 <a class="header-anchor" href="#长任务与断线" aria-label="Permalink to &quot;长任务与断线&quot;">​</a></h2><p>对同一 Server 和 Node、使用同一 CLI 凭据时,SSH、SCP 和 Computer Use 共用一条由本机后台进程持有的连接。每次调用单独开子流:有现成直连就使用直连,否则可使用中继。前台退出不会保留 Shell 或桌面租约;连接空闲 10 分钟后自动关闭。</p><p>排查连接问题时,在节点或首个文件端点前加 <code>--no-reuse</code>,例如 <code>marssh --no-reuse &lt;节点&gt; uname -a</code>、<code>marscp --no-reuse ./artifact.bin &lt;节点&gt;:///tmp/artifact.bin</code> 或 <code>marctl computer --no-reuse &lt;节点&gt; ./screenshots</code>。它只让本次调用绕过连接池,不会断开已有连接,也不会禁用直连。</p><p>Server 中继不设置固定传输速率上限。发送端逐帧异步写入,并让出事件循环处理其他操作;复制拥塞时暂停相应 pipe 或 CLI 输入,恢复后按顺序继续,不影响直连写者。普通终端持续读取以保留退出前的完整尾部;发送缓冲超限时明确终止对应中继,不静默丢帧或关闭其他终端的共享连接。退出状态不会越过输出,等待写入或确认时仍可中断;成功退出后的正常断线不会被误报为复制失败。无需新增命令参数;慢网络仍可能增加响应时间,这不是主机级带宽隔离。</p><p>连接建立有超时,但附着后的命令没有总运行时长或输出静默超时;保持连接即可等待长任务正常完成。CLI 退出或连接无法恢复时会关闭其创建的终端,不提供断线后的后台任务托管;Node 上已解除附着的终端最多保留 60 分钟。对于必须在断线后持续运行的作业,请另行使用受控的任务管理方式,不要依赖这个终端连接。</p>`,72)])])}const g=e(n,[["render",o]]);export{k as __pageData,g as default};
53
+ <span class="line"><span>marctl scp linux:///absolute/path/artifact.bin windows://C:\\absolute\\path\\artifact.bin</span></span></code></pre></div><p><code>nodes</code> 仅列出当前授权用户有终端使用权的 Node,首行是节点 ID、名称、在线状态、平台的列标题;<code>ssh</code> 可使用节点 ID,或使用在可访问节点中唯一的精确节点名称(包括离线节点在内进行重名检查)。同名时会拒绝连接并提示使用 ID;ID 与其他节点名称相同时优先匹配 ID。不带命令时打开交互 Shell。带命令时,CLI 按 SSH 的常见形式把节点后的参数传给远端 Shell,显示输出并返回真实退出码,便于 Agent 或脚本判断成功与否;拼接后的命令最多为 64 KiB UTF-8 字节,目标平台或 Shell 可能有更低限制。节点后以 <code>-</code> 开头的参数也是远端命令内容,无需额外的 <code>--</code>。不支持 <code>-t</code>、登录账号、端口、私钥等系统 SSH 选项,也不自动提权。不要在命令中传入密钥。</p><p>CLI 使用已就绪的 Node 直连或 Server 中继;未附着时可以改用另一条路径,不重复创建或执行命令。两种传输方式都由 Server 授权,命令始终以 <strong>Node 服务账号</strong>运行。企业 ADMIN 可以操作自己的个人 Node 和全部组织 Node,但不能使用其他用户个人 Node 的终端。</p><p><code>scp</code> 支持当前机器与有权限的 Node 之间、两个有权限的 Node 之间复制单个普通文件。Node 端点使用 <code>&lt;节点ID|节点名称&gt;://&lt;绝对路径&gt;</code> 或 <code>节点:&lt;绝对路径&gt;</code>,名称须在可访问 Node 中唯一,重名时使用节点 ID;没有节点前缀的路径是本机路径。与标准 <code>scp</code> 一样,已有普通目标文件默认覆盖,无需特殊开关,并保留原目标权限;<code>-p</code> 保留源文件权限及访问/修改时间,<code>-q</code> 不显示进度(默认已不显示)。其他 SCP 参数(包括 <code>-r</code> 和 SSH 专属连接选项)明确拒绝而非静默忽略。已有真实目标目录会自动追加源文件名,不必写完整目标文件名;以分隔符结尾的目录目标必须已存在,不会自动创建目录或误建同名文件。源目录、符号链接源或目标,以及目录内最终路径为目录或符号链接的情况均拒绝;源文件名在接收平台不合法时也会拒绝。完整校验后原子发布,传输失败不会替换原文件;强制终止进程时可能留下临时文件。Node 使用内置程序复制文件,不通过远端 Shell 启动。文件正文复用授权的 Terminal 二进制链路,<strong>不是</strong>系统 SCP 协议。CLI、Server 和 Node 须一起更新;不回退到旧 Shell 启动方式或文本协议。文件访问遵循各 Node 服务账号的权限;路径含空格时需要按本机 Shell 语法加引号。Windows Node 路径可在 <code>://</code> 后使用 <code>C:\\absolute\\path</code>。</p><p>单次 SSH 命令的 stdin、stdout 按原始字节传输,stderr 单独输出;交互式 SSH 仍使用 PTY。</p><h2 id="转发-tcp-端口" tabindex="-1">转发 TCP 端口 <a class="header-anchor" href="#转发-tcp-端口" aria-label="Permalink to &quot;转发 TCP 端口&quot;">​</a></h2><p>在已配置 <code>marctl</code> 凭据的终端或 Agent 执行环境中运行。用法为 <code>-N -L [监听地址:]端口:主机:目标端口</code> 或 <code>-N -R [监听地址:]端口:主机:目标端口</code>,选项放在节点名之前。一条命令只转发一个端口,不执行远端 Shell:</p><div class="language-bash vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">bash</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">marctl</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> ssh</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> -N</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> -L</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> 18080:127.0.0.1:8080</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> &lt;</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">node-i</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">d</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">&gt;</span></span>
54
+ <span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">marctl</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> ssh</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> -N</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> -R</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> 19080:127.0.0.1:8080</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> &lt;</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">node-i</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">d</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">&gt;</span></span></code></pre></div><ul><li><code>-L</code>:在运行 CLI 的机器监听,由 Node 连接指定目标。示例中目标是 Node 自己的 <code>127.0.0.1:8080</code>。</li><li><code>-R</code>:在 Node 监听,由运行 CLI 的机器连接指定目标。示例中目标是运行 CLI 的机器自己的 <code>127.0.0.1:8080</code>。</li></ul><p>目标可以是主机名或 IP,由连接目标的一侧解析。监听默认绑定 <code>127.0.0.1</code>;可指定本机地址,<code>*</code> 或空的监听地址字段表示所有 IPv4 网卡,IPv6 通配写 <code>[::]</code>。监听和目标的 IPv6 字面地址均用方括号,例如 <code>-R &#39;[::]:19080:[::1]:8080&#39;</code>。两种方向都复用现有 <code>marctl ssh</code> 凭据和 Node 使用权,通过 MAR Server 中继,无需额外配置 Node。任何能连到监听端口的主机或进程都可以访问目标服务,转发层不额外鉴权。</p><p>前台按 Ctrl+C 停止。用 <code>-fN</code> 可在后台运行,例如 <code>marctl ssh -fN -L 18080:localhost:8080 &lt;节点ID&gt;</code>。命令在监听就绪后打印 PID 并退出;可用 <code>kill &lt;PID&gt;</code> 等系统工具停止。端口占用时启动失败;撤权或断线会关闭转发,不会自动重连。</p><h2 id="操作远程桌面" tabindex="-1">操作远程桌面 <a class="header-anchor" href="#操作远程桌面" aria-label="Permalink to &quot;操作远程桌面&quot;">​</a></h2><p><code>marctl computer &lt;节点&gt; &lt;输出目录&gt;</code> 用 Python/PyAutoGUI 操作远程桌面,使用与 <code>marctl ssh</code> 相同的凭据和 Node 使用权。无需管理权,也不限于 Agent 发起;只有工作区使用权不够。目标还须开启 Computer Use 并在本机配置中显式设置 <code>computerUse.remoteEnabled: true</code>。自动化期间不要同时操作同一桌面。</p><div class="language-bash vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">bash</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">mkdir</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> -p</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> captures</span></span>
55
+ <span class="line"><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">printf</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> &#39;%s\\n&#39;</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> &#39;{&quot;code&quot;:&quot;&quot;}&#39;</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> |</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> marctl</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> computer</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> linux</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> ./captures</span></span></code></pre></div><p>空脚本观察主桌面。要继续操作,保持 stdin 打开,读取返回的 JSON 和 PNG 后,再发一行 Python 请求;依赖截图坐标时,将上一结果的观察 ID 填入 <code>basedOnObservationId</code>。Python 在目标 Computer Use Runtime 执行(不是沙箱),PNG 以新文件名保存在本地。关闭 stdin 或断开连接即释放桌面;结果未知时 CLI 以 <code>OUTCOME_UNKNOWN</code>(退出码 6)结束,不再发送后续脚本。请重新连接并观察,不自动重放。</p><p><code>COMPUTER_CLEANUP_FAILED</code> 表示脚本已执行,但桌面清理失败。不要重跑该脚本。</p><h2 id="长任务与断线" tabindex="-1">长任务与断线 <a class="header-anchor" href="#长任务与断线" aria-label="Permalink to &quot;长任务与断线&quot;">​</a></h2><p>对同一 Server 和 Node、使用同一 CLI 凭据时,SSH、SCP 和 Computer Use 共用一条由本机后台进程持有的连接。每次调用单独开子流:有现成直连就使用直连,否则可使用中继。前台退出不会保留 Shell 或桌面租约;连接空闲 10 分钟后自动关闭。</p><p>排查连接问题时,在节点或首个文件端点前加 <code>--no-reuse</code>,例如 <code>marssh --no-reuse &lt;节点&gt; uname -a</code>、<code>marscp --no-reuse ./artifact.bin &lt;节点&gt;:///tmp/artifact.bin</code> 或 <code>marctl computer --no-reuse &lt;节点&gt; ./screenshots</code>。它只让本次调用绕过连接池,不会断开已有连接,也不会禁用直连。</p><p>Server 中继不设置固定传输速率上限。发送端逐帧异步写入,并让出事件循环处理其他操作;复制拥塞时暂停相应 pipe 或 CLI 输入,恢复后按顺序继续,不影响直连写者。普通终端持续读取以保留退出前的完整尾部;发送缓冲超限时明确终止对应中继,不静默丢帧或关闭其他终端的共享连接。退出状态不会越过输出,等待写入或确认时仍可中断;成功退出后的正常断线不会被误报为复制失败。无需新增命令参数;慢网络仍可能增加响应时间,这不是主机级带宽隔离。</p><p>连接建立有超时,但附着后的命令没有总运行时长或输出静默超时;保持连接即可等待长任务正常完成。CLI 退出或连接无法恢复时会关闭其创建的终端,不提供断线后的后台任务托管;Node 上已解除附着的终端最多保留 60 分钟。对于必须在断线后持续运行的作业,请另行使用受控的任务管理方式,不要依赖这个终端连接。</p>`,78)])])}const g=e(n,[["render",o]]);export{k as __pageData,g as default};
@@ -1 +1 @@
1
- import{_ as e,o as a,c as i,a3 as t}from"./chunks/framework.BHjrhdiC.js";const k=JSON.parse('{"title":"使用 marctl 管理节点","description":"","frontmatter":{"title":"使用 marctl 管理节点","lastUpdated":"2026-11-27T00:00:00.000Z"},"headers":[],"relativePath":"operations/marctl.md","filePath":"operations/marctl.md"}'),n={name:"operations/marctl.md"};function o(d,s,p,l,c,h){return a(),i("div",null,[...s[0]||(s[0]=[t("",72)])])}const g=e(n,[["render",o]]);export{k as __pageData,g as default};
1
+ import{_ as e,o as a,c as i,a3 as t}from"./chunks/framework.BHjrhdiC.js";const k=JSON.parse('{"title":"使用 marctl 管理节点","description":"","frontmatter":{"title":"使用 marctl 管理节点","lastUpdated":"2026-11-28T00:00:00.000Z"},"headers":[],"relativePath":"operations/marctl.md","filePath":"operations/marctl.md"}'),n={name:"operations/marctl.md"};function o(d,s,l,p,c,h){return a(),i("div",null,[...s[0]||(s[0]=[t("",78)])])}const g=e(n,[["render",o]]);export{k as __pageData,g as default};
@@ -1 +1 @@
1
- import{_ as d,o as r,c as o,a3 as e}from"./chunks/framework.BHjrhdiC.js";const s=JSON.parse('{"title":"键盘快捷键","description":"","frontmatter":{"title":"键盘快捷键","lastUpdated":"2026-11-26T00:00:00.000Z"},"headers":[],"relativePath":"reference/keyboard-shortcuts.md","filePath":"reference/keyboard-shortcuts.md"}'),c={name:"reference/keyboard-shortcuts.md"};function C(i,t,l,a,n,p){return r(),o("div",null,[...t[0]||(t[0]=[e('<h1 id="键盘快捷键" tabindex="-1">键盘快捷键 <a class="header-anchor" href="#键盘快捷键" aria-label="Permalink to &quot;键盘快捷键&quot;">​</a></h1><p>Main 和 Aside 的会话快捷键作用于当前焦点所属的会话。对话框打开时,背景命令不会抢占焦点;终端和文本编辑器保留各自的原生输入与快捷键,终端切换操作除外。输入法组字期间不会接管输入。</p><p>Aside 和文件标签聚焦后,使用方向键或 Home/End 移动焦点,再按 Enter 或 Space 显式激活;仅移动焦点不会切换内容。</p><p>焦点在 Aside 标签栏、内容或 Composer 时,<code>Ctrl+W</code> / <code>Alt+W</code>(macOS 为 <code>Control+W</code> / <code>Option+W</code>)仅关闭当前会话、浏览器或终端标签,不关闭工作区。固定工具不关闭,带 Shift 的关闭全部组合也不会向外关闭工作区。关闭会话标签会保留草稿和运行任务;关闭外层终端标签会结束本页面在当前工作区打开的终端会话。原生输入框、编辑器、终端输入和弹窗仍保留自己的按键行为。Node 浏览器网页聚焦时也可使用关闭快捷键,该组合不会转发给网页。关闭外层浏览器标签不会结束 Chromium 实例。</p><p>在 <a href="./../workbench/browser">Workspace 浏览器</a> 中输入网页内容时,按 <code>Esc</code> 只退出输入,不关闭辅助工作面。窄屏上再次按 <code>Esc</code> 才会关闭辅助工作面;重新打开后可以继续使用原网页。</p><table tabindex="0"><thead><tr><th>范围</th><th>Windows/Linux</th><th>macOS</th><th>作用</th><th>生效条件</th></tr></thead><tbody><tr><td>Composer</td><td>Enter</td><td>Enter</td><td>发送消息</td><td>桌面端输入框已聚焦,且输入法未在组字</td></tr><tr><td>Composer</td><td>Shift/Alt+Enter</td><td>Shift/Option+Enter</td><td>换行</td><td>输入框已聚焦</td></tr><tr><td>Composer</td><td>Ctrl+Enter</td><td>Control+Enter</td><td>以 steer 方式发送消息</td><td>输入框可发送;空闲时按普通发送</td></tr><tr><td>Composer</td><td>Alt+↑/↓</td><td>Option+↑/↓</td><td>回填更早/更新的已发送正文</td><td>个人 Node 的当前会话;输入框可编辑,且输入法未在组字</td></tr><tr><td>Composer</td><td>Esc</td><td>Esc</td><td>关闭补全菜单</td><td><code>@</code>、<code>#</code> 或 <code>/</code> 菜单已打开;保留输入,不停止任务</td></tr><tr><td>Composer</td><td>Esc</td><td>Esc</td><td>停止当前任务</td><td>输入框已聚焦,未打开补全菜单,任务可中断且未在发送中</td></tr><tr><td>Composer</td><td>@</td><td>@</td><td>打开工作区文件或文件夹引用列表</td><td>输入框已聚焦</td></tr><tr><td>Composer</td><td>/</td><td>/</td><td>打开当前 Agent 可用命令</td><td>在消息起始位置输入 <code>/</code></td></tr><tr><td>工作区 Tab</td><td>Alt+←/→ / Ctrl+Tab / Ctrl+Shift+Tab</td><td>Option+←/→ / Control+Tab / Control+Shift+Tab</td><td>循环切换到前一个或后一个工作区标签</td><td>工作模式下有活动标签;Composer 内也生效;其他输入框、编辑器、终端或弹窗除外</td></tr><tr><td>工作区 Tab</td><td>Ctrl+1…9 / Ctrl+0</td><td>Control+1…9 / Control+0</td><td>切换到第 1…9 / 10 个工作区标签</td><td>对应序号标签已打开;Composer 内也生效;其他输入框、编辑器、终端或弹窗除外</td></tr><tr><td>新建会话</td><td>Ctrl+N / Alt+N</td><td>Control+N / Option+N</td><td>打开当前工作区的新建会话草稿</td><td>当前 Node 与工作区可用;Composer 内也生效;其他输入框、编辑器、终端或弹窗除外</td></tr><tr><td>工作区 Tab</td><td>Ctrl+W / Alt+W</td><td>Ctrl+W / Option+W</td><td>关闭当前非固定工作区标签</td><td>工作模式;固定标签保留;Composer 内也生效;其他输入框、编辑器、终端或弹窗除外</td></tr><tr><td>工作区 Tab</td><td>Ctrl+Shift+W / Alt+Shift+W</td><td>Ctrl+Shift+W / Option+Shift+W</td><td>关闭全部非固定工作区标签</td><td>工作模式;固定标签保留;Composer 内也生效;其他输入框、编辑器、终端或弹窗除外</td></tr><tr><td>全局</td><td>Ctrl+Shift+E</td><td>Cmd+Shift+E</td><td>打开或关闭最近会话</td><td>页面已打开</td></tr><tr><td>工作区</td><td>Ctrl+Shift+O</td><td>Cmd+Shift+O</td><td>快速打开工作区、会话、符号或文件</td><td>工作模式下存在可用 Node</td></tr><tr><td>快速打开</td><td>↑/↓、Enter/Esc</td><td>↑/↓、Enter/Esc</td><td>选择、打开结果或关闭浮层</td><td>快速打开浮层已打开</td></tr><tr><td>快速打开</td><td>Ctrl+Enter</td><td>Cmd+Enter</td><td>在独立预览窗口打开选中符号或文件</td><td>快速打开浮层已打开且选中的是符号或文件</td></tr><tr><td>工作区</td><td>Ctrl+Shift+K</td><td>Cmd+Shift+K</td><td>在检查器打开并刷新 Git 变更</td><td>当前工作区为 Git 工作区</td></tr><tr><td>工作区</td><td>Ctrl+Shift+F</td><td>Cmd+Shift+F</td><td>搜索工作区文件内容</td><td>当前 Node 支持内容搜索</td></tr><tr><td>文件树/预览</td><td>Ctrl+点击</td><td>Cmd+点击</td><td>在复用的独立预览窗口打开文件</td><td>文件项或聊天内的文件链接可用</td></tr><tr><td>文件标签</td><td>←/→、Home/End</td><td>←/→、Home/End</td><td>在标签间移动或跳到首尾</td><td>文件标签获得焦点</td></tr><tr><td>文本文件预览或 Diff</td><td>Ctrl+F</td><td>Cmd+F</td><td>查找当前内容</td><td>已打开文本文件或 Diff</td></tr><tr><td>文件预览</td><td>Alt+Left/Right</td><td>Option+Left/Right</td><td>返回/前进访问位置</td><td>文件预览获得焦点且存在对应历史</td></tr><tr><td>文本编辑器</td><td>Ctrl+A</td><td>Cmd+A</td><td>全选当前编辑器内容</td><td>CodeMirror 或大文件轻量文本编辑器已获得焦点</td></tr><tr><td>文本文件或 Diff</td><td>Ctrl+E</td><td>Cmd+E</td><td>切换编辑/只读,或打开对应文本 Tab</td><td>当前页明确支持该操作</td></tr><tr><td>文本文件编辑</td><td>Ctrl+H</td><td>Cmd+H</td><td>打开查找与替换</td><td>文件可写且当前处于编辑模式</td></tr><tr><td>文本文件编辑</td><td>Ctrl+S</td><td>Cmd+S</td><td>保存当前文件</td><td>文件可写且当前处于编辑模式</td></tr><tr><td>文本文件预览</td><td>Alt+M</td><td>Option+M</td><td>打开当前文件的符号表</td><td>当前文件类型支持符号解析</td></tr><tr><td>Markdown 文件预览</td><td>Ctrl+Shift+V</td><td>Cmd+Shift+V</td><td>在独立窗口打开渲染预览</td><td>已在文件预览中打开 Markdown 文件</td></tr><tr><td>HTML 文件预览</td><td>Ctrl+Shift+V</td><td>Cmd+Shift+V</td><td>在侧栏浏览器预览已保存文件;独立源码窗口仍打开独立页面</td><td>已在文件预览中打开当前工作区 HTML 文件</td></tr><tr><td>Composer 模型菜单</td><td>Alt+M</td><td>Option+M</td><td>打开模型菜单</td><td>输入框已聚焦</td></tr><tr><td>Composer 模型菜单</td><td>Tab/Shift+Tab</td><td>Tab/Shift+Tab</td><td>切换模型与推理强度分组</td><td>菜单已打开且包含两个分组</td></tr><tr><td>队列编辑</td><td>Enter / Ctrl+Enter</td><td>Enter / Control+Enter</td><td>保存修改 / 执行修改后的消息</td><td>正在编辑排队消息</td></tr><tr><td>文件标签</td><td>Ctrl+W / Alt+W</td><td>Ctrl+W / Option+W</td><td>关闭当前文件标签</td><td>文件窗口已打开;最后一个标签关闭后结束窗口;未保存编辑先确认</td></tr><tr><td>文件窗口</td><td>Esc / Ctrl+Shift+W / Alt+Shift+W</td><td>Esc / Ctrl+Shift+W / Option+Shift+W</td><td>关闭全部文件标签及文件窗口</td><td>编辑器焦点内同样可用;Esc 先关闭最上层查找、菜单或设置弹窗</td></tr><tr><td>文本文件预览或 Diff 内嵌查找</td><td>Enter / Shift+Enter</td><td>Enter / Shift+Enter</td><td>跳到下一个 / 上一个匹配项</td><td>内嵌查找已打开</td></tr><tr><td>文本文件预览或 Diff 内嵌查找</td><td>Esc</td><td>Esc</td><td>关闭内嵌查找</td><td>内嵌查找已打开</td></tr><tr><td>无 Tab 的独立渲染预览</td><td>Esc / Ctrl+W / Alt+W / Ctrl+Shift+W / Alt+Shift+W</td><td>Esc / Ctrl+W / Option+W / Ctrl+Shift+W / Option+Shift+W</td><td>请求关闭该预览窗口</td><td>浏览器可能阻止关闭由用户手动打开的标签</td></tr><tr><td>工作区终端</td><td>Ctrl+Shift+`</td><td>Cmd+Shift+`</td><td>打开终端或切回上一页</td><td>已选中工作区</td></tr><tr><td>工作区终端</td><td>右键</td><td>右键</td><td>打开复制、粘贴和清屏菜单</td><td>桌面端终端已打开</td></tr></tbody></table><p>终端已获得焦点时仍可使用 <code>Ctrl/Cmd+Shift+\\`` 切回上一页;再次按下会回到终端并聚焦输入。切换不会结束终端会话。</code>Ctrl/Cmd+F<code>、</code>Ctrl/Cmd+A<code> 只在当前焦点或活动页面明确提供内部查找或全选能力时拦截;普通页面、表单和原生输入控件保留浏览器或控件默认行为。</code>Shift+Tab` 始终保留原有焦点与菜单操作。浏览器、操作系统或远程桌面可能拦截部分快捷键;以界面底部提示为准。移动端使用触摸菜单,不要求物理快捷键。输入法正在组字或操作加载时,快捷键可能暂不可用。</p><p>移动端查看文本文件或 Diff 时,可点击预览操作区的查找图标打开同一内嵌查找。</p><p>移动端浏览器返回会关闭整个文件窗口,不逐个关闭文件标签,也不进入文件访问位置历史;未保存确认取消后保持当前窗口。独立文件页及独立渲染预览沿用相同返回行为。</p><p><code>Ctrl+N</code>、<code>Ctrl+W</code> 和 <code>Ctrl+Shift+W</code> 在浏览器/PWA 将按键交给页面时生效;若浏览器直接新建窗口或关闭标签/窗口,请使用对应的 <code>Alt</code>(macOS 为 <code>Option</code>)组合。</p><p><code>Ctrl+Tab</code> 与 <code>Ctrl+Shift+Tab</code> 分别与 <code>Alt+→</code>、<code>Alt+←</code> 等价,按标签显示顺序首尾循环;macOS 同样使用 Control。只有一个工作区标签或按键重复时仍消耗循环切换快捷键,但不重新激活标签。工作区切换、新建会话和关闭快捷键在 Composer 内也生效;其他输入框、编辑器、终端和弹窗保留原生行为。Ctrl+Tab 系列同样需要浏览器/PWA 将事件交给页面。</p><p>按序号选择 Workspace Tab 在所有平台均使用 Control,不再提供 Alt/Option 加数字的等价组合。目标存在时消耗长按的重复按键,但不会重复激活标签。浏览器若自行处理 <code>Ctrl+1…9/0</code>,请点击工作区标签,或使用 <code>Alt+←/→</code>(macOS 为 <code>Option+←/→</code>)切换。</p><p>工作模式输入预测启用后,在前台 Composer 中按 <code>Tab Tab</code> 手动请求,生成中单按 <code>Tab</code> 取消;候选显示时 <code>Tab</code> 采用、<code>Esc</code> 取消且不停止 Agent。输入框始终拦截普通 <code>Tab</code> 并保持焦点,即使预测不可用,<code>Shift+Tab</code> 保持原行为。详见 <a href="./../workbench/composer#输入预测-prompt-tab">输入预测</a>。</p>',13)])])}const f=d(c,[["render",C]]);export{s as __pageData,f as default};
1
+ import{_ as d,o as r,c as o,a3 as e}from"./chunks/framework.BHjrhdiC.js";const s=JSON.parse('{"title":"键盘快捷键","description":"","frontmatter":{"title":"键盘快捷键","lastUpdated":"2026-11-28T00:00:00.000Z"},"headers":[],"relativePath":"reference/keyboard-shortcuts.md","filePath":"reference/keyboard-shortcuts.md"}'),c={name:"reference/keyboard-shortcuts.md"};function C(i,t,l,a,n,p){return r(),o("div",null,[...t[0]||(t[0]=[e('<h1 id="键盘快捷键" tabindex="-1">键盘快捷键 <a class="header-anchor" href="#键盘快捷键" aria-label="Permalink to &quot;键盘快捷键&quot;">​</a></h1><p>Main 和 Aside 的会话快捷键作用于当前焦点所属的会话。对话框打开时,背景命令不会抢占焦点;终端和文本编辑器保留各自的原生输入与快捷键,终端切换操作除外。输入法组字期间不会接管输入。</p><p>Aside 和文件标签聚焦后,使用方向键或 Home/End 移动焦点,再按 Enter 或 Space 显式激活;仅移动焦点不会切换内容。</p><p>焦点在 Aside 标签栏、内容或 Composer 时,<code>Ctrl+W</code> / <code>Alt+W</code>(macOS 为 <code>Control+W</code> / <code>Option+W</code>)仅关闭当前会话、浏览器或终端标签,不关闭工作区。固定工具不关闭,带 Shift 的关闭全部组合也不会向外关闭工作区。关闭会话标签会保留草稿和运行任务;关闭外层终端标签会结束本页面在当前工作区打开的终端会话。原生输入框、编辑器、终端输入和弹窗仍保留自己的按键行为。Node 浏览器网页聚焦时也可使用关闭快捷键,该组合不会转发给网页。关闭外层浏览器标签不会结束 Chromium 实例。</p><p>在 <a href="./../workbench/browser">Workspace 浏览器</a> 中输入网页内容时,按 <code>Esc</code> 只退出输入,不关闭辅助工作面。窄屏上再次按 <code>Esc</code> 才会关闭辅助工作面;重新打开后可以继续使用原网页。</p><table tabindex="0"><thead><tr><th>范围</th><th>Windows/Linux</th><th>macOS</th><th>作用</th><th>生效条件</th></tr></thead><tbody><tr><td>Composer</td><td>Enter</td><td>Enter</td><td>发送消息</td><td>桌面端输入框已聚焦,且输入法未在组字</td></tr><tr><td>Composer</td><td>Shift/Alt+Enter</td><td>Shift/Option+Enter</td><td>换行</td><td>输入框已聚焦</td></tr><tr><td>Composer</td><td>Ctrl+Enter</td><td>Control+Enter</td><td>以 steer 方式发送消息</td><td>输入框可发送;空闲时按普通发送</td></tr><tr><td>Composer</td><td>Alt+↑/↓</td><td>Option+↑/↓</td><td>回填更早/更新的已发送正文</td><td>个人 Node 的当前会话;输入框可编辑,且输入法未在组字</td></tr><tr><td>Composer</td><td>Esc</td><td>Esc</td><td>关闭补全菜单</td><td><code>@</code>、<code>#</code> 或 <code>/</code> 菜单已打开;保留输入,不停止任务</td></tr><tr><td>Composer</td><td>Esc</td><td>Esc</td><td>停止当前任务</td><td>输入框已聚焦,未打开补全菜单,任务可中断且未在发送中</td></tr><tr><td>Composer</td><td>@</td><td>@</td><td>打开工作区文件或文件夹引用列表</td><td>输入框已聚焦</td></tr><tr><td>Composer</td><td>/</td><td>/</td><td>打开当前 Agent 可用命令</td><td>在消息起始位置输入 <code>/</code></td></tr><tr><td>工作区 Tab</td><td>Alt+←/→ / Ctrl+Tab / Ctrl+Shift+Tab</td><td>Option+←/→ / Control+Tab / Control+Shift+Tab</td><td>循环切换到前一个或后一个工作区标签</td><td>工作模式下有活动标签;Composer 内也生效;其他输入框、编辑器、终端或弹窗除外</td></tr><tr><td>工作区 Tab</td><td>Ctrl+1…9 / Ctrl+0</td><td>Control+1…9 / Control+0</td><td>切换到第 1…9 / 10 个工作区标签</td><td>对应序号标签已打开;Composer 内也生效;其他输入框、编辑器、终端或弹窗除外</td></tr><tr><td>新建会话</td><td>Ctrl+N / Alt+N</td><td>Control+N / Option+N</td><td>打开当前工作区的新建会话草稿</td><td>当前 Node 与工作区可用;Composer 内也生效;其他输入框、编辑器、终端或弹窗除外</td></tr><tr><td>工作区 Tab</td><td>Ctrl+W / Alt+W</td><td>Ctrl+W / Option+W</td><td>关闭当前非固定工作区标签</td><td>工作模式;固定标签保留;Composer 内也生效;其他输入框、编辑器、终端或弹窗除外</td></tr><tr><td>工作区 Tab</td><td>Ctrl+Shift+W / Alt+Shift+W</td><td>Ctrl+Shift+W / Option+Shift+W</td><td>关闭全部非固定工作区标签</td><td>工作模式;固定标签保留;Composer 内也生效;其他输入框、编辑器、终端或弹窗除外</td></tr><tr><td>全局</td><td>Ctrl+Shift+E</td><td>Cmd+Shift+E</td><td>打开或关闭最近会话</td><td>页面已打开</td></tr><tr><td>工作区</td><td>Ctrl+Shift+O</td><td>Cmd+Shift+O</td><td>快速打开工作区、会话、符号或文件</td><td>工作模式下存在可用 Node</td></tr><tr><td>快速打开</td><td>↑/↓、Enter/Esc</td><td>↑/↓、Enter/Esc</td><td>选择、打开结果或关闭浮层</td><td>快速打开浮层已打开</td></tr><tr><td>快速打开</td><td>Ctrl+Enter</td><td>Cmd+Enter</td><td>在独立预览窗口打开选中符号或文件</td><td>快速打开浮层已打开且选中的是符号或文件</td></tr><tr><td>工作区</td><td>Ctrl+Shift+K</td><td>Cmd+Shift+K</td><td>在检查器打开并刷新 Git 变更</td><td>当前工作区为 Git 工作区</td></tr><tr><td>工作区</td><td>Ctrl+Shift+F</td><td>Cmd+Shift+F</td><td>搜索工作区文件内容</td><td>当前 Node 支持内容搜索</td></tr><tr><td>文件树/预览</td><td>Ctrl+点击</td><td>Cmd+点击</td><td>在复用的独立预览窗口打开文件</td><td>文件项或聊天内的文件链接可用</td></tr><tr><td>文件标签</td><td>←/→、Home/End</td><td>←/→、Home/End</td><td>在标签间移动或跳到首尾</td><td>文件标签获得焦点</td></tr><tr><td>文本文件预览或 Diff</td><td>Ctrl+F</td><td>Cmd+F</td><td>查找当前内容</td><td>已打开文本文件或 Diff</td></tr><tr><td>文件预览</td><td>Alt+Left/Right</td><td>Option+Left/Right</td><td>返回/前进访问位置</td><td>文件预览获得焦点且存在对应历史</td></tr><tr><td>文本编辑器</td><td>Ctrl+A</td><td>Cmd+A</td><td>全选当前编辑器内容</td><td>CodeMirror 或大文件轻量文本编辑器已获得焦点</td></tr><tr><td>文本文件或 Diff</td><td>Ctrl+E</td><td>Cmd+E</td><td>切换编辑/只读,或打开对应文本 Tab</td><td>当前页明确支持该操作</td></tr><tr><td>文本文件编辑</td><td>Ctrl+H</td><td>Cmd+H</td><td>打开查找与替换</td><td>文件可写且当前处于编辑模式</td></tr><tr><td>文本文件编辑</td><td>Ctrl+S</td><td>Cmd+S</td><td>保存当前文件</td><td>文件可写且当前处于编辑模式</td></tr><tr><td>文本文件预览</td><td>Alt+M</td><td>Option+M</td><td>打开当前文件的符号表</td><td>当前文件类型支持符号解析</td></tr><tr><td>Markdown 文件预览</td><td>Ctrl+Shift+V</td><td>Cmd+Shift+V</td><td>在独立窗口打开渲染预览</td><td>已在文件预览中打开 Markdown 文件</td></tr><tr><td>HTML 文件预览</td><td>Ctrl+Shift+V</td><td>Cmd+Shift+V</td><td>在侧栏浏览器预览已保存文件;独立源码窗口仍打开独立页面</td><td>已在文件预览中打开当前工作区 HTML 文件</td></tr><tr><td>Composer 模型菜单</td><td>Alt+M</td><td>Option+M</td><td>打开模型菜单</td><td>输入框已聚焦</td></tr><tr><td>Composer 模型菜单</td><td>Tab/Shift+Tab</td><td>Tab/Shift+Tab</td><td>切换模型与推理强度分组</td><td>菜单已打开且包含两个分组</td></tr><tr><td>队列编辑</td><td>Enter / Ctrl+Enter</td><td>Enter / Control+Enter</td><td>保存修改 / 执行修改后的消息</td><td>正在编辑排队消息</td></tr><tr><td>文件标签</td><td>Ctrl+W / Alt+W</td><td>Ctrl+W / Option+W</td><td>关闭当前文件标签</td><td>文件窗口已打开;最后一个标签关闭后结束窗口;未保存编辑先确认</td></tr><tr><td>文件窗口</td><td>Esc / Ctrl+Shift+W / Alt+Shift+W</td><td>Esc / Ctrl+Shift+W / Option+Shift+W</td><td>关闭全部文件标签及文件窗口</td><td>编辑器焦点内同样可用;Esc 先关闭最上层查找、菜单或设置弹窗</td></tr><tr><td>文本文件预览或 Diff 内嵌查找</td><td>Enter / Shift+Enter</td><td>Enter / Shift+Enter</td><td>跳到下一个 / 上一个匹配项</td><td>内嵌查找已打开</td></tr><tr><td>文本文件预览或 Diff 内嵌查找</td><td>Esc</td><td>Esc</td><td>关闭内嵌查找</td><td>内嵌查找已打开</td></tr><tr><td>无 Tab 的独立渲染预览</td><td>Esc / Ctrl+W / Alt+W / Ctrl+Shift+W / Alt+Shift+W</td><td>Esc / Ctrl+W / Option+W / Ctrl+Shift+W / Option+Shift+W</td><td>请求关闭该预览窗口</td><td>浏览器可能阻止关闭由用户手动打开的标签</td></tr><tr><td>工作区终端</td><td>Ctrl+Shift+`</td><td>Cmd+Shift+`</td><td>打开终端或切回上一页</td><td>已选中工作区</td></tr><tr><td>工作区终端</td><td>右键</td><td>右键</td><td>打开复制、粘贴和清屏菜单</td><td>桌面端终端已打开</td></tr></tbody></table><p>终端已获得焦点时仍可使用 <code>Ctrl/Cmd+Shift+\\`` 切回上一页;再次按下会回到终端并聚焦输入。切换不会结束终端会话。</code>Ctrl/Cmd+F<code>、</code>Ctrl/Cmd+A<code> 只在当前焦点或活动页面明确提供内部查找或全选能力时拦截;普通页面、表单和原生输入控件保留浏览器或控件默认行为。</code>Shift+Tab` 始终保留原有焦点与菜单操作。浏览器、操作系统或远程桌面可能拦截部分快捷键;以界面底部提示为准。移动端使用触摸菜单,不要求物理快捷键。输入法正在组字或操作加载时,快捷键可能暂不可用。</p><p>移动端查看文本文件时,点击右下角工具栏的查找图标;查看 Diff 时,打开「更多文件操作(⋯)」并选择「文件内查找」。两者都打开内嵌查找。</p><p>移动端浏览器返回会关闭整个文件窗口,不逐个关闭文件标签,也不进入文件访问位置历史;未保存确认取消后保持当前窗口。独立文件页及独立渲染预览沿用相同返回行为。</p><p><code>Ctrl+N</code>、<code>Ctrl+W</code> 和 <code>Ctrl+Shift+W</code> 在浏览器/PWA 将按键交给页面时生效;若浏览器直接新建窗口或关闭标签/窗口,请使用对应的 <code>Alt</code>(macOS 为 <code>Option</code>)组合。</p><p><code>Ctrl+Tab</code> 与 <code>Ctrl+Shift+Tab</code> 分别与 <code>Alt+→</code>、<code>Alt+←</code> 等价,按标签显示顺序首尾循环;macOS 同样使用 Control。只有一个工作区标签或按键重复时仍消耗循环切换快捷键,但不重新激活标签。工作区切换、新建会话和关闭快捷键在 Composer 内也生效;其他输入框、编辑器、终端和弹窗保留原生行为。Ctrl+Tab 系列同样需要浏览器/PWA 将事件交给页面。</p><p>按序号选择 Workspace Tab 在所有平台均使用 Control,不再提供 Alt/Option 加数字的等价组合。目标存在时消耗长按的重复按键,但不会重复激活标签。浏览器若自行处理 <code>Ctrl+1…9/0</code>,请点击工作区标签,或使用 <code>Alt+←/→</code>(macOS 为 <code>Option+←/→</code>)切换。</p><p>工作模式输入预测启用后,在前台 Composer 中按 <code>Tab Tab</code> 手动请求,生成中单按 <code>Tab</code> 取消;候选显示时 <code>Tab</code> 采用、<code>Esc</code> 取消且不停止 Agent。输入框始终拦截普通 <code>Tab</code> 并保持焦点,即使预测不可用,<code>Shift+Tab</code> 保持原行为。详见 <a href="./../workbench/composer#输入预测-prompt-tab">输入预测</a>。</p>',13)])])}const f=d(c,[["render",C]]);export{s as __pageData,f as default};
@@ -1 +1 @@
1
- import{_ as d,o as r,c as o,a3 as e}from"./chunks/framework.BHjrhdiC.js";const s=JSON.parse('{"title":"键盘快捷键","description":"","frontmatter":{"title":"键盘快捷键","lastUpdated":"2026-11-26T00:00:00.000Z"},"headers":[],"relativePath":"reference/keyboard-shortcuts.md","filePath":"reference/keyboard-shortcuts.md"}'),c={name:"reference/keyboard-shortcuts.md"};function C(i,t,l,a,n,p){return r(),o("div",null,[...t[0]||(t[0]=[e("",13)])])}const f=d(c,[["render",C]]);export{s as __pageData,f as default};
1
+ import{_ as d,o as r,c as o,a3 as e}from"./chunks/framework.BHjrhdiC.js";const s=JSON.parse('{"title":"键盘快捷键","description":"","frontmatter":{"title":"键盘快捷键","lastUpdated":"2026-11-28T00:00:00.000Z"},"headers":[],"relativePath":"reference/keyboard-shortcuts.md","filePath":"reference/keyboard-shortcuts.md"}'),c={name:"reference/keyboard-shortcuts.md"};function C(i,t,l,a,n,p){return r(),o("div",null,[...t[0]||(t[0]=[e("",13)])])}const f=d(c,[["render",C]]);export{s as __pageData,f as default};
@@ -0,0 +1 @@
1
+ import{_ as a,o,c as t,a3 as i}from"./chunks/framework.BHjrhdiC.js";const f=JSON.parse('{"title":"@ 引用文件、文件夹与附件","description":"","frontmatter":{"title":"@ 引用文件、文件夹与附件","lastUpdated":"2026-11-28T00:00:00.000Z"},"headers":[],"relativePath":"workbench/file-reference-and-attachment.md","filePath":"workbench/file-reference-and-attachment.md"}'),l={name:"workbench/file-reference-and-attachment.md"};function r(c,e,n,d,s,p){return o(),t("div",null,[...e[0]||(e[0]=[i('<h1 id="引用文件、文件夹与附件" tabindex="-1">@ 引用文件、文件夹与附件 <a class="header-anchor" href="#引用文件、文件夹与附件" aria-label="Permalink to &quot;@ 引用文件、文件夹与附件&quot;">​</a></h1><p><code>@</code> 引用和附件不同:引用告诉 Agent 使用当前工作区中的文件或文件夹;附件随当前消息上传独立内容。</p><h2 id="步骤" tabindex="-1">步骤 <a class="header-anchor" href="#步骤" aria-label="Permalink to &quot;步骤&quot;">​</a></h2><ol><li>在 Composer 输入 <code>@</code>,从快速索引选择文件或文件夹;键盘上下选择时列表会保持当前定位。选中后显示可删除的文件标签,不把路径写入正文。</li><li>引用文件夹时确认它确实是本次任务所需范围,避免给 Agent 无关的大目录。</li><li>需要发送工作区外内容、图片或独立文本时使用附件按钮,而不是伪造路径引用。</li><li>发送前检查引用标签与附件列表;删除错误项后再发送。</li></ol><p>普通工作模式的同一 <code>@</code> 列表还可选择当前 Node 和 Workspace 中已登记的主会话,匹配会话排在文件之前,不设置类型切换 Tab;输入 <code>@session</code> 或 <code>@session 关键词</code> 可只查会话。裸 <code>@</code> 显示首批会话,文件搜索需要输入路径;每种来源只显示首批结果,结果过多时请细化关键词。当前会话与子会话不列入候选,托管对话和分享入口不提供普通会话目录。</p><p>选择会话与选择文件一样:移除光标处的查询词,显示可删除的会话引用标签,不把标记写入正文。标签保存会话 ID 和选择时的名称,发送时与文件引用统一作为 XML 资源输入交给 Agent,消息回显显示只读引用标签,不显示 XML。相同会话不会重复添加,同名会话按 ID 区分;会话、文件与文件夹引用合计最多 128 项,并随当前工作区草稿恢复。点击标签可以移除;正文为空时按 Backspace 移除最后一个引用。编辑排队消息的正文会保留引用元数据。引用不会导入历史、发送协作消息或自动读取来源会话;是否读取仍由 Agent 及其原有工具和权限决定。</p><p>从剪贴板粘贴达到 100 行或 10000 字符的长文本时,Composer 会自动生成 TXT 附件;输入框原有正文保持不变。</p><p>普通工作区和托管对话上传 BMP 图片时,浏览器会保持原分辨率转换为 PNG,附件名变为 <code>.png</code>,本地原文件不变。源文件及转换结果均不能超过 5 MiB,图片不能超过 1600 万像素;不会自动缩小。转换失败或超限时,请另存为较小的 PNG 后重新添加。PNG、JPEG、GIF、WebP 不受此转换影响。</p><p><strong>成功标志:</strong> Composer 显示文件引用标签或上传附件列表。发送后,<code>@</code> 引用以只读小标签回显;图片附件以不带文件名文字或文件名悬停提示的缩略图卡片回显,其他附件以文件类型图标和文件名列出。点击图片直接在弹窗中放大预览,Ctrl/Cmd+Click 可在独立窗口打开;缩略图加载失败时回退为图片占位提示,点击后仍会重新检查附件是否可用。其他文件使用普通文件预览。图片同时作为视觉输入交给支持图片的 Agent,不只是路径引用。</p><h2 id="引用选中的片段" tabindex="-1">引用选中的片段 <a class="header-anchor" href="#引用选中的片段" aria-label="Permalink to &quot;引用选中的片段&quot;">​</a></h2><p>选区引用与 <code>@文件</code> 不同:它把你此刻看到的文字保存为快照,不要求 Agent 重新读取当前文件。</p><ul><li>在文本文件或 Diff 中选择内容,再从正文上下文菜单选择<strong>引用</strong>。<strong>全选</strong>只选择当前页已加载的正文,包含滚动范围外的内容;不会读取其他文件、自动引用或发送。引用不在移动端文件工具栏的更多菜单里。</li><li>在 Chat 的同一条 Agent 回复正文中选中文字,PC 和移动端都会在选区附近显示<strong>引用</strong>浮动按钮;浏览器支持选区右键事件时,显示标准的复制/引用菜单。两种入口互斥,移动端不依赖右键事件作为唯一入口,不再从消息操作区引用。链接、图片及非正文内容保留原菜单。</li><li>加入后显示引用首句的摘要小标签,最多 32 个字符并受宽度限制;悬停、键盘聚焦或点击可预览片段,旁边的移除按钮独立操作。正文和原有引用保持不变。文件或 Diff 引用成功后自动关闭整个来源预览窗口,返回原会话;添加失败时保留窗口。未保存修改仍需确认关闭;取消关闭会保留编辑内容及已添加的引用。可继续写意见后发送;只有引用、没有正文也能发送。</li><li>引用发送到来源工作面的草稿;主会话与侧会话不互相投递。菜单打开后切换了目标,请在当前目标重新打开菜单。独立文件窗口不向其他窗口投递引用。</li><li>未保存编辑、历史版本和生成中的回复保留来源说明;加入后的快照不会随文件或回复变化。每段最多 8,000 字符,所有引用共用 128 项及编码后大小限制;超限请缩小选区或移除引用,不会静默截断。</li><li>发送后在你的意见上方显示来源和只读片段预览,保留换行,多行预览可展开或收起。回显与悬浮预览统一最多 500 个字符,超出显示省略号;原始快照、发送与复制内容仍保持完整。普通 <code>@</code> 引用仍显示受长度限制的小标签,不显示 XML。复制该用户消息会保留公开输入中的引用 XML。普通工作区的片段随原 Workspace 草稿恢复;托管和分享入口沿用各自草稿生命周期,不扩大文件权限。</li></ul><h2 id="附件保留" tabindex="-1">附件保留 <a class="header-anchor" href="#附件保留" aria-label="Permalink to &quot;附件保留&quot;">​</a></h2><ul><li>已发送附件按当前会话保留:准备、排队和执行期间不会清理;会话空闲后保留 30 分钟。</li><li>在期限内继续发送有效消息会暂停清理,再次空闲后重新计时。查看历史、切换会话或打开预览不会延长时间。</li><li>普通工作区中,点击已发附件会先打开预览窗口,再检查附件是否可用;失败会在窗口内显示原因并提供重试。过期后消息中的文件列表仍然保留,需要继续使用时请重新上传。Node 正常停止也会清理临时附件,不保证原预览地址在重启后保留;普通 Workspace 的 MAR Agent 在<a href="./sessions#正常停止后的自动续作">正常停止交接</a>中会保留尚待发送的附件内容,恢复时重新准备。</li><li>未发送的已完成上传保留 1 小时,移除附件会提前删除暂存文件。<code>@</code> 引用不上传、不复制、不参与附件清理,仍指向工作区中的原文件。</li></ul><h2 id="失败排查" tabindex="-1">失败排查 <a class="header-anchor" href="#失败排查" aria-label="Permalink to &quot;失败排查&quot;">​</a></h2><ul><li>找不到文件:先在当前 Workspace 文件树确认路径;只能引用已授权目录内的内容。</li><li>附件上传失败:检查浏览器网络和提示,重新选择文件;不要把密钥文件作为附件发送。</li></ul><p>安全提示:<code>@</code> 引用不是权限提升,附件也不应包含凭据或应提交到 Git 的秘密。</p><p>下一步:<a href="./files">浏览、搜索与管理文件</a>。</p><p>附件保存在 Node 私有数据目录的 <code>temp-files/</code>,不会在 Workspace 中创建 <code>.mar</code> 或修改 Git 忽略规则。消息中的附件仍可预览和下载,但不能作为 Workspace 文件编辑;预览只在附件保留期间有效。</p>',19)])])}const m=a(l,[["render",r]]);export{f as __pageData,m as default};
@@ -1 +1 @@
1
- import{_ as a,o,c as t,a3 as i}from"./chunks/framework.BHjrhdiC.js";const f=JSON.parse('{"title":"@ 引用文件、文件夹与附件","description":"","frontmatter":{"title":"@ 引用文件、文件夹与附件","lastUpdated":"2026-11-13T00:00:00.000Z"},"headers":[],"relativePath":"workbench/file-reference-and-attachment.md","filePath":"workbench/file-reference-and-attachment.md"}'),l={name:"workbench/file-reference-and-attachment.md"};function r(c,e,n,d,s,p){return o(),t("div",null,[...e[0]||(e[0]=[i("",19)])])}const m=a(l,[["render",r]]);export{f as __pageData,m as default};
1
+ import{_ as a,o,c as t,a3 as i}from"./chunks/framework.BHjrhdiC.js";const f=JSON.parse('{"title":"@ 引用文件、文件夹与附件","description":"","frontmatter":{"title":"@ 引用文件、文件夹与附件","lastUpdated":"2026-11-28T00:00:00.000Z"},"headers":[],"relativePath":"workbench/file-reference-and-attachment.md","filePath":"workbench/file-reference-and-attachment.md"}'),l={name:"workbench/file-reference-and-attachment.md"};function r(c,e,n,d,s,p){return o(),t("div",null,[...e[0]||(e[0]=[i("",19)])])}const m=a(l,[["render",r]]);export{f as __pageData,m as default};
@@ -1 +1 @@
1
- import{_ as o,o as a,c as i,a3 as t}from"./chunks/framework.BHjrhdiC.js";const h=JSON.parse('{"title":"浏览、搜索与管理文件","description":"","frontmatter":{"title":"浏览、搜索与管理文件","lastUpdated":"2026-11-23T00:00:00.000Z"},"headers":[],"relativePath":"workbench/files.md","filePath":"workbench/files.md"}'),d={name:"workbench/files.md"};function l(r,e,c,s,p,n){return a(),i("div",null,[...e[0]||(e[0]=[t('<h1 id="浏览、搜索与管理文件" tabindex="-1">浏览、搜索与管理文件 <a class="header-anchor" href="#浏览、搜索与管理文件" aria-label="Permalink to &quot;浏览、搜索与管理文件&quot;">​</a></h1><p>文件面板以懒加载树展示当前 Workspace。文件和文件夹可点击,鼠标悬停可展开更多操作。</p><h2 id="前置条件" tabindex="-1">前置条件 <a class="header-anchor" href="#前置条件" aria-label="Permalink to &quot;前置条件&quot;">​</a></h2><p>当前 Workspace 在线可读;创建、重命名、移动和删除还需要 Node 服务账号文件权限及当前用户的资源运行权。</p><h2 id="步骤" tabindex="-1">步骤 <a class="header-anchor" href="#步骤" aria-label="Permalink to &quot;步骤&quot;">​</a></h2><ol><li>在右侧选择“文件”,展开文件夹并点击文件。文本、Diff、图片、PDF、Office、视频和音频都会在同一文件 Tab 条中打开;每个 Tab 显示文件名和完整路径提示,内容页可以独立切换并保留自己的状态。Tab 内的 × 只关闭对应文件,顶部右侧的“关闭文件窗口”会关闭全部文件 Tab 并返回工作台;在独立文件窗口中则关闭该浏览器窗口。存在未保存修改时会先确认,取消任一确认会保留全部 Tab。<code>Ctrl+W</code>/<code>Alt+W</code> 关闭当前文件 Tab,<code>Esc</code>/<code>Ctrl+Shift+W</code>/<code>Alt+Shift+W</code> 关闭整个文件窗口;Esc 优先关闭最上层查找、菜单或设置弹窗。移动端浏览器返回同样关闭整个文件窗口,取消未保存确认后保持当前窗口。独立文件页与无 Tab 的独立渲染预览沿用相同逻辑;Ctrl 组合只在浏览器交付按键时生效,可使用 Alt 替代。文件树按目录逐层加载;滚动接近已展开目录的底部时自动继续读取,失败可在原位重试。使用顶部“显示过滤”可按名称或相对路径筛选当前已加载的文件和目录,清空输入即可恢复原树;该过滤不会读取尚未展开的目录。</li><li>在“快速打开”中使用“全部 / 工作区 / 会话 / 文件 / 符号”筛选结果类型。工作区只按展示名称匹配,不匹配路径或 Node 名称;会话只匹配当前工作区已加载会话的标题。所有结果先按匹配度排序,仅在同分时按工作区、会话、文件、符号排列;同为符号时定义先于引用。符号需输入完整名称;定义可先出现,引用稍后补充。选择会话会在当前工作区打开该会话;选择符号或文件后会立即打开预览,不会切换右侧工具;文件树在后台展开上级目录并选中目标,显示“文件”时会定位到该位置。选择工作区会切换或打开对应标签。文件名重复时,可以输入空格分隔的词进一步匹配相对路径,例如 <code>app src</code> 定位 <code>src/app.ts</code>,词的顺序不限;根目录文件也可输入 <code>foo.ts:12</code> 跳到指定行。当前工作区的路径索引按需建立,第一次使用可能显示“正在准备索引”。不同结果类型独立显示进度、失败或超时;结果不完整时可缩小查询,有失败详情和重试入口。使用“搜索”页签可按文件内容查找,并从结果跳到命中行。默认按普通文本搜索;需要模式匹配时,勾选搜索框上方的“使用正则表达式”后再搜索。无效模式会提示错误。</li><li>文件或文件夹名称过长时,会在文件树中省略显示;将鼠标悬停在行上可查看完整相对路径。当前预览文件会在树中保持选中样式。</li><li>将鼠标移到文件或文件夹行上,点击 <code>…</code>:文件可下载、复制相对路径、复制绝对路径、重命名或删除;文件夹可新建文件、新建文件夹、上传、复制相对路径、复制绝对路径、重命名或递归删除。“复制绝对路径”复制 Node 主机上的完整路径,根目录复制 Workspace 的实际根路径;根路径尚未取得时该项不可用。当浏览器与当前 Node 通过已认证回环直连确认位于同一台设备时,菜单还会显示“在本机文件管理器中打开”:Windows 打开文件夹或选中文件,macOS 打开文件夹或在访达中显示文件,Linux 对文件打开其所在目录。此操作要求 Node 运行在可访问用户桌面的会话中,无桌面或系统文件管理器不可用时会显示错误。</li><li>把文件或文件夹拖到另一个文件夹可移动;不能覆盖同名目标,也不能把文件夹移动到自身或其下级目录。</li><li>文本文件默认以只读方式打开。对于可写的完整 UTF-8 文本,可从预览标题栏切换当前文件,也可在 <strong>设置 &gt; 外观 &gt; 文件默认打开方式</strong> 中为当前浏览器选择 <strong>编辑</strong>;已保存的偏好继续生效。按 <code>Ctrl/Cmd+S</code> 或保存按钮写入,按 <code>Ctrl/Cmd+F</code> 查找,按 <code>Ctrl/Cmd+H</code> 在相同工具栏中查找替换,按 <code>Alt+M</code> 打开符号表并跳到类、函数或章节。补全只使用当前文件和语言基础语法,不是项目级语言服务。超过 1 MiB 的文本仍可编辑和保存,但会使用纯文本模式并关闭语法解析、符号表和补全,以控制浏览器内存占用。</li><li>支持代码导航的 Node 中,按住 <code>Ctrl/Cmd</code> 悬停代码符号可识别可跳转项;单击后候选先显示定义,再显示引用。选择目标会在文件预览顶部新增标签页、定位并选中目标行。在文件预览内按 <code>Alt+Left</code> / <code>Alt+Right</code> 可在代码跳转位置及手动切换的文件 Tab 之间后退、前进,并恢复光标位置;关闭的 Tab 不再进入历史导航。首次打开源码会在后台建立本地索引,构建期间的跳转会等待同一次构建完成。正式支持 TypeScript/JavaScript、Python、Java/Kotlin、Go、Rust、C/C++ 和 C#;其他 Ctags 内置语言仅尽力支持。 符号索引达到容量上限或 Node 的代码导航资源不可用时,导航区域会显示轻量说明,不弹全局错误,也不会显示为“未找到定义”;文件浏览、编辑和保存仍可使用。</li><li>按 Ctrl/Cmd 点击文件可在同一个复用的独立 Console 窗口中打开文件,便于同时保留聊天窗口;窗口会自动选择对应 Workspace,并使用与主窗口完全相同的全屏文件 Tab、编辑、保存、查找和代码导航能力。后续打开直接在该 Console 的文件 Tab 条中累计或激活,不刷新窗口,也不会持续创建新窗口;在独立窗口按 <code>Ctrl+R</code> 刷新仍保持文件窗口并打开最近打开的文件。文本正文和 Git Diff 正文右键提供复制、粘贴、全选、引用、重新加载;只读内容不可粘贴,重新加载未保存的编辑内容需先确认。Markdown 的渲染预览使用另一个无文件 Tab 的独立页面,普通打开仍以源码文本页开始。</li><li>打开 Markdown 文件后,使用标题栏的预览图标在新页面查看渲染结果。独立页固定使用浅色,不跟随控制台主题,正文采用适合打印的 A4 排版,可通过浏览器刷新更新内容。预览设置可开启全浏览器共用的文本水印,启用状态和文本只保存在本浏览器,不提供主题选择。Markdown 支持 Mermaid 图表;相对链接和图片只能访问当前 Workspace 内的文件,<code>http</code>/<code>https</code> 外部图片会由浏览器直接加载。</li><li>HTML/HTM 文件普通打开仍显示源码。文件菜单「预览」、源码页预览图标或 <code>Ctrl/Cmd+Shift+V</code> 会在 <a href="./browser">Workspace 浏览器</a> 的新标签打开已保存的版本,不自动保存草稿。源码窗口暂时收起,原标签和草稿保留;可从文件面板再次打开源码。保存进行中请先等待。独立源码窗口仍使用独立 HTML 预览。</li></ol><p>在 Workspace 浏览器中,页面在 Node 渲染,可运行脚本及加载所在目录和下级目录的资源;刷新时读取已保存的文件。仅预览信任的文件。独立预览仍沿用管理者配置的预览域名;未单独配置时使用 Console 域名,HTML 脚本与工作台不隔离。</p><p>独立 HTML 预览使用窗口可用宽度,保留文件自身的布局和样式。Markdown/HTML 独立渲染页保留浏览器原生右键菜单,不使用普通文件页的自定义菜单。</p><p>文件或 Diff 读取失败会在对应内容区内显示简短原因和“重试”,保留文件标题与关闭入口,不重复弹出全局错误消息。重试会重新读取同一个目标,不新增文件 Tab;Files 或 Git 列表读取失败也在各自列表内提示并重试。不支持预览或渲染失败时使用下载入口;二进制或没有可显示文本的 Diff 可在允许时打开文件预览。</p><p>统一预览窗口支持代码与文本、常见图片、PDF、DOCX、XLSX、PPTX、常见视频和音频。PDF 由工作台自身渲染,不依赖浏览器是否启用内置 PDF 阅读器;PDF 与媒体按需读取,现代 Office 文件在浏览器本地解析,不会发送到第三方预览服务。PPTX 会同时受可用宽度和高度约束,在超宽或较矮的窗口中保持完整幻灯片比例。旧版 DOC、XLS、PPT 及其他不支持的格式会保留下载入口。单个 Office 文件过大或内容损坏时也会提示改为下载。</p><p>旧编码文本预览会识别带 BOM 的 UTF-16;已知文本文件无法按 UTF-8 解码时,自动尝试 GB18030,损坏的文本可回退为带替换字符的 UTF-8 显示。预览会标明回退解码且始终只读,不转换或覆盖源文件;未知二进制格式仍降级为下载。Git Diff 展示 Git 实际返回的 patch,不根据解码后的预览重新计算差异;工作树不是 UTF-8 不会阻止已有文本 patch 展示,但 Git 判定为二进制的差异仍不做文本比较。</p><p>普通工作模式中的聊天文件链接和图片链接支持 Node 服务账号可读的绝对路径,包括 Workspace 外的会话图片目录;相对路径仍指向当前 Workspace。绝对路径仅用于只读预览和下载,不扩大文件树、搜索或写入范围,也不适用于托管对话。<strong>拥有 Workspace 访问权的用户可通过绝对路径读取 Node 服务账号可读的其他宿主文件;Workspace 和允许根目录不是文件保密边界。</strong> 共享 Node 时应使用合适的服务账号和操作系统文件权限隔离敏感数据。</p><p>图片文件打开后会等比适应窗口。桌面端可在图片区域滚轮缩放,放大后按住鼠标左键拖动;移动端可用双指缩放、单指拖动。桌面标题栏和移动端右下角的文件操作区,也可放大、缩小、恢复适配,或点四方向图标选择平移方向。</p><p><strong>成功标志:</strong> 预览标题与树中选中路径一致,刷新树后仍显示真实文件系统结果。</p><h2 id="失败排查" tabindex="-1">失败排查 <a class="header-anchor" href="#失败排查" aria-label="Permalink to &quot;失败排查&quot;">​</a></h2><ul><li>若取消或移除时提示未能确认临时上传已清理,任务会保留而不是静默消失。请重试或联系管理员核查 Node 临时上传状态;刷新页面不会确认清理结果。</li><li>Workspace 文件直传会校验完整文件的 SHA-256,校验失败不会替换目标。已开始的上传中断会报错,不会自动重试、重新授权或改走 Server 从零重传。请主动点击重试;刷新页面后需重新选择同名、同大小且内容未变的源文件,再经新授权从 Node 确认的连续进度恢复。临时上传过期或 Node 重启后需重新上传。开始直传前不可用时仍可回退 Server 上传;下载与预览的既有回退行为不变。</li><li>操作被拒绝:检查 Node 服务账号权限、Workspace 边界和资源授权。不支持写入的 Node、截断文本、Diff 和 Git 历史内容会自动保持只读;低于业务基线的 Node 需先<a href="./../deployment/upgrade">升级</a>。</li><li>正则内容搜索不可用:正则模式依赖 Node 随包提供的 <code>rg</code> 资源。重新安装或升级该 Node 后重试;普通文本搜索仍可在资源缺失时回退执行。</li><li>保存冲突:文件已被 Agent、终端或另一窗口修改。关闭当前修改并重新打开文件,确认最新内容后再编辑;工作台不会强制覆盖。</li><li>预览是 Diff:聊天内文件更改和 Git 文本变更默认进入 Diff;Git Changes / Git History 中支持的图片、音视频、PDF 和 Office 格式直接预览对应工作树或选定提交中的文件。未知二进制及不支持的格式保留降级入口。</li></ul><p>删除和覆盖外的文件操作直接作用于 Node 上的真实目录,没有隐藏回收站;执行重命名、移动或删除前先确认 Git 状态或备份。下一步:<a href="./git-changes">查看 Git Changes 与 Diff</a>。</p><h2 id="常见失败" tabindex="-1">常见失败 <a class="header-anchor" href="#常见失败" aria-label="Permalink to &quot;常见失败&quot;">​</a></h2><ul><li>拖动后无变化:目标目录可能无写权限、属于边界外路径或在拖动过程中发生变更;刷新树后重新选择。</li><li>文件名很长:将鼠标悬停在树行上查看完整相对路径,再执行删除或移动。</li><li>新标签无法打开:允许浏览器弹出新标签。执行型 HTML 在当前域名运行时可能使用当前登录用户已有的权限。</li><li>Office 预览失败:确认文件是 DOCX、XLSX 或 PPTX,而不是仅修改了扩展名的旧格式;仍可使用下载按钮在本机应用中打开。</li></ul><p>选择文件或 Diff 正文后,可从上述菜单<a href="./file-reference-and-attachment#引用选中的片段">加入引用</a>。全选只覆盖当前已加载的正文,不自动引用或读取其他文件。移动端底部工具栏只提供直接操作,不设“更多”菜单;正文的选区与上下文菜单行为不变。</p>',20)])])}const T=o(d,[["render",l]]);export{h as __pageData,T as default};
1
+ import{_ as o,o as a,c as i,a3 as t}from"./chunks/framework.BHjrhdiC.js";const h=JSON.parse('{"title":"浏览、搜索与管理文件","description":"","frontmatter":{"title":"浏览、搜索与管理文件","lastUpdated":"2026-11-28T00:00:00.000Z"},"headers":[],"relativePath":"workbench/files.md","filePath":"workbench/files.md"}'),d={name:"workbench/files.md"};function l(r,e,c,s,p,n){return a(),i("div",null,[...e[0]||(e[0]=[t('<h1 id="浏览、搜索与管理文件" tabindex="-1">浏览、搜索与管理文件 <a class="header-anchor" href="#浏览、搜索与管理文件" aria-label="Permalink to &quot;浏览、搜索与管理文件&quot;">​</a></h1><p>文件面板以懒加载树展示当前 Workspace。文件和文件夹可点击,鼠标悬停可展开更多操作。</p><h2 id="前置条件" tabindex="-1">前置条件 <a class="header-anchor" href="#前置条件" aria-label="Permalink to &quot;前置条件&quot;">​</a></h2><p>当前 Workspace 在线可读;创建、重命名、移动和删除还需要 Node 服务账号文件权限及当前用户的资源运行权。</p><h2 id="步骤" tabindex="-1">步骤 <a class="header-anchor" href="#步骤" aria-label="Permalink to &quot;步骤&quot;">​</a></h2><ol><li>在右侧选择“文件”,展开文件夹并点击文件。文本、Diff、图片、PDF、Office、视频和音频都会在同一文件 Tab 条中打开;每个 Tab 显示文件名和完整路径提示,内容页可以独立切换并保留自己的状态。Tab 内的 × 只关闭对应文件,顶部右侧的“关闭文件窗口”会关闭全部文件 Tab 并返回工作台;在独立文件窗口中则关闭该浏览器窗口。存在未保存修改时会先确认,取消任一确认会保留全部 Tab。<code>Ctrl+W</code>/<code>Alt+W</code> 关闭当前文件 Tab,<code>Esc</code>/<code>Ctrl+Shift+W</code>/<code>Alt+Shift+W</code> 关闭整个文件窗口;Esc 优先关闭最上层查找、菜单或设置弹窗。移动端浏览器返回同样关闭整个文件窗口,取消未保存确认后保持当前窗口。独立文件页与无 Tab 的独立渲染预览沿用相同逻辑;Ctrl 组合只在浏览器交付按键时生效,可使用 Alt 替代。文件树按目录逐层加载;滚动接近已展开目录的底部时自动继续读取,失败可在原位重试。使用顶部“显示过滤”可按名称或相对路径筛选当前已加载的文件和目录,清空输入即可恢复原树;该过滤不会读取尚未展开的目录。</li><li>在“快速打开”中使用“全部 / 工作区 / 会话 / 文件 / 符号”筛选结果类型。工作区只按展示名称匹配,不匹配路径或 Node 名称;会话只匹配当前工作区已加载会话的标题。所有结果先按匹配度排序,仅在同分时按工作区、会话、文件、符号排列;同为符号时定义先于引用。符号需输入完整名称;定义可先出现,引用稍后补充。选择会话会在当前工作区打开该会话;选择符号或文件后会立即打开预览,不会切换右侧工具;文件树在后台展开上级目录并选中目标,显示“文件”时会定位到该位置。选择工作区会切换或打开对应标签。文件名重复时,可以输入空格分隔的词进一步匹配相对路径,例如 <code>app src</code> 定位 <code>src/app.ts</code>,词的顺序不限;根目录文件也可输入 <code>foo.ts:12</code> 跳到指定行。当前工作区的路径索引按需建立,第一次使用可能显示“正在准备索引”。不同结果类型独立显示进度、失败或超时;结果不完整时可缩小查询,有失败详情和重试入口。使用“搜索”页签可按文件内容查找,并从结果跳到命中行。默认按普通文本搜索;需要模式匹配时,勾选搜索框上方的“使用正则表达式”后再搜索。无效模式会提示错误。</li><li>文件或文件夹名称过长时,会在文件树中省略显示;将鼠标悬停在行上可查看完整相对路径。当前预览文件会在树中保持选中样式。</li><li>将鼠标移到文件或文件夹行上,点击 <code>…</code>:文件可下载、复制相对路径、复制绝对路径、重命名或删除;文件夹可新建文件、新建文件夹、上传、复制相对路径、复制绝对路径、重命名或递归删除。“复制绝对路径”复制 Node 主机上的完整路径,根目录复制 Workspace 的实际根路径;根路径尚未取得时该项不可用。当浏览器与当前 Node 通过已认证回环直连确认位于同一台设备时,菜单还会显示“在本机文件管理器中打开”:Windows 打开文件夹或选中文件,macOS 打开文件夹或在访达中显示文件,Linux 对文件打开其所在目录。此操作要求 Node 运行在可访问用户桌面的会话中,无桌面或系统文件管理器不可用时会显示错误。</li><li>把文件或文件夹拖到另一个文件夹可移动;不能覆盖同名目标,也不能把文件夹移动到自身或其下级目录。</li><li>文本文件默认以只读方式打开。对于可写的完整 UTF-8 文本,可从预览标题栏切换当前文件,也可在 <strong>设置 &gt; 外观 &gt; 文件默认打开方式</strong> 中为当前浏览器选择 <strong>编辑</strong>;已保存的偏好继续生效。按 <code>Ctrl/Cmd+S</code> 或保存按钮写入,按 <code>Ctrl/Cmd+F</code> 查找,按 <code>Ctrl/Cmd+H</code> 在相同工具栏中查找替换,按 <code>Alt+M</code> 打开符号表并跳到类、函数或章节。补全只使用当前文件和语言基础语法,不是项目级语言服务。超过 1 MiB 的文本仍可编辑和保存,但会使用纯文本模式并关闭语法解析、符号表和补全,以控制浏览器内存占用。</li><li>支持代码导航的 Node 中,按住 <code>Ctrl/Cmd</code> 悬停代码符号可识别可跳转项;单击后候选先显示定义,再显示引用。选择目标会在文件预览顶部新增标签页、定位并选中目标行。在文件预览内按 <code>Alt+Left</code> / <code>Alt+Right</code> 可在代码跳转位置及手动切换的文件 Tab 之间后退、前进,并恢复光标位置;关闭的 Tab 不再进入历史导航。首次打开源码会在后台建立本地索引,构建期间的跳转会等待同一次构建完成。正式支持 TypeScript/JavaScript、Python、Java/Kotlin、Go、Rust、C/C++ 和 C#;其他 Ctags 内置语言仅尽力支持。 符号索引达到容量上限或 Node 的代码导航资源不可用时,导航区域会显示轻量说明,不弹全局错误,也不会显示为“未找到定义”;文件浏览、编辑和保存仍可使用。</li><li>按 Ctrl/Cmd 点击文件可在同一个复用的独立 Console 窗口中打开文件,便于同时保留聊天窗口;窗口会自动选择对应 Workspace,并使用与主窗口完全相同的全屏文件 Tab、编辑、保存、查找和代码导航能力。后续打开直接在该 Console 的文件 Tab 条中累计或激活,不刷新窗口,也不会持续创建新窗口;在独立窗口按 <code>Ctrl+R</code> 刷新仍保持文件窗口并打开最近打开的文件。文本正文和 Git Diff 正文右键提供复制、粘贴、全选、引用、重新加载;只读内容不可粘贴,重新加载未保存的编辑内容需先确认。Markdown 的渲染预览使用另一个无文件 Tab 的独立页面,普通打开仍以源码文本页开始。</li><li>打开 Markdown 文件后,使用标题栏的预览图标在新页面查看渲染结果。独立页固定使用浅色,不跟随控制台主题,正文采用适合打印的 A4 排版,可通过浏览器刷新更新内容。预览设置可开启全浏览器共用的文本水印,启用状态和文本只保存在本浏览器,不提供主题选择。Markdown 支持 Mermaid 图表;相对链接和图片只能访问当前 Workspace 内的文件,<code>http</code>/<code>https</code> 外部图片会由浏览器直接加载。</li><li>HTML/HTM 文件普通打开仍显示源码。文件菜单「预览」、源码页预览图标或 <code>Ctrl/Cmd+Shift+V</code> 会在 <a href="./browser">Workspace 浏览器</a> 的新标签打开已保存的版本,不自动保存草稿。源码窗口暂时收起,原标签和草稿保留;可从文件面板再次打开源码。保存进行中请先等待。独立源码窗口仍使用独立 HTML 预览。</li></ol><p>在 Workspace 浏览器中,页面在 Node 渲染,可运行脚本及加载所在目录和下级目录的资源;刷新时读取已保存的文件。仅预览信任的文件。独立预览仍沿用管理者配置的预览域名;未单独配置时使用 Console 域名,HTML 脚本与工作台不隔离。</p><p>独立 HTML 预览使用窗口可用宽度,保留文件自身的布局和样式。Markdown/HTML 独立渲染页保留浏览器原生右键菜单,不使用普通文件页的自定义菜单。</p><p>文件或 Diff 读取失败会在对应内容区内显示简短原因和“重试”,保留文件标题与关闭入口,不重复弹出全局错误消息。重试会重新读取同一个目标,不新增文件 Tab;Files 或 Git 列表读取失败也在各自列表内提示并重试。不支持预览或渲染失败时使用下载入口;二进制或没有可显示文本的 Diff 可在允许时打开文件预览。</p><p>统一预览窗口支持代码与文本、常见图片、PDF、DOCX、XLSX、PPTX、常见视频和音频。PDF 由工作台自身渲染,不依赖浏览器是否启用内置 PDF 阅读器;PDF 与媒体按需读取,现代 Office 文件在浏览器本地解析,不会发送到第三方预览服务。PPTX 会同时受可用宽度和高度约束,在超宽或较矮的窗口中保持完整幻灯片比例。旧版 DOC、XLS、PPT 及其他不支持的格式会保留下载入口。单个 Office 文件过大或内容损坏时也会提示改为下载。</p><p>旧编码文本预览会识别带 BOM 的 UTF-16;已知文本文件无法按 UTF-8 解码时,自动尝试 GB18030,损坏的文本可回退为带替换字符的 UTF-8 显示。预览会标明回退解码且始终只读,不转换或覆盖源文件;未知二进制格式仍降级为下载。Git Diff 展示 Git 实际返回的 patch,不根据解码后的预览重新计算差异;工作树不是 UTF-8 不会阻止已有文本 patch 展示,但 Git 判定为二进制的差异仍不做文本比较。</p><p>普通工作模式中的聊天文件链接和图片链接支持 Node 服务账号可读的绝对路径,包括 Workspace 外的会话图片目录;相对路径仍指向当前 Workspace。绝对路径仅用于只读预览和下载,不扩大文件树、搜索或写入范围,也不适用于托管对话。<strong>拥有 Workspace 访问权的用户可通过绝对路径读取 Node 服务账号可读的其他宿主文件;Workspace 和允许根目录不是文件保密边界。</strong> 共享 Node 时应使用合适的服务账号和操作系统文件权限隔离敏感数据。</p><p>图片文件打开后会等比适应窗口。桌面端可在图片区域滚轮缩放,放大后按住鼠标左键拖动;移动端可用双指缩放、单指拖动。桌面标题栏和移动端右下角的文件操作区,也可放大、缩小、恢复适配,或点四方向图标选择平移方向。</p><p><strong>成功标志:</strong> 预览标题与树中选中路径一致,刷新树后仍显示真实文件系统结果。</p><h2 id="失败排查" tabindex="-1">失败排查 <a class="header-anchor" href="#失败排查" aria-label="Permalink to &quot;失败排查&quot;">​</a></h2><ul><li>若取消或移除时提示未能确认临时上传已清理,任务会保留而不是静默消失。请重试或联系管理员核查 Node 临时上传状态;刷新页面不会确认清理结果。</li><li>Workspace 文件直传会校验完整文件的 SHA-256,校验失败不会替换目标。已开始的上传中断会报错,不会自动重试、重新授权或改走 Server 从零重传。请主动点击重试;刷新页面后需重新选择同名、同大小且内容未变的源文件,再经新授权从 Node 确认的连续进度恢复。临时上传过期或 Node 重启后需重新上传。开始直传前不可用时仍可回退 Server 上传;下载与预览的既有回退行为不变。</li><li>操作被拒绝:检查 Node 服务账号权限、Workspace 边界和资源授权。不支持写入的 Node、截断文本、Diff 和 Git 历史内容会自动保持只读;低于业务基线的 Node 需先<a href="./../deployment/upgrade">升级</a>。</li><li>正则内容搜索不可用:正则模式依赖 Node 随包提供的 <code>rg</code> 资源。重新安装或升级该 Node 后重试;普通文本搜索仍可在资源缺失时回退执行。</li><li>保存冲突:文件已被 Agent、终端或另一窗口修改。关闭当前修改并重新打开文件,确认最新内容后再编辑;工作台不会强制覆盖。</li><li>预览是 Diff:聊天内文件更改和 Git 文本变更默认进入 Diff;Git Changes / Git History 中支持的图片、音视频、PDF 和 Office 格式直接预览对应工作树或选定提交中的文件。未知二进制及不支持的格式保留降级入口。</li></ul><p>删除和覆盖外的文件操作直接作用于 Node 上的真实目录,没有隐藏回收站;执行重命名、移动或删除前先确认 Git 状态或备份。下一步:<a href="./git-changes">查看 Git Changes 与 Diff</a>。</p><h2 id="常见失败" tabindex="-1">常见失败 <a class="header-anchor" href="#常见失败" aria-label="Permalink to &quot;常见失败&quot;">​</a></h2><ul><li>拖动后无变化:目标目录可能无写权限、属于边界外路径或在拖动过程中发生变更;刷新树后重新选择。</li><li>文件名很长:将鼠标悬停在树行上查看完整相对路径,再执行删除或移动。</li><li>新标签无法打开:允许浏览器弹出新标签。执行型 HTML 在当前域名运行时可能使用当前登录用户已有的权限。</li><li>Office 预览失败:确认文件是 DOCX、XLSX 或 PPTX,而不是仅修改了扩展名的旧格式;仍可使用下载按钮在本机应用中打开。</li></ul><p>移动端文件窗口的工具栏位于右下角,默认展开。点最右侧的双箭头可收起工具栏,再点一次展开。常用操作可直接点击,其他操作放在「更多文件操作(⋯)」中;例如,Diff 的前后文件和前后差异可直接切换,打开源文件、查找和下载位于更多菜单。只有一个操作的预览只显示该按钮,不另设菜单或折叠按钮。</p><p>选择文件或 Diff 正文后,可从正文上下文菜单<a href="./file-reference-and-attachment#引用选中的片段">加入引用</a>。全选只覆盖当前已加载的正文,不自动引用或读取其他文件。</p>',21)])])}const T=o(d,[["render",l]]);export{h as __pageData,T as default};
@@ -1 +1 @@
1
- import{_ as o,o as a,c as i,a3 as t}from"./chunks/framework.BHjrhdiC.js";const h=JSON.parse('{"title":"浏览、搜索与管理文件","description":"","frontmatter":{"title":"浏览、搜索与管理文件","lastUpdated":"2026-11-23T00:00:00.000Z"},"headers":[],"relativePath":"workbench/files.md","filePath":"workbench/files.md"}'),d={name:"workbench/files.md"};function l(r,e,c,s,p,n){return a(),i("div",null,[...e[0]||(e[0]=[t("",20)])])}const T=o(d,[["render",l]]);export{h as __pageData,T as default};
1
+ import{_ as o,o as a,c as i,a3 as t}from"./chunks/framework.BHjrhdiC.js";const h=JSON.parse('{"title":"浏览、搜索与管理文件","description":"","frontmatter":{"title":"浏览、搜索与管理文件","lastUpdated":"2026-11-28T00:00:00.000Z"},"headers":[],"relativePath":"workbench/files.md","filePath":"workbench/files.md"}'),d={name:"workbench/files.md"};function l(r,e,c,s,p,n){return a(),i("div",null,[...e[0]||(e[0]=[t("",21)])])}const T=o(d,[["render",l]]);export{h as __pageData,T as default};