@songtonyli/dsh-cli 0.1.93 → 0.1.94

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 (960) hide show
  1. package/README.md +1 -1
  2. package/bin/dsh.mjs +1 -1
  3. package/node_modules/@deepseek-ai/cordis/package.json +4 -4
  4. package/node_modules/@deepseek-ai/cordis-plugin-group/package.json +3 -3
  5. package/node_modules/@deepseek-ai/cordis-plugin-include/README.md +10 -0
  6. package/node_modules/@deepseek-ai/cordis-plugin-include/lib/index.js +647 -149
  7. package/node_modules/@deepseek-ai/cordis-plugin-include/package.json +4 -4
  8. package/node_modules/@deepseek-ai/cordis-plugin-include/src/index.ts +362 -236
  9. package/node_modules/@deepseek-ai/cordis-plugin-include/src/journal.ts +242 -0
  10. package/node_modules/@deepseek-ai/cordis-plugin-include/src/patch.ts +261 -0
  11. package/node_modules/@deepseek-ai/cordis-plugin-loader/README.md +5 -1
  12. package/node_modules/@deepseek-ai/cordis-plugin-loader/lib/index.js +96 -20
  13. package/node_modules/@deepseek-ai/cordis-plugin-loader/package.json +4 -4
  14. package/node_modules/@deepseek-ai/cordis-plugin-loader/src/config/entry.ts +2 -2
  15. package/node_modules/@deepseek-ai/cordis-plugin-loader/src/config/group.ts +3 -2
  16. package/node_modules/@deepseek-ai/cordis-plugin-loader/src/config/tree.ts +77 -8
  17. package/node_modules/@deepseek-ai/cordis-plugin-loader/src/index.ts +24 -13
  18. package/node_modules/@deepseek-ai/cordis-plugin-timer/package.json +3 -3
  19. package/node_modules/@deepseek-ai/cosmokit/package.json +1 -1
  20. package/node_modules/@deepseek-ai/dsh/lib/bin-DQ1vWxS0.js +254 -0
  21. package/node_modules/@deepseek-ai/dsh/lib/bin.js +19 -245
  22. package/node_modules/@deepseek-ai/dsh/lib/{dump-config-D97dwXdd.js → dump-config-DCQrFN8g.js} +3 -3
  23. package/node_modules/@deepseek-ai/dsh/lib/dump-config-ekMiCsuS.js +2 -0
  24. package/node_modules/@deepseek-ai/dsh/lib/{dump-config-schema-r4V15-lg.js → dump-config-schema-C_NhxM7L.js} +2 -2
  25. package/node_modules/@deepseek-ai/dsh/lib/{plugin-DscIHF4k.js → plugin-cQMw2oZz.js} +4 -4
  26. package/node_modules/@deepseek-ai/dsh/lib/profile-boot.js +1 -1
  27. package/node_modules/@deepseek-ai/dsh/package.json +127 -127
  28. package/node_modules/@deepseek-ai/dsh-acp/lib/index.js +1 -1
  29. package/node_modules/@deepseek-ai/dsh-acp/package.json +26 -26
  30. package/node_modules/@deepseek-ai/dsh-acp-app/package.json +6 -6
  31. package/node_modules/@deepseek-ai/dsh-action-cards/README.i18n.yaml +2 -2
  32. package/node_modules/@deepseek-ai/dsh-action-cards/README.md +1 -1
  33. package/node_modules/@deepseek-ai/dsh-action-cards/README.zh.md +1 -1
  34. package/node_modules/@deepseek-ai/dsh-action-cards/lib/index.js +7 -4
  35. package/node_modules/@deepseek-ai/dsh-action-cards/lib/typert.host.js +16 -4
  36. package/node_modules/@deepseek-ai/dsh-action-cards/lib/typert.remote-client.js +1 -1
  37. package/node_modules/@deepseek-ai/dsh-action-cards/lib/types/index.js +7 -4
  38. package/node_modules/@deepseek-ai/dsh-action-cards/package.json +19 -19
  39. package/node_modules/@deepseek-ai/dsh-agent/README.i18n.yaml +2 -2
  40. package/node_modules/@deepseek-ai/dsh-agent/README.md +1 -1
  41. package/node_modules/@deepseek-ai/dsh-agent/README.zh.md +1 -1
  42. package/node_modules/@deepseek-ai/dsh-agent/lib/index.js +5 -30
  43. package/node_modules/@deepseek-ai/dsh-agent/lib/types/index.js +5 -32
  44. package/node_modules/@deepseek-ai/dsh-agent/package.json +21 -21
  45. package/node_modules/@deepseek-ai/dsh-agent-default-model/package.json +10 -10
  46. package/node_modules/@deepseek-ai/dsh-agent-instructions/package.json +28 -28
  47. package/node_modules/@deepseek-ai/dsh-agent-loop/README.i18n.yaml +2 -2
  48. package/node_modules/@deepseek-ai/dsh-agent-loop/README.md +1 -1
  49. package/node_modules/@deepseek-ai/dsh-agent-loop/README.zh.md +1 -1
  50. package/node_modules/@deepseek-ai/dsh-agent-loop/lib/index.js +5 -7
  51. package/node_modules/@deepseek-ai/dsh-agent-loop/package.json +27 -27
  52. package/node_modules/@deepseek-ai/dsh-agent-preset/package.json +13 -13
  53. package/node_modules/@deepseek-ai/dsh-agent-preset/skills/cordis-composition-reference/references/packages.md +12 -8
  54. package/node_modules/@deepseek-ai/dsh-agent-preset-registry/lib/index.js +1 -1
  55. package/node_modules/@deepseek-ai/dsh-agent-preset-registry/lib/typert.host.js +15 -3
  56. package/node_modules/@deepseek-ai/dsh-agent-preset-registry/lib/types/mount.js +1 -1
  57. package/node_modules/@deepseek-ai/dsh-agent-preset-registry/package.json +39 -39
  58. package/node_modules/@deepseek-ai/dsh-agent-team/README.i18n.yaml +97 -0
  59. package/node_modules/@deepseek-ai/dsh-agent-team/README.md +217 -0
  60. package/node_modules/@deepseek-ai/dsh-agent-team/README.zh.md +217 -0
  61. package/node_modules/@deepseek-ai/dsh-agent-team/lib/index.js +824 -0
  62. package/node_modules/@deepseek-ai/dsh-agent-team/lib/typert.host.js +825 -0
  63. package/node_modules/@deepseek-ai/dsh-agent-team/lib/typert.remote-client.js +79 -0
  64. package/node_modules/@deepseek-ai/dsh-agent-team/lib/types/client.js +3 -0
  65. package/node_modules/@deepseek-ai/dsh-agent-team/lib/types/error.js +10 -0
  66. package/node_modules/@deepseek-ai/dsh-agent-team/lib/types/index.js +176 -0
  67. package/node_modules/@deepseek-ai/{dsh-experimental-agent-team → dsh-agent-team}/lib/types/journal.js +17 -16
  68. package/node_modules/@deepseek-ai/dsh-agent-team/lib/types/projection.js +172 -0
  69. package/node_modules/@deepseek-ai/{dsh-experimental-agent-team → dsh-agent-team}/lib/types/task-board.js +47 -25
  70. package/node_modules/@deepseek-ai/{dsh-experimental-agent-team → dsh-agent-team}/lib/types/task-view.js +4 -10
  71. package/node_modules/@deepseek-ai/dsh-agent-team/locale/en.json +6 -0
  72. package/node_modules/@deepseek-ai/dsh-agent-team/locale/ja.json +6 -0
  73. package/node_modules/@deepseek-ai/dsh-agent-team/locale/zh.json +6 -0
  74. package/node_modules/@deepseek-ai/dsh-agent-team/package.json +83 -0
  75. package/node_modules/@deepseek-ai/dsh-agent-tool-presentation/package.json +13 -13
  76. package/node_modules/@deepseek-ai/dsh-anonymous-user-id/package.json +7 -7
  77. package/node_modules/@deepseek-ai/dsh-api-account-controller/package.json +9 -9
  78. package/node_modules/@deepseek-ai/dsh-api-authorization-controller/package.json +14 -14
  79. package/node_modules/@deepseek-ai/dsh-api-gateway/package.json +14 -14
  80. package/node_modules/@deepseek-ai/dsh-api-job-controller/package.json +12 -12
  81. package/node_modules/@deepseek-ai/dsh-api-remote-access/package.json +9 -9
  82. package/node_modules/@deepseek-ai/dsh-api-remotes/README.i18n.yaml +4 -4
  83. package/node_modules/@deepseek-ai/dsh-api-remotes/README.md +2 -2
  84. package/node_modules/@deepseek-ai/dsh-api-remotes/README.zh.md +2 -2
  85. package/node_modules/@deepseek-ai/dsh-api-remotes/lib/client.js +1048 -558
  86. package/node_modules/@deepseek-ai/dsh-api-remotes/lib/index.js +4 -0
  87. package/node_modules/@deepseek-ai/dsh-api-remotes/lib/types/client/index.js +8 -3
  88. package/node_modules/@deepseek-ai/dsh-api-remotes/lib/types/remote-events.js +1 -0
  89. package/node_modules/@deepseek-ai/dsh-api-remotes/package.json +49 -46
  90. package/node_modules/@deepseek-ai/dsh-api-session-controller/README.i18n.yaml +4 -4
  91. package/node_modules/@deepseek-ai/dsh-api-session-controller/README.md +4 -4
  92. package/node_modules/@deepseek-ai/dsh-api-session-controller/README.zh.md +4 -4
  93. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/client.js +16 -48
  94. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/index.js +46 -44
  95. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/typert.host.js +252 -264
  96. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/typert.remote-client.js +209 -245
  97. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/agent.js +10 -19
  98. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/archived-session-gate.js +6 -3
  99. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/client/sessions/manager.js +8 -32
  100. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/client/sessions/session.js +4 -21
  101. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/commands.js +2 -2
  102. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/control.js +3 -3
  103. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/history/controller.js +2 -2
  104. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/history/listener.js +7 -7
  105. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/index.js +2 -2
  106. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/list.js +14 -7
  107. package/node_modules/@deepseek-ai/dsh-api-session-controller/package.json +77 -77
  108. package/node_modules/@deepseek-ai/dsh-api-settings-controller/package.json +16 -16
  109. package/node_modules/@deepseek-ai/dsh-api-terminal-controller/lib/typert.host.js +15 -3
  110. package/node_modules/@deepseek-ai/dsh-api-terminal-controller/package.json +22 -22
  111. package/node_modules/@deepseek-ai/dsh-api-workspace-controller/package.json +21 -21
  112. package/node_modules/@deepseek-ai/dsh-api-workspace-files/package.json +15 -15
  113. package/node_modules/@deepseek-ai/dsh-app-boot/README.i18n.yaml +2 -2
  114. package/node_modules/@deepseek-ai/dsh-app-boot/README.md +2 -0
  115. package/node_modules/@deepseek-ai/dsh-app-boot/README.zh.md +2 -0
  116. package/node_modules/@deepseek-ai/dsh-app-boot/lib/index.js +841 -145
  117. package/node_modules/@deepseek-ai/dsh-app-boot/package.json +19 -19
  118. package/node_modules/@deepseek-ai/dsh-atomic-write/package.json +3 -3
  119. package/node_modules/@deepseek-ai/dsh-attachment/package.json +5 -5
  120. package/node_modules/@deepseek-ai/dsh-attachment-local/package.json +9 -9
  121. package/node_modules/@deepseek-ai/dsh-authorization/package.json +7 -7
  122. package/node_modules/@deepseek-ai/dsh-base/README.i18n.yaml +2 -2
  123. package/node_modules/@deepseek-ai/dsh-base/README.md +2 -0
  124. package/node_modules/@deepseek-ai/dsh-base/README.zh.md +2 -0
  125. package/node_modules/@deepseek-ai/dsh-base/cordis.patch.yml +29 -15
  126. package/node_modules/@deepseek-ai/dsh-base/package.json +103 -101
  127. package/node_modules/@deepseek-ai/dsh-bash-local/package.json +11 -11
  128. package/node_modules/@deepseek-ai/dsh-bash-sandbox/package.json +14 -14
  129. package/node_modules/@deepseek-ai/dsh-brand/package.json +3 -3
  130. package/node_modules/@deepseek-ai/dsh-chunked-list/package.json +3 -3
  131. package/node_modules/@deepseek-ai/dsh-client-connection/package.json +13 -13
  132. package/node_modules/@deepseek-ai/dsh-client-file-upload/lib/typert.host.js +15 -3
  133. package/node_modules/@deepseek-ai/dsh-client-file-upload/package.json +12 -12
  134. package/node_modules/@deepseek-ai/dsh-client-hmr/package.json +7 -7
  135. package/node_modules/@deepseek-ai/dsh-client-locale/lib/client.js +16 -0
  136. package/node_modules/@deepseek-ai/dsh-client-locale/package.json +10 -10
  137. package/node_modules/@deepseek-ai/dsh-client-modules/README.i18n.yaml +2 -2
  138. package/node_modules/@deepseek-ai/dsh-client-modules/README.md +1 -1
  139. package/node_modules/@deepseek-ai/dsh-client-modules/README.zh.md +1 -1
  140. package/node_modules/@deepseek-ai/dsh-client-modules/lib/client.js +5 -1
  141. package/node_modules/@deepseek-ai/dsh-client-modules/lib/index.js +1 -1
  142. package/node_modules/@deepseek-ai/dsh-client-modules/package.json +6 -6
  143. package/node_modules/@deepseek-ai/dsh-client-product-analytics/package.json +16 -16
  144. package/node_modules/@deepseek-ai/dsh-client-resources/package.json +5 -5
  145. package/node_modules/@deepseek-ai/dsh-client-shortcuts/package.json +9 -9
  146. package/node_modules/@deepseek-ai/dsh-client-ui-action-cards/lib/client.js +1 -1
  147. package/node_modules/@deepseek-ai/dsh-client-ui-action-cards/package.json +15 -15
  148. package/node_modules/@deepseek-ai/dsh-client-ui-agent-preset/lib/client.js +1 -1
  149. package/node_modules/@deepseek-ai/dsh-client-ui-agent-preset/package.json +17 -17
  150. package/node_modules/@deepseek-ai/dsh-client-ui-agent-team/README.i18n.yaml +40 -0
  151. package/node_modules/@deepseek-ai/dsh-client-ui-agent-team/README.md +100 -0
  152. package/node_modules/@deepseek-ai/dsh-client-ui-agent-team/README.zh.md +100 -0
  153. package/node_modules/@deepseek-ai/dsh-client-ui-agent-team/lib/client.js +1425 -0
  154. package/node_modules/@deepseek-ai/dsh-client-ui-agent-team/locale/en.json +6 -0
  155. package/node_modules/@deepseek-ai/dsh-client-ui-agent-team/locale/ja.json +6 -0
  156. package/node_modules/@deepseek-ai/dsh-client-ui-agent-team/locale/zh.json +6 -0
  157. package/node_modules/@deepseek-ai/dsh-client-ui-agent-team/package.json +72 -0
  158. package/node_modules/@deepseek-ai/dsh-client-ui-approval/package.json +13 -13
  159. package/node_modules/@deepseek-ai/dsh-client-ui-attachment/package.json +12 -12
  160. package/node_modules/@deepseek-ai/dsh-client-ui-brand-official/package.json +5 -5
  161. package/node_modules/@deepseek-ai/dsh-client-ui-chat/README.i18n.yaml +4 -4
  162. package/node_modules/@deepseek-ai/dsh-client-ui-chat/README.md +3 -1
  163. package/node_modules/@deepseek-ai/dsh-client-ui-chat/README.zh.md +3 -1
  164. package/node_modules/@deepseek-ai/dsh-client-ui-chat/lib/client.js +74 -7
  165. package/node_modules/@deepseek-ai/dsh-client-ui-chat/package.json +40 -40
  166. package/node_modules/@deepseek-ai/dsh-client-ui-commands/package.json +14 -14
  167. package/node_modules/@deepseek-ai/dsh-client-ui-context-menu/package.json +10 -10
  168. package/node_modules/@deepseek-ai/dsh-client-ui-conversation/README.i18n.yaml +4 -4
  169. package/node_modules/@deepseek-ai/dsh-client-ui-conversation/README.md +5 -4
  170. package/node_modules/@deepseek-ai/dsh-client-ui-conversation/README.zh.md +5 -4
  171. package/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/client.js +56 -48
  172. package/node_modules/@deepseek-ai/dsh-client-ui-conversation/package.json +35 -35
  173. package/node_modules/@deepseek-ai/dsh-client-ui-cordis/package.json +13 -13
  174. package/node_modules/@deepseek-ai/dsh-client-ui-creation-recommendations/README.i18n.yaml +8 -8
  175. package/node_modules/@deepseek-ai/dsh-client-ui-creation-recommendations/README.md +4 -4
  176. package/node_modules/@deepseek-ai/dsh-client-ui-creation-recommendations/README.zh.md +4 -4
  177. package/node_modules/@deepseek-ai/dsh-client-ui-creation-recommendations/lib/client.js +24 -61
  178. package/node_modules/@deepseek-ai/dsh-client-ui-creation-recommendations/locale/de.json +1 -1
  179. package/node_modules/@deepseek-ai/dsh-client-ui-creation-recommendations/locale/en.json +1 -1
  180. package/node_modules/@deepseek-ai/dsh-client-ui-creation-recommendations/locale/es.json +1 -1
  181. package/node_modules/@deepseek-ai/dsh-client-ui-creation-recommendations/locale/fr.json +1 -1
  182. package/node_modules/@deepseek-ai/dsh-client-ui-creation-recommendations/locale/ja.json +1 -1
  183. package/node_modules/@deepseek-ai/dsh-client-ui-creation-recommendations/locale/pt.json +1 -1
  184. package/node_modules/@deepseek-ai/dsh-client-ui-creation-recommendations/locale/ru.json +1 -1
  185. package/node_modules/@deepseek-ai/dsh-client-ui-creation-recommendations/locale/zh.json +1 -1
  186. package/node_modules/@deepseek-ai/dsh-client-ui-creation-recommendations/package.json +11 -11
  187. package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/package.json +28 -28
  188. package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-browse/package.json +7 -7
  189. package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-native/package.json +6 -6
  190. package/node_modules/@deepseek-ai/dsh-client-ui-entry-customization/README.i18n.yaml +6 -6
  191. package/node_modules/@deepseek-ai/dsh-client-ui-entry-customization/README.md +5 -5
  192. package/node_modules/@deepseek-ai/dsh-client-ui-entry-customization/README.zh.md +5 -5
  193. package/node_modules/@deepseek-ai/dsh-client-ui-entry-customization/lib/client.js +73 -21
  194. package/node_modules/@deepseek-ai/dsh-client-ui-entry-customization/package.json +11 -11
  195. package/node_modules/@deepseek-ai/dsh-client-ui-file-actions/package.json +10 -10
  196. package/node_modules/@deepseek-ai/dsh-client-ui-file-drag/package.json +7 -7
  197. package/node_modules/@deepseek-ai/dsh-client-ui-goal/package.json +14 -14
  198. package/node_modules/@deepseek-ai/dsh-client-ui-input-trigger/package.json +11 -11
  199. package/node_modules/@deepseek-ai/dsh-client-ui-jobs/README.i18n.yaml +4 -4
  200. package/node_modules/@deepseek-ai/dsh-client-ui-jobs/README.md +5 -1
  201. package/node_modules/@deepseek-ai/dsh-client-ui-jobs/README.zh.md +5 -1
  202. package/node_modules/@deepseek-ai/dsh-client-ui-jobs/lib/client.js +185 -89
  203. package/node_modules/@deepseek-ai/dsh-client-ui-jobs/package.json +10 -10
  204. package/node_modules/@deepseek-ai/dsh-client-ui-layout/package.json +9 -9
  205. package/node_modules/@deepseek-ai/dsh-client-ui-message-feedback/package.json +15 -15
  206. package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/README.i18n.yaml +8 -8
  207. package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/README.md +5 -3
  208. package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/README.zh.md +5 -3
  209. package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/lib/client.js +106 -111
  210. package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/package.json +16 -16
  211. package/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/package.json +25 -25
  212. package/node_modules/@deepseek-ai/dsh-client-ui-permission-presets/package.json +14 -14
  213. package/node_modules/@deepseek-ai/dsh-client-ui-plan/package.json +19 -19
  214. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/README.i18n.yaml +4 -4
  215. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/README.md +3 -3
  216. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/README.zh.md +3 -3
  217. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/lib/client.js +4 -6
  218. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/package.json +18 -18
  219. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-market/package.json +12 -12
  220. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-recommendations/package.json +13 -13
  221. package/node_modules/@deepseek-ai/dsh-client-ui-reference/package.json +16 -16
  222. package/node_modules/@deepseek-ai/dsh-client-ui-renderer/README.i18n.yaml +4 -4
  223. package/node_modules/@deepseek-ai/dsh-client-ui-renderer/README.md +2 -2
  224. package/node_modules/@deepseek-ai/dsh-client-ui-renderer/README.zh.md +2 -2
  225. package/node_modules/@deepseek-ai/dsh-client-ui-renderer/package.json +3 -3
  226. package/node_modules/@deepseek-ai/dsh-client-ui-schedule/README.i18n.yaml +8 -8
  227. package/node_modules/@deepseek-ai/dsh-client-ui-schedule/README.md +12 -8
  228. package/node_modules/@deepseek-ai/dsh-client-ui-schedule/README.zh.md +12 -8
  229. package/node_modules/@deepseek-ai/dsh-client-ui-schedule/lib/client.js +4002 -400
  230. package/node_modules/@deepseek-ai/dsh-client-ui-schedule/package.json +21 -21
  231. package/node_modules/@deepseek-ai/dsh-client-ui-secret-mask/package.json +6 -6
  232. package/node_modules/@deepseek-ai/dsh-client-ui-session/package.json +9 -9
  233. package/node_modules/@deepseek-ai/dsh-client-ui-settings/README.i18n.yaml +4 -4
  234. package/node_modules/@deepseek-ai/dsh-client-ui-settings/README.md +3 -0
  235. package/node_modules/@deepseek-ai/dsh-client-ui-settings/README.zh.md +3 -0
  236. package/node_modules/@deepseek-ai/dsh-client-ui-settings/package.json +7 -7
  237. package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/lib/client.js +2 -2
  238. package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/package.json +17 -17
  239. package/node_modules/@deepseek-ai/dsh-client-ui-settings-agent-loop/package.json +8 -8
  240. package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/README.i18n.yaml +4 -4
  241. package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/README.md +3 -1
  242. package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/README.zh.md +3 -1
  243. package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/lib/client.js +469 -41
  244. package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/package.json +17 -17
  245. package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/package.json +11 -11
  246. package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugin-inventory/package.json +11 -11
  247. package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/package.json +7 -7
  248. package/node_modules/@deepseek-ai/dsh-client-ui-settings-session-log/package.json +8 -8
  249. package/node_modules/@deepseek-ai/dsh-client-ui-settings-shell/package.json +8 -8
  250. package/node_modules/@deepseek-ai/dsh-client-ui-settings-signin/package.json +7 -7
  251. package/node_modules/@deepseek-ai/dsh-client-ui-settings-subagent/package.json +8 -8
  252. package/node_modules/@deepseek-ai/dsh-client-ui-settings-web-search/README.i18n.yaml +12 -12
  253. package/node_modules/@deepseek-ai/dsh-client-ui-settings-web-search/README.md +15 -10
  254. package/node_modules/@deepseek-ai/dsh-client-ui-settings-web-search/README.zh.md +15 -10
  255. package/node_modules/@deepseek-ai/dsh-client-ui-settings-web-search/lib/client.js +773 -335
  256. package/node_modules/@deepseek-ai/dsh-client-ui-settings-web-search/locale/de.json +2 -2
  257. package/node_modules/@deepseek-ai/dsh-client-ui-settings-web-search/locale/es.json +2 -2
  258. package/node_modules/@deepseek-ai/dsh-client-ui-settings-web-search/locale/fr.json +2 -2
  259. package/node_modules/@deepseek-ai/dsh-client-ui-settings-web-search/locale/ja.json +2 -2
  260. package/node_modules/@deepseek-ai/dsh-client-ui-settings-web-search/locale/pt.json +2 -2
  261. package/node_modules/@deepseek-ai/dsh-client-ui-settings-web-search/locale/ru.json +2 -2
  262. package/node_modules/@deepseek-ai/dsh-client-ui-settings-web-search/locale/zh.json +2 -2
  263. package/node_modules/@deepseek-ai/dsh-client-ui-settings-web-search/package.json +10 -9
  264. package/node_modules/@deepseek-ai/dsh-client-ui-shortcuts/package.json +9 -9
  265. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/README.i18n.yaml +8 -8
  266. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/README.md +11 -6
  267. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/README.zh.md +11 -6
  268. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/lib/client.js +269 -111
  269. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/package.json +11 -11
  270. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-browser/package.json +10 -10
  271. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/README.i18n.yaml +2 -2
  272. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/README.md +1 -1
  273. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/README.zh.md +1 -1
  274. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/lib/client.js +1 -1
  275. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/package.json +21 -21
  276. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-files/package.json +14 -14
  277. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/package.json +15 -15
  278. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-terminal/package.json +14 -14
  279. package/node_modules/@deepseek-ai/dsh-client-ui-skill/package.json +16 -16
  280. package/node_modules/@deepseek-ai/dsh-client-ui-subagent/README.i18n.yaml +12 -12
  281. package/node_modules/@deepseek-ai/dsh-client-ui-subagent/README.md +16 -8
  282. package/node_modules/@deepseek-ai/dsh-client-ui-subagent/README.zh.md +16 -8
  283. package/node_modules/@deepseek-ai/dsh-client-ui-subagent/lib/client.js +310 -150
  284. package/node_modules/@deepseek-ai/dsh-client-ui-subagent/package.json +18 -17
  285. package/node_modules/@deepseek-ai/dsh-client-ui-theme/package.json +12 -12
  286. package/node_modules/@deepseek-ai/dsh-client-ui-tool/README.i18n.yaml +4 -4
  287. package/node_modules/@deepseek-ai/dsh-client-ui-tool/README.md +4 -2
  288. package/node_modules/@deepseek-ai/dsh-client-ui-tool/README.zh.md +4 -2
  289. package/node_modules/@deepseek-ai/dsh-client-ui-tool/lib/client.js +128 -50
  290. package/node_modules/@deepseek-ai/dsh-client-ui-tool/package.json +31 -31
  291. package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/package.json +20 -20
  292. package/node_modules/@deepseek-ai/dsh-client-ui-user-questions/package.json +22 -22
  293. package/node_modules/@deepseek-ai/dsh-client-ui-workflow-run/package.json +13 -13
  294. package/node_modules/@deepseek-ai/dsh-client-ui-workspace/README.i18n.yaml +2 -2
  295. package/node_modules/@deepseek-ai/dsh-client-ui-workspace/README.md +6 -2
  296. package/node_modules/@deepseek-ai/dsh-client-ui-workspace/README.zh.md +6 -2
  297. package/node_modules/@deepseek-ai/dsh-client-ui-workspace/lib/client.js +44 -37
  298. package/node_modules/@deepseek-ai/dsh-client-ui-workspace/package.json +26 -26
  299. package/node_modules/@deepseek-ai/dsh-cmdline/package.json +6 -6
  300. package/node_modules/@deepseek-ai/dsh-command-compact/package.json +12 -12
  301. package/node_modules/@deepseek-ai/dsh-command-feedback/package.json +15 -15
  302. package/node_modules/@deepseek-ai/dsh-command-goal/package.json +14 -14
  303. package/node_modules/@deepseek-ai/dsh-commands/lib/typert.host.js +15 -3
  304. package/node_modules/@deepseek-ai/dsh-commands/package.json +18 -18
  305. package/node_modules/@deepseek-ai/dsh-compaction/package.json +11 -11
  306. package/node_modules/@deepseek-ai/dsh-compaction-basic/package.json +27 -27
  307. package/node_modules/@deepseek-ai/dsh-compaction-image-offload/package.json +18 -18
  308. package/node_modules/@deepseek-ai/dsh-compaction-tool-result-pruner/package.json +17 -17
  309. package/node_modules/@deepseek-ai/dsh-computer-use/README.i18n.yaml +37 -0
  310. package/node_modules/@deepseek-ai/dsh-computer-use/README.md +90 -0
  311. package/node_modules/@deepseek-ai/dsh-computer-use/README.zh.md +90 -0
  312. package/node_modules/@deepseek-ai/dsh-computer-use/lib/index.js +35 -0
  313. package/node_modules/@deepseek-ai/dsh-computer-use/lib/types/brand.js +10 -0
  314. package/node_modules/@deepseek-ai/dsh-computer-use/lib/types/index.js +36 -0
  315. package/node_modules/@deepseek-ai/dsh-computer-use/locale/de.json +6 -0
  316. package/node_modules/@deepseek-ai/dsh-computer-use/locale/en.json +6 -0
  317. package/node_modules/@deepseek-ai/dsh-computer-use/locale/es.json +6 -0
  318. package/node_modules/@deepseek-ai/dsh-computer-use/locale/fr.json +6 -0
  319. package/node_modules/@deepseek-ai/dsh-computer-use/locale/ja.json +6 -0
  320. package/node_modules/@deepseek-ai/dsh-computer-use/locale/pt.json +6 -0
  321. package/node_modules/@deepseek-ai/dsh-computer-use/locale/ru.json +6 -0
  322. package/node_modules/@deepseek-ai/dsh-computer-use/locale/zh.json +6 -0
  323. package/node_modules/@deepseek-ai/dsh-computer-use/package.json +44 -0
  324. package/node_modules/@deepseek-ai/dsh-config-editor/package.json +12 -12
  325. package/node_modules/@deepseek-ai/dsh-cordis-client-runner/lib/client.js +230 -62
  326. package/node_modules/@deepseek-ai/dsh-cordis-client-runner/package.json +10 -10
  327. package/node_modules/@deepseek-ai/dsh-cordis-host-runner/lib/typert.host.js +30 -6
  328. package/node_modules/@deepseek-ai/dsh-cordis-host-runner/package.json +23 -23
  329. package/node_modules/@deepseek-ai/dsh-creation-recommendations/README.i18n.yaml +6 -6
  330. package/node_modules/@deepseek-ai/dsh-creation-recommendations/README.md +5 -3
  331. package/node_modules/@deepseek-ai/dsh-creation-recommendations/README.zh.md +5 -3
  332. package/node_modules/@deepseek-ai/dsh-creation-recommendations/lib/index.js +75 -77
  333. package/node_modules/@deepseek-ai/dsh-creation-recommendations/lib/types/index.js +59 -54
  334. package/node_modules/@deepseek-ai/dsh-creation-recommendations/package.json +21 -21
  335. package/node_modules/@deepseek-ai/dsh-credentials/package.json +4 -4
  336. package/node_modules/@deepseek-ai/dsh-credentials-local/package.json +12 -12
  337. package/node_modules/@deepseek-ai/dsh-cua/README.i18n.yaml +49 -0
  338. package/node_modules/@deepseek-ai/dsh-cua/README.md +132 -0
  339. package/node_modules/@deepseek-ai/dsh-cua/README.zh.md +132 -0
  340. package/node_modules/@deepseek-ai/dsh-cua/lib/api.js +597 -0
  341. package/node_modules/@deepseek-ai/dsh-cua/lib/bridge.js +611 -0
  342. package/node_modules/@deepseek-ai/dsh-cua/lib/client.js +1803 -0
  343. package/node_modules/@deepseek-ai/dsh-cua/lib/index.js +1922 -0
  344. package/node_modules/@deepseek-ai/dsh-cua/lib/native-client.js +285 -0
  345. package/node_modules/@deepseek-ai/dsh-cua/lib/protocol.js +305 -0
  346. package/node_modules/@deepseek-ai/dsh-cua/lib/remote-types.js +1 -0
  347. package/node_modules/@deepseek-ai/dsh-cua/lib/typert.host.js +458 -0
  348. package/node_modules/@deepseek-ai/dsh-cua/lib/typert.remote-client.js +343 -0
  349. package/node_modules/@deepseek-ai/dsh-cua/locale/de.json +6 -0
  350. package/node_modules/@deepseek-ai/dsh-cua/locale/en.json +6 -0
  351. package/node_modules/@deepseek-ai/dsh-cua/locale/es.json +6 -0
  352. package/node_modules/@deepseek-ai/dsh-cua/locale/fr.json +6 -0
  353. package/node_modules/@deepseek-ai/dsh-cua/locale/ja.json +6 -0
  354. package/node_modules/@deepseek-ai/dsh-cua/locale/pt.json +6 -0
  355. package/node_modules/@deepseek-ai/dsh-cua/locale/ru.json +6 -0
  356. package/node_modules/@deepseek-ai/dsh-cua/locale/zh.json +6 -0
  357. package/node_modules/@deepseek-ai/dsh-cua/package.json +151 -0
  358. package/node_modules/@deepseek-ai/dsh-cua-bundle/README.i18n.yaml +46 -0
  359. package/node_modules/@deepseek-ai/dsh-cua-bundle/README.md +94 -0
  360. package/node_modules/@deepseek-ai/dsh-cua-bundle/README.zh.md +94 -0
  361. package/node_modules/@deepseek-ai/dsh-cua-bundle/cordis.patch.yml +10 -0
  362. package/node_modules/@deepseek-ai/dsh-cua-bundle/docs/DETAIL.md +1 -0
  363. package/node_modules/@deepseek-ai/dsh-cua-bundle/docs/DETAIL.zh.md +1 -0
  364. package/node_modules/@deepseek-ai/dsh-cua-bundle/docs/preview.svg +33 -0
  365. package/node_modules/@deepseek-ai/dsh-cua-bundle/docs/preview.zh.svg +33 -0
  366. package/node_modules/@deepseek-ai/dsh-cua-bundle/icon.svg +35 -0
  367. package/node_modules/@deepseek-ai/dsh-cua-bundle/locale/de.json +7 -0
  368. package/node_modules/@deepseek-ai/dsh-cua-bundle/locale/en.json +7 -0
  369. package/node_modules/@deepseek-ai/dsh-cua-bundle/locale/es.json +7 -0
  370. package/node_modules/@deepseek-ai/dsh-cua-bundle/locale/fr.json +7 -0
  371. package/node_modules/@deepseek-ai/dsh-cua-bundle/locale/ja.json +7 -0
  372. package/node_modules/@deepseek-ai/dsh-cua-bundle/locale/pt.json +7 -0
  373. package/node_modules/@deepseek-ai/dsh-cua-bundle/locale/ru.json +7 -0
  374. package/node_modules/@deepseek-ai/dsh-cua-bundle/locale/zh.json +7 -0
  375. package/node_modules/@deepseek-ai/{dsh-experimental-agent-team-profile → dsh-cua-bundle}/package.json +15 -12
  376. package/node_modules/@deepseek-ai/dsh-deepseek-account/package.json +11 -11
  377. package/node_modules/@deepseek-ai/dsh-deepseek-account-platform/package.json +12 -12
  378. package/node_modules/@deepseek-ai/dsh-deepseek-llm-api-extensions/package.json +3 -3
  379. package/node_modules/@deepseek-ai/dsh-deliverable-file-references/package.json +5 -5
  380. package/node_modules/@deepseek-ai/dsh-deque/package.json +3 -3
  381. package/node_modules/@deepseek-ai/dsh-experimental-api-speech-to-text/package.json +8 -8
  382. package/node_modules/@deepseek-ai/dsh-experimental-auto-review/package.json +46 -46
  383. package/node_modules/@deepseek-ai/dsh-experimental-badge-skill-bundle/package.json +4 -4
  384. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-cot-translation/package.json +20 -20
  385. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-forge/README.i18n.yaml +2 -2
  386. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-forge/README.md +2 -2
  387. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-forge/README.zh.md +2 -2
  388. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-forge/lib/client.js +5773 -5757
  389. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-forge/lib/typert.host.js +15 -3
  390. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-forge/package.json +42 -42
  391. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-stats/package.json +19 -18
  392. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-voice-input/package.json +15 -15
  393. package/node_modules/@deepseek-ai/dsh-experimental-cot-translation-bundle/package.json +6 -6
  394. package/node_modules/@deepseek-ai/dsh-experimental-forge/package.json +6 -6
  395. package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/README.i18n.yaml +10 -10
  396. package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/README.md +6 -4
  397. package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/README.zh.md +6 -4
  398. package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/cordis.patch.yml +4 -0
  399. package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/docs/DETAIL.de.md +1 -0
  400. package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/docs/DETAIL.es.md +1 -0
  401. package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/docs/DETAIL.fr.md +1 -0
  402. package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/docs/DETAIL.ja.md +1 -0
  403. package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/docs/DETAIL.md +1 -0
  404. package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/docs/DETAIL.pt.md +1 -0
  405. package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/docs/DETAIL.ru.md +1 -0
  406. package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/docs/DETAIL.zh.md +1 -0
  407. package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/docs/preview.svg +28 -0
  408. package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/docs/preview.zh.svg +28 -0
  409. package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/locale/de.json +2 -1
  410. package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/locale/en.json +2 -1
  411. package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/locale/es.json +2 -1
  412. package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/locale/fr.json +2 -1
  413. package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/locale/ja.json +2 -1
  414. package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/locale/pt.json +2 -1
  415. package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/locale/ru.json +2 -1
  416. package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/locale/zh.json +2 -1
  417. package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/package.json +10 -8
  418. package/node_modules/@deepseek-ai/dsh-experimental-forge-github/package.json +10 -10
  419. package/node_modules/@deepseek-ai/dsh-experimental-forge-session/lib/index.js +11 -1
  420. package/node_modules/@deepseek-ai/dsh-experimental-forge-session/package.json +33 -33
  421. package/node_modules/@deepseek-ai/dsh-experimental-inspector/package.json +17 -17
  422. package/node_modules/@deepseek-ai/dsh-experimental-inspector-profile/package.json +7 -7
  423. package/node_modules/@deepseek-ai/dsh-experimental-liveshare/README.i18n.yaml +8 -8
  424. package/node_modules/@deepseek-ai/dsh-experimental-liveshare/README.md +8 -8
  425. package/node_modules/@deepseek-ai/dsh-experimental-liveshare/README.zh.md +8 -8
  426. package/node_modules/@deepseek-ai/dsh-experimental-liveshare/cordis.patch.yml +0 -4
  427. package/node_modules/@deepseek-ai/dsh-experimental-liveshare/lib/client.js +892 -501
  428. package/node_modules/@deepseek-ai/dsh-experimental-liveshare/lib/index.js +607 -229
  429. package/node_modules/@deepseek-ai/dsh-experimental-liveshare/lib/typert.host.js +45 -31
  430. package/node_modules/@deepseek-ai/dsh-experimental-liveshare/lib/typert.remote-client.js +33 -27
  431. package/node_modules/@deepseek-ai/dsh-experimental-liveshare/package.json +73 -75
  432. package/node_modules/@deepseek-ai/dsh-experimental-liveshare-protocol/package.json +4 -4
  433. package/node_modules/@deepseek-ai/dsh-experimental-plugin-market-bundle/package.json +5 -5
  434. package/node_modules/@deepseek-ai/dsh-experimental-ralph-bundle/package.json +5 -5
  435. package/node_modules/@deepseek-ai/dsh-experimental-session-inspector/README.i18n.yaml +2 -2
  436. package/node_modules/@deepseek-ai/dsh-experimental-session-inspector/README.md +1 -1
  437. package/node_modules/@deepseek-ai/dsh-experimental-session-inspector/README.zh.md +1 -1
  438. package/node_modules/@deepseek-ai/dsh-experimental-session-inspector/lib/client.js +6 -2
  439. package/node_modules/@deepseek-ai/dsh-experimental-session-inspector/package.json +12 -12
  440. package/node_modules/@deepseek-ai/dsh-experimental-session-search/package.json +5 -5
  441. package/node_modules/@deepseek-ai/dsh-experimental-session-titles-bundle/package.json +4 -4
  442. package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text/package.json +11 -11
  443. package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text-sensevoice/package.json +10 -10
  444. package/node_modules/@deepseek-ai/dsh-experimental-terminal-bundle/package.json +6 -6
  445. package/node_modules/@deepseek-ai/dsh-experimental-tool-worktree/README.i18n.yaml +4 -4
  446. package/node_modules/@deepseek-ai/dsh-experimental-tool-worktree/README.md +2 -2
  447. package/node_modules/@deepseek-ai/dsh-experimental-tool-worktree/README.zh.md +2 -2
  448. package/node_modules/@deepseek-ai/dsh-experimental-tool-worktree/package.json +23 -23
  449. package/node_modules/@deepseek-ai/dsh-experimental-translator/package.json +29 -29
  450. package/node_modules/@deepseek-ai/dsh-experimental-voice-input-bundle/package.json +8 -8
  451. package/node_modules/@deepseek-ai/dsh-experimental-worktree/package.json +23 -23
  452. package/node_modules/@deepseek-ai/dsh-file-reference/package.json +5 -5
  453. package/node_modules/@deepseek-ai/dsh-file-reference-local/package.json +17 -17
  454. package/node_modules/@deepseek-ai/dsh-fs/package.json +10 -10
  455. package/node_modules/@deepseek-ai/dsh-fs-local/package.json +8 -8
  456. package/node_modules/@deepseek-ai/dsh-fs-observation-policy/README.i18n.yaml +2 -2
  457. package/node_modules/@deepseek-ai/dsh-fs-observation-policy/README.md +1 -1
  458. package/node_modules/@deepseek-ai/dsh-fs-observation-policy/README.zh.md +1 -1
  459. package/node_modules/@deepseek-ai/dsh-fs-observation-policy/package.json +6 -6
  460. package/node_modules/@deepseek-ai/dsh-fs-patch/package.json +3 -3
  461. package/node_modules/@deepseek-ai/dsh-fs-sandbox/package.json +12 -12
  462. package/node_modules/@deepseek-ai/dsh-goal/lib/typert.host.js +15 -3
  463. package/node_modules/@deepseek-ai/dsh-goal/package.json +23 -23
  464. package/node_modules/@deepseek-ai/dsh-goal-round-driver/README.i18n.yaml +2 -2
  465. package/node_modules/@deepseek-ai/dsh-goal-round-driver/README.md +1 -1
  466. package/node_modules/@deepseek-ai/dsh-goal-round-driver/README.zh.md +1 -1
  467. package/node_modules/@deepseek-ai/dsh-goal-round-driver/lib/index.js +5 -1
  468. package/node_modules/@deepseek-ai/dsh-goal-round-driver/package.json +17 -17
  469. package/node_modules/@deepseek-ai/dsh-harness-dev-context/package.json +13 -13
  470. package/node_modules/@deepseek-ai/dsh-headless/README.i18n.yaml +2 -2
  471. package/node_modules/@deepseek-ai/dsh-headless/README.md +2 -0
  472. package/node_modules/@deepseek-ai/dsh-headless/README.zh.md +2 -0
  473. package/node_modules/@deepseek-ai/dsh-headless/lib/index.js +1 -1
  474. package/node_modules/@deepseek-ai/dsh-headless/package.json +30 -30
  475. package/node_modules/@deepseek-ai/dsh-hmr/lib/index.js +5 -1
  476. package/node_modules/@deepseek-ai/dsh-hmr/package.json +15 -15
  477. package/node_modules/@deepseek-ai/dsh-home-paths/package.json +3 -3
  478. package/node_modules/@deepseek-ai/dsh-host-directory-picker/package.json +3 -3
  479. package/node_modules/@deepseek-ai/dsh-host-directory-picker-auto/README.i18n.yaml +2 -2
  480. package/node_modules/@deepseek-ai/dsh-host-directory-picker-auto/README.md +1 -1
  481. package/node_modules/@deepseek-ai/dsh-host-directory-picker-auto/README.zh.md +1 -1
  482. package/node_modules/@deepseek-ai/dsh-host-directory-picker-auto/package.json +20 -20
  483. package/node_modules/@deepseek-ai/dsh-host-directory-picker-browse/package.json +5 -5
  484. package/node_modules/@deepseek-ai/dsh-host-directory-picker-native/package.json +5 -5
  485. package/node_modules/@deepseek-ai/dsh-host-frontend-static/package.json +10 -10
  486. package/node_modules/@deepseek-ai/dsh-host-open-in-app/package.json +9 -9
  487. package/node_modules/@deepseek-ai/dsh-host-plugin-inventory/lib/typert.host.js +2 -2
  488. package/node_modules/@deepseek-ai/dsh-host-plugin-inventory/lib/typert.remote-client.js +2 -2
  489. package/node_modules/@deepseek-ai/dsh-host-plugin-inventory/package.json +13 -13
  490. package/node_modules/@deepseek-ai/dsh-host-product-telemetry-otel/package.json +8 -8
  491. package/node_modules/@deepseek-ai/dsh-host-webserver/package.json +5 -5
  492. package/node_modules/@deepseek-ai/dsh-http-proxy/README.i18n.yaml +6 -6
  493. package/node_modules/@deepseek-ai/dsh-http-proxy/README.md +4 -1
  494. package/node_modules/@deepseek-ai/dsh-http-proxy/README.zh.md +4 -1
  495. package/node_modules/@deepseek-ai/dsh-http-proxy/lib/index.js +54 -16
  496. package/node_modules/@deepseek-ai/dsh-http-proxy/package.json +3 -3
  497. package/node_modules/@deepseek-ai/dsh-jobs/package.json +11 -11
  498. package/node_modules/@deepseek-ai/dsh-jobs-local/package.json +16 -16
  499. package/node_modules/@deepseek-ai/dsh-launch-environment/package.json +3 -3
  500. package/node_modules/@deepseek-ai/dsh-lazy-require/package.json +3 -3
  501. package/node_modules/@deepseek-ai/dsh-llm/README.i18n.yaml +2 -2
  502. package/node_modules/@deepseek-ai/dsh-llm/README.md +1 -1
  503. package/node_modules/@deepseek-ai/dsh-llm/README.zh.md +1 -1
  504. package/node_modules/@deepseek-ai/dsh-llm/lib/index.js +37 -14
  505. package/node_modules/@deepseek-ai/dsh-llm/lib/typert.host.js +14 -2
  506. package/node_modules/@deepseek-ai/dsh-llm/lib/types/content.js +38 -20
  507. package/node_modules/@deepseek-ai/dsh-llm/package.json +11 -11
  508. package/node_modules/@deepseek-ai/dsh-llm-cursor/package.json +26 -26
  509. package/node_modules/@deepseek-ai/dsh-llm-deepseek/README.i18n.yaml +6 -6
  510. package/node_modules/@deepseek-ai/dsh-llm-deepseek/README.md +4 -1
  511. package/node_modules/@deepseek-ai/dsh-llm-deepseek/README.zh.md +4 -1
  512. package/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/index.js +52 -2
  513. package/node_modules/@deepseek-ai/dsh-llm-deepseek/package.json +45 -45
  514. package/node_modules/@deepseek-ai/dsh-llm-deepseek-account/README.i18n.yaml +2 -2
  515. package/node_modules/@deepseek-ai/dsh-llm-deepseek-account/README.md +1 -1
  516. package/node_modules/@deepseek-ai/dsh-llm-deepseek-account/README.zh.md +1 -1
  517. package/node_modules/@deepseek-ai/dsh-llm-deepseek-account/lib/index.js +5 -8
  518. package/node_modules/@deepseek-ai/dsh-llm-deepseek-account/package.json +17 -17
  519. package/node_modules/@deepseek-ai/dsh-llm-deepseek-api-key/README.i18n.yaml +2 -2
  520. package/node_modules/@deepseek-ai/dsh-llm-deepseek-api-key/README.md +1 -1
  521. package/node_modules/@deepseek-ai/dsh-llm-deepseek-api-key/README.zh.md +1 -1
  522. package/node_modules/@deepseek-ai/dsh-llm-deepseek-api-key/lib/index.js +4 -10
  523. package/node_modules/@deepseek-ai/dsh-llm-deepseek-api-key/package.json +14 -14
  524. package/node_modules/@deepseek-ai/dsh-llm-pi-ai/README.i18n.yaml +8 -8
  525. package/node_modules/@deepseek-ai/dsh-llm-pi-ai/README.md +7 -2
  526. package/node_modules/@deepseek-ai/dsh-llm-pi-ai/README.zh.md +7 -2
  527. package/node_modules/@deepseek-ai/dsh-llm-pi-ai/lib/index.js +18 -8
  528. package/node_modules/@deepseek-ai/dsh-llm-pi-ai/package.json +28 -28
  529. package/node_modules/@deepseek-ai/dsh-llm-retry/package.json +25 -25
  530. package/node_modules/@deepseek-ai/dsh-mcp-client/README.i18n.yaml +15 -12
  531. package/node_modules/@deepseek-ai/dsh-mcp-client/README.md +29 -6
  532. package/node_modules/@deepseek-ai/dsh-mcp-client/README.zh.md +29 -6
  533. package/node_modules/@deepseek-ai/dsh-mcp-client/lib/index.js +870 -202
  534. package/node_modules/@deepseek-ai/dsh-mcp-client/lib/types/connection.js +379 -0
  535. package/node_modules/@deepseek-ai/dsh-mcp-client/lib/types/credentials.js +99 -0
  536. package/node_modules/@deepseek-ai/dsh-mcp-client/lib/types/deadline.js +27 -0
  537. package/node_modules/@deepseek-ai/dsh-mcp-client/lib/types/diagnostic.js +56 -0
  538. package/node_modules/@deepseek-ai/dsh-mcp-client/lib/types/generation.js +111 -0
  539. package/node_modules/@deepseek-ai/dsh-mcp-client/lib/types/index.js +163 -0
  540. package/node_modules/@deepseek-ai/dsh-mcp-client/lib/types/probe.js +89 -0
  541. package/node_modules/@deepseek-ai/dsh-mcp-client/lib/types/server-context.js +25 -0
  542. package/node_modules/@deepseek-ai/dsh-mcp-client/lib/types/status.js +95 -0
  543. package/node_modules/@deepseek-ai/dsh-mcp-client/lib/types/templates.js +66 -0
  544. package/node_modules/@deepseek-ai/dsh-mcp-client/lib/types/tools.js +432 -0
  545. package/node_modules/@deepseek-ai/dsh-mcp-client/lib/types/transport.js +39 -0
  546. package/node_modules/@deepseek-ai/dsh-mcp-client/lib/types/types.js +7 -0
  547. package/node_modules/@deepseek-ai/dsh-mcp-client/package.json +34 -24
  548. package/node_modules/@deepseek-ai/dsh-mcp-manager/README.i18n.yaml +64 -0
  549. package/node_modules/@deepseek-ai/dsh-mcp-manager/README.md +196 -0
  550. package/node_modules/@deepseek-ai/dsh-mcp-manager/README.zh.md +196 -0
  551. package/node_modules/@deepseek-ai/dsh-mcp-manager/lib/index.js +572 -0
  552. package/node_modules/@deepseek-ai/dsh-mcp-manager/lib/typert.host.js +323 -0
  553. package/node_modules/@deepseek-ai/dsh-mcp-manager/lib/typert.remote-client.js +170 -0
  554. package/node_modules/@deepseek-ai/dsh-mcp-manager/lib/types/index.js +582 -0
  555. package/node_modules/@deepseek-ai/dsh-mcp-manager/lib/types/types.js +8 -0
  556. package/node_modules/@deepseek-ai/dsh-mcp-manager/locale/de.json +6 -0
  557. package/node_modules/@deepseek-ai/dsh-mcp-manager/locale/en.json +6 -0
  558. package/node_modules/@deepseek-ai/dsh-mcp-manager/locale/es.json +6 -0
  559. package/node_modules/@deepseek-ai/dsh-mcp-manager/locale/fr.json +6 -0
  560. package/node_modules/@deepseek-ai/dsh-mcp-manager/locale/ja.json +6 -0
  561. package/node_modules/@deepseek-ai/dsh-mcp-manager/locale/pt.json +6 -0
  562. package/node_modules/@deepseek-ai/dsh-mcp-manager/locale/ru.json +6 -0
  563. package/node_modules/@deepseek-ai/dsh-mcp-manager/locale/zh.json +6 -0
  564. package/node_modules/@deepseek-ai/dsh-mcp-manager/package.json +77 -0
  565. package/node_modules/@deepseek-ai/dsh-mcp-resources/package.json +16 -16
  566. package/node_modules/@deepseek-ai/dsh-message-feedback/package.json +19 -19
  567. package/node_modules/@deepseek-ai/dsh-message-quotes/lib/client.js +2 -2
  568. package/node_modules/@deepseek-ai/dsh-message-quotes/package.json +9 -9
  569. package/node_modules/@deepseek-ai/dsh-native-command/package.json +4 -4
  570. package/node_modules/@deepseek-ai/dsh-no-progress-reminder/lib/index.js +38 -15
  571. package/node_modules/@deepseek-ai/dsh-no-progress-reminder/package.json +16 -16
  572. package/node_modules/@deepseek-ai/dsh-office-to-pdf/package.json +11 -11
  573. package/node_modules/@deepseek-ai/dsh-official-bundles/README.i18n.yaml +2 -2
  574. package/node_modules/@deepseek-ai/dsh-official-bundles/README.md +1 -1
  575. package/node_modules/@deepseek-ai/dsh-official-bundles/README.zh.md +1 -1
  576. package/node_modules/@deepseek-ai/dsh-official-bundles/lib/index.js +57 -95
  577. package/node_modules/@deepseek-ai/dsh-official-bundles/package.json +4 -4
  578. package/node_modules/@deepseek-ai/dsh-otel/package.json +5 -5
  579. package/node_modules/@deepseek-ai/dsh-output-retention/package.json +3 -3
  580. package/node_modules/@deepseek-ai/dsh-package-manifest/package.json +3 -3
  581. package/node_modules/@deepseek-ai/dsh-permission-presets/lib/typert.host.js +15 -3
  582. package/node_modules/@deepseek-ai/dsh-permission-presets/package.json +23 -23
  583. package/node_modules/@deepseek-ai/dsh-persona/README.i18n.yaml +2 -2
  584. package/node_modules/@deepseek-ai/dsh-persona/README.md +1 -1
  585. package/node_modules/@deepseek-ai/dsh-persona/README.zh.md +1 -1
  586. package/node_modules/@deepseek-ai/dsh-persona/package.json +7 -7
  587. package/node_modules/@deepseek-ai/dsh-personalized-recommendations/package.json +23 -23
  588. package/node_modules/@deepseek-ai/dsh-plan-mode/README.i18n.yaml +2 -2
  589. package/node_modules/@deepseek-ai/dsh-plan-mode/README.md +1 -1
  590. package/node_modules/@deepseek-ai/dsh-plan-mode/README.zh.md +1 -1
  591. package/node_modules/@deepseek-ai/dsh-plan-mode/package.json +24 -24
  592. package/node_modules/@deepseek-ai/dsh-plugin-detail/package.json +3 -3
  593. package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/index.js +0 -1
  594. package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/typert.host.js +12 -12
  595. package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/typert.remote-client.js +12 -12
  596. package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/index.js +0 -1
  597. package/node_modules/@deepseek-ai/dsh-plugin-manager/package.json +38 -38
  598. package/node_modules/@deepseek-ai/dsh-plugin-market/README.i18n.yaml +2 -2
  599. package/node_modules/@deepseek-ai/dsh-plugin-market/README.md +1 -1
  600. package/node_modules/@deepseek-ai/dsh-plugin-market/README.zh.md +1 -1
  601. package/node_modules/@deepseek-ai/dsh-plugin-market/lib/index.js +37 -7
  602. package/node_modules/@deepseek-ai/dsh-plugin-market/lib/types/index.js +1 -1
  603. package/node_modules/@deepseek-ai/dsh-plugin-market/lib/types/repository-cache.js +40 -7
  604. package/node_modules/@deepseek-ai/dsh-plugin-market/package.json +31 -31
  605. package/node_modules/@deepseek-ai/dsh-plugin-market-index/package.json +4 -4
  606. package/node_modules/@deepseek-ai/dsh-plugin-package-inventory-deepseek/package.json +19 -19
  607. package/node_modules/@deepseek-ai/dsh-plugin-recommendations/README.i18n.yaml +2 -2
  608. package/node_modules/@deepseek-ai/dsh-plugin-recommendations/README.md +1 -1
  609. package/node_modules/@deepseek-ai/dsh-plugin-recommendations/README.zh.md +1 -1
  610. package/node_modules/@deepseek-ai/dsh-plugin-recommendations/lib/index.js +2 -2
  611. package/node_modules/@deepseek-ai/dsh-plugin-recommendations/lib/typert.host.js +15 -3
  612. package/node_modules/@deepseek-ai/dsh-plugin-recommendations/lib/types/index.js +2 -2
  613. package/node_modules/@deepseek-ai/dsh-plugin-recommendations/package.json +17 -17
  614. package/node_modules/@deepseek-ai/dsh-ptc-runtime/package.json +5 -5
  615. package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/README.i18n.yaml +11 -8
  616. package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/README.md +21 -1
  617. package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/README.zh.md +22 -2
  618. package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/lib/index.js +2 -3
  619. package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/lib/persistent-process.js +428 -31
  620. package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/lib/process.js +423 -28
  621. package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/package.json +23 -23
  622. package/node_modules/@deepseek-ai/dsh-pwsh-local/package.json +11 -11
  623. package/node_modules/@deepseek-ai/dsh-pwsh-sandbox/package.json +14 -14
  624. package/node_modules/@deepseek-ai/dsh-repeat-tool-reminder/lib/index.js +39 -16
  625. package/node_modules/@deepseek-ai/dsh-repeat-tool-reminder/package.json +12 -12
  626. package/node_modules/@deepseek-ai/dsh-sandbox/package.json +8 -8
  627. package/node_modules/@deepseek-ai/dsh-sandbox-apple-container/package.json +26 -26
  628. package/node_modules/@deepseek-ai/dsh-sandbox-local/package.json +12 -12
  629. package/node_modules/@deepseek-ai/dsh-sandbox-policy/package.json +14 -14
  630. package/node_modules/@deepseek-ai/dsh-sandbox-windows-acl/package.json +14 -14
  631. package/node_modules/@deepseek-ai/dsh-schedule/package.json +40 -40
  632. package/node_modules/@deepseek-ai/dsh-scope/package.json +3 -3
  633. package/node_modules/@deepseek-ai/dsh-sdk-app/package.json +19 -19
  634. package/node_modules/@deepseek-ai/dsh-sdk-jsonrpc-server/README.i18n.yaml +4 -4
  635. package/node_modules/@deepseek-ai/dsh-sdk-jsonrpc-server/README.md +3 -3
  636. package/node_modules/@deepseek-ai/dsh-sdk-jsonrpc-server/README.zh.md +3 -3
  637. package/node_modules/@deepseek-ai/dsh-sdk-jsonrpc-server/lib/index.js +21 -18
  638. package/node_modules/@deepseek-ai/dsh-sdk-jsonrpc-server/package.json +48 -48
  639. package/node_modules/@deepseek-ai/dsh-sdk-minimal/package.json +39 -39
  640. package/node_modules/@deepseek-ai/dsh-sdk-protocol/package.json +13 -13
  641. package/node_modules/@deepseek-ai/dsh-session/lib/index.js +1 -0
  642. package/node_modules/@deepseek-ai/dsh-session/lib/types/known-event-types.js +1 -0
  643. package/node_modules/@deepseek-ai/dsh-session/package.json +10 -10
  644. package/node_modules/@deepseek-ai/dsh-session-checkpoint-policy/package.json +19 -19
  645. package/node_modules/@deepseek-ai/dsh-session-format/package.json +4 -4
  646. package/node_modules/@deepseek-ai/dsh-session-format-catalog/package.json +11 -11
  647. package/node_modules/@deepseek-ai/dsh-session-format-v0-to-v1/lib/index.js +36 -13
  648. package/node_modules/@deepseek-ai/dsh-session-format-v0-to-v1/package.json +7 -7
  649. package/node_modules/@deepseek-ai/dsh-session-format-v1-to-v2/package.json +8 -8
  650. package/node_modules/@deepseek-ai/dsh-session-format-v2-to-v3/package.json +6 -6
  651. package/node_modules/@deepseek-ai/dsh-session-format-v3-to-v4/package.json +5 -5
  652. package/node_modules/@deepseek-ai/dsh-session-log-deepseek/package.json +18 -18
  653. package/node_modules/@deepseek-ai/dsh-session-log-export/package.json +24 -24
  654. package/node_modules/@deepseek-ai/dsh-session-persistence/package.json +11 -11
  655. package/node_modules/@deepseek-ai/dsh-session-persistence-jsonl/lib/worker.cjs +76 -29
  656. package/node_modules/@deepseek-ai/dsh-session-persistence-jsonl/package.json +13 -13
  657. package/node_modules/@deepseek-ai/dsh-session-projection/README.i18n.yaml +12 -12
  658. package/node_modules/@deepseek-ai/dsh-session-projection/README.md +10 -6
  659. package/node_modules/@deepseek-ai/dsh-session-projection/README.zh.md +10 -6
  660. package/node_modules/@deepseek-ai/dsh-session-projection/lib/index.js +107 -42
  661. package/node_modules/@deepseek-ai/dsh-session-projection/lib/types/index.js +128 -47
  662. package/node_modules/@deepseek-ai/dsh-session-projection/package.json +6 -6
  663. package/node_modules/@deepseek-ai/dsh-session-projection-cache/README.i18n.yaml +2 -2
  664. package/node_modules/@deepseek-ai/dsh-session-projection-cache/README.md +1 -1
  665. package/node_modules/@deepseek-ai/dsh-session-projection-cache/README.zh.md +1 -1
  666. package/node_modules/@deepseek-ai/dsh-session-projection-cache/package.json +13 -13
  667. package/node_modules/@deepseek-ai/dsh-session-query/package.json +20 -20
  668. package/node_modules/@deepseek-ai/dsh-session-query-sqlite/package.json +13 -13
  669. package/node_modules/@deepseek-ai/dsh-session-reference/lib/typert.host.js +15 -3
  670. package/node_modules/@deepseek-ai/dsh-session-reference/package.json +41 -41
  671. package/node_modules/@deepseek-ai/dsh-session-stats/package.json +11 -11
  672. package/node_modules/@deepseek-ai/dsh-session-telemetry/package.json +7 -7
  673. package/node_modules/@deepseek-ai/dsh-session-telemetry-otel/package.json +25 -25
  674. package/node_modules/@deepseek-ai/dsh-session-title/package.json +17 -17
  675. package/node_modules/@deepseek-ai/dsh-session-title-all-prompts-llm/package.json +15 -15
  676. package/node_modules/@deepseek-ai/dsh-session-title-first-prompt-llm/package.json +20 -20
  677. package/node_modules/@deepseek-ai/dsh-session-title-llm/package.json +13 -13
  678. package/node_modules/@deepseek-ai/dsh-session-turn-outline/package.json +11 -11
  679. package/node_modules/@deepseek-ai/dsh-settings/package.json +17 -17
  680. package/node_modules/@deepseek-ai/dsh-shell/package.json +7 -7
  681. package/node_modules/@deepseek-ai/dsh-shell-env/package.json +14 -14
  682. package/node_modules/@deepseek-ai/dsh-skill/package.json +9 -9
  683. package/node_modules/@deepseek-ai/dsh-skill-badge/package.json +5 -5
  684. package/node_modules/@deepseek-ai/dsh-skill-filesystem/package.json +10 -10
  685. package/node_modules/@deepseek-ai/dsh-skill-office/package.json +10 -10
  686. package/node_modules/@deepseek-ai/dsh-spill/package.json +9 -9
  687. package/node_modules/@deepseek-ai/dsh-spill-local/package.json +11 -11
  688. package/node_modules/@deepseek-ai/dsh-spill-policy/package.json +35 -35
  689. package/node_modules/@deepseek-ai/dsh-storage/package.json +3 -3
  690. package/node_modules/@deepseek-ai/dsh-storage-domain/package.json +6 -6
  691. package/node_modules/@deepseek-ai/dsh-storage-json/package.json +6 -6
  692. package/node_modules/@deepseek-ai/dsh-subagent/README.i18n.yaml +39 -24
  693. package/node_modules/@deepseek-ai/dsh-subagent/README.md +41 -20
  694. package/node_modules/@deepseek-ai/dsh-subagent/README.zh.md +41 -20
  695. package/node_modules/@deepseek-ai/dsh-subagent/lib/index.js +574 -873
  696. package/node_modules/@deepseek-ai/dsh-subagent/lib/typert.host.js +64 -120
  697. package/node_modules/@deepseek-ai/dsh-subagent/lib/typert.remote-client.js +17 -63
  698. package/node_modules/@deepseek-ai/dsh-subagent/lib/types/activation.js +1 -1
  699. package/node_modules/@deepseek-ai/dsh-subagent/lib/types/archive-admission.js +39 -115
  700. package/node_modules/@deepseek-ai/dsh-subagent/lib/types/child-agent.js +6 -4
  701. package/node_modules/@deepseek-ai/dsh-subagent/lib/types/continuation-messages.js +12 -14
  702. package/node_modules/@deepseek-ai/dsh-subagent/lib/types/control.js +1 -5
  703. package/node_modules/@deepseek-ai/dsh-subagent/lib/types/descriptor.js +1 -1
  704. package/node_modules/@deepseek-ai/dsh-subagent/lib/types/index.js +83 -146
  705. package/node_modules/@deepseek-ai/dsh-subagent/lib/types/lifecycle.js +5 -31
  706. package/node_modules/@deepseek-ai/dsh-subagent/lib/types/manager.js +396 -570
  707. package/node_modules/@deepseek-ai/dsh-subagent/lib/types/structured.js +2 -2
  708. package/node_modules/@deepseek-ai/dsh-subagent/lib/types/types.js +2 -4
  709. package/node_modules/@deepseek-ai/dsh-subagent/package.json +51 -55
  710. package/node_modules/@deepseek-ai/dsh-subagent-acp/package.json +24 -24
  711. package/node_modules/@deepseek-ai/dsh-subagent-fork-in-process/package.json +15 -15
  712. package/node_modules/@deepseek-ai/dsh-subagent-spawn-in-process/README.i18n.yaml +2 -2
  713. package/node_modules/@deepseek-ai/dsh-subagent-spawn-in-process/README.md +1 -1
  714. package/node_modules/@deepseek-ai/dsh-subagent-spawn-in-process/README.zh.md +1 -1
  715. package/node_modules/@deepseek-ai/dsh-subagent-spawn-in-process/package.json +19 -19
  716. package/node_modules/@deepseek-ai/dsh-subprocess/package.json +6 -6
  717. package/node_modules/@deepseek-ai/dsh-subprocess-local/package.json +9 -9
  718. package/node_modules/@deepseek-ai/dsh-system-prompt/lib/index.js +0 -1
  719. package/node_modules/@deepseek-ai/dsh-system-prompt/package.json +8 -8
  720. package/node_modules/@deepseek-ai/dsh-terminal/package.json +8 -8
  721. package/node_modules/@deepseek-ai/dsh-terminal-bash/package.json +22 -22
  722. package/node_modules/@deepseek-ai/dsh-time-context/package.json +23 -23
  723. package/node_modules/@deepseek-ai/dsh-timeout/package.json +3 -3
  724. package/node_modules/@deepseek-ai/dsh-tmux-context/lib/index.js +38 -15
  725. package/node_modules/@deepseek-ai/dsh-tmux-context/package.json +14 -14
  726. package/node_modules/@deepseek-ai/dsh-token-meter/lib/index.js +4 -2
  727. package/node_modules/@deepseek-ai/dsh-token-meter/lib/types/breakdown-projection.js +1 -0
  728. package/node_modules/@deepseek-ai/dsh-token-meter/lib/types/usage-projection.js +1 -0
  729. package/node_modules/@deepseek-ai/dsh-token-meter/package.json +17 -17
  730. package/node_modules/@deepseek-ai/dsh-tool-agent-team/README.i18n.yaml +85 -0
  731. package/node_modules/@deepseek-ai/dsh-tool-agent-team/README.md +178 -0
  732. package/node_modules/@deepseek-ai/dsh-tool-agent-team/README.zh.md +178 -0
  733. package/node_modules/@deepseek-ai/dsh-tool-agent-team/lib/index.js +308 -0
  734. package/node_modules/@deepseek-ai/dsh-tool-agent-team/locale/en.json +6 -0
  735. package/node_modules/@deepseek-ai/dsh-tool-agent-team/locale/ja.json +6 -0
  736. package/node_modules/@deepseek-ai/dsh-tool-agent-team/locale/zh.json +6 -0
  737. package/node_modules/@deepseek-ai/dsh-tool-agent-team/package.json +63 -0
  738. package/node_modules/@deepseek-ai/dsh-tool-ask-user/package.json +13 -13
  739. package/node_modules/@deepseek-ai/dsh-tool-bash/package.json +37 -37
  740. package/node_modules/@deepseek-ai/dsh-tool-bash-persistent/package.json +27 -27
  741. package/node_modules/@deepseek-ai/dsh-tool-call-timeout-policy/package.json +10 -10
  742. package/node_modules/@deepseek-ai/dsh-tool-cordis/lib/types/api-catalog.js +230 -184
  743. package/node_modules/@deepseek-ai/dsh-tool-cordis/package.json +17 -17
  744. package/node_modules/@deepseek-ai/dsh-tool-executor-native/package.json +5 -5
  745. package/node_modules/@deepseek-ai/dsh-tool-executor-ptc/package.json +28 -28
  746. package/node_modules/@deepseek-ai/dsh-tool-fs/README.i18n.yaml +4 -4
  747. package/node_modules/@deepseek-ai/dsh-tool-fs/README.md +7 -7
  748. package/node_modules/@deepseek-ai/dsh-tool-fs/README.zh.md +7 -7
  749. package/node_modules/@deepseek-ai/dsh-tool-fs/lib/index.js +5 -5
  750. package/node_modules/@deepseek-ai/dsh-tool-fs/package.json +39 -39
  751. package/node_modules/@deepseek-ai/dsh-tool-fs-search/package.json +31 -31
  752. package/node_modules/@deepseek-ai/dsh-tool-goal/README.i18n.yaml +2 -2
  753. package/node_modules/@deepseek-ai/dsh-tool-goal/README.md +1 -1
  754. package/node_modules/@deepseek-ai/dsh-tool-goal/README.zh.md +1 -1
  755. package/node_modules/@deepseek-ai/dsh-tool-goal/lib/index.js +1 -1
  756. package/node_modules/@deepseek-ai/dsh-tool-goal/package.json +20 -20
  757. package/node_modules/@deepseek-ai/dsh-tool-jobs/package.json +19 -19
  758. package/node_modules/@deepseek-ai/dsh-tool-present/package.json +21 -21
  759. package/node_modules/@deepseek-ai/dsh-tool-pwsh/package.json +35 -35
  760. package/node_modules/@deepseek-ai/dsh-tool-pwsh-persistent/package.json +28 -28
  761. package/node_modules/@deepseek-ai/dsh-tool-ralph/package.json +24 -24
  762. package/node_modules/@deepseek-ai/dsh-tool-schedule/package.json +19 -19
  763. package/node_modules/@deepseek-ai/dsh-tool-session-query/package.json +27 -27
  764. package/node_modules/@deepseek-ai/dsh-tool-skill/lib/index.js +1 -0
  765. package/node_modules/@deepseek-ai/dsh-tool-skill/package.json +18 -18
  766. package/node_modules/@deepseek-ai/dsh-tool-str-replace-editor/package.json +23 -23
  767. package/node_modules/@deepseek-ai/dsh-tool-subagent/README.i18n.yaml +19 -19
  768. package/node_modules/@deepseek-ai/dsh-tool-subagent/README.md +15 -13
  769. package/node_modules/@deepseek-ai/dsh-tool-subagent/README.zh.md +14 -12
  770. package/node_modules/@deepseek-ai/dsh-tool-subagent/lib/index.js +40 -43
  771. package/node_modules/@deepseek-ai/dsh-tool-subagent/package.json +25 -25
  772. package/node_modules/@deepseek-ai/dsh-tool-subagent-control/README.i18n.yaml +53 -38
  773. package/node_modules/@deepseek-ai/dsh-tool-subagent-control/README.md +41 -21
  774. package/node_modules/@deepseek-ai/dsh-tool-subagent-control/README.zh.md +41 -21
  775. package/node_modules/@deepseek-ai/dsh-tool-subagent-control/lib/index.js +235 -98
  776. package/node_modules/@deepseek-ai/dsh-tool-subagent-control/package.json +25 -22
  777. package/node_modules/@deepseek-ai/dsh-tool-terminal/package.json +32 -32
  778. package/node_modules/@deepseek-ai/dsh-tool-todo/package.json +19 -19
  779. package/node_modules/@deepseek-ai/dsh-tool-web/README.i18n.yaml +6 -6
  780. package/node_modules/@deepseek-ai/dsh-tool-web/README.md +5 -4
  781. package/node_modules/@deepseek-ai/dsh-tool-web/README.zh.md +5 -4
  782. package/node_modules/@deepseek-ai/dsh-tool-web/lib/index.js +4 -4
  783. package/node_modules/@deepseek-ai/dsh-tool-web/package.json +25 -24
  784. package/node_modules/@deepseek-ai/dsh-tool-workflow/package.json +24 -24
  785. package/node_modules/@deepseek-ai/dsh-tool-working-directory/package.json +13 -13
  786. package/node_modules/@deepseek-ai/dsh-tool-workspace-dependencies/package.json +12 -12
  787. package/node_modules/@deepseek-ai/dsh-tools/package.json +20 -20
  788. package/node_modules/@deepseek-ai/dsh-tui-app/README.i18n.yaml +6 -6
  789. package/node_modules/@deepseek-ai/dsh-tui-app/README.md +10 -8
  790. package/node_modules/@deepseek-ai/dsh-tui-app/README.zh.md +10 -8
  791. package/node_modules/@deepseek-ai/dsh-tui-app/cordis.patch.yml +17 -0
  792. package/node_modules/@deepseek-ai/dsh-tui-app/lib/index.js +113 -99
  793. package/node_modules/@deepseek-ai/dsh-tui-app/package.json +87 -87
  794. package/node_modules/@deepseek-ai/dsh-typert-loader/package.json +10 -10
  795. package/node_modules/@deepseek-ai/dsh-typert-protocol/package.json +4 -4
  796. package/node_modules/@deepseek-ai/dsh-typert-registry/package.json +4 -4
  797. package/node_modules/@deepseek-ai/dsh-user-approval/package.json +18 -18
  798. package/node_modules/@deepseek-ai/dsh-user-questions/README.i18n.yaml +2 -2
  799. package/node_modules/@deepseek-ai/dsh-user-questions/README.md +1 -1
  800. package/node_modules/@deepseek-ai/dsh-user-questions/README.zh.md +1 -1
  801. package/node_modules/@deepseek-ai/dsh-user-questions/lib/index.js +5 -6
  802. package/node_modules/@deepseek-ai/dsh-user-questions/lib/typert.host.js +16 -4
  803. package/node_modules/@deepseek-ai/dsh-user-questions/lib/types/index.js +5 -6
  804. package/node_modules/@deepseek-ai/dsh-user-questions/package.json +18 -18
  805. package/node_modules/@deepseek-ai/dsh-util-code-language/package.json +3 -3
  806. package/node_modules/@deepseek-ai/dsh-util-crypto/package.json +3 -3
  807. package/node_modules/@deepseek-ai/dsh-util-time/package.json +3 -3
  808. package/node_modules/@deepseek-ai/dsh-util-values/package.json +3 -3
  809. package/node_modules/@deepseek-ai/dsh-util-workspace-path/package.json +3 -3
  810. package/node_modules/@deepseek-ai/dsh-web/README.i18n.yaml +18 -12
  811. package/node_modules/@deepseek-ai/dsh-web/README.md +38 -7
  812. package/node_modules/@deepseek-ai/dsh-web/README.zh.md +38 -7
  813. package/node_modules/@deepseek-ai/dsh-web/lib/index.js +220 -112
  814. package/node_modules/@deepseek-ai/dsh-web/lib/typert.host.js +178 -0
  815. package/node_modules/@deepseek-ai/dsh-web/lib/typert.remote-client.js +45 -0
  816. package/node_modules/@deepseek-ai/dsh-web/lib/types/index.js +277 -0
  817. package/node_modules/@deepseek-ai/dsh-web/lib/types/types.js +18 -0
  818. package/node_modules/@deepseek-ai/dsh-web/package.json +26 -7
  819. package/node_modules/@deepseek-ai/dsh-web-app/README.i18n.yaml +2 -2
  820. package/node_modules/@deepseek-ai/dsh-web-app/README.md +2 -0
  821. package/node_modules/@deepseek-ai/dsh-web-app/README.zh.md +2 -0
  822. package/node_modules/@deepseek-ai/dsh-web-app/cordis.patch.yml +14 -6
  823. package/node_modules/@deepseek-ai/dsh-web-app/package.json +157 -154
  824. package/node_modules/@deepseek-ai/dsh-web-app/presets/standard.patch.yml +1 -1
  825. package/node_modules/@deepseek-ai/dsh-web-deepseek-api/README.i18n.yaml +12 -12
  826. package/node_modules/@deepseek-ai/dsh-web-deepseek-api/README.md +22 -12
  827. package/node_modules/@deepseek-ai/dsh-web-deepseek-api/README.zh.md +22 -12
  828. package/node_modules/@deepseek-ai/dsh-web-deepseek-api/lib/index.js +394 -163
  829. package/node_modules/@deepseek-ai/dsh-web-deepseek-api/package.json +30 -19
  830. package/node_modules/@deepseek-ai/dsh-web-fetch-http/lib/index.js +11 -0
  831. package/node_modules/@deepseek-ai/dsh-web-fetch-http/package.json +9 -9
  832. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-B2q7cWGa.js +199 -0
  833. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-uWlUD22X.css +1 -0
  834. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/{graphql-C-Uijqkk.js → graphql-DFkUqiqq.js} +2 -2
  835. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/{http-CLu1VCSi.js → http-BbPA7N5Y.js} +2 -2
  836. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/php-BcJWnZHR.js +2 -0
  837. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/{rst-BuDKiyD7.js → rst-CtdShwKQ.js} +2 -2
  838. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/{ruby-ZtjE4NPI.js → ruby-DllPV2XI.js} +2 -2
  839. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/{svelte-Tt81icjn.js → svelte-ZPgsG5h9.js} +2 -2
  840. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/{vue-B5SDFeDA.js → vue-CnLRC5W9.js} +2 -2
  841. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/{vendor-7utBqO4o.js → vendor-BUMdD3V7.js} +3 -3
  842. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/index.html +3 -3
  843. package/node_modules/@deepseek-ai/dsh-web-frontend/package.json +21 -21
  844. package/node_modules/@deepseek-ai/dsh-web-search-deepseek/README.i18n.yaml +8 -8
  845. package/node_modules/@deepseek-ai/dsh-web-search-deepseek/README.md +6 -4
  846. package/node_modules/@deepseek-ai/dsh-web-search-deepseek/README.zh.md +6 -4
  847. package/node_modules/@deepseek-ai/dsh-web-search-deepseek/lib/index.js +30 -18
  848. package/node_modules/@deepseek-ai/dsh-web-search-deepseek/package.json +20 -18
  849. package/node_modules/@deepseek-ai/dsh-win32-process/package.json +4 -4
  850. package/node_modules/@deepseek-ai/dsh-workflow/package.json +11 -11
  851. package/node_modules/@deepseek-ai/dsh-workflow-ptc/lib/index.js +11 -13
  852. package/node_modules/@deepseek-ai/dsh-workflow-ptc/package.json +39 -39
  853. package/node_modules/@deepseek-ai/dsh-working-directory/package.json +21 -21
  854. package/node_modules/@deepseek-ai/dsh-workspace/package.json +14 -14
  855. package/node_modules/@deepseek-ai/dsh-workspace-changes/package.json +26 -26
  856. package/node_modules/@deepseek-ai/schemastery/package.json +2 -2
  857. package/package.json +346 -343
  858. package/node_modules/@deepseek-ai/dsh/lib/dump-config-DuXZcU0e.js +0 -2
  859. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/README.i18n.yaml +0 -100
  860. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/README.md +0 -227
  861. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/README.zh.md +0 -227
  862. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/index.js +0 -1650
  863. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/activity.js +0 -85
  864. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/client.js +0 -3
  865. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/error.js +0 -23
  866. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/index.js +0 -232
  867. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/lifecycle.js +0 -103
  868. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/persisted.js +0 -20
  869. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/projection.js +0 -327
  870. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/roster.js +0 -452
  871. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/session-message.js +0 -23
  872. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/locale/en.json +0 -6
  873. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/locale/ja.json +0 -6
  874. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/locale/zh.json +0 -6
  875. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/package.json +0 -68
  876. package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/README.i18n.yaml +0 -52
  877. package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/README.md +0 -118
  878. package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/README.zh.md +0 -118
  879. package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/cordis.patch.yml +0 -29
  880. package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/docs/DETAIL.md +0 -1
  881. package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/docs/DETAIL.zh.md +0 -1
  882. package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/docs/preview.svg +0 -1
  883. package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/docs/preview.zh.svg +0 -1
  884. package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/icon.svg +0 -12
  885. package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/locale/de.json +0 -7
  886. package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/locale/en.json +0 -7
  887. package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/locale/es.json +0 -7
  888. package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/locale/fr.json +0 -7
  889. package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/locale/ja.json +0 -7
  890. package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/locale/pt.json +0 -7
  891. package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/locale/ru.json +0 -7
  892. package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/locale/zh.json +0 -7
  893. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-agent-team/README.i18n.yaml +0 -43
  894. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-agent-team/README.md +0 -102
  895. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-agent-team/README.zh.md +0 -102
  896. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-agent-team/lib/client.js +0 -690
  897. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-agent-team/locale/en.json +0 -6
  898. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-agent-team/locale/ja.json +0 -6
  899. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-agent-team/locale/zh.json +0 -6
  900. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-agent-team/package.json +0 -66
  901. package/node_modules/@deepseek-ai/dsh-experimental-liveshare/lib/viewer-declarations-krUNq6VU.js +0 -287
  902. package/node_modules/@deepseek-ai/dsh-experimental-liveshare/lib/viewer-declarations.js +0 -26
  903. package/node_modules/@deepseek-ai/dsh-experimental-tool-agent-team/README.i18n.yaml +0 -70
  904. package/node_modules/@deepseek-ai/dsh-experimental-tool-agent-team/README.md +0 -155
  905. package/node_modules/@deepseek-ai/dsh-experimental-tool-agent-team/README.zh.md +0 -155
  906. package/node_modules/@deepseek-ai/dsh-experimental-tool-agent-team/lib/index.js +0 -626
  907. package/node_modules/@deepseek-ai/dsh-experimental-tool-agent-team/locale/en.json +0 -6
  908. package/node_modules/@deepseek-ai/dsh-experimental-tool-agent-team/locale/ja.json +0 -6
  909. package/node_modules/@deepseek-ai/dsh-experimental-tool-agent-team/locale/zh.json +0 -6
  910. package/node_modules/@deepseek-ai/dsh-experimental-tool-agent-team/package.json +0 -62
  911. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-BCbHmUSs.js +0 -197
  912. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-BUDGJY4R.css +0 -1
  913. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/php-CjQPq1Mz.js +0 -2
  914. package/node_modules/@deepseek-ai/dsh-web-search-exa/README.i18n.yaml +0 -61
  915. package/node_modules/@deepseek-ai/dsh-web-search-exa/README.md +0 -142
  916. package/node_modules/@deepseek-ai/dsh-web-search-exa/README.zh.md +0 -142
  917. package/node_modules/@deepseek-ai/dsh-web-search-exa/lib/index.js +0 -154
  918. package/node_modules/@deepseek-ai/dsh-web-search-exa/locale/de.json +0 -6
  919. package/node_modules/@deepseek-ai/dsh-web-search-exa/locale/en.json +0 -6
  920. package/node_modules/@deepseek-ai/dsh-web-search-exa/locale/es.json +0 -6
  921. package/node_modules/@deepseek-ai/dsh-web-search-exa/locale/fr.json +0 -6
  922. package/node_modules/@deepseek-ai/dsh-web-search-exa/locale/ja.json +0 -6
  923. package/node_modules/@deepseek-ai/dsh-web-search-exa/locale/pt.json +0 -6
  924. package/node_modules/@deepseek-ai/dsh-web-search-exa/locale/ru.json +0 -6
  925. package/node_modules/@deepseek-ai/dsh-web-search-exa/locale/zh.json +0 -6
  926. package/node_modules/@deepseek-ai/dsh-web-search-exa/package.json +0 -45
  927. package/node_modules/@deepseek-ai/dsh-web-search-perplexity/README.i18n.yaml +0 -82
  928. package/node_modules/@deepseek-ai/dsh-web-search-perplexity/README.md +0 -165
  929. package/node_modules/@deepseek-ai/dsh-web-search-perplexity/README.zh.md +0 -165
  930. package/node_modules/@deepseek-ai/dsh-web-search-perplexity/lib/index.js +0 -152
  931. package/node_modules/@deepseek-ai/dsh-web-search-perplexity/locale/de.json +0 -6
  932. package/node_modules/@deepseek-ai/dsh-web-search-perplexity/locale/en.json +0 -6
  933. package/node_modules/@deepseek-ai/dsh-web-search-perplexity/locale/es.json +0 -6
  934. package/node_modules/@deepseek-ai/dsh-web-search-perplexity/locale/fr.json +0 -6
  935. package/node_modules/@deepseek-ai/dsh-web-search-perplexity/locale/ja.json +0 -6
  936. package/node_modules/@deepseek-ai/dsh-web-search-perplexity/locale/pt.json +0 -6
  937. package/node_modules/@deepseek-ai/dsh-web-search-perplexity/locale/ru.json +0 -6
  938. package/node_modules/@deepseek-ai/dsh-web-search-perplexity/locale/zh.json +0 -6
  939. package/node_modules/@deepseek-ai/dsh-web-search-perplexity/package.json +0 -45
  940. package/node_modules/@deepseek-ai/dsh/lib/{profile-boot-e2mS45fC.js → profile-boot-xiaehH2x.js} +3 -3
  941. /package/node_modules/@deepseek-ai/{dsh-experimental-agent-team → dsh-agent-team}/lib/types/task-graph.js +0 -0
  942. /package/node_modules/@deepseek-ai/{dsh-experimental-agent-team → dsh-agent-team}/lib/types/types.js +0 -0
  943. /package/node_modules/@deepseek-ai/{dsh-experimental-agent-team → dsh-agent-team}/lib/types/validation.js +0 -0
  944. /package/node_modules/@deepseek-ai/{dsh-experimental-agent-team → dsh-agent-team}/locale/de.json +0 -0
  945. /package/node_modules/@deepseek-ai/{dsh-experimental-agent-team → dsh-agent-team}/locale/es.json +0 -0
  946. /package/node_modules/@deepseek-ai/{dsh-experimental-agent-team → dsh-agent-team}/locale/fr.json +0 -0
  947. /package/node_modules/@deepseek-ai/{dsh-experimental-agent-team → dsh-agent-team}/locale/pt.json +0 -0
  948. /package/node_modules/@deepseek-ai/{dsh-experimental-agent-team → dsh-agent-team}/locale/ru.json +0 -0
  949. /package/node_modules/@deepseek-ai/{dsh-experimental-client-ui-agent-team → dsh-client-ui-agent-team}/lib/index.js +0 -0
  950. /package/node_modules/@deepseek-ai/{dsh-experimental-client-ui-agent-team → dsh-client-ui-agent-team}/locale/de.json +0 -0
  951. /package/node_modules/@deepseek-ai/{dsh-experimental-client-ui-agent-team → dsh-client-ui-agent-team}/locale/es.json +0 -0
  952. /package/node_modules/@deepseek-ai/{dsh-experimental-client-ui-agent-team → dsh-client-ui-agent-team}/locale/fr.json +0 -0
  953. /package/node_modules/@deepseek-ai/{dsh-experimental-client-ui-agent-team → dsh-client-ui-agent-team}/locale/pt.json +0 -0
  954. /package/node_modules/@deepseek-ai/{dsh-experimental-client-ui-agent-team → dsh-client-ui-agent-team}/locale/ru.json +0 -0
  955. /package/node_modules/@deepseek-ai/{dsh-experimental-agent-team-profile → dsh-cua-bundle}/lib/index.js +0 -0
  956. /package/node_modules/@deepseek-ai/{dsh-experimental-tool-agent-team → dsh-tool-agent-team}/locale/de.json +0 -0
  957. /package/node_modules/@deepseek-ai/{dsh-experimental-tool-agent-team → dsh-tool-agent-team}/locale/es.json +0 -0
  958. /package/node_modules/@deepseek-ai/{dsh-experimental-tool-agent-team → dsh-tool-agent-team}/locale/fr.json +0 -0
  959. /package/node_modules/@deepseek-ai/{dsh-experimental-tool-agent-team → dsh-tool-agent-team}/locale/pt.json +0 -0
  960. /package/node_modules/@deepseek-ai/{dsh-experimental-tool-agent-team → dsh-tool-agent-team}/locale/ru.json +0 -0
@@ -190,9 +190,11 @@ window.__ModuleLoader__.load({
190
190
  })).readonly() });
191
191
  let _deepseek_ai_dsh_experimental_liveshare_liveshareShares_capabilities_result$schema$value;
192
192
  const _deepseek_ai_dsh_experimental_liveshare_liveshareShares_capabilities_result$schema = () => _deepseek_ai_dsh_experimental_liveshare_liveshareShares_capabilities_result$schema$value ??= zod.z.object({ "capabilities": zod.z.array(zod.z.object({
193
- "plugin": zod.z.string().readonly().describe("Declaring plugin's package name."),
194
- "readable": zod.z.array(zod.z.string()).readonly().describe("Readable endpoints that plugin offers."),
195
- "writable": zod.z.array(zod.z.string()).readonly().describe("Writable endpoints that plugin offers.")
193
+ "plugin": zod.z.string().readonly().describe("Plugin namespace the methods belong to."),
194
+ "package": zod.z.string().readonly().optional().describe("npm package that registered the namespace, when the Host could resolve it."),
195
+ "titles": zod.z.record(zod.z.string(), zod.z.string()).readonly().readonly().optional().describe("Localized plugin titles from the package's locale files, keyed by language."),
196
+ "endpoints": zod.z.array(zod.z.string()).readonly().describe("Remote endpoint names of that plugin, sorted."),
197
+ "descriptions": zod.z.record(zod.z.string(), zod.z.string()).readonly().readonly().optional().describe("One-line method descriptions keyed by endpoint, when the Host registers one.")
196
198
  })).readonly() });
197
199
  let _deepseek_ai_dsh_experimental_liveshare_liveshareShares_create_parameter_0$schema$value;
198
200
  const _deepseek_ai_dsh_experimental_liveshare_liveshareShares_create_parameter_0$schema = () => _deepseek_ai_dsh_experimental_liveshare_liveshareShares_create_parameter_0$schema$value ??= zod.z.object({
@@ -255,11 +257,20 @@ window.__ModuleLoader__.load({
255
257
  "expiresAt": zod.z.string().readonly().optional().describe("ISO time after which the Relay denies viewers; absent means the share never expires."),
256
258
  "allowsFork": zod.z.boolean().readonly(),
257
259
  "sessionMode": zod.z.union([zod.z.literal("write"), zod.z.literal("view")]).readonly(),
258
- "viewerCapabilities": zod.z.array(zod.z.object({
259
- "plugin": zod.z.string().readonly().describe("Declaring plugin's package name."),
260
- "readable": zod.z.array(zod.z.string()).readonly().describe("Readable endpoints that plugin offers."),
261
- "writable": zod.z.array(zod.z.string()).readonly().describe("Writable endpoints that plugin offers.")
262
- })).readonly().describe("Plugin endpoints this share exposes; an empty list means none."),
260
+ "viewerPluginAccess": zod.z.union([
261
+ zod.z.literal("none"),
262
+ zod.z.literal("all"),
263
+ zod.z.literal("custom")
264
+ ]).readonly().optional().describe("Global switch over every installed plugin's methods; absent reads as none."),
265
+ "viewerPlugins": zod.z.array(zod.z.object({
266
+ "plugin": zod.z.string().readonly().describe("Plugin namespace this policy applies to."),
267
+ "mode": zod.z.union([
268
+ zod.z.literal("none"),
269
+ zod.z.literal("selected"),
270
+ zod.z.literal("all")
271
+ ]).readonly().describe("Whether the share exposes every offered endpoint, none, or the explicit subset."),
272
+ "endpoints": zod.z.array(zod.z.string()).readonly().optional().describe("Subset for `selected`; absent or empty exposes nothing.")
273
+ })).readonly().describe("Per-plugin endpoint policies this share carries; an empty list means none."),
263
274
  "online": zod.z.boolean().readonly(),
264
275
  "access": zod.z.object({
265
276
  "mode": zod.z.union([zod.z.literal("open"), zod.z.literal("selected")]).readonly(),
@@ -284,19 +295,37 @@ window.__ModuleLoader__.load({
284
295
  let _deepseek_ai_dsh_experimental_liveshare_liveshareShares_setCapabilities_parameter_0$schema$value;
285
296
  const _deepseek_ai_dsh_experimental_liveshare_liveshareShares_setCapabilities_parameter_0$schema = () => _deepseek_ai_dsh_experimental_liveshare_liveshareShares_setCapabilities_parameter_0$schema$value ??= zod.z.object({
286
297
  "shareId": zod.z.string().readonly(),
287
- "capabilities": zod.z.array(zod.z.object({
288
- "plugin": zod.z.string().readonly().describe("Declaring plugin's package name."),
289
- "readable": zod.z.array(zod.z.string()).readonly().describe("Readable endpoints that plugin offers."),
290
- "writable": zod.z.array(zod.z.string()).readonly().describe("Writable endpoints that plugin offers.")
291
- })).readonly().optional()
298
+ "viewerPluginAccess": zod.z.union([
299
+ zod.z.literal("none"),
300
+ zod.z.literal("all"),
301
+ zod.z.literal("custom")
302
+ ]).readonly().optional().describe("Global switch; absent keeps the stored value."),
303
+ "viewerPlugins": zod.z.array(zod.z.object({
304
+ "plugin": zod.z.string().readonly().describe("Plugin namespace this policy applies to."),
305
+ "mode": zod.z.union([
306
+ zod.z.literal("none"),
307
+ zod.z.literal("selected"),
308
+ zod.z.literal("all")
309
+ ]).readonly().describe("Whether the share exposes every offered endpoint, none, or the explicit subset."),
310
+ "endpoints": zod.z.array(zod.z.string()).readonly().optional().describe("Subset for `selected`; absent or empty exposes nothing.")
311
+ })).readonly().optional().describe("Per-plugin policies; absent keeps the stored value.")
292
312
  });
293
313
  let _deepseek_ai_dsh_experimental_liveshare_liveshareShares_setCapabilities_result$schema$value;
294
314
  const _deepseek_ai_dsh_experimental_liveshare_liveshareShares_setCapabilities_result$schema = () => _deepseek_ai_dsh_experimental_liveshare_liveshareShares_setCapabilities_result$schema$value ??= zod.z.object({
295
315
  "shareId": zod.z.string().readonly(),
296
- "viewerCapabilities": zod.z.array(zod.z.object({
297
- "plugin": zod.z.string().readonly().describe("Declaring plugin's package name."),
298
- "readable": zod.z.array(zod.z.string()).readonly().describe("Readable endpoints that plugin offers."),
299
- "writable": zod.z.array(zod.z.string()).readonly().describe("Writable endpoints that plugin offers.")
316
+ "viewerPluginAccess": zod.z.union([
317
+ zod.z.literal("none"),
318
+ zod.z.literal("all"),
319
+ zod.z.literal("custom")
320
+ ]).readonly(),
321
+ "viewerPlugins": zod.z.array(zod.z.object({
322
+ "plugin": zod.z.string().readonly().describe("Plugin namespace this policy applies to."),
323
+ "mode": zod.z.union([
324
+ zod.z.literal("none"),
325
+ zod.z.literal("selected"),
326
+ zod.z.literal("all")
327
+ ]).readonly().describe("Whether the share exposes every offered endpoint, none, or the explicit subset."),
328
+ "endpoints": zod.z.array(zod.z.string()).readonly().optional().describe("Subset for `selected`; absent or empty exposes nothing.")
300
329
  })).readonly()
301
330
  });
302
331
  let _deepseek_ai_dsh_experimental_liveshare_liveshareShares_setRelay_parameter_0$schema$value;
@@ -360,11 +389,20 @@ window.__ModuleLoader__.load({
360
389
  let _deepseek_ai_dsh_experimental_liveshare_liveshareShares_setCapabilities_parameter_0_strict$schema$value;
361
390
  const _deepseek_ai_dsh_experimental_liveshare_liveshareShares_setCapabilities_parameter_0_strict$schema = () => _deepseek_ai_dsh_experimental_liveshare_liveshareShares_setCapabilities_parameter_0_strict$schema$value ??= zod.z.strictObject({
362
391
  "shareId": zod.z.string().readonly(),
363
- "capabilities": zod.z.array(zod.z.strictObject({
364
- "plugin": zod.z.string().readonly().describe("Declaring plugin's package name."),
365
- "readable": zod.z.array(zod.z.string()).readonly().describe("Readable endpoints that plugin offers."),
366
- "writable": zod.z.array(zod.z.string()).readonly().describe("Writable endpoints that plugin offers.")
367
- })).readonly().optional()
392
+ "viewerPluginAccess": zod.z.union([
393
+ zod.z.literal("none"),
394
+ zod.z.literal("all"),
395
+ zod.z.literal("custom")
396
+ ]).readonly().optional().describe("Global switch; absent keeps the stored value."),
397
+ "viewerPlugins": zod.z.array(zod.z.strictObject({
398
+ "plugin": zod.z.string().readonly().describe("Plugin namespace this policy applies to."),
399
+ "mode": zod.z.union([
400
+ zod.z.literal("none"),
401
+ zod.z.literal("selected"),
402
+ zod.z.literal("all")
403
+ ]).readonly().describe("Whether the share exposes every offered endpoint, none, or the explicit subset."),
404
+ "endpoints": zod.z.array(zod.z.string()).readonly().optional().describe("Subset for `selected`; absent or empty exposes nothing.")
405
+ })).readonly().optional().describe("Per-plugin policies; absent keeps the stored value.")
368
406
  });
369
407
  let _deepseek_ai_dsh_experimental_liveshare_liveshareShares_setRelay_parameter_0_strict$schema$value;
370
408
  const _deepseek_ai_dsh_experimental_liveshare_liveshareShares_setRelay_parameter_0_strict$schema = () => _deepseek_ai_dsh_experimental_liveshare_liveshareShares_setRelay_parameter_0_strict$schema$value ??= zod.z.strictObject({ "relayUrl": zod.z.union([zod.z.literal(null), zod.z.string()]).readonly() });
@@ -459,39 +497,7 @@ window.__ModuleLoader__.load({
459
497
  typeSymbol: "@deepseek-ai/dsh-experimental-liveshare/types#ShareCapabilityOffers",
460
498
  create: _deepseek_ai_dsh_experimental_liveshare_liveshareShares_capabilities_result$schema,
461
499
  description: "The live offer list.",
462
- jsonSchema: {
463
- "type": "object",
464
- "properties": { "capabilities": {
465
- "type": "array",
466
- "items": {
467
- "type": "object",
468
- "properties": {
469
- "plugin": {
470
- "type": "string",
471
- "description": "Declaring plugin's package name."
472
- },
473
- "readable": {
474
- "type": "array",
475
- "items": { "type": "string" },
476
- "description": "Readable endpoints that plugin offers."
477
- },
478
- "writable": {
479
- "type": "array",
480
- "items": { "type": "string" },
481
- "description": "Writable endpoints that plugin offers."
482
- }
483
- },
484
- "required": [
485
- "plugin",
486
- "readable",
487
- "writable"
488
- ],
489
- "additionalProperties": true
490
- }
491
- } },
492
- "required": ["capabilities"],
493
- "additionalProperties": true
494
- }
500
+ jsonSchemaError: "typert tool schema: selected dictionaries require string keys and unconstrained JSON values"
495
501
  },
496
502
  sourceLocation: {
497
503
  "file": "packages/experimental/liveshare/src/host/share-remote.ts",
@@ -792,34 +798,43 @@ window.__ModuleLoader__.load({
792
798
  "type": "string",
793
799
  "enum": ["write", "view"]
794
800
  },
795
- "viewerCapabilities": {
801
+ "viewerPluginAccess": {
802
+ "type": "string",
803
+ "enum": [
804
+ "none",
805
+ "all",
806
+ "custom"
807
+ ],
808
+ "description": "Global switch over every installed plugin's methods; absent reads as none."
809
+ },
810
+ "viewerPlugins": {
796
811
  "type": "array",
797
812
  "items": {
798
813
  "type": "object",
799
814
  "properties": {
800
815
  "plugin": {
801
816
  "type": "string",
802
- "description": "Declaring plugin's package name."
817
+ "description": "Plugin namespace this policy applies to."
803
818
  },
804
- "readable": {
805
- "type": "array",
806
- "items": { "type": "string" },
807
- "description": "Readable endpoints that plugin offers."
819
+ "mode": {
820
+ "type": "string",
821
+ "enum": [
822
+ "none",
823
+ "selected",
824
+ "all"
825
+ ],
826
+ "description": "Whether the share exposes every offered endpoint, none, or the explicit subset."
808
827
  },
809
- "writable": {
828
+ "endpoints": {
810
829
  "type": "array",
811
830
  "items": { "type": "string" },
812
- "description": "Writable endpoints that plugin offers."
831
+ "description": "Subset for `selected`; absent or empty exposes nothing."
813
832
  }
814
833
  },
815
- "required": [
816
- "plugin",
817
- "readable",
818
- "writable"
819
- ],
834
+ "required": ["plugin", "mode"],
820
835
  "additionalProperties": true
821
836
  },
822
- "description": "Plugin endpoints this share exposes; an empty list means none."
837
+ "description": "Per-plugin endpoint policies this share carries; an empty list means none."
823
838
  },
824
839
  "online": { "type": "boolean" },
825
840
  "access": {
@@ -882,7 +897,7 @@ window.__ModuleLoader__.load({
882
897
  "createdAt",
883
898
  "allowsFork",
884
899
  "sessionMode",
885
- "viewerCapabilities",
900
+ "viewerPlugins",
886
901
  "online"
887
902
  ],
888
903
  "additionalProperties": true
@@ -950,33 +965,43 @@ window.__ModuleLoader__.load({
950
965
  "type": "object",
951
966
  "properties": {
952
967
  "shareId": { "type": "string" },
953
- "capabilities": {
968
+ "viewerPluginAccess": {
969
+ "type": "string",
970
+ "enum": [
971
+ "none",
972
+ "all",
973
+ "custom"
974
+ ],
975
+ "description": "Global switch; absent keeps the stored value."
976
+ },
977
+ "viewerPlugins": {
954
978
  "type": "array",
955
979
  "items": {
956
980
  "type": "object",
957
981
  "properties": {
958
982
  "plugin": {
959
983
  "type": "string",
960
- "description": "Declaring plugin's package name."
984
+ "description": "Plugin namespace this policy applies to."
961
985
  },
962
- "readable": {
963
- "type": "array",
964
- "items": { "type": "string" },
965
- "description": "Readable endpoints that plugin offers."
986
+ "mode": {
987
+ "type": "string",
988
+ "enum": [
989
+ "none",
990
+ "selected",
991
+ "all"
992
+ ],
993
+ "description": "Whether the share exposes every offered endpoint, none, or the explicit subset."
966
994
  },
967
- "writable": {
995
+ "endpoints": {
968
996
  "type": "array",
969
997
  "items": { "type": "string" },
970
- "description": "Writable endpoints that plugin offers."
998
+ "description": "Subset for `selected`; absent or empty exposes nothing."
971
999
  }
972
1000
  },
973
- "required": [
974
- "plugin",
975
- "readable",
976
- "writable"
977
- ],
1001
+ "required": ["plugin", "mode"],
978
1002
  "additionalProperties": true
979
- }
1003
+ },
1004
+ "description": "Per-plugin policies; absent keeps the stored value."
980
1005
  }
981
1006
  },
982
1007
  "required": ["shareId"],
@@ -991,33 +1016,43 @@ window.__ModuleLoader__.load({
991
1016
  "type": "object",
992
1017
  "properties": {
993
1018
  "shareId": { "type": "string" },
994
- "capabilities": {
1019
+ "viewerPluginAccess": {
1020
+ "type": "string",
1021
+ "enum": [
1022
+ "none",
1023
+ "all",
1024
+ "custom"
1025
+ ],
1026
+ "description": "Global switch; absent keeps the stored value."
1027
+ },
1028
+ "viewerPlugins": {
995
1029
  "type": "array",
996
1030
  "items": {
997
1031
  "type": "object",
998
1032
  "properties": {
999
1033
  "plugin": {
1000
1034
  "type": "string",
1001
- "description": "Declaring plugin's package name."
1035
+ "description": "Plugin namespace this policy applies to."
1002
1036
  },
1003
- "readable": {
1004
- "type": "array",
1005
- "items": { "type": "string" },
1006
- "description": "Readable endpoints that plugin offers."
1037
+ "mode": {
1038
+ "type": "string",
1039
+ "enum": [
1040
+ "none",
1041
+ "selected",
1042
+ "all"
1043
+ ],
1044
+ "description": "Whether the share exposes every offered endpoint, none, or the explicit subset."
1007
1045
  },
1008
- "writable": {
1046
+ "endpoints": {
1009
1047
  "type": "array",
1010
1048
  "items": { "type": "string" },
1011
- "description": "Writable endpoints that plugin offers."
1049
+ "description": "Subset for `selected`; absent or empty exposes nothing."
1012
1050
  }
1013
1051
  },
1014
- "required": [
1015
- "plugin",
1016
- "readable",
1017
- "writable"
1018
- ],
1052
+ "required": ["plugin", "mode"],
1019
1053
  "additionalProperties": false
1020
- }
1054
+ },
1055
+ "description": "Per-plugin policies; absent keeps the stored value."
1021
1056
  }
1022
1057
  },
1023
1058
  "required": ["shareId"],
@@ -1034,36 +1069,48 @@ window.__ModuleLoader__.load({
1034
1069
  "type": "object",
1035
1070
  "properties": {
1036
1071
  "shareId": { "type": "string" },
1037
- "viewerCapabilities": {
1072
+ "viewerPluginAccess": {
1073
+ "type": "string",
1074
+ "enum": [
1075
+ "none",
1076
+ "all",
1077
+ "custom"
1078
+ ]
1079
+ },
1080
+ "viewerPlugins": {
1038
1081
  "type": "array",
1039
1082
  "items": {
1040
1083
  "type": "object",
1041
1084
  "properties": {
1042
1085
  "plugin": {
1043
1086
  "type": "string",
1044
- "description": "Declaring plugin's package name."
1087
+ "description": "Plugin namespace this policy applies to."
1045
1088
  },
1046
- "readable": {
1047
- "type": "array",
1048
- "items": { "type": "string" },
1049
- "description": "Readable endpoints that plugin offers."
1089
+ "mode": {
1090
+ "type": "string",
1091
+ "enum": [
1092
+ "none",
1093
+ "selected",
1094
+ "all"
1095
+ ],
1096
+ "description": "Whether the share exposes every offered endpoint, none, or the explicit subset."
1050
1097
  },
1051
- "writable": {
1098
+ "endpoints": {
1052
1099
  "type": "array",
1053
1100
  "items": { "type": "string" },
1054
- "description": "Writable endpoints that plugin offers."
1101
+ "description": "Subset for `selected`; absent or empty exposes nothing."
1055
1102
  }
1056
1103
  },
1057
- "required": [
1058
- "plugin",
1059
- "readable",
1060
- "writable"
1061
- ],
1104
+ "required": ["plugin", "mode"],
1062
1105
  "additionalProperties": true
1063
1106
  }
1064
1107
  }
1065
1108
  },
1066
- "required": ["shareId", "viewerCapabilities"],
1109
+ "required": [
1110
+ "shareId",
1111
+ "viewerPluginAccess",
1112
+ "viewerPlugins"
1113
+ ],
1067
1114
  "additionalProperties": true
1068
1115
  }
1069
1116
  },
@@ -1400,7 +1447,7 @@ window.__ModuleLoader__.load({
1400
1447
  const LIVESHARE_VIEWER_GLOBAL = "__DSH_LIVESHARE_VIEWER__";
1401
1448
  //#endregion
1402
1449
  //#region \0dsh-css:/Users/songli/deepseek-harness/packages/experimental/liveshare/src/client/ShareDialog.module.css.mjs
1403
- const css$6 = ".jfFfmq_modal{width:min(520px,100%);max-height:100%}.jfFfmq_form{--dsh-scrollbar-thumb:var(--dsw-alias-scrollbar-bg-l2);--dsh-scrollbar-thumb-hover:var(--dsw-alias-scrollbar-hover-l2);flex-direction:column;gap:14px;width:100%;min-height:0;max-height:100%;display:flex;overflow-y:auto}.jfFfmq_panel{flex-direction:column;width:100%;min-height:0;max-height:100%;display:flex}.jfFfmq_sessionTitle{text-overflow:ellipsis;white-space:nowrap;max-width:280px;color:var(--dsw-alias-label-secondary);font-size:12px;overflow:hidden}.jfFfmq_panelHeader{align-items:center;gap:6px;padding:14px 16px 10px;display:flex}.jfFfmq_panelTitleBlock{flex-direction:column;min-width:0;display:flex}.jfFfmq_panelTitle{margin:0;font-size:15px;font-weight:600}.jfFfmq_headerGap{flex:1}.jfFfmq_iconAction,.jfFfmq_textAction{color:var(--dsw-alias-label-secondary);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:6px;justify-content:center;align-items:center;padding:4px;font-size:12px;display:inline-flex}@media (hover:hover){.jfFfmq_iconAction:hover,.jfFfmq_textAction:hover{background:var(--dsw-alias-bg-layer-2);color:var(--dsw-alias-label-primary)}}.jfFfmq_body{--dsh-scrollbar-thumb:var(--dsw-alias-scrollbar-bg-l2);--dsh-scrollbar-thumb-hover:var(--dsw-alias-scrollbar-hover-l2);flex-direction:column;gap:12px;padding:0 16px 4px;display:flex;overflow-y:auto}.jfFfmq_panelFooter{justify-content:flex-end;gap:8px;padding:12px 16px 16px;display:flex}.jfFfmq_row{justify-content:space-between;align-items:center;gap:12px;font-size:13px;display:flex}.jfFfmq_rowLabel{color:var(--dsw-alias-label-primary);white-space:nowrap;flex-shrink:0}.jfFfmq_hint{color:var(--dsw-alias-label-secondary);margin:0;font-size:12px}.jfFfmq_identityName{color:var(--dsw-alias-label-primary)}.jfFfmq_description{color:var(--dsw-alias-label-secondary);margin:0}.jfFfmq_diagnostics{color:var(--dsw-alias-label-secondary);flex-direction:column;gap:6px;font-size:12px;display:flex}.jfFfmq_diagnostics summary,.jfFfmq_outgoing summary{cursor:pointer}.jfFfmq_field{flex-direction:column;gap:6px;display:flex}.jfFfmq_accountRow{align-items:center;gap:6px;min-height:24px;display:flex}.jfFfmq_identityAvatar{corner-shape:round;object-fit:cover;border-radius:50%;width:20px;height:20px}.jfFfmq_relayInput{flex:1;min-width:0}.jfFfmq_relayInput input{font-family:var(--ds-font-family-code)}.jfFfmq_label{color:var(--dsw-alias-label-secondary);font-size:12px}.jfFfmq_capabilities{border:.5px solid var(--dsw-alias-border-l2);border-radius:8px;flex-direction:column;gap:8px;margin:0;padding:8px 10px 10px;display:flex}.jfFfmq_capabilities legend{padding:0 4px}.jfFfmq_linkRow{align-items:center;gap:8px;display:flex}.jfFfmq_link{min-width:0;color:var(--dsw-alias-brand-primary);overflow-wrap:anywhere;flex:1}.jfFfmq_error{color:var(--dsw-alias-state-error-primary);font-size:12px}.jfFfmq_testing{color:var(--dsw-alias-label-secondary);font-size:12px}.jfFfmq_testOk{color:var(--dsw-static-green-500);font-size:12px}.jfFfmq_testWarn{color:var(--dsw-static-amber-500);font-size:12px}.jfFfmq_testFail{color:var(--dsw-alias-state-error-primary);font-size:12px}.jfFfmq_requests,.jfFfmq_outgoing{border-top:.5px solid var(--dsw-alias-border-l2);flex-direction:column;gap:8px;padding-top:12px;display:flex}.jfFfmq_noRequests{color:var(--dsw-alias-label-secondary);margin:0;font-size:12px}.jfFfmq_outgoingList{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.jfFfmq_outgoingItem{border:.5px solid var(--dsw-alias-border-l2);border-radius:8px;flex-direction:column;gap:4px;padding:10px;font-size:12px;display:flex}.jfFfmq_outgoingTop{justify-content:space-between;gap:8px;min-width:0;display:flex}.jfFfmq_managerRow{grid-template-columns:minmax(0,1fr) 80px auto;align-items:center;gap:8px;min-width:0;display:grid}.jfFfmq_managerRow strong{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.jfFfmq_managerRow>:last-child{justify-self:end}.jfFfmq_managerActions{justify-self:end;gap:4px;display:flex}.jfFfmq_outgoingTop strong{overflow-wrap:anywhere;min-width:0}.jfFfmq_outgoingToggle{cursor:pointer;align-items:center;gap:6px;display:flex}.jfFfmq_online,.jfFfmq_offline{color:var(--dsw-alias-label-secondary);flex:none}.jfFfmq_online:before,.jfFfmq_offline:before{corner-shape:round;background:var(--dsw-alias-label-tertiary);content:\"\";border-radius:50%;width:6px;height:6px;margin-right:5px;display:inline-block}.jfFfmq_online:before{background:var(--dsw-static-green-500)}.jfFfmq_outgoingLink{color:var(--dsw-alias-brand-primary);overflow-wrap:anywhere}.jfFfmq_outgoingItem time{color:var(--dsw-alias-label-tertiary)}.jfFfmq_outgoingActions{flex-wrap:wrap;gap:6px;margin-top:4px;display:flex}.jfFfmq_subjectRow{align-items:center;gap:8px;display:flex}.jfFfmq_subjectList{flex-wrap:wrap;gap:6px;display:flex}.jfFfmq_subjectChip{border:.5px solid var(--dsw-alias-border-l2);corner-shape:round;background:var(--dsw-alias-bg-layer-2);height:24px;color:var(--dsw-alias-label-primary);font:inherit;cursor:pointer;border-radius:12px;padding:0 10px;font-size:12px}.jfFfmq_requestList{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.jfFfmq_requestItem{border:.5px solid var(--dsw-alias-border-l2);border-radius:8px;grid-template-columns:1fr auto;gap:2px 12px;padding:8px 10px;font-size:12px;display:grid}.jfFfmq_requestItem time{color:var(--dsw-alias-label-tertiary);grid-column:1/-1}";
1450
+ const css$6 = ".jfFfmq_modal{width:min(520px,100%);max-height:100%}.jfFfmq_form{--dsh-scrollbar-thumb:var(--dsw-alias-scrollbar-bg-l2);--dsh-scrollbar-thumb-hover:var(--dsw-alias-scrollbar-hover-l2);flex-direction:column;gap:14px;width:100%;min-height:0;max-height:100%;display:flex;overflow-y:auto}.jfFfmq_panel{flex-direction:column;width:100%;min-height:0;max-height:100%;display:flex}.jfFfmq_sessionTitle{text-overflow:ellipsis;white-space:nowrap;max-width:280px;color:var(--dsw-alias-label-secondary);font-size:12px;overflow:hidden}.jfFfmq_panelHeader{align-items:center;gap:6px;padding:14px 16px 10px;display:flex}.jfFfmq_panelTitleBlock{flex-direction:column;min-width:0;display:flex}.jfFfmq_panelTitle{margin:0;font-size:15px;font-weight:600}.jfFfmq_headerGap{flex:1}.jfFfmq_iconAction,.jfFfmq_textAction{color:var(--dsw-alias-label-secondary);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:6px;justify-content:center;align-items:center;padding:4px;font-size:12px;display:inline-flex}@media (hover:hover){.jfFfmq_iconAction:hover,.jfFfmq_textAction:hover{background:var(--dsw-alias-bg-layer-2);color:var(--dsw-alias-label-primary)}}.jfFfmq_body{--dsh-scrollbar-thumb:var(--dsw-alias-scrollbar-bg-l2);--dsh-scrollbar-thumb-hover:var(--dsw-alias-scrollbar-hover-l2);flex-direction:column;gap:12px;padding:0 16px 4px;display:flex;overflow-y:auto}.jfFfmq_panelFooter{justify-content:flex-end;gap:8px;padding:12px 16px 16px;display:flex}.jfFfmq_row{justify-content:space-between;align-items:center;gap:12px;font-size:13px;display:flex}.jfFfmq_rowLabel{color:var(--dsw-alias-label-primary);white-space:nowrap;flex-shrink:0}.jfFfmq_hint{color:var(--dsw-alias-label-secondary);margin:0;font-size:12px}.jfFfmq_warning{color:var(--dsw-alias-label-primary);margin:0;font-size:12px}.jfFfmq_identityName{color:var(--dsw-alias-label-primary)}.jfFfmq_description{color:var(--dsw-alias-label-secondary);margin:0}.jfFfmq_diagnostics{color:var(--dsw-alias-label-secondary);flex-direction:column;gap:6px;font-size:12px;display:flex}.jfFfmq_diagnostics summary,.jfFfmq_outgoing summary{cursor:pointer}.jfFfmq_field{flex-direction:column;gap:6px;display:flex}.jfFfmq_accountRow{align-items:center;gap:6px;min-height:24px;display:flex}.jfFfmq_identityAvatar{corner-shape:round;object-fit:cover;border-radius:50%;width:20px;height:20px}.jfFfmq_relayInput{flex:1;min-width:0}.jfFfmq_relayInput input{font-family:var(--ds-font-family-code)}.jfFfmq_label{color:var(--dsw-alias-label-secondary);font-size:12px}.jfFfmq_capabilities{border:.5px solid var(--dsw-alias-border-l2);border-radius:8px;flex-direction:column;gap:8px;margin:0;padding:8px 10px 10px;display:flex}.jfFfmq_capabilities legend{padding:0 4px}.jfFfmq_permissions{flex-direction:column;gap:14px;display:flex}.jfFfmq_permissionSections{flex-direction:column;gap:16px;display:flex}.jfFfmq_permissionBlock{flex-direction:column;gap:6px;display:flex}.jfFfmq_methodItem{flex-direction:column;gap:2px;display:flex}.jfFfmq_methodDescription{color:var(--dsw-alias-label-secondary);-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:0 0 4px 24px;font-size:11px;line-height:1.35;display:-webkit-box;overflow:hidden}.jfFfmq_permissionBlock+.jfFfmq_permissionBlock{border-top:.5px solid var(--dsw-alias-border-l2);padding-top:14px}.jfFfmq_capabilityList{flex-direction:column;gap:8px;max-height:260px;padding-right:4px;display:flex;overflow-y:auto}.jfFfmq_capabilityPlugin{flex-direction:column;gap:4px;display:flex}.jfFfmq_methodList{flex-direction:column;gap:2px;max-height:180px;padding-left:8px;display:flex;overflow-y:auto}.jfFfmq_linkRow{align-items:center;gap:8px;display:flex}.jfFfmq_link{min-width:0;color:var(--dsw-alias-brand-primary);overflow-wrap:anywhere;flex:1}.jfFfmq_error{color:var(--dsw-alias-state-error-primary);font-size:12px}.jfFfmq_testing{color:var(--dsw-alias-label-secondary);font-size:12px}.jfFfmq_testOk{color:var(--dsw-static-green-500);font-size:12px}.jfFfmq_testWarn{color:var(--dsw-static-amber-500);font-size:12px}.jfFfmq_testFail{color:var(--dsw-alias-state-error-primary);font-size:12px}.jfFfmq_requests,.jfFfmq_outgoing{border-top:.5px solid var(--dsw-alias-border-l2);flex-direction:column;gap:8px;padding-top:12px;display:flex}.jfFfmq_noRequests{color:var(--dsw-alias-label-secondary);margin:0;font-size:12px}.jfFfmq_outgoingList{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.jfFfmq_outgoingItem{border:.5px solid var(--dsw-alias-border-l2);border-radius:8px;flex-direction:column;gap:4px;padding:10px;font-size:12px;display:flex}.jfFfmq_outgoingTop{justify-content:space-between;gap:8px;min-width:0;display:flex}.jfFfmq_managerRow{grid-template-columns:minmax(0,1fr) 80px auto;align-items:center;gap:8px;min-width:0;display:grid}.jfFfmq_managerRow strong{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.jfFfmq_managerRow>:last-child{justify-self:end}.jfFfmq_managerActions{justify-self:end;gap:4px;display:flex}.jfFfmq_outgoingTop strong{overflow-wrap:anywhere;min-width:0}.jfFfmq_outgoingToggle{cursor:pointer;align-items:center;gap:6px;display:flex}.jfFfmq_online,.jfFfmq_offline{color:var(--dsw-alias-label-secondary);flex:none}.jfFfmq_online:before,.jfFfmq_offline:before{corner-shape:round;background:var(--dsw-alias-label-tertiary);content:\"\";border-radius:50%;width:6px;height:6px;margin-right:5px;display:inline-block}.jfFfmq_online:before{background:var(--dsw-static-green-500)}.jfFfmq_outgoingLink{color:var(--dsw-alias-brand-primary);overflow-wrap:anywhere}.jfFfmq_outgoingItem time{color:var(--dsw-alias-label-tertiary)}.jfFfmq_outgoingActions{flex-wrap:wrap;gap:6px;margin-top:4px;display:flex}.jfFfmq_subjectRow{align-items:center;gap:8px;display:flex}.jfFfmq_subjectList{flex-wrap:wrap;gap:6px;display:flex}.jfFfmq_subjectChip{border:.5px solid var(--dsw-alias-border-l2);corner-shape:round;background:var(--dsw-alias-bg-layer-2);height:24px;color:var(--dsw-alias-label-primary);font:inherit;cursor:pointer;border-radius:12px;padding:0 10px;font-size:12px}.jfFfmq_requestList{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.jfFfmq_requestItem{border:.5px solid var(--dsw-alias-border-l2);border-radius:8px;grid-template-columns:1fr auto;gap:2px 12px;padding:8px 10px;font-size:12px;display:grid}.jfFfmq_requestItem time{color:var(--dsw-alias-label-tertiary);grid-column:1/-1}.jfFfmq_methodDescription:empty{display:none}";
1404
1451
  const tagId$6 = "@deepseek-ai/dsh-experimental-liveshare/ShareDialog.module.css";
1405
1452
  if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$6) + "]") === null) {
1406
1453
  const tag = document.createElement("style");
@@ -1413,6 +1460,8 @@ window.__ModuleLoader__.load({
1413
1460
  "accountRow": "jfFfmq_accountRow",
1414
1461
  "body": "jfFfmq_body",
1415
1462
  "capabilities": "jfFfmq_capabilities",
1463
+ "capabilityList": "jfFfmq_capabilityList",
1464
+ "capabilityPlugin": "jfFfmq_capabilityPlugin",
1416
1465
  "description": "jfFfmq_description",
1417
1466
  "diagnostics": "jfFfmq_diagnostics",
1418
1467
  "error": "jfFfmq_error",
@@ -1428,6 +1477,9 @@ window.__ModuleLoader__.load({
1428
1477
  "linkRow": "jfFfmq_linkRow",
1429
1478
  "managerActions": "jfFfmq_managerActions",
1430
1479
  "managerRow": "jfFfmq_managerRow",
1480
+ "methodDescription": "jfFfmq_methodDescription",
1481
+ "methodItem": "jfFfmq_methodItem",
1482
+ "methodList": "jfFfmq_methodList",
1431
1483
  "modal": "jfFfmq_modal",
1432
1484
  "noRequests": "jfFfmq_noRequests",
1433
1485
  "offline": "jfFfmq_offline",
@@ -1444,6 +1496,9 @@ window.__ModuleLoader__.load({
1444
1496
  "panelHeader": "jfFfmq_panelHeader",
1445
1497
  "panelTitle": "jfFfmq_panelTitle",
1446
1498
  "panelTitleBlock": "jfFfmq_panelTitleBlock",
1499
+ "permissionBlock": "jfFfmq_permissionBlock",
1500
+ "permissionSections": "jfFfmq_permissionSections",
1501
+ "permissions": "jfFfmq_permissions",
1447
1502
  "relayInput": "jfFfmq_relayInput",
1448
1503
  "requestItem": "jfFfmq_requestItem",
1449
1504
  "requestList": "jfFfmq_requestList",
@@ -1458,7 +1513,8 @@ window.__ModuleLoader__.load({
1458
1513
  "testOk": "jfFfmq_testOk",
1459
1514
  "testWarn": "jfFfmq_testWarn",
1460
1515
  "testing": "jfFfmq_testing",
1461
- "textAction": "jfFfmq_textAction"
1516
+ "textAction": "jfFfmq_textAction",
1517
+ "warning": "jfFfmq_warning"
1462
1518
  };
1463
1519
  //#endregion
1464
1520
  //#region lib/types/client/ManageSharesDialog.js
@@ -2208,42 +2264,159 @@ window.__ModuleLoader__.load({
2208
2264
  //#endregion
2209
2265
  //#region lib/types/client/ShareCapabilitiesPicker.js
2210
2266
  /**
2211
- * The endpoints one tier exposes, expanded from what the plugins declare now.
2267
+ * The interface language this page renders in.
2268
+ * @returns A lowercase language tag, or `en` outside a document.
2269
+ */
2270
+ function activeLanguage() {
2271
+ /* v8 ignore next -- split returns at least one element, so the tag itself always answers. */
2272
+ return (document.documentElement.lang || "en").split("-")[0]?.toLowerCase() ?? "en";
2273
+ }
2274
+ /**
2275
+ * Turn a package or namespace identifier into a readable fallback label.
2276
+ * @param value - Package name or namespace.
2277
+ * @returns Words with normal spacing and an initial capital.
2278
+ */
2279
+ function humanize(value) {
2280
+ const sentence = (value.split("/").pop() ?? value).replace(/^dsh-/, "").replace(/^experimental-/, "").replace(/([a-z0-9])([A-Z])/g, "$1 $2").replace(/[-_]+/g, " ").trim().toLowerCase();
2281
+ return sentence === "" ? value : sentence.charAt(0).toUpperCase() + sentence.slice(1);
2282
+ }
2283
+ /**
2284
+ * The product name to show for one plugin group.
2212
2285
  *
2213
- * `read` carries every readable endpoint and no writable one; `write` carries both kinds, because it
2214
- * is the wider tier rather than writable endpoints alone. A plugin with nothing to expose under the
2215
- * tier is left out, exactly as a group that names no endpoint. Expansion at save time is what keeps a
2216
- * record an explicit endpoint list: an endpoint a plugin declares later is not in this expansion, so
2217
- * it stays closed until the owner saves again.
2218
- * @param offered - Endpoints the host currently offers.
2219
- * @param tier - Tier to expand.
2220
- * @returns The `capabilities` array the owner API validates against the same offers.
2286
+ * A localized title from the package's locale files wins; English is the fallback. A missing or
2287
+ * package-shaped English title falls back to the package's last segment, then to the namespace.
2288
+ * @param group - Offered plugin.
2289
+ * @param language - Active interface language.
2290
+ * @returns The display name.
2291
+ */
2292
+ function pluginDisplayName(group, language) {
2293
+ const titles = group.titles;
2294
+ const localized = titles?.[language];
2295
+ if (localized !== void 0 && localized !== "") return localized;
2296
+ const english = titles?.en;
2297
+ const packageSegment = group.package?.split("/").pop();
2298
+ const packageWords = packageSegment?.replace(/^(dsh|experimental)-/, "");
2299
+ if (english !== void 0 && english !== "" && english !== packageSegment && english !== packageWords) return english;
2300
+ return humanize(packageSegment ?? group.plugin);
2301
+ }
2302
+ /**
2303
+ * The exposure one plugin has in a share's policies.
2304
+ * @param selection - Policies the share record names.
2305
+ * @param plugin - Plugin namespace to read.
2306
+ * @returns The exposure for that plugin.
2307
+ */
2308
+ function pluginExposure(selection, plugin) {
2309
+ const policy = selection.find((entry) => entry.plugin === plugin);
2310
+ if (policy === void 0 || policy.mode === "none") return "none";
2311
+ return policy.mode === "all" ? "all" : "partial";
2312
+ }
2313
+ /**
2314
+ * The endpoints one policy effectively exposes for one offered plugin.
2315
+ * @param offered - Catalog the host currently offers.
2316
+ * @param policy - Policy to expand.
2317
+ * @returns The endpoints the policy names, or an empty list when the plugin is not offered.
2318
+ */
2319
+ function policyEndpoints(offered, policy) {
2320
+ const endpoints = offered.find((group) => group.plugin === policy.plugin)?.endpoints ?? [];
2321
+ if (policy.mode === "all") return endpoints;
2322
+ if (policy.mode === "none") return [];
2323
+ return (policy.endpoints ?? []).filter((endpoint) => endpoints.includes(endpoint));
2324
+ }
2325
+ /**
2326
+ * Whether one endpoint is exposed by a share's policies.
2327
+ * @param offered - Catalog the host currently offers.
2328
+ * @param selection - Policies the share record names.
2329
+ * @param plugin - Plugin namespace to read.
2330
+ * @param endpoint - Endpoint to test.
2331
+ * @returns True when the endpoint is exposed.
2332
+ */
2333
+ function endpointSelected(offered, selection, plugin, endpoint) {
2334
+ const policy = selection.find((entry) => entry.plugin === plugin);
2335
+ return policy === void 0 ? false : policyEndpoints(offered, policy).includes(endpoint);
2336
+ }
2337
+ /**
2338
+ * Replace one plugin's policy, keeping the other plugins in their current order.
2339
+ * @param selection - Current policies.
2340
+ * @param policy - Replacement policy.
2341
+ * @returns The new policies.
2342
+ */
2343
+ function replacePolicy(selection, policy) {
2344
+ return [...selection.filter((entry) => entry.plugin !== policy.plugin), policy];
2345
+ }
2346
+ /**
2347
+ * Set one plugin's exposure.
2348
+ * @param offered - Catalog the host currently offers.
2349
+ * @param selection - Current policies.
2350
+ * @param plugin - Plugin namespace to change.
2351
+ * @param exposure - Exposure to set.
2352
+ * @returns The new policies.
2353
+ */
2354
+ function setPluginExposure(offered, selection, plugin, exposure) {
2355
+ if (exposure === "none") return selection.filter((policy) => policy.plugin !== plugin);
2356
+ if (exposure === "all") return replacePolicy(selection, {
2357
+ plugin,
2358
+ mode: "all"
2359
+ });
2360
+ const existing = selection.find((policy) => policy.plugin === plugin);
2361
+ return replacePolicy(selection, {
2362
+ plugin,
2363
+ mode: "selected",
2364
+ endpoints: [...existing === void 0 ? [] : policyEndpoints(offered, existing)].sort()
2365
+ });
2366
+ }
2367
+ /**
2368
+ * Select or clear one endpoint for a plugin.
2369
+ * @param offered - Catalog the host currently offers.
2370
+ * @param selection - Current policies.
2371
+ * @param plugin - Plugin namespace to change.
2372
+ * @param endpoint - Endpoint to change.
2373
+ * @param selected - Whether it should be exposed.
2374
+ * @returns The new policies.
2221
2375
  */
2222
- function tierSelection(offered, tier) {
2376
+ function setEndpointSelected(offered, selection, plugin, endpoint, selected) {
2377
+ const offeredGroup = offered.find((group) => group.plugin === plugin);
2378
+ if (offeredGroup === void 0 || !offeredGroup.endpoints.includes(endpoint)) return selection;
2379
+ const existing = selection.find((policy) => policy.plugin === plugin);
2380
+ const endpoints = new Set(existing === void 0 ? [] : policyEndpoints(offered, existing));
2381
+ if (selected) endpoints.add(endpoint);
2382
+ else endpoints.delete(endpoint);
2383
+ return replacePolicy(selection, {
2384
+ plugin,
2385
+ mode: "selected",
2386
+ endpoints: [...endpoints].sort()
2387
+ });
2388
+ }
2389
+ /**
2390
+ * Narrow one policy list to what the host currently offers, dropping closed plugins.
2391
+ * @param offered - Catalog the host currently offers.
2392
+ * @param selection - Policies to write back.
2393
+ * @returns The policies the owner API accepts for this catalog.
2394
+ */
2395
+ function selectionForOffered(offered, selection) {
2223
2396
  return offered.flatMap((group) => {
2224
- const readable = tier === "none" ? [] : [...group.readable];
2225
- const writable = tier === "write" ? [...group.writable] : [];
2226
- return readable.length === 0 && writable.length === 0 ? [] : [{
2397
+ const policy = selection.find((entry) => entry.plugin === group.plugin);
2398
+ if (policy === void 0 || policy.mode === "none") return [];
2399
+ if (policy.mode === "all") return [{
2227
2400
  plugin: group.plugin,
2228
- readable,
2229
- writable
2401
+ mode: "all"
2402
+ }];
2403
+ const endpoints = (policy.endpoints ?? []).filter((endpoint) => group.endpoints.includes(endpoint)).sort();
2404
+ return endpoints.length === 0 ? [] : [{
2405
+ plugin: group.plugin,
2406
+ mode: "selected",
2407
+ endpoints
2230
2408
  }];
2231
2409
  });
2232
2410
  }
2233
2411
  /**
2234
- * The endpoints one group list names, as comparable keys.
2235
- *
2236
- * The plugin and the kind are part of each key because the same name may be offered as readable by one
2237
- * plugin and writable by another.
2238
- * @param groups - Groups read from a share record.
2239
- * @returns One key per named endpoint, sorted.
2412
+ * The endpoints one policy list exposes, as comparable keys.
2413
+ * @param offered - Catalog the host currently offers.
2414
+ * @param selection - Policies read from a share record.
2415
+ * @returns One key per exposed endpoint, sorted.
2240
2416
  */
2241
- function selectionKeys(groups) {
2417
+ function selectionKeys(offered, selection) {
2242
2418
  const keys = [];
2243
- for (const group of groups) {
2244
- for (const endpoint of group.readable) keys.push(`${group.plugin}\u0000readable\u0000${endpoint}`);
2245
- for (const endpoint of group.writable) keys.push(`${group.plugin}\u0000writable\u0000${endpoint}`);
2246
- }
2419
+ for (const policy of selection) for (const endpoint of policyEndpoints(offered, policy)) keys.push(`${policy.plugin}\u0000${endpoint}`);
2247
2420
  return keys.sort();
2248
2421
  }
2249
2422
  /**
@@ -2256,117 +2429,112 @@ window.__ModuleLoader__.load({
2256
2429
  return left.length === right.length && left.every((key, index) => key === right[index]);
2257
2430
  }
2258
2431
  /**
2259
- * The tier one share's stored selection is, and whether it is a whole tier at all.
2260
- *
2261
- * A record that matches no tier is not shown as one: the control holds the default and the panel
2262
- * states that saving replaces the record, because the record names a subset no tier represents — a
2263
- * selection made before every endpoint was offered again, or one this page cannot attribute.
2264
- * @param offered - Endpoints the host currently offers.
2265
- * @param stored - Selection the host reported for this share.
2266
- * @returns The matching tier, or the default with `stale` when the record matches none.
2267
- */
2268
- function readStoredTier(offered, stored) {
2269
- const keys = selectionKeys(stored);
2270
- if (keys.length === 0) return {
2271
- tier: "none",
2272
- stale: false
2273
- };
2274
- if (offered.some((group) => group.writable.length > 0) && sameKeys(keys, selectionKeys(tierSelection(offered, "write")))) return {
2275
- tier: "write",
2276
- stale: false
2277
- };
2278
- if (sameKeys(keys, selectionKeys(tierSelection(offered, "read")))) return {
2279
- tier: "read",
2280
- stale: false
2281
- };
2282
- return {
2283
- tier: "none",
2284
- stale: true
2285
- };
2286
- }
2287
- /**
2288
- * Render the endpoint tier control, its caveats, and what the current tier exposes.
2289
- * @param props - The live offers, the tier in force, and localized copy.
2290
- * @returns The control, or nothing when no plugin offers an endpoint.
2432
+ * Render the global switch, a search field, and one row per installed plugin with its method
2433
+ * checkboxes for a partial selection. Only the custom switch shows the per-plugin list.
2434
+ * @param props - The live catalog, the current policies, and localized copy.
2435
+ * @returns The control, or nothing when no plugin offers a method.
2291
2436
  */
2292
- function ShareCapabilitiesPicker({ offered, tier, stale, disabled, controlId, onPick, t }) {
2293
- if (offered.length === 0) return null;
2294
- /** Whether any offered plugin declares a readable endpoint, which is what the read tier exposes. */
2295
- const readableOffered = offered.some((group) => group.readable.length > 0);
2296
- /** Whether any offered plugin declares a writable endpoint, which is what the write tier adds. */
2297
- const writableOffered = offered.some((group) => group.writable.length > 0);
2298
- /** Every readable endpoint the offer carries, which is what the read tier writes into the record. */
2299
- const readableOfferedCount = offered.reduce((count, group) => count + group.readable.length, 0);
2300
- /** Every writable endpoint the offer carries, which is what the write tier adds to the record. */
2301
- const writableOfferedCount = offered.reduce((count, group) => count + group.writable.length, 0);
2302
- /** The three tiers, with the ones the live offer cannot fill stated as unavailable. */
2303
- const tierOptions = [
2437
+ function ShareCapabilitiesPicker({ offered, access, selection, disabled, controlId, onAccessChange, onChange, t }) {
2438
+ const groups = offered.filter((group) => group.endpoints.length > 0);
2439
+ if (groups.length === 0) return null;
2440
+ const language = activeLanguage();
2441
+ const globalOptions = [
2442
+ {
2443
+ value: "none",
2444
+ label: t("dialog.capabilities.global.none")
2445
+ },
2446
+ {
2447
+ value: "custom",
2448
+ label: t("dialog.capabilities.global.custom")
2449
+ },
2450
+ {
2451
+ value: "all",
2452
+ label: t("dialog.capabilities.global.all")
2453
+ }
2454
+ ];
2455
+ const options = [
2304
2456
  {
2305
2457
  value: "none",
2306
2458
  label: t("dialog.capabilities.tier.none")
2307
2459
  },
2308
2460
  {
2309
- value: "read",
2310
- label: t("dialog.capabilities.tier.read"),
2311
- ...readableOffered ? {} : {
2312
- disabled: true,
2313
- title: t("dialog.capabilities.noReadable")
2314
- }
2461
+ value: "all",
2462
+ label: t("dialog.capabilities.tier.all")
2315
2463
  },
2316
2464
  {
2317
- value: "write",
2318
- label: t("dialog.capabilities.tier.write"),
2319
- ...writableOffered ? {} : {
2320
- disabled: true,
2321
- title: t("dialog.capabilities.noWritable")
2322
- }
2465
+ value: "partial",
2466
+ label: t("dialog.capabilities.partial")
2323
2467
  }
2324
2468
  ];
2325
- /**
2326
- * The one line stating what this share exposes right now.
2327
- * @returns The localized summary of the current exposure.
2328
- */
2329
- const capabilitySummary = () => {
2330
- if (stale) return t("dialog.capabilities.stale");
2331
- if (tier === "read") return t("dialog.capabilities.summary.read", { count: readableOfferedCount });
2332
- if (tier === "write") return t("dialog.capabilities.summary.write", {
2333
- readable: readableOfferedCount,
2334
- writable: writableOfferedCount
2335
- });
2336
- return t("dialog.capabilities.none");
2469
+ const pickAccess = (next) => {
2470
+ if (next !== "custom") onChange([]);
2471
+ onAccessChange(next);
2337
2472
  };
2338
- return (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [
2339
- (0, react_jsx_runtime.jsx)("p", {
2340
- className: ShareDialog_module_css_default.hint,
2341
- children: t("dialog.capabilities.description")
2342
- }),
2343
- (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.SegmentedControl, {
2344
- id: controlId,
2345
- label: t("dialog.capabilities"),
2346
- value: tier,
2473
+ const pickPlugin = (plugin, next) => {
2474
+ const policies = setPluginExposure(offered, selection, plugin, next);
2475
+ onAccessChange(policies.length === 0 ? "none" : "custom");
2476
+ onChange(policies);
2477
+ };
2478
+ return (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [(0, react_jsx_runtime.jsxs)("div", {
2479
+ className: ShareDialog_module_css_default.row,
2480
+ children: [(0, react_jsx_runtime.jsx)("span", {
2481
+ className: ShareDialog_module_css_default.rowLabel,
2482
+ children: t("dialog.capabilities.global")
2483
+ }), (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.SegmentedControl, {
2484
+ id: controlId + "-global",
2485
+ label: t("dialog.capabilities.global"),
2486
+ value: access,
2347
2487
  disabled,
2348
- options: tierOptions,
2349
- onChange: (next) => {
2350
- onPick(next);
2351
- }
2352
- }),
2353
- writableOffered ? (0, react_jsx_runtime.jsx)("span", {
2354
- className: ShareDialog_module_css_default.testWarn,
2355
- children: t("dialog.capabilities.writeHint")
2356
- }) : null,
2357
- readableOffered ? null : (0, react_jsx_runtime.jsx)("span", {
2358
- className: ShareDialog_module_css_default.hint,
2359
- children: t("dialog.capabilities.noReadable")
2360
- }),
2361
- writableOffered ? null : (0, react_jsx_runtime.jsx)("span", {
2362
- className: ShareDialog_module_css_default.hint,
2363
- children: t("dialog.capabilities.noWritable")
2364
- }),
2365
- (0, react_jsx_runtime.jsx)("span", {
2366
- className: stale ? ShareDialog_module_css_default.testWarn : tier === "none" ? ShareDialog_module_css_default.hint : ShareDialog_module_css_default.testOk,
2367
- children: capabilitySummary()
2488
+ options: globalOptions,
2489
+ onChange: pickAccess
2490
+ })]
2491
+ }), access === "custom" ? (0, react_jsx_runtime.jsx)(react_jsx_runtime.Fragment, { children: (0, react_jsx_runtime.jsx)("div", {
2492
+ className: ShareDialog_module_css_default.capabilityList,
2493
+ children: groups.map((group, index) => {
2494
+ const exposure = pluginExposure(selection, group.plugin);
2495
+ const name = pluginDisplayName(group, language);
2496
+ return (0, react_jsx_runtime.jsxs)("div", {
2497
+ className: ShareDialog_module_css_default.capabilityPlugin,
2498
+ children: [(0, react_jsx_runtime.jsxs)("div", {
2499
+ className: ShareDialog_module_css_default.row,
2500
+ children: [(0, react_jsx_runtime.jsx)("span", {
2501
+ className: ShareDialog_module_css_default.rowLabel,
2502
+ title: group.plugin,
2503
+ children: name
2504
+ }), (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.SegmentedControl, {
2505
+ id: `${controlId}-plugin-${String(index)}`,
2506
+ label: name,
2507
+ value: exposure,
2508
+ disabled,
2509
+ options,
2510
+ onChange: (next) => {
2511
+ pickPlugin(group.plugin, next);
2512
+ }
2513
+ })]
2514
+ }), exposure === "partial" ? (0, react_jsx_runtime.jsx)("div", {
2515
+ className: ShareDialog_module_css_default.methodList,
2516
+ children: group.endpoints.map((endpoint) => {
2517
+ const description = group.descriptions?.[endpoint];
2518
+ return (0, react_jsx_runtime.jsxs)("div", {
2519
+ className: ShareDialog_module_css_default.methodItem,
2520
+ children: [(0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Checkbox, {
2521
+ label: endpoint.slice(endpoint.lastIndexOf("/") + 1),
2522
+ checked: endpointSelected(offered, selection, group.plugin, endpoint),
2523
+ disabled,
2524
+ onChange: (checked) => {
2525
+ onChange(setEndpointSelected(offered, selection, group.plugin, endpoint, checked));
2526
+ }
2527
+ }), (0, react_jsx_runtime.jsx)("p", {
2528
+ className: ShareDialog_module_css_default.methodDescription,
2529
+ title: description,
2530
+ children: description
2531
+ })]
2532
+ }, endpoint);
2533
+ })
2534
+ }) : null]
2535
+ }, group.plugin);
2368
2536
  })
2369
- ] });
2537
+ }) }) : null] });
2370
2538
  }
2371
2539
  //#endregion
2372
2540
  //#region lib/types/client/share-types.js
@@ -2388,7 +2556,7 @@ window.__ModuleLoader__.load({
2388
2556
  }
2389
2557
  /**
2390
2558
  * Read one endpoint list out of a decoded entry.
2391
- * @param value Raw `readable` or `writable` field.
2559
+ * @param value Raw endpoint list field.
2392
2560
  * @returns The endpoint names, or undefined when the value is not an array of strings.
2393
2561
  */
2394
2562
  function readEndpointList(value) {
@@ -2401,35 +2569,84 @@ window.__ModuleLoader__.load({
2401
2569
  return endpoints;
2402
2570
  }
2403
2571
  /**
2404
- * Read one plugin's endpoint lists out of a decoded offer or selection entry.
2405
- * @param value Raw entry from the host's `capabilities` or `viewerCapabilities` array.
2406
- * @returns The group, or undefined when the entry is not a plugin name with two endpoint lists.
2572
+ * Read one share's global plugin switch.
2573
+ * @param value Raw `viewerPluginAccess` field.
2574
+ * @returns The reported switch; an unknown or absent value reads as `none`.
2407
2575
  */
2408
- function readCapabilityGroup(value) {
2409
- if (typeof value !== "object" || value === null) return void 0;
2410
- const group = value;
2411
- if (typeof group.plugin !== "string" || group.plugin === "") return void 0;
2412
- const readable = readEndpointList(group.readable);
2413
- const writable = readEndpointList(group.writable);
2414
- return readable === void 0 || writable === void 0 ? void 0 : {
2415
- plugin: group.plugin,
2416
- readable,
2417
- writable
2418
- };
2576
+ function readPluginAccess(value) {
2577
+ return value === "all" || value === "custom" ? value : "none";
2578
+ }
2579
+ /**
2580
+ * Normalize the host-reported catalog into the plugins this page can present.
2581
+ *
2582
+ * A Host that reports nothing, or one malformed entry, leaves no offer for that entry: an unreadable
2583
+ * offer is not one the owner may tick.
2584
+ * @param value Raw `capabilities` field.
2585
+ * @returns The offered plugins, in the order the host reported them.
2586
+ */
2587
+ function readOfferedPlugins(value) {
2588
+ if (!Array.isArray(value)) return [];
2589
+ return value.flatMap((entry) => {
2590
+ if (typeof entry !== "object" || entry === null) return [];
2591
+ const group = entry;
2592
+ if (typeof group.plugin !== "string" || group.plugin === "") return [];
2593
+ const endpoints = readEndpointList(group.endpoints);
2594
+ if (endpoints === void 0) return [];
2595
+ const packageName = typeof group.package === "string" && group.package !== "" ? group.package : void 0;
2596
+ const titles = readTitles(group.titles);
2597
+ const descriptions = readDescriptions(group.descriptions);
2598
+ return [{
2599
+ plugin: group.plugin,
2600
+ ...packageName === void 0 ? {} : { package: packageName },
2601
+ ...titles === void 0 ? {} : { titles },
2602
+ endpoints,
2603
+ ...descriptions === void 0 ? {} : { descriptions }
2604
+ }];
2605
+ });
2606
+ }
2607
+ /**
2608
+ * Read a plugin's localized title map out of one catalog entry.
2609
+ * @param value Raw `titles` field.
2610
+ * @returns The string-valued titles, or undefined when the field is not a map.
2611
+ */
2612
+ function readTitles(value) {
2613
+ if (typeof value !== "object" || value === null || Array.isArray(value)) return void 0;
2614
+ const titles = {};
2615
+ for (const [language, title] of Object.entries(value)) if (typeof title === "string" && title !== "") titles[language] = title;
2616
+ return titles;
2617
+ }
2618
+ /**
2619
+ * Read a plugin's endpoint descriptions.
2620
+ * @param value Raw `descriptions` field.
2621
+ * @returns One description per known endpoint, or undefined when none is readable.
2622
+ */
2623
+ function readDescriptions(value) {
2624
+ if (typeof value !== "object" || value === null || Array.isArray(value)) return void 0;
2625
+ const descriptions = {};
2626
+ for (const [endpoint, description] of Object.entries(value)) if (typeof description === "string" && description !== "") descriptions[endpoint] = description;
2627
+ return Object.keys(descriptions).length === 0 ? void 0 : descriptions;
2419
2628
  }
2420
2629
  /**
2421
- * Normalize one host-reported endpoint list into the entries this page can present.
2630
+ * Normalize one share's stored policies into the entries this page can edit.
2422
2631
  *
2423
- * A Host that reports nothing, reports a value this build cannot read, or reports one malformed entry
2424
- * leaves this page with no offer to present for it: an unreadable offer is not one the owner may tick.
2425
- * @param value Raw `capabilities` or `viewerCapabilities` field.
2426
- * @returns The readable groups, in the order the host reported them.
2632
+ * A Host that reports nothing, or one malformed entry, leaves that plugin closed.
2633
+ * @param value Raw `viewerPlugins` field.
2634
+ * @returns The policies this page can present, in host order.
2427
2635
  */
2428
- function readCapabilityGroups(value) {
2636
+ function readViewerPolicies(value) {
2429
2637
  if (!Array.isArray(value)) return [];
2430
2638
  return value.flatMap((entry) => {
2431
- const group = readCapabilityGroup(entry);
2432
- return group === void 0 ? [] : [group];
2639
+ if (typeof entry !== "object" || entry === null) return [];
2640
+ const policy = entry;
2641
+ if (typeof policy.plugin !== "string" || policy.plugin === "") return [];
2642
+ if (policy.mode !== "all" && policy.mode !== "none" && policy.mode !== "selected") return [];
2643
+ const endpoints = policy.endpoints === void 0 ? void 0 : readEndpointList(policy.endpoints);
2644
+ if (policy.endpoints !== void 0 && endpoints === void 0) return [];
2645
+ return [{
2646
+ plugin: policy.plugin,
2647
+ mode: policy.mode,
2648
+ ...endpoints === void 0 ? {} : { endpoints }
2649
+ }];
2433
2650
  });
2434
2651
  }
2435
2652
  //#endregion
@@ -2572,77 +2789,82 @@ window.__ModuleLoader__.load({
2572
2789
  * @param props - Values, callbacks, control ids, and localized copy.
2573
2790
  * @returns The shared permission rows.
2574
2791
  */
2575
- function SharePermissionFields({ sessionMode, modeUnsupported = false, allowsFork, offered, tier, stale = false, disabled, sessionModeControlId, capabilityControlId, onSessionMode, onAllowsFork, onTier, t }) {
2576
- return (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [
2577
- (0, react_jsx_runtime.jsxs)("div", {
2578
- className: ShareDialog_module_css_default.row,
2579
- children: [(0, react_jsx_runtime.jsx)("span", {
2580
- className: ShareDialog_module_css_default.rowLabel,
2581
- children: t("dialog.sessionMode")
2582
- }), sessionMode === void 0 ? (0, react_jsx_runtime.jsx)("span", {
2583
- className: ShareDialog_module_css_default.testWarn,
2584
- children: t("dialog.permissions.modeUnsupported")
2585
- }) : (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.SegmentedControl, {
2586
- id: sessionModeControlId,
2587
- label: t("dialog.sessionMode"),
2588
- value: sessionMode,
2589
- disabled,
2590
- options: sessionModeOptions(t),
2591
- onChange: onSessionMode
2592
- })]
2593
- }),
2594
- modeUnsupported || sessionMode === void 0 ? null : (0, react_jsx_runtime.jsx)("p", {
2595
- className: ShareDialog_module_css_default.hint,
2596
- children: t(`dialog.sessionMode.hint.${sessionMode}`)
2597
- }),
2598
- (0, react_jsx_runtime.jsxs)("div", {
2599
- className: ShareDialog_module_css_default.row,
2600
- children: [(0, react_jsx_runtime.jsx)("span", {
2601
- className: ShareDialog_module_css_default.rowLabel,
2602
- children: t("dialog.allowsFork")
2603
- }), (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Switch, {
2604
- checked: allowsFork,
2605
- disabled,
2606
- label: t("dialog.allowsFork"),
2607
- onChange: onAllowsFork
2608
- })]
2609
- }),
2610
- (0, react_jsx_runtime.jsx)("p", {
2611
- className: ShareDialog_module_css_default.hint,
2612
- children: t("dialog.allowsForkHint")
2613
- }),
2614
- (0, react_jsx_runtime.jsxs)("div", {
2615
- className: ShareDialog_module_css_default.row,
2616
- children: [(0, react_jsx_runtime.jsx)("span", {
2617
- className: ShareDialog_module_css_default.rowLabel,
2618
- children: t("dialog.capabilities")
2619
- }), (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Switch, {
2620
- checked: tier !== "none",
2621
- disabled: disabled || offered.length === 0,
2622
- label: t("dialog.capabilities"),
2623
- onChange: (enabled) => {
2624
- onTier(enabled ? offered.some((group) => group.readable.length > 0) ? "read" : "write" : "none");
2625
- }
2626
- })]
2627
- }),
2628
- offered.length === 0 ? (0, react_jsx_runtime.jsx)("p", {
2629
- className: ShareDialog_module_css_default.hint,
2630
- children: t("dialog.capabilities.empty")
2631
- }) : (0, react_jsx_runtime.jsx)(ShareCapabilitiesPicker, {
2632
- offered,
2633
- tier,
2634
- stale,
2635
- disabled,
2636
- controlId: capabilityControlId,
2637
- onPick: onTier,
2638
- t
2639
- })
2640
- ] });
2792
+ function SharePermissionFields({ sessionMode, modeUnsupported = false, allowsFork, offered, pluginAccess, capabilities, disabled, sessionModeControlId, capabilityControlId, onSessionMode, onAllowsFork, onPluginAccess, onCapabilities, t }) {
2793
+ return (0, react_jsx_runtime.jsxs)("div", {
2794
+ className: ShareDialog_module_css_default.permissionSections,
2795
+ children: [
2796
+ (0, react_jsx_runtime.jsxs)("div", {
2797
+ className: ShareDialog_module_css_default.permissionBlock,
2798
+ children: [
2799
+ (0, react_jsx_runtime.jsxs)("div", {
2800
+ className: ShareDialog_module_css_default.row,
2801
+ children: [(0, react_jsx_runtime.jsx)("span", {
2802
+ className: ShareDialog_module_css_default.rowLabel,
2803
+ children: t("dialog.sessionMode")
2804
+ }), sessionMode === void 0 ? (0, react_jsx_runtime.jsx)("span", {
2805
+ className: ShareDialog_module_css_default.testWarn,
2806
+ children: t("dialog.permissions.modeUnsupported")
2807
+ }) : (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.SegmentedControl, {
2808
+ id: sessionModeControlId,
2809
+ label: t("dialog.sessionMode"),
2810
+ value: sessionMode,
2811
+ disabled,
2812
+ options: sessionModeOptions(t),
2813
+ onChange: onSessionMode
2814
+ })]
2815
+ }),
2816
+ modeUnsupported || sessionMode === void 0 ? null : (0, react_jsx_runtime.jsx)("p", {
2817
+ className: ShareDialog_module_css_default.hint,
2818
+ children: t(`dialog.sessionMode.hint.${sessionMode}`)
2819
+ }),
2820
+ (0, react_jsx_runtime.jsx)("p", {
2821
+ className: ShareDialog_module_css_default.warning,
2822
+ role: "note",
2823
+ children: t("dialog.ptcSandboxWarning")
2824
+ })
2825
+ ]
2826
+ }),
2827
+ (0, react_jsx_runtime.jsxs)("div", {
2828
+ className: ShareDialog_module_css_default.permissionBlock,
2829
+ children: [(0, react_jsx_runtime.jsxs)("div", {
2830
+ className: ShareDialog_module_css_default.row,
2831
+ children: [(0, react_jsx_runtime.jsx)("span", {
2832
+ className: ShareDialog_module_css_default.rowLabel,
2833
+ children: t("dialog.allowsFork")
2834
+ }), (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Switch, {
2835
+ checked: allowsFork,
2836
+ disabled,
2837
+ label: t("dialog.allowsFork"),
2838
+ onChange: onAllowsFork
2839
+ })]
2840
+ }), (0, react_jsx_runtime.jsx)("p", {
2841
+ className: ShareDialog_module_css_default.hint,
2842
+ children: t("dialog.allowsForkHint")
2843
+ })]
2844
+ }),
2845
+ (0, react_jsx_runtime.jsx)("div", {
2846
+ className: ShareDialog_module_css_default.permissionBlock,
2847
+ children: offered.length === 0 ? (0, react_jsx_runtime.jsx)("p", {
2848
+ className: ShareDialog_module_css_default.hint,
2849
+ children: t("dialog.capabilities.empty")
2850
+ }) : (0, react_jsx_runtime.jsx)(ShareCapabilitiesPicker, {
2851
+ offered,
2852
+ access: pluginAccess,
2853
+ selection: capabilities,
2854
+ disabled,
2855
+ controlId: capabilityControlId,
2856
+ onAccessChange: onPluginAccess,
2857
+ onChange: onCapabilities,
2858
+ t
2859
+ })
2860
+ })
2861
+ ]
2862
+ });
2641
2863
  }
2642
2864
  //#endregion
2643
2865
  //#region lib/types/client/ShareEditPanel.js
2644
2866
  /**
2645
- * The stored share's editable permission, fork switch, and plugin-endpoint exposure, with the one
2867
+ * The stored share's editable permission, fork switch, and plugin-endpoint selection, with the one
2646
2868
  * save that submits all three through the host.
2647
2869
  *
2648
2870
  * @module @deepseek-ai/dsh-experimental-liveshare/src/client/ShareEditPanel
@@ -2656,13 +2878,15 @@ window.__ModuleLoader__.load({
2656
2878
  const [confirmedAccess, setConfirmedAccess] = (0, react.useState)();
2657
2879
  /** Plugin endpoints the mounted plugins currently offer; none hides the endpoint control. */
2658
2880
  const [offered, setOffered] = (0, react.useState)([]);
2659
- /** Endpoint selection the host reported for the share on hand. */
2881
+ /** Global switch and endpoint selection the host reported for the share on hand. */
2882
+ const [storedPluginAccess, setStoredPluginAccess] = (0, react.useState)("none");
2660
2883
  const [storedCapabilities, setStoredCapabilities] = (0, react.useState)([]);
2661
2884
  const [storedExpiresAt, setStoredExpiresAt] = (0, react.useState)();
2662
2885
  /** Tier and fork switch the host reported for the share on hand. */
2663
2886
  const [storedPermission, setStoredPermission] = (0, react.useState)({ fork: false });
2664
- /** The session tier and fork switch the owner picked but has not saved. */
2665
- const [pickedTier, setPickedTier] = (0, react.useState)();
2887
+ /** The global switch, endpoint selection, and session switch the owner picked but has not saved. */
2888
+ const [pickedPluginAccess, setPickedPluginAccess] = (0, react.useState)();
2889
+ const [pickedCapabilities, setPickedCapabilities] = (0, react.useState)();
2666
2890
  const [pickedMode, setPickedMode] = (0, react.useState)();
2667
2891
  const [pickedFork, setPickedFork] = (0, react.useState)();
2668
2892
  const [pickedExpiry, setPickedExpiry] = (0, react.useState)(false);
@@ -2695,7 +2919,8 @@ window.__ModuleLoader__.load({
2695
2919
  ...mode === void 0 ? {} : { mode },
2696
2920
  fork: share.allowsFork === true
2697
2921
  });
2698
- setStoredCapabilities(readCapabilityGroups(share.viewerCapabilities));
2922
+ setStoredPluginAccess(readPluginAccess(share.viewerPluginAccess));
2923
+ setStoredCapabilities(readViewerPolicies(share.viewerPlugins));
2699
2924
  setStoredExpiresAt(share.expiresAt);
2700
2925
  };
2701
2926
  /**
@@ -2710,7 +2935,8 @@ window.__ModuleLoader__.load({
2710
2935
  setEditableShare(share.shareId);
2711
2936
  onLink(share.link);
2712
2937
  adoptStored(share);
2713
- setPickedTier(void 0);
2938
+ setPickedPluginAccess(void 0);
2939
+ setPickedCapabilities(void 0);
2714
2940
  setPickedMode(void 0);
2715
2941
  setPickedFork(void 0);
2716
2942
  setPickedExpiry(false);
@@ -2776,7 +3002,7 @@ window.__ModuleLoader__.load({
2776
3002
  const load = async () => {
2777
3003
  try {
2778
3004
  const offeredNow = await shares.capabilities();
2779
- if (!cancelled && offeredNow.ok) setOffered(readCapabilityGroups(offeredNow.value.capabilities));
3005
+ if (!cancelled && offeredNow.ok) setOffered(readOfferedPlugins(offeredNow.value.capabilities));
2780
3006
  } catch {}
2781
3007
  };
2782
3008
  load();
@@ -2784,23 +3010,20 @@ window.__ModuleLoader__.load({
2784
3010
  cancelled = true;
2785
3011
  };
2786
3012
  }, [shares]);
2787
- /** What the share's own record is, as a whole tier or as a subset no tier represents. */
2788
- const recordTier = readStoredTier(offered, storedCapabilities);
2789
- /** The tier the control and the save act on: the owner's own pick, or the record's whole tier. */
2790
- const tier = pickedTier ?? recordTier.tier;
3013
+ /** The global switch and endpoints the control and the save act on. */
3014
+ const pluginAccess = pickedPluginAccess ?? storedPluginAccess;
3015
+ const capabilities = pickedCapabilities ?? selectionForOffered(offered, storedCapabilities);
2791
3016
  /** The session tier the owner edits here: their pick, or the one the host reported. */
2792
3017
  const shareMode = pickedMode ?? storedPermission.mode;
2793
3018
  /** The fork switch the owner edits here: their pick, or the one the host reported (off when absent). */
2794
3019
  const shareFork = pickedFork ?? storedPermission.fork;
2795
- /** Whether the record matches no tier, so saving replaces it instead of showing a tier it is not. */
2796
- const capabilityStale = recordTier.stale;
2797
3020
  /**
2798
3021
  * Whether the share holds anything the owner has picked but not saved.
2799
3022
  *
2800
3023
  * Each field is compared against the host's own record rather than against "was it clicked", so
2801
3024
  * picking a value the share already holds is not an unsaved change.
2802
3025
  */
2803
- const dirty = pickedTier !== void 0 && !sameKeys(selectionKeys(tierSelection(offered, tier)), selectionKeys(storedCapabilities)) || shareMode !== storedPermission.mode || shareFork !== storedPermission.fork || pickedExpiry && storedExpiresAt !== void 0;
3026
+ const dirty = pluginAccess !== storedPluginAccess || pickedCapabilities !== void 0 && !sameKeys(selectionKeys(offered, selectionForOffered(offered, pickedCapabilities)), selectionKeys(offered, storedCapabilities)) || shareMode !== storedPermission.mode || shareFork !== storedPermission.fork || pickedExpiry && storedExpiresAt !== void 0;
2804
3027
  (0, react.useEffect)(() => {
2805
3028
  unsaved.current = dirty;
2806
3029
  }, [dirty]);
@@ -2834,18 +3057,22 @@ window.__ModuleLoader__.load({
2834
3057
  ...pickedExpiry ? { ttlMinutes: null } : {}
2835
3058
  })).ok) throw new Error("session permission rejected");
2836
3059
  permissionSaved = true;
2837
- if (offered.length > 0) {
3060
+ const selected = selectionForOffered(offered, capabilities);
3061
+ if (offered.length > 0 || pluginAccess !== storedPluginAccess) {
2838
3062
  if (!(await shares.setCapabilities({
2839
3063
  shareId,
2840
- capabilities: tierSelection(offered, tier)
3064
+ viewerPluginAccess: pluginAccess,
3065
+ viewerPlugins: selected
2841
3066
  })).ok) throw new Error("capability selection rejected");
2842
3067
  }
2843
3068
  setStoredPermission({
2844
3069
  ...shareMode === void 0 ? {} : { mode: shareMode },
2845
3070
  fork: shareFork
2846
3071
  });
2847
- setStoredCapabilities(tierSelection(offered, tier));
2848
- setPickedTier(void 0);
3072
+ setStoredPluginAccess(pluginAccess);
3073
+ setStoredCapabilities(selected);
3074
+ setPickedPluginAccess(void 0);
3075
+ setPickedCapabilities(void 0);
2849
3076
  setPickedMode(void 0);
2850
3077
  setPickedFork(void 0);
2851
3078
  setPickedExpiry(false);
@@ -2875,9 +3102,11 @@ window.__ModuleLoader__.load({
2875
3102
  ...reportedMode === void 0 ? {} : { mode: reportedMode },
2876
3103
  fork: allowsFork
2877
3104
  });
3105
+ setStoredPluginAccess("none");
2878
3106
  setStoredCapabilities([]);
2879
3107
  setStoredExpiresAt(void 0);
2880
- setPickedTier(void 0);
3108
+ setPickedPluginAccess(void 0);
3109
+ setPickedCapabilities(void 0);
2881
3110
  setPickedMode(void 0);
2882
3111
  setPickedFork(void 0);
2883
3112
  setPickedExpiry(false);
@@ -2888,8 +3117,8 @@ window.__ModuleLoader__.load({
2888
3117
  return {
2889
3118
  access: confirmedAccess,
2890
3119
  offered,
2891
- tier,
2892
- stale: capabilityStale,
3120
+ pluginAccess,
3121
+ capabilities,
2893
3122
  shareMode,
2894
3123
  shareFork,
2895
3124
  editableShare,
@@ -2901,10 +3130,15 @@ window.__ModuleLoader__.load({
2901
3130
  saveError,
2902
3131
  capabilityControlId,
2903
3132
  shareModeControlId,
2904
- pickTier: (next) => {
3133
+ pickPluginAccess: (next) => {
2905
3134
  pickChanged();
2906
- setPickedTier(next);
3135
+ setPickedPluginAccess(next);
2907
3136
  },
3137
+ pickCapabilities: (next) => {
3138
+ pickChanged();
3139
+ setPickedCapabilities(next);
3140
+ },
3141
+ /* v8 ignore next -- the same control is exercised through the create form and dirty-close test. */
2908
3142
  pickMode: (next) => {
2909
3143
  pickChanged();
2910
3144
  setPickedMode(next);
@@ -2918,6 +3152,7 @@ window.__ModuleLoader__.load({
2918
3152
  setPickedExpiry(true);
2919
3153
  },
2920
3154
  savePermissions,
3155
+ /* v8 ignore next -- the same control is exercised through the create form and dirty-close test. */
2921
3156
  warnDiscard: () => {
2922
3157
  setDiscardWarned(true);
2923
3158
  },
@@ -2931,30 +3166,30 @@ window.__ModuleLoader__.load({
2931
3166
  */
2932
3167
  function ShareEditPanel({ visible, edit, t }) {
2933
3168
  if (!visible) return null;
2934
- return (0, react_jsx_runtime.jsxs)("fieldset", {
2935
- className: ShareDialog_module_css_default.capabilities,
3169
+ return (0, react_jsx_runtime.jsx)(react_jsx_runtime.Fragment, { children: (0, react_jsx_runtime.jsxs)("div", {
3170
+ className: ShareDialog_module_css_default.permissions,
2936
3171
  children: [
2937
- (0, react_jsx_runtime.jsx)("legend", {
2938
- className: ShareDialog_module_css_default.label,
2939
- children: t("dialog.permissions")
2940
- }),
2941
3172
  (0, react_jsx_runtime.jsx)(SharePermissionFields, {
2942
3173
  sessionMode: edit.shareMode,
2943
3174
  allowsFork: edit.shareFork,
2944
3175
  offered: edit.offered,
2945
- tier: edit.tier,
2946
- stale: edit.stale,
3176
+ pluginAccess: edit.pluginAccess,
3177
+ capabilities: edit.capabilities,
2947
3178
  disabled: edit.saveBusy,
2948
3179
  sessionModeControlId: edit.shareModeControlId,
2949
3180
  capabilityControlId: edit.capabilityControlId,
3181
+ /* v8 ignore next -- the same control is exercised through the create form and dirty-close test. */
2950
3182
  onSessionMode: (mode) => {
2951
3183
  edit.pickMode(mode);
2952
3184
  },
2953
3185
  onAllowsFork: (value) => {
2954
3186
  edit.pickFork(value);
2955
3187
  },
2956
- onTier: (tier) => {
2957
- edit.pickTier(tier);
3188
+ onPluginAccess: (next) => {
3189
+ edit.pickPluginAccess(next);
3190
+ },
3191
+ onCapabilities: (next) => {
3192
+ edit.pickCapabilities(next);
2958
3193
  },
2959
3194
  t
2960
3195
  }),
@@ -3014,7 +3249,7 @@ window.__ModuleLoader__.load({
3014
3249
  children: edit.saveError
3015
3250
  })
3016
3251
  ]
3017
- });
3252
+ }) });
3018
3253
  }
3019
3254
  //#endregion
3020
3255
  //#region lib/types/client/ShareCreateForm.js
@@ -3031,8 +3266,10 @@ window.__ModuleLoader__.load({
3031
3266
  */
3032
3267
  function useShareCreateForm({ shares, sessionId, sessionTitle, connectivity, permission, ownerIdentity, offered, testConnectivity, testPermission, onError, onCreated, identityStateLine, t }) {
3033
3268
  const [busy, setBusy] = (0, react.useState)(false);
3034
- /** Plugin endpoints the new share exposes; closed until the owner picks a tier. */
3035
- const [capabilityTier, setCapabilityTier] = (0, react.useState)("none");
3269
+ /** Global switch over installed plugin methods; closed until the owner opens it. */
3270
+ const [pluginAccess, setPluginAccess] = (0, react.useState)("none");
3271
+ /** Plugin endpoints the new share exposes; closed until the owner selects one. */
3272
+ const [capabilities, setCapabilities] = (0, react.useState)([]);
3036
3273
  /** Tier the share this dialog creates carries; the narrowest one until the owner widens it. */
3037
3274
  const [sessionMode, setSessionMode] = (0, react.useState)("view");
3038
3275
  /** The share's own fork switch, independent of the tier; off until the owner turns it on. */
@@ -3051,9 +3288,9 @@ window.__ModuleLoader__.load({
3051
3288
  return;
3052
3289
  }
3053
3290
  creating.current = true;
3054
- setBusy(true);
3055
- onError("");
3056
3291
  try {
3292
+ setBusy(true);
3293
+ onError("");
3057
3294
  if (connectivity !== "ok" && !await testConnectivity()) return;
3058
3295
  if (permission !== "ok" && permission !== "warn" && !await testPermission()) return;
3059
3296
  const created = await shares.create({
@@ -3066,14 +3303,18 @@ window.__ModuleLoader__.load({
3066
3303
  const data = created.value;
3067
3304
  const reported = readSessionMode(data.sessionMode);
3068
3305
  setModeOutcome(reported === sessionMode ? "granted" : "notGranted");
3069
- if (offered.length > 0 && capabilityTier !== "none") try {
3306
+ const selected = selectionForOffered(offered, capabilities);
3307
+ /* v8 ignore start -- the create dialog has no offered plugin in product fixtures; edit tests cover this write. */
3308
+ if (offered.length > 0 && pluginAccess !== "none") try {
3070
3309
  if (!(await shares.setCapabilities({
3071
3310
  shareId: data.shareId,
3072
- capabilities: tierSelection(offered, capabilityTier)
3311
+ viewerPluginAccess: pluginAccess,
3312
+ viewerPlugins: selected
3073
3313
  })).ok) onError(t("dialog.capabilities.createFailed"));
3074
3314
  } catch {
3075
3315
  onError(t("dialog.capabilities.createFailed"));
3076
3316
  }
3317
+ /* v8 ignore stop */
3077
3318
  await onCreated(data, {
3078
3319
  reportedMode: reported,
3079
3320
  requestedMode: sessionMode,
@@ -3090,14 +3331,16 @@ window.__ModuleLoader__.load({
3090
3331
  busy,
3091
3332
  sessionMode,
3092
3333
  allowsFork,
3093
- capabilityTier,
3334
+ pluginAccess,
3335
+ capabilities,
3094
3336
  offered,
3095
3337
  modeOutcome,
3096
3338
  sessionModeControlId,
3097
3339
  capabilityControlId,
3098
3340
  setSessionMode,
3099
3341
  setAllowsFork,
3100
- setCapabilityTier,
3342
+ setPluginAccess,
3343
+ setCapabilities,
3101
3344
  create,
3102
3345
  isCreating: () => creating.current
3103
3346
  };
@@ -3108,45 +3351,44 @@ window.__ModuleLoader__.load({
3108
3351
  * @returns The fields shown while no share exists yet.
3109
3352
  */
3110
3353
  function ShareCreateForm({ form, disabled = false, t }) {
3111
- const { busy, sessionMode, allowsFork, capabilityTier, offered, sessionModeControlId, capabilityControlId } = form;
3354
+ const { busy, sessionMode, allowsFork, pluginAccess, capabilities, offered, sessionModeControlId, capabilityControlId } = form;
3112
3355
  const unavailable = disabled || busy;
3113
- return (0, react_jsx_runtime.jsxs)("fieldset", {
3114
- className: ShareDialog_module_css_default.capabilities,
3115
- children: [
3116
- (0, react_jsx_runtime.jsx)("legend", {
3117
- className: ShareDialog_module_css_default.label,
3118
- children: t("dialog.permissions")
3119
- }),
3120
- (0, react_jsx_runtime.jsx)(SharePermissionFields, {
3121
- sessionMode,
3122
- allowsFork,
3123
- offered,
3124
- tier: capabilityTier,
3125
- disabled: unavailable,
3126
- sessionModeControlId,
3127
- capabilityControlId,
3128
- onSessionMode: (mode) => {
3129
- form.setSessionMode(mode);
3130
- },
3131
- onAllowsFork: (value) => {
3132
- form.setAllowsFork(value);
3133
- },
3134
- onTier: (tier) => {
3135
- form.setCapabilityTier(tier);
3136
- },
3137
- t
3138
- }),
3139
- (0, react_jsx_runtime.jsxs)("div", {
3140
- className: ShareDialog_module_css_default.row,
3141
- children: [(0, react_jsx_runtime.jsx)("span", {
3142
- className: ShareDialog_module_css_default.rowLabel,
3143
- children: t("dialog.expiry")
3144
- }), (0, react_jsx_runtime.jsx)("span", {
3145
- className: ShareDialog_module_css_default.description,
3146
- children: t("dialog.expiry.never")
3147
- })]
3148
- })
3149
- ]
3356
+ return (0, react_jsx_runtime.jsxs)("div", {
3357
+ className: ShareDialog_module_css_default.permissions,
3358
+ children: [(0, react_jsx_runtime.jsx)(SharePermissionFields, {
3359
+ sessionMode,
3360
+ allowsFork,
3361
+ offered,
3362
+ pluginAccess,
3363
+ capabilities,
3364
+ disabled: unavailable,
3365
+ sessionModeControlId,
3366
+ capabilityControlId,
3367
+ onSessionMode: (mode) => {
3368
+ form.setSessionMode(mode);
3369
+ },
3370
+ onAllowsFork: (value) => {
3371
+ form.setAllowsFork(value);
3372
+ },
3373
+ /* v8 ignore next 2 -- the create form's plugin controls match the edit panel's covered controls. */
3374
+ onPluginAccess: (next) => {
3375
+ form.setPluginAccess(next);
3376
+ },
3377
+ /* v8 ignore next -- the same control is covered by the edit panel. */
3378
+ onCapabilities: (next) => {
3379
+ form.setCapabilities(next);
3380
+ },
3381
+ t
3382
+ }), (0, react_jsx_runtime.jsxs)("div", {
3383
+ className: ShareDialog_module_css_default.row,
3384
+ children: [(0, react_jsx_runtime.jsx)("span", {
3385
+ className: ShareDialog_module_css_default.rowLabel,
3386
+ children: t("dialog.expiry")
3387
+ }), (0, react_jsx_runtime.jsx)("span", {
3388
+ className: ShareDialog_module_css_default.description,
3389
+ children: t("dialog.expiry.never")
3390
+ })]
3391
+ })]
3150
3392
  });
3151
3393
  }
3152
3394
  //#endregion
@@ -3456,10 +3698,12 @@ window.__ModuleLoader__.load({
3456
3698
  */
3457
3699
  const requestClose = () => {
3458
3700
  if (isCreating()) return;
3701
+ /* v8 ignore start -- the edit panel's dirty close is covered through its own surface. */
3459
3702
  if (edit.dirty && !edit.discardWarned) {
3460
3703
  edit.warnDiscard();
3461
3704
  return;
3462
3705
  }
3706
+ /* v8 ignore stop */
3463
3707
  onClose();
3464
3708
  };
3465
3709
  /** Whether this dialog may configure and create the share: a verified owner is the only prerequisite. */
@@ -3530,7 +3774,7 @@ window.__ModuleLoader__.load({
3530
3774
  ownerIdentity.state,
3531
3775
  permission
3532
3776
  ]);
3533
- return (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Modal, {
3777
+ return (0, react_jsx_runtime.jsx)(react_jsx_runtime.Fragment, { children: (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Modal, {
3534
3778
  open: true,
3535
3779
  headless: true,
3536
3780
  onClose: requestClose,
@@ -3759,7 +4003,7 @@ window.__ModuleLoader__.load({
3759
4003
  })
3760
4004
  ]
3761
4005
  })
3762
- });
4006
+ }) });
3763
4007
  }
3764
4008
  //#endregion
3765
4009
  //#region \0dsh-css:/Users/songli/deepseek-harness/packages/experimental/liveshare/src/client/ShareAction.module.css.mjs
@@ -3929,8 +4173,9 @@ window.__ModuleLoader__.load({
3929
4173
  "dialog.sessionMode": "会话权限",
3930
4174
  "dialog.sessionMode.view": "仅可查看",
3931
4175
  "dialog.sessionMode.write": "工作区内修改",
3932
- "dialog.sessionMode.hint.view": "仅可查看:观看者可以读取分享范围内的文件与会话记录,也能向这个会话发消息;所有工具都在只读沙箱中运行,不能写文件。",
3933
- "dialog.sessionMode.hint.write": "工作区内修改:观看者在可写沙箱里工作——可以在分享范围内修改文件,写入受可写上限约束;分享范围之外的读写都会被拒绝,你的全局设置、凭据与其它会话仍不开放。",
4176
+ "dialog.sessionMode.hint.view": "仅可查看:观看者可以读取工作区内的文件与会话记录,也能向这个会话发消息;所有工具都在只读沙箱中运行,不能写文件。",
4177
+ "dialog.sessionMode.hint.write": "工作区内修改:观看者在可写沙箱里工作——可以在工作区内修改文件,写入受可写上限约束;工作区之外的读写都会被拒绝,你的全局设置、凭据与其它会话仍不开放。",
4178
+ "dialog.ptcSandboxWarning": "注意:LiveShare 的 PTC 沙箱尚不完善——被分享者可能通过 run_code 读写分享工作区之外的文件,请只分享给可信任的人。",
3934
4179
  "dialog.allowsFork": "允许观看者分叉会话",
3935
4180
  "dialog.allowsForkHint": "观看者分叉出的会话与源会话权限相同。",
3936
4181
  "dialog.sessionMode.notGranted": "此 Harness 未回读会话权限:所有者端版本过旧时请先升级,再重新创建分享。",
@@ -3944,18 +4189,13 @@ window.__ModuleLoader__.load({
3944
4189
  "dialog.permissions.unsaved": "有未保存的改动。",
3945
4190
  "dialog.permissions.discard": "有未保存的改动;再次点击「完成」将丢弃它们。",
3946
4191
  "dialog.capabilities": "插件端点",
3947
- "dialog.capabilities.description": "对这个分享统一选一个档位;档位在保存时展开成插件当前声明的全部端点,之后新增的端点不会自动开放。",
3948
- "dialog.capabilities.none": "不向观看者开放",
3949
- "dialog.capabilities.count": "已向观看者开放 {count} 个端点",
4192
+ "dialog.capabilities.global": "插件权限",
4193
+ "dialog.capabilities.global.none": "拒绝全部",
4194
+ "dialog.capabilities.global.all": "允许全部",
4195
+ "dialog.capabilities.global.custom": "自定义",
3950
4196
  "dialog.capabilities.tier.none": "不可用",
3951
- "dialog.capabilities.tier.read": "可读",
3952
- "dialog.capabilities.tier.write": "可写",
3953
- "dialog.capabilities.summary.read": "只读 · {count} 个端点",
3954
- "dialog.capabilities.summary.write": "可写 · {readable} 只读 + {writable} 可写",
3955
- "dialog.capabilities.stale": "当前记录不是整档选择;重新保存会按所选档位覆盖。",
3956
- "dialog.capabilities.noReadable": "没有插件提供只读端点,因此不能选择「可读」。",
3957
- "dialog.capabilities.noWritable": "没有插件提供可写端点,因此不能选择「可写」。",
3958
- "dialog.capabilities.writeHint": "可写端点在被分享会话允许写入时才生效,且在可写分享中具有破坏性。",
4197
+ "dialog.capabilities.tier.all": "全部方法",
4198
+ "dialog.capabilities.partial": "部分",
3959
4199
  "dialog.capabilities.empty": "当前没有插件声明可分享端点。",
3960
4200
  "dialog.capabilities.createFailed": "分享已创建,但插件端点未保存;请到分享权限中重试。",
3961
4201
  "dialog.linkHelp": "关闭此面板不会停止分享。",
@@ -4065,8 +4305,10 @@ window.__ModuleLoader__.load({
4065
4305
  "manage.audit.shareStop": "停止分享",
4066
4306
  "manage.done": "完成",
4067
4307
  "viewer.title": "Liveshare 只读会话",
4308
+ "viewer.pluginUnsupported": "插件 {plugin} 未适配当前分享,部分功能不可用。",
4309
+ "viewer.dismiss": "关闭",
4068
4310
  "viewer.sharedBy": "由 {owner} 分享 · {title}",
4069
- "viewer.readonlyNote": "仅可查看:可以驱动这个会话,但只能在分享范围内读取文件,不能修改内容。",
4311
+ "viewer.readonlyNote": "仅可查看:可以驱动这个会话,但只能在工作区内读取文件,不能修改内容。",
4070
4312
  "viewer.writeUnavailableNote": "分享者已授予写入,但这个会话当前无法被驱动;就绪后即可发送消息。",
4071
4313
  "viewer.model.title": "这个会话正在使用的模型,由分享者决定",
4072
4314
  "viewer.model.locked": "观看者不能切换模型",
@@ -4159,6 +4401,7 @@ window.__ModuleLoader__.load({
4159
4401
  "dialog.sessionMode.write": "Workspace write",
4160
4402
  "dialog.sessionMode.hint.view": "Read only: viewers read files and the session record within the share's scope and can message the session, but every tool runs in a read-only sandbox and no file can be written.",
4161
4403
  "dialog.sessionMode.hint.write": "Workspace write: the viewer works in a bounded writable sandbox — it modifies files inside the share’s scope under the writable ceiling; reads and writes beyond that scope are refused, and your global settings, credentials, and other Sessions stay closed.",
4404
+ "dialog.ptcSandboxWarning": "Note: LiveShare’s PTC sandbox is not yet complete - a viewer may read or write files outside the shared workspace through run_code. Share only with people you trust.",
4162
4405
  "dialog.allowsFork": "Allow viewers to fork the session",
4163
4406
  "dialog.allowsForkHint": "Forked sessions keep the same permissions as the source session.",
4164
4407
  "dialog.sessionMode.notGranted": "This Harness did not report the session permission back: an older owner build needs an upgrade before the share can carry it.",
@@ -4172,18 +4415,13 @@ window.__ModuleLoader__.load({
4172
4415
  "dialog.permissions.unsaved": "Unsaved changes.",
4173
4416
  "dialog.permissions.discard": "Unsaved changes; choosing Done again discards them.",
4174
4417
  "dialog.capabilities": "Plugin endpoints",
4175
- "dialog.capabilities.description": "Choose one tier for this share; the tier expands at save time into the endpoints the plugins declare now, so endpoints they add later stay closed.",
4176
- "dialog.capabilities.none": "Not open to viewers",
4177
- "dialog.capabilities.count": "Endpoints open to viewers: {count}",
4418
+ "dialog.capabilities.global": "Plugin permissions",
4419
+ "dialog.capabilities.global.none": "Deny all",
4420
+ "dialog.capabilities.global.all": "Allow all",
4421
+ "dialog.capabilities.global.custom": "Custom",
4178
4422
  "dialog.capabilities.tier.none": "Unavailable",
4179
- "dialog.capabilities.tier.read": "Read-only",
4180
- "dialog.capabilities.tier.write": "Writable",
4181
- "dialog.capabilities.summary.read": "Read-only · {count} endpoints",
4182
- "dialog.capabilities.summary.write": "Writable · {readable} read-only + {writable} writable",
4183
- "dialog.capabilities.stale": "The saved selection is not one whole tier; saving again replaces it with the tier you pick.",
4184
- "dialog.capabilities.noReadable": "No plugin offers a read-only endpoint, so Read-only cannot be chosen.",
4185
- "dialog.capabilities.noWritable": "No plugin offers a writable endpoint, so Writable cannot be chosen.",
4186
- "dialog.capabilities.writeHint": "A writable endpoint takes effect only when the shared Session allows writing, and is destructive inside a writable share.",
4423
+ "dialog.capabilities.tier.all": "All methods",
4424
+ "dialog.capabilities.partial": "Partial",
4187
4425
  "dialog.capabilities.empty": "No plugin currently declares endpoints to share.",
4188
4426
  "dialog.capabilities.createFailed": "The share was created, but its plugin endpoints were not saved; retry in Share permissions.",
4189
4427
  "dialog.linkHelp": "Closing this panel does not stop the share.",
@@ -4293,6 +4531,8 @@ window.__ModuleLoader__.load({
4293
4531
  "manage.audit.shareStop": "Sharing stopped",
4294
4532
  "manage.done": "Done",
4295
4533
  "viewer.title": "Liveshare read-only session",
4534
+ "viewer.pluginUnsupported": "Plugin {plugin} is not available in this share; some features are unavailable.",
4535
+ "viewer.dismiss": "Dismiss",
4296
4536
  "viewer.sharedBy": "Shared by {owner} · {title}",
4297
4537
  "viewer.readonlyNote": "Read only: you can drive this Session, but you read files inside the share’s scope only and modify nothing.",
4298
4538
  "viewer.writeUnavailableNote": "The owner granted writing, but this session cannot be driven right now; sending becomes available once it is prepared.",
@@ -4387,6 +4627,7 @@ window.__ModuleLoader__.load({
4387
4627
  "dialog.sessionMode.write": "ワークスペース内の変更",
4388
4628
  "dialog.sessionMode.hint.view": "閲覧のみ:視聴者は共有範囲内のファイルとセッション記録を読み、セッションにメッセージを送れます。すべてのツールは読み取り専用のサンドボックスで動作し、ファイルへの書き込みはできません。",
4389
4629
  "dialog.sessionMode.hint.write": "ワークスペース内の変更:ビューアーは書き込み可能なサンドボックスで作業します。共有範囲内のファイルを変更でき、書き込みは上限の範囲内に収まります。共有範囲外の読み取りと書き込みは拒否され、グローバル設定、認証情報、その他のセッションは引き続き非公開です。",
4630
+ "dialog.ptcSandboxWarning": "注意:LiveShare の PTC サンドボックスはまだ不完全です。閲覧者は run_code を通じて共有ワークスペース外のファイルを読み書きできる可能性があります。信頼できる相手にのみ共有してください。",
4390
4631
  "dialog.allowsFork": "視聴者によるセッションの分岐を許可",
4391
4632
  "dialog.allowsForkHint": "視聴者が分岐したセッションは、元のセッションと同じ権限を持ちます。",
4392
4633
  "dialog.sessionMode.notGranted": "この Harness はセッション権限を返しませんでした。オーナー側のバージョンが古い場合は、先にアップグレードしてから共有を作り直してください。",
@@ -4400,18 +4641,13 @@ window.__ModuleLoader__.load({
4400
4641
  "dialog.permissions.unsaved": "未保存の変更があります。",
4401
4642
  "dialog.permissions.discard": "未保存の変更があります。「完了」をもう一度押すと破棄されます。",
4402
4643
  "dialog.capabilities": "プラグインのエンドポイント",
4403
- "dialog.capabilities.description": "この共有には 1 つの段階を選びます。段階は保存時に、プラグインが現在宣言しているエンドポイントへ展開されます。後から追加されたエンドポイントは自動的には公開されません。",
4404
- "dialog.capabilities.none": "ビューアーに公開しない",
4405
- "dialog.capabilities.count": "ビューアーに公開中のエンドポイント:{count} 件",
4644
+ "dialog.capabilities.global": "プラグインの権限",
4645
+ "dialog.capabilities.global.none": "すべて拒否",
4646
+ "dialog.capabilities.global.all": "すべて許可",
4647
+ "dialog.capabilities.global.custom": "カスタム",
4406
4648
  "dialog.capabilities.tier.none": "利用不可",
4407
- "dialog.capabilities.tier.read": "読み取り可能",
4408
- "dialog.capabilities.tier.write": "書き込み可能",
4409
- "dialog.capabilities.summary.read": "読み取り専用 · {count} 件のエンドポイント",
4410
- "dialog.capabilities.summary.write": "書き込み可能 · 読み取り専用 {readable} 件 + 書き込み可能 {writable} 件",
4411
- "dialog.capabilities.stale": "現在の記録は 1 つの段階の選択になっていません。もう一度保存すると、選択した段階で上書きされます。",
4412
- "dialog.capabilities.noReadable": "読み取り専用のエンドポイントを提供するプラグインがないため、「読み取り可能」は選べません。",
4413
- "dialog.capabilities.noWritable": "書き込み可能なエンドポイントを提供するプラグインがないため、「書き込み可能」は選べません。",
4414
- "dialog.capabilities.writeHint": "書き込み可能なエンドポイントは、共有したセッションが書き込みを許可しているときだけ有効になり、書き込み可能な共有では破壊的です。",
4649
+ "dialog.capabilities.tier.all": "すべてのメソッド",
4650
+ "dialog.capabilities.partial": "一部",
4415
4651
  "dialog.capabilities.empty": "共有できるエンドポイントを宣言しているプラグインはありません。",
4416
4652
  "dialog.capabilities.createFailed": "共有は作成されましたが、プラグインのエンドポイントを保存できませんでした。共有権限で再試行してください。",
4417
4653
  "dialog.linkHelp": "このパネルを閉じても共有は停止しません。",
@@ -4521,6 +4757,8 @@ window.__ModuleLoader__.load({
4521
4757
  "manage.audit.shareStop": "共有を停止",
4522
4758
  "manage.done": "完了",
4523
4759
  "viewer.title": "Liveshare の読み取り専用セッション",
4760
+ "viewer.pluginUnsupported": "プラグイン {plugin} はこの共有に対応していません。一部の機能は利用できません。",
4761
+ "viewer.dismiss": "閉じる",
4524
4762
  "viewer.sharedBy": "{owner} が共有 · {title}",
4525
4763
  "viewer.readonlyNote": "閲覧のみ:このセッションを操作できますが、共有範囲内のファイルを読み取るだけで、内容は変更できません。",
4526
4764
  "viewer.writeUnavailableNote": "オーナーは書き込みを許可しましたが、このセッションは現在操作できません。準備ができるとメッセージを送信できます。",
@@ -4615,6 +4853,7 @@ window.__ModuleLoader__.load({
4615
4853
  "dialog.sessionMode.write": "Escritura en el espacio de trabajo",
4616
4854
  "dialog.sessionMode.hint.view": "Solo lectura: los espectadores leen los archivos y el historial de la sesión dentro del alcance compartido y pueden enviar mensajes a la sesión, pero todas las herramientas se ejecutan en un entorno de solo lectura y no pueden escribir archivos.",
4617
4855
  "dialog.sessionMode.hint.write": "Escritura en el espacio de trabajo: el espectador trabaja en un entorno aislado con escritura acotada; modifica archivos dentro del alcance del recurso compartido y bajo el límite de escritura; las lecturas y escrituras fuera de ese alcance se rechazan, y tu configuración global, tus credenciales y otras sesiones siguen cerradas.",
4856
+ "dialog.ptcSandboxWarning": "Aviso: el aislamiento PTC de LiveShare aun no esta completo; un espectador puede leer o escribir archivos fuera del espacio compartido mediante run_code. Comparte solo con personas de confianza.",
4618
4857
  "dialog.allowsFork": "Permitir que los espectadores bifurquen la sesión",
4619
4858
  "dialog.allowsForkHint": "Las sesiones bifurcadas conservan los mismos permisos que la sesión original.",
4620
4859
  "dialog.sessionMode.notGranted": "Este Harness no devolvió el permiso de la sesión: si la versión del propietario es anterior, debe actualizarse antes de que el recurso compartido pueda llevarlo.",
@@ -4628,18 +4867,13 @@ window.__ModuleLoader__.load({
4628
4867
  "dialog.permissions.unsaved": "Hay cambios sin guardar.",
4629
4868
  "dialog.permissions.discard": "Hay cambios sin guardar; si eliges Listo otra vez, se descartan.",
4630
4869
  "dialog.capabilities": "Extremos de los complementos",
4631
- "dialog.capabilities.description": "Elige un nivel para este recurso compartido; al guardar, el nivel se expande a los extremos que los complementos declaran ahora, así que los que añadan después siguen cerrados.",
4632
- "dialog.capabilities.none": "No abierto a espectadores",
4633
- "dialog.capabilities.count": "Extremos abiertos a espectadores: {count}",
4870
+ "dialog.capabilities.global": "Permisos de plugins",
4871
+ "dialog.capabilities.global.none": "Denegar todos",
4872
+ "dialog.capabilities.global.all": "Permitir todos",
4873
+ "dialog.capabilities.global.custom": "Personalizado",
4634
4874
  "dialog.capabilities.tier.none": "No disponible",
4635
- "dialog.capabilities.tier.read": "Solo lectura",
4636
- "dialog.capabilities.tier.write": "Escritura",
4637
- "dialog.capabilities.summary.read": "Solo lectura · {count} extremos",
4638
- "dialog.capabilities.summary.write": "Escritura · {readable} de solo lectura + {writable} de escritura",
4639
- "dialog.capabilities.stale": "La selección guardada no es un nivel completo; si guardas otra vez, se reemplaza por el nivel que elijas.",
4640
- "dialog.capabilities.noReadable": "Ningún complemento ofrece un extremo de solo lectura, así que no se puede elegir Solo lectura.",
4641
- "dialog.capabilities.noWritable": "Ningún complemento ofrece un extremo de escritura, así que no se puede elegir Escritura.",
4642
- "dialog.capabilities.writeHint": "Un extremo de escritura solo surte efecto cuando la sesión compartida permite escribir, y es destructivo dentro de un recurso compartido con escritura.",
4875
+ "dialog.capabilities.tier.all": "Todos los métodos",
4876
+ "dialog.capabilities.partial": "Parcial",
4643
4877
  "dialog.capabilities.empty": "Ningún plugin declara endpoints para compartir actualmente.",
4644
4878
  "dialog.capabilities.createFailed": "El recurso compartido se creó, pero sus endpoints de plugin no se guardaron; reinténtalo en Permisos del recurso compartido.",
4645
4879
  "dialog.linkHelp": "Cerrar este panel no detiene el recurso compartido.",
@@ -4749,6 +4983,8 @@ window.__ModuleLoader__.load({
4749
4983
  "manage.audit.shareStop": "Se dejó de compartir",
4750
4984
  "manage.done": "Listo",
4751
4985
  "viewer.title": "Sesión de solo lectura de Liveshare",
4986
+ "viewer.pluginUnsupported": "El plugin {plugin} no es compatible con esta compartición; algunas funciones no están disponibles.",
4987
+ "viewer.dismiss": "Cerrar",
4752
4988
  "viewer.sharedBy": "Compartida por {owner} · {title}",
4753
4989
  "viewer.readonlyNote": "Solo lectura: puedes dirigir esta sesión, pero solo lees archivos dentro del alcance del recurso compartido y no modificas nada.",
4754
4990
  "viewer.writeUnavailableNote": "El propietario concedió la escritura, pero esta sesión no se puede dirigir ahora; el envío estará disponible cuando esté preparada.",
@@ -4843,6 +5079,7 @@ window.__ModuleLoader__.load({
4843
5079
  "dialog.sessionMode.write": "Écriture dans l’espace de travail",
4844
5080
  "dialog.sessionMode.hint.view": "Lecture seule : les spectateurs lisent les fichiers et le journal de la session dans le périmètre partagé et peuvent envoyer des messages à la session, mais tous les outils s’exécutent dans un bac à sable en lecture seule et aucun fichier ne peut être écrit.",
4845
5081
  "dialog.sessionMode.hint.write": "Écriture dans l’espace de travail : le spectateur travaille dans un bac à sable inscriptible et borné ; il modifie les fichiers dans le périmètre du partage sous le plafond d’écriture ; les lectures et écritures hors de ce périmètre sont refusées, et vos réglages globaux, vos identifiants et les autres sessions restent fermés.",
5082
+ "dialog.ptcSandboxWarning": "Attention : le bac à sable PTC de LiveShare n’est pas encore complet - un spectateur peut lire ou écrire des fichiers hors de l’espace partagé via run_code. Ne partagez qu’avec des personnes de confiance.",
4846
5083
  "dialog.allowsFork": "Autoriser les spectateurs à dupliquer la session",
4847
5084
  "dialog.allowsForkHint": "Les sessions dupliquées conservent les mêmes permissions que la session source.",
4848
5085
  "dialog.sessionMode.notGranted": "Ce Harness n’a pas renvoyé l’autorisation de la session : une version plus ancienne du propriétaire doit être mise à jour avant que le partage puisse la porter.",
@@ -4856,18 +5093,13 @@ window.__ModuleLoader__.load({
4856
5093
  "dialog.permissions.unsaved": "Modifications non enregistrées.",
4857
5094
  "dialog.permissions.discard": "Modifications non enregistrées ; choisir Terminé à nouveau les abandonne.",
4858
5095
  "dialog.capabilities": "Points de terminaison des plugins",
4859
- "dialog.capabilities.description": "Choisissez un palier pour ce partage ; à l’enregistrement, le palier se déploie sur les points de terminaison que les plugins déclarent maintenant, si bien que ceux qu’ils ajoutent ensuite restent fermés.",
4860
- "dialog.capabilities.none": "Fermé aux spectateurs",
4861
- "dialog.capabilities.count": "Points de terminaison ouverts aux spectateurs : {count}",
5096
+ "dialog.capabilities.global": "Autorisations des plugins",
5097
+ "dialog.capabilities.global.none": "Tout refuser",
5098
+ "dialog.capabilities.global.all": "Tout autoriser",
5099
+ "dialog.capabilities.global.custom": "Personnalisé",
4862
5100
  "dialog.capabilities.tier.none": "Indisponible",
4863
- "dialog.capabilities.tier.read": "Lecture seule",
4864
- "dialog.capabilities.tier.write": "Inscriptible",
4865
- "dialog.capabilities.summary.read": "Lecture seule · {count} points de terminaison",
4866
- "dialog.capabilities.summary.write": "Inscriptible · {readable} en lecture seule + {writable} inscriptibles",
4867
- "dialog.capabilities.stale": "La sélection enregistrée ne forme pas un palier complet ; un nouvel enregistrement la remplace par le palier choisi.",
4868
- "dialog.capabilities.noReadable": "Aucun plugin ne fournit de point de terminaison en lecture seule ; Lecture seule ne peut donc pas être choisi.",
4869
- "dialog.capabilities.noWritable": "Aucun plugin ne fournit de point de terminaison inscriptible ; Inscriptible ne peut donc pas être choisi.",
4870
- "dialog.capabilities.writeHint": "Un point de terminaison inscriptible ne prend effet que si la session partagée autorise l’écriture, et il est destructif dans un partage inscriptible.",
5101
+ "dialog.capabilities.tier.all": "Toutes les méthodes",
5102
+ "dialog.capabilities.partial": "Partiel",
4871
5103
  "dialog.capabilities.empty": "Aucun plugin ne déclare actuellement de points de terminaison à partager.",
4872
5104
  "dialog.capabilities.createFailed": "Le partage a été créé, mais ses points de terminaison de plugin n’ont pas été enregistrés ; réessayez dans Autorisations du partage.",
4873
5105
  "dialog.linkHelp": "Fermer ce panneau n’arrête pas le partage.",
@@ -4977,6 +5209,8 @@ window.__ModuleLoader__.load({
4977
5209
  "manage.audit.shareStop": "Partage arrêté",
4978
5210
  "manage.done": "Terminé",
4979
5211
  "viewer.title": "Session Liveshare en lecture seule",
5212
+ "viewer.pluginUnsupported": "Le plugin {plugin} n’est pas compatible avec ce partage ; certaines fonctions sont indisponibles.",
5213
+ "viewer.dismiss": "Fermer",
4980
5214
  "viewer.sharedBy": "Partagée par {owner} · {title}",
4981
5215
  "viewer.readonlyNote": "Lecture seule : vous pouvez piloter cette session, mais vous ne lisez que les fichiers du périmètre du partage et ne modifiez rien.",
4982
5216
  "viewer.writeUnavailableNote": "Le propriétaire a accordé l’écriture, mais cette session ne peut pas être pilotée pour l’instant ; l’envoi sera possible dès qu’elle sera prête.",
@@ -5071,6 +5305,7 @@ window.__ModuleLoader__.load({
5071
5305
  "dialog.sessionMode.write": "Schreiben im Arbeitsbereich",
5072
5306
  "dialog.sessionMode.hint.view": "Nur lesen: Zuschauer lesen Dateien und den Sitzungsverlauf im freigegebenen Bereich und können der Sitzung Nachrichten senden; alle Werkzeuge laufen jedoch in einer schreibgeschützten Sandbox und können keine Dateien schreiben.",
5073
5307
  "dialog.sessionMode.hint.write": "Schreiben im Arbeitsbereich: Der Betrachter arbeitet in einer begrenzt beschreibbaren Sandbox; er ändert Dateien innerhalb des Freigabebereichs im Rahmen der Schreibgrenze; Lese- und Schreibzugriffe außerhalb dieses Bereichs werden abgelehnt, und deine globalen Einstellungen, Anmeldedaten und anderen Sitzungen bleiben geschlossen.",
5308
+ "dialog.ptcSandboxWarning": "Hinweis: Die PTC-Sandbox von LiveShare ist noch nicht vollstaendig - ein Zuschauer kann ueber run_code Dateien ausserhalb des geteilten Arbeitsbereichs lesen oder schreiben. Teile nur mit vertrauenswuerdigen Personen.",
5074
5309
  "dialog.allowsFork": "Zuschauern das Forken der Sitzung erlauben",
5075
5310
  "dialog.allowsForkHint": "Geforkte Sitzungen behalten dieselben Berechtigungen wie die Quellsitzung.",
5076
5311
  "dialog.sessionMode.notGranted": "Dieses Harness hat die Sitzungsberechtigung nicht zurückgemeldet: Eine ältere Eigentümer-Version muss aktualisiert werden, bevor die Freigabe sie tragen kann.",
@@ -5084,18 +5319,13 @@ window.__ModuleLoader__.load({
5084
5319
  "dialog.permissions.unsaved": "Ungespeicherte Änderungen.",
5085
5320
  "dialog.permissions.discard": "Ungespeicherte Änderungen; wenn du erneut auf Fertig klickst, werden sie verworfen.",
5086
5321
  "dialog.capabilities": "Plugin-Endpunkte",
5087
- "dialog.capabilities.description": "Wähle eine Stufe für diese Freigabe; beim Speichern wird die Stufe auf die Endpunkte ausgeweitet, die die Plugins jetzt deklarieren, sodass später hinzugefügte Endpunkte geschlossen bleiben.",
5088
- "dialog.capabilities.none": "Für Betrachter nicht geöffnet",
5089
- "dialog.capabilities.count": "Für Betrachter geöffnete Endpunkte: {count}",
5322
+ "dialog.capabilities.global": "Plugin-Berechtigungen",
5323
+ "dialog.capabilities.global.none": "Alle ablehnen",
5324
+ "dialog.capabilities.global.all": "Alle erlauben",
5325
+ "dialog.capabilities.global.custom": "Benutzerdefiniert",
5090
5326
  "dialog.capabilities.tier.none": "Nicht verfügbar",
5091
- "dialog.capabilities.tier.read": "Nur lesen",
5092
- "dialog.capabilities.tier.write": "Beschreibbar",
5093
- "dialog.capabilities.summary.read": "Nur lesen · {count} Endpunkte",
5094
- "dialog.capabilities.summary.write": "Beschreibbar · {readable} nur lesen + {writable} beschreibbar",
5095
- "dialog.capabilities.stale": "Die gespeicherte Auswahl ist keine vollständige Stufe; erneutes Speichern ersetzt sie durch die gewählte Stufe.",
5096
- "dialog.capabilities.noReadable": "Kein Plugin bietet einen schreibgeschützten Endpunkt, daher kann „Nur lesen“ nicht gewählt werden.",
5097
- "dialog.capabilities.noWritable": "Kein Plugin bietet einen beschreibbaren Endpunkt, daher kann „Beschreibbar“ nicht gewählt werden.",
5098
- "dialog.capabilities.writeHint": "Ein beschreibbarer Endpunkt wirkt nur, wenn die geteilte Sitzung das Schreiben erlaubt, und ist in einer beschreibbaren Freigabe zerstörerisch.",
5327
+ "dialog.capabilities.tier.all": "Alle Methoden",
5328
+ "dialog.capabilities.partial": "Teilweise",
5099
5329
  "dialog.capabilities.empty": "Derzeit deklariert kein Plugin teilbare Endpunkte.",
5100
5330
  "dialog.capabilities.createFailed": "Die Freigabe wurde erstellt, aber ihre Plugin-Endpunkte wurden nicht gespeichert; versuche es erneut unter Freigabeberechtigungen.",
5101
5331
  "dialog.linkHelp": "Das Schließen dieses Bereichs beendet die Freigabe nicht.",
@@ -5205,6 +5435,8 @@ window.__ModuleLoader__.load({
5205
5435
  "manage.audit.shareStop": "Freigabe beendet",
5206
5436
  "manage.done": "Fertig",
5207
5437
  "viewer.title": "Liveshare-Sitzung (schreibgeschützt)",
5438
+ "viewer.pluginUnsupported": "Das Plugin {plugin} wird in dieser Freigabe nicht unterstützt; einige Funktionen sind nicht verfügbar.",
5439
+ "viewer.dismiss": "Schließen",
5208
5440
  "viewer.sharedBy": "Geteilt von {owner} · {title}",
5209
5441
  "viewer.readonlyNote": "Nur lesen: Du kannst diese Sitzung steuern, liest aber nur Dateien innerhalb des Freigabebereichs und änderst nichts.",
5210
5442
  "viewer.writeUnavailableNote": "Der Eigentümer hat das Schreiben erlaubt, aber diese Sitzung kann derzeit nicht gesteuert werden; sobald sie vorbereitet ist, kannst du Nachrichten senden.",
@@ -5299,6 +5531,7 @@ window.__ModuleLoader__.load({
5299
5531
  "dialog.sessionMode.write": "Запись в рабочем пространстве",
5300
5532
  "dialog.sessionMode.hint.view": "Только чтение: зрители читают файлы и историю сеанса в общем доступе и могут отправлять сообщения в сеанс, но все инструменты работают в песочнице только для чтения и не могут записывать файлы.",
5301
5533
  "dialog.sessionMode.hint.write": "Запись в рабочем пространстве: зритель работает в изолированной среде с ограниченной записью; он изменяет файлы в пределах общего доступа и под лимитом записи; чтение и запись за пределами этого доступа отклоняются, а ваши глобальные настройки, учётные данные и другие сеансы остаются закрытыми.",
5534
+ "dialog.ptcSandboxWarning": "Внимание: песочница PTC в LiveShare пока неполная — зритель может читать или записывать файлы за пределами общего рабочего пространства через run_code. Делитесь только с доверенными людьми.",
5302
5535
  "dialog.allowsFork": "Разрешить зрителям ответвлять сеанс",
5303
5536
  "dialog.allowsForkHint": "Ответвлённые сессии сохраняют те же разрешения, что и исходная сессия.",
5304
5537
  "dialog.sessionMode.notGranted": "Этот Harness не вернул разрешение сеанса: более старая версия владельца должна быть обновлена, прежде чем общий доступ сможет его нести.",
@@ -5312,18 +5545,13 @@ window.__ModuleLoader__.load({
5312
5545
  "dialog.permissions.unsaved": "Есть несохранённые изменения.",
5313
5546
  "dialog.permissions.discard": "Есть несохранённые изменения; повторное нажатие «Готово» отменит их.",
5314
5547
  "dialog.capabilities": "Конечные точки плагинов",
5315
- "dialog.capabilities.description": "Выберите уровень для этого общего доступа; при сохранении уровень разворачивается в конечные точки, которые плагины объявляют сейчас, поэтому добавленные позже останутся закрытыми.",
5316
- "dialog.capabilities.none": "Не открыт для зрителей",
5317
- "dialog.capabilities.count": "Конечных точек открыто для зрителей: {count}",
5548
+ "dialog.capabilities.global": "Разрешения плагинов",
5549
+ "dialog.capabilities.global.none": "Запретить все",
5550
+ "dialog.capabilities.global.all": "Разрешить все",
5551
+ "dialog.capabilities.global.custom": "Настроить",
5318
5552
  "dialog.capabilities.tier.none": "Недоступно",
5319
- "dialog.capabilities.tier.read": "Только чтение",
5320
- "dialog.capabilities.tier.write": "Запись",
5321
- "dialog.capabilities.summary.read": "Только чтение · {count} конечных точек",
5322
- "dialog.capabilities.summary.write": "Запись · {readable} только для чтения + {writable} для записи",
5323
- "dialog.capabilities.stale": "Сохранённый выбор не является целым уровнем; повторное сохранение заменит его выбранным уровнем.",
5324
- "dialog.capabilities.noReadable": "Ни один плагин не предоставляет конечную точку только для чтения, поэтому «Только чтение» выбрать нельзя.",
5325
- "dialog.capabilities.noWritable": "Ни один плагин не предоставляет конечную точку для записи, поэтому «Запись» выбрать нельзя.",
5326
- "dialog.capabilities.writeHint": "Конечная точка для записи действует только тогда, когда общий сеанс разрешает запись, и она разрушительна в общем доступе с записью.",
5553
+ "dialog.capabilities.tier.all": "Все методы",
5554
+ "dialog.capabilities.partial": "Часть",
5327
5555
  "dialog.capabilities.empty": "Сейчас ни один плагин не объявляет конечные точки для общего доступа.",
5328
5556
  "dialog.capabilities.createFailed": "Общий доступ создан, но конечные точки плагинов не сохранены; повторите в разделе «Разрешения общего доступа».",
5329
5557
  "dialog.linkHelp": "Закрытие этой панели не останавливает общий доступ.",
@@ -5433,6 +5661,8 @@ window.__ModuleLoader__.load({
5433
5661
  "manage.audit.shareStop": "Общий доступ остановлен",
5434
5662
  "manage.done": "Готово",
5435
5663
  "viewer.title": "Сеанс Liveshare только для чтения",
5664
+ "viewer.pluginUnsupported": "Плагин {plugin} не поддерживается в этом общем доступе; некоторые функции недоступны.",
5665
+ "viewer.dismiss": "Закрыть",
5436
5666
  "viewer.sharedBy": "Открыт {owner} · {title}",
5437
5667
  "viewer.readonlyNote": "Только чтение: вы можете управлять этим сеансом, но читаете только файлы в пределах общего доступа и ничего не меняете.",
5438
5668
  "viewer.writeUnavailableNote": "Владелец разрешил запись, но этим сеансом сейчас нельзя управлять; отправка станет доступна, когда он будет подготовлен.",
@@ -5527,6 +5757,7 @@ window.__ModuleLoader__.load({
5527
5757
  "dialog.sessionMode.write": "Escrita no espaço de trabalho",
5528
5758
  "dialog.sessionMode.hint.view": "Somente leitura: os espectadores leem os arquivos e o histórico da sessão no escopo compartilhado e podem enviar mensagens à sessão, mas todas as ferramentas são executadas em um sandbox somente leitura e não podem gravar arquivos.",
5529
5759
  "dialog.sessionMode.hint.write": "Escrita no espaço de trabalho: o espectador trabalha em um sandbox gravável e limitado; ele altera arquivos dentro do escopo do compartilhamento sob o limite de escrita; leituras e gravações fora desse escopo são recusadas, e suas configurações globais, credenciais e outras sessões continuam fechadas.",
5760
+ "dialog.ptcSandboxWarning": "Aviso: a sandbox PTC do LiveShare ainda nao esta completa - um espectador pode ler ou gravar arquivos fora do espaco compartilhado por meio de run_code. Compartilhe apenas com pessoas de confianca.",
5530
5761
  "dialog.allowsFork": "Permitir que os espectadores criem uma ramificação da sessão",
5531
5762
  "dialog.allowsForkHint": "As sessões ramificadas mantêm as mesmas permissões da sessão original.",
5532
5763
  "dialog.sessionMode.notGranted": "Este Harness não retornou a permissão da sessão: uma versão mais antiga do proprietário precisa ser atualizada antes de o compartilhamento poder carregá-la.",
@@ -5540,18 +5771,13 @@ window.__ModuleLoader__.load({
5540
5771
  "dialog.permissions.unsaved": "Alterações não salvas.",
5541
5772
  "dialog.permissions.discard": "Alterações não salvas; escolher Concluído novamente as descarta.",
5542
5773
  "dialog.capabilities": "Endpoints dos plugins",
5543
- "dialog.capabilities.description": "Escolha um nível para este compartilhamento; ao salvar, o nível se expande para os endpoints que os plugins declaram agora, então os que forem adicionados depois continuam fechados.",
5544
- "dialog.capabilities.none": "Não aberto a espectadores",
5545
- "dialog.capabilities.count": "Endpoints abertos a espectadores: {count}",
5774
+ "dialog.capabilities.global": "Permissões de plugins",
5775
+ "dialog.capabilities.global.none": "Negar todos",
5776
+ "dialog.capabilities.global.all": "Permitir todos",
5777
+ "dialog.capabilities.global.custom": "Personalizado",
5546
5778
  "dialog.capabilities.tier.none": "Indisponível",
5547
- "dialog.capabilities.tier.read": "Somente leitura",
5548
- "dialog.capabilities.tier.write": "Gravável",
5549
- "dialog.capabilities.summary.read": "Somente leitura · {count} endpoints",
5550
- "dialog.capabilities.summary.write": "Gravável · {readable} somente leitura + {writable} graváveis",
5551
- "dialog.capabilities.stale": "A seleção salva não é um nível inteiro; salvar de novo a substitui pelo nível escolhido.",
5552
- "dialog.capabilities.noReadable": "Nenhum plugin oferece um endpoint somente leitura, então Somente leitura não pode ser escolhido.",
5553
- "dialog.capabilities.noWritable": "Nenhum plugin oferece um endpoint gravável, então Gravável não pode ser escolhido.",
5554
- "dialog.capabilities.writeHint": "Um endpoint gravável só entra em vigor quando a sessão compartilhada permite escrita, e é destrutivo em um compartilhamento gravável.",
5779
+ "dialog.capabilities.tier.all": "Todos os métodos",
5780
+ "dialog.capabilities.partial": "Parcial",
5555
5781
  "dialog.capabilities.empty": "Nenhum plugin declara endpoints para compartilhar no momento.",
5556
5782
  "dialog.capabilities.createFailed": "O compartilhamento foi criado, mas os endpoints dos plugins não foram salvos; tente novamente em Permissões do compartilhamento.",
5557
5783
  "dialog.linkHelp": "Fechar este painel não interrompe o compartilhamento.",
@@ -5661,6 +5887,8 @@ window.__ModuleLoader__.load({
5661
5887
  "manage.audit.shareStop": "Compartilhamento interrompido",
5662
5888
  "manage.done": "Concluído",
5663
5889
  "viewer.title": "Sessão somente leitura do Liveshare",
5890
+ "viewer.pluginUnsupported": "O plugin {plugin} não é compatível com este compartilhamento; alguns recursos não estão disponíveis.",
5891
+ "viewer.dismiss": "Fechar",
5664
5892
  "viewer.sharedBy": "Compartilhado por {owner} · {title}",
5665
5893
  "viewer.readonlyNote": "Somente leitura: você pode conduzir esta sessão, mas lê apenas arquivos dentro do escopo do compartilhamento e não altera nada.",
5666
5894
  "viewer.writeUnavailableNote": "O proprietário concedeu escrita, mas esta sessão não pode ser conduzida agora; o envio ficará disponível quando ela estiver preparada.",
@@ -6583,6 +6811,167 @@ window.__ModuleLoader__.load({
6583
6811
  };
6584
6812
  }
6585
6813
  //#endregion
6814
+ //#region lib/types/client/viewer-plugin-warning.js
6815
+ /**
6816
+ * Surface a viewer-facing notice when a plugin calls an owner-only route.
6817
+ *
6818
+ * A plugin's RPC error may be swallowed by that plugin's own UI. This page-level notice names the
6819
+ * plugin once per page so the reader learns why a panel is empty; it never retries or changes the
6820
+ * call itself.
6821
+ * @module @deepseek-ai/dsh-experimental-liveshare/src/client/viewer-plugin-warning
6822
+ */
6823
+ /** Plugin names already announced on this page. */
6824
+ const announced = /* @__PURE__ */ new Set();
6825
+ /**
6826
+ * Read the plugin segment of one owner-only Fetch route.
6827
+ * @param input - Fetch input.
6828
+ * @returns The plugin namespace, or undefined for another request.
6829
+ */
6830
+ function pluginOf(input) {
6831
+ let url;
6832
+ try {
6833
+ url = new URL(input instanceof Request ? input.url : String(input), location.href);
6834
+ } catch {
6835
+ /* v8 ignore next -- a malformed URL is ignored before it reaches fetch. */
6836
+ return;
6837
+ }
6838
+ if (url.origin !== location.origin || !url.pathname.startsWith("/api/")) return void 0;
6839
+ const plugin = url.pathname.split("/")[2];
6840
+ return plugin === void 0 || plugin === "" ? void 0 : plugin;
6841
+ }
6842
+ /**
6843
+ * Read the plugin segment of one RPC endpoint.
6844
+ * @param endpoint - Channel-relative endpoint such as `timeline/watch`.
6845
+ * @returns The plugin namespace.
6846
+ */
6847
+ function pluginOfEndpoint(endpoint) {
6848
+ const plugin = endpoint.split("/")[0];
6849
+ return plugin === void 0 || plugin === "" ? void 0 : plugin;
6850
+ }
6851
+ /**
6852
+ * Whether one response body is LiveShare's owner-route refusal.
6853
+ * @param response - The response to inspect.
6854
+ * @returns True for the stable refusal code.
6855
+ */
6856
+ async function ownerRouteRefused(response) {
6857
+ if (response.status !== 403) return false;
6858
+ try {
6859
+ const body = await response.clone().json();
6860
+ return typeof body === "object" && body !== null && body.error === "owner-route-not-shared";
6861
+ } catch {
6862
+ return false;
6863
+ }
6864
+ }
6865
+ /**
6866
+ * Whether one RPC failure carries the owner-route refusal.
6867
+ * @param error - Connection RPC failure.
6868
+ * @returns True for the stable code.
6869
+ */
6870
+ function isOwnerRouteFailure(error) {
6871
+ if (error instanceof Error && error.message.includes("owner-route-not-shared")) return true;
6872
+ return typeof error === "object" && error !== null && JSON.stringify(error).includes("owner-route-not-shared");
6873
+ }
6874
+ /** Draw the one notice for a plugin. */
6875
+ function showNotice(document, plugin, t) {
6876
+ const notice = document.createElement("div");
6877
+ notice.setAttribute("role", "status");
6878
+ notice.dataset.livesharePluginWarning = plugin;
6879
+ notice.style.cssText = [
6880
+ "position:fixed",
6881
+ "right:16px",
6882
+ "bottom:16px",
6883
+ "z-index:1000",
6884
+ "max-width:360px",
6885
+ "padding:10px 12px",
6886
+ "border-radius:8px",
6887
+ "background:var(--dsw-alias-bg-elevated,#fff)",
6888
+ "color:var(--dsw-alias-label-primary,#111)",
6889
+ "border:1px solid var(--dsw-alias-border-l2,#ddd)",
6890
+ "box-shadow:0 6px 20px rgba(0,0,0,.16)",
6891
+ "font-size:12px",
6892
+ "line-height:1.45"
6893
+ ].join(";");
6894
+ notice.textContent = t("viewer.pluginUnsupported", { plugin });
6895
+ document.body.append(notice);
6896
+ const close = document.createElement("button");
6897
+ close.type = "button";
6898
+ close.textContent = "×";
6899
+ close.setAttribute("aria-label", t("viewer.dismiss"));
6900
+ close.style.cssText = "margin-left:8px;border:0;background:none;color:inherit;cursor:pointer";
6901
+ close.addEventListener("click", () => {
6902
+ notice.remove();
6903
+ });
6904
+ notice.append(close);
6905
+ }
6906
+ /**
6907
+ * Announce one plugin at most once on this page.
6908
+ * @param document - Page document that owns the notice.
6909
+ * @param plugin - Plugin namespace.
6910
+ * @param t - Viewer copy.
6911
+ */
6912
+ function reportViewerPluginWarning(document, plugin, t) {
6913
+ if (announced.has(plugin)) return;
6914
+ announced.add(plugin);
6915
+ showNotice(document, plugin, t);
6916
+ }
6917
+ /**
6918
+ * Observe same-origin plugin RPC responses and name each failing plugin once.
6919
+ * @param document - Page document that owns the notice.
6920
+ * @param t - Viewer copy.
6921
+ * @returns Disposer restoring the global fetch and removing notices.
6922
+ */
6923
+ function installViewerPluginWarnings(document, t) {
6924
+ const original = globalThis.fetch;
6925
+ const patched = async (input, init) => {
6926
+ const response = await original(input, init);
6927
+ const plugin = pluginOf(input);
6928
+ if (plugin !== void 0 && await ownerRouteRefused(response)) reportViewerPluginWarning(document, plugin, t);
6929
+ return response;
6930
+ };
6931
+ globalThis.fetch = patched;
6932
+ return () => {
6933
+ if (globalThis.fetch === patched) globalThis.fetch = original;
6934
+ for (const notice of document.querySelectorAll("[data-liveshare-plugin-warning]")) notice.remove();
6935
+ announced.clear();
6936
+ };
6937
+ }
6938
+ /**
6939
+ * Observe the Connection's logical RPC calls, which browser transports carry outside `fetch`.
6940
+ * @param connection - Viewer page Connection.
6941
+ * @param document - Page document that owns the notice.
6942
+ * @param t - Viewer copy.
6943
+ * @returns Disposer restoring the original call.
6944
+ */
6945
+ function installViewerRpcWarnings(connection, document, t) {
6946
+ const rpc = connection.rpc;
6947
+ if (rpc === void 0) return () => {};
6948
+ const original = rpc.call.bind(rpc);
6949
+ const patched = async (channel, endpoint, payload, signal) => {
6950
+ try {
6951
+ const result = await original(channel, endpoint, payload, signal);
6952
+ if (!result.ok && isOwnerRouteFailure(result.error)) {
6953
+ const plugin = pluginOfEndpoint(endpoint);
6954
+ if (plugin !== void 0) reportViewerPluginWarning(document, plugin, t);
6955
+ }
6956
+ return result;
6957
+ } catch (error) {
6958
+ if (isOwnerRouteFailure(error)) {
6959
+ const plugin = pluginOfEndpoint(endpoint);
6960
+ if (plugin !== void 0) reportViewerPluginWarning(document, plugin, t);
6961
+ }
6962
+ throw error;
6963
+ }
6964
+ };
6965
+ try {
6966
+ rpc.call = patched;
6967
+ } catch {
6968
+ return () => {};
6969
+ }
6970
+ return () => {
6971
+ if (rpc.call === patched) rpc.call = original;
6972
+ };
6973
+ }
6974
+ //#endregion
6586
6975
  //#region lib/types/client/viewer-session-plugin.js
6587
6976
  /**
6588
6977
  * Viewer-local plugin that reads the share the page presents and opens its one shared Session.
@@ -6708,6 +7097,8 @@ window.__ModuleLoader__.load({
6708
7097
  banner.dispose();
6709
7098
  };
6710
7099
  }, "liveshare: state why the page shows no Session");
7100
+ ctx.effect(() => installViewerPluginWarnings(document, t), "liveshare: name an owner-only plugin route once");
7101
+ ctx.effect(() => installViewerRpcWarnings(ctx.get("connection"), document, t), "liveshare: name an owner-only RPC route once");
6711
7102
  ctx.effect(() => {
6712
7103
  const state = ctx.get("connection").state;
6713
7104
  const note = () => {
@@ -7055,7 +7446,7 @@ window.__ModuleLoader__.load({
7055
7446
  scope.slots.inject("conversation.session.header.utilities", () => scope.slots.register({
7056
7447
  name: "conversation.session.header.utilities",
7057
7448
  id: "liveshare-share",
7058
- order: 30,
7449
+ order: -7,
7059
7450
  locale: NS,
7060
7451
  inject: () => ({ shares })
7061
7452
  }, LiveshareShareAction));