@jingyi0605/codingns4dsh 0.2.1-beta.6 → 0.2.1-beta.8

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 (711) hide show
  1. package/README.en.md +4 -4
  2. package/README.md +21 -5
  3. package/THIRD_PARTY_NOTICES +5 -0
  4. package/assets/provider-icons/r4.svg +4 -0
  5. package/data/build/dist/bootstrap/dsh-connection-adapter.d.ts +1 -1
  6. package/data/build/dist/bootstrap/index.d.ts +1 -1
  7. package/data/build/dist/client/assistant-settings-styles.d.ts.map +1 -1
  8. package/data/build/dist/client/assistant-settings-styles.js +3 -2
  9. package/data/build/dist/client/assistant-settings-styles.js.map +1 -1
  10. package/data/build/dist/client/avatar/catalog-panel.d.ts.map +1 -1
  11. package/data/build/dist/client/avatar/catalog-panel.js +7 -5
  12. package/data/build/dist/client/avatar/catalog-panel.js.map +1 -1
  13. package/data/build/dist/client/avatar/catalog-picker.d.ts.map +1 -1
  14. package/data/build/dist/client/avatar/catalog-picker.js +2 -1
  15. package/data/build/dist/client/avatar/catalog-picker.js.map +1 -1
  16. package/data/build/dist/client/avatar/desktop-bridge.d.ts +7 -3
  17. package/data/build/dist/client/avatar/desktop-bridge.d.ts.map +1 -1
  18. package/data/build/dist/client/avatar/desktop-bridge.js +64 -5
  19. package/data/build/dist/client/avatar/desktop-bridge.js.map +1 -1
  20. package/data/build/dist/client/avatar/desktop-view.d.ts +6 -0
  21. package/data/build/dist/client/avatar/desktop-view.d.ts.map +1 -1
  22. package/data/build/dist/client/avatar/desktop-view.js +98 -5
  23. package/data/build/dist/client/avatar/desktop-view.js.map +1 -1
  24. package/data/build/dist/client/avatar/engine.d.ts.map +1 -1
  25. package/data/build/dist/client/avatar/engine.js +3 -2
  26. package/data/build/dist/client/avatar/engine.js.map +1 -1
  27. package/data/build/dist/client/avatar/floating.d.ts +8 -3
  28. package/data/build/dist/client/avatar/floating.d.ts.map +1 -1
  29. package/data/build/dist/client/avatar/floating.js +22 -4
  30. package/data/build/dist/client/avatar/floating.js.map +1 -1
  31. package/data/build/dist/client/avatar/image.d.ts +1 -1
  32. package/data/build/dist/client/avatar/image.d.ts.map +1 -1
  33. package/data/build/dist/client/avatar/image.js +2 -2
  34. package/data/build/dist/client/avatar/image.js.map +1 -1
  35. package/data/build/dist/client/avatar/live2d.d.ts +14 -3
  36. package/data/build/dist/client/avatar/live2d.d.ts.map +1 -1
  37. package/data/build/dist/client/avatar/live2d.js +62 -9
  38. package/data/build/dist/client/avatar/live2d.js.map +1 -1
  39. package/data/build/dist/client/avatar/loading.d.ts.map +1 -1
  40. package/data/build/dist/client/avatar/loading.js +3 -2
  41. package/data/build/dist/client/avatar/loading.js.map +1 -1
  42. package/data/build/dist/client/avatar/notification-bubble.d.ts +39 -0
  43. package/data/build/dist/client/avatar/notification-bubble.d.ts.map +1 -0
  44. package/data/build/dist/client/avatar/notification-bubble.js +353 -0
  45. package/data/build/dist/client/avatar/notification-bubble.js.map +1 -0
  46. package/data/build/dist/client/avatar/notification-surface.d.ts +16 -0
  47. package/data/build/dist/client/avatar/notification-surface.d.ts.map +1 -0
  48. package/data/build/dist/client/avatar/notification-surface.js +54 -0
  49. package/data/build/dist/client/avatar/notification-surface.js.map +1 -0
  50. package/data/build/dist/client/avatar/reaction-badge.d.ts +7 -0
  51. package/data/build/dist/client/avatar/reaction-badge.d.ts.map +1 -0
  52. package/data/build/dist/client/avatar/reaction-badge.js +20 -0
  53. package/data/build/dist/client/avatar/reaction-badge.js.map +1 -0
  54. package/data/build/dist/client/avatar/registry.d.ts +2 -1
  55. package/data/build/dist/client/avatar/registry.d.ts.map +1 -1
  56. package/data/build/dist/client/avatar/registry.js.map +1 -1
  57. package/data/build/dist/client/avatar/settings-panel.d.ts.map +1 -1
  58. package/data/build/dist/client/avatar/settings-panel.js +7 -5
  59. package/data/build/dist/client/avatar/settings-panel.js.map +1 -1
  60. package/data/build/dist/client/avatar/slot.d.ts +2 -1
  61. package/data/build/dist/client/avatar/slot.d.ts.map +1 -1
  62. package/data/build/dist/client/avatar/slot.js +5 -4
  63. package/data/build/dist/client/avatar/slot.js.map +1 -1
  64. package/data/build/dist/client/avatar/spritesheet.d.ts +4 -2
  65. package/data/build/dist/client/avatar/spritesheet.d.ts.map +1 -1
  66. package/data/build/dist/client/avatar/spritesheet.js +18 -9
  67. package/data/build/dist/client/avatar/spritesheet.js.map +1 -1
  68. package/data/build/dist/client/bundle.js +6881 -1776
  69. package/data/build/dist/client/bundle.js.map +1 -1
  70. package/data/build/dist/client/cli-catalog.d.ts +1 -1
  71. package/data/build/dist/client/cli-catalog.d.ts.map +1 -1
  72. package/data/build/dist/client/cli-catalog.js +2 -0
  73. package/data/build/dist/client/cli-catalog.js.map +1 -1
  74. package/data/build/dist/client/cli-session-config-cache.d.ts +17 -0
  75. package/data/build/dist/client/cli-session-config-cache.d.ts.map +1 -0
  76. package/data/build/dist/client/cli-session-config-cache.js +56 -0
  77. package/data/build/dist/client/cli-session-config-cache.js.map +1 -0
  78. package/data/build/dist/client/cli-settings-rpc.d.ts +5 -0
  79. package/data/build/dist/client/cli-settings-rpc.d.ts.map +1 -0
  80. package/data/build/dist/client/cli-settings-rpc.js +60 -0
  81. package/data/build/dist/client/cli-settings-rpc.js.map +1 -0
  82. package/data/build/dist/client/cli-slots.d.ts.map +1 -1
  83. package/data/build/dist/client/cli-slots.js +24 -40
  84. package/data/build/dist/client/cli-slots.js.map +1 -1
  85. package/data/build/dist/client/client.assistant-configuration-view.js +264 -55
  86. package/data/build/dist/client/client.assistant-configuration-view.js.map +1 -1
  87. package/data/build/dist/client/client.assistant-debug-workbench.js +4 -4
  88. package/data/build/dist/client/client.assistant-debug-workbench.js.map +1 -1
  89. package/data/build/dist/client/{client.assistant-prompts.js → client.assistant-notifications.js} +63 -2
  90. package/data/build/dist/client/client.assistant-notifications.js.map +1 -0
  91. package/data/build/dist/client/client.assistant-prompt-editor.js +4 -4
  92. package/data/build/dist/client/client.assistant-prompt-editor.js.map +1 -1
  93. package/data/build/dist/client/client.assistant-workbench.js +287 -161
  94. package/data/build/dist/client/client.assistant-workbench.js.map +1 -1
  95. package/data/build/dist/client/client.delegate-command.js +12 -25
  96. package/data/build/dist/client/client.delegate-command.js.map +1 -1
  97. package/data/build/dist/client/client.manager.js +201 -25
  98. package/data/build/dist/client/client.manager.js.map +1 -1
  99. package/data/build/dist/client/client.model-catalog-cache.js +2 -1
  100. package/data/build/dist/client/client.model-catalog-cache.js.map +1 -1
  101. package/data/build/dist/client/client.native-workspace-store.js +42 -11
  102. package/data/build/dist/client/client.native-workspace-store.js.map +1 -1
  103. package/data/build/dist/client/client.primitives-adapter.js.map +1 -1
  104. package/data/build/dist/client/client.react-dom.js +250 -0
  105. package/data/build/dist/client/client.react-dom.js.map +1 -1
  106. package/data/build/dist/client/client.theme.js +58 -12
  107. package/data/build/dist/client/client.theme.js.map +1 -1
  108. package/data/build/dist/client/client.transport.js +342 -46
  109. package/data/build/dist/client/client.transport.js.map +1 -1
  110. package/data/build/dist/client/debug/ui.d.ts.map +1 -1
  111. package/data/build/dist/client/debug/ui.js +30 -29
  112. package/data/build/dist/client/debug/ui.js.map +1 -1
  113. package/data/build/dist/client/delegate-command.d.ts.map +1 -1
  114. package/data/build/dist/client/delegate-command.js +12 -21
  115. package/data/build/dist/client/delegate-command.js.map +1 -1
  116. package/data/build/dist/client/desktop-assistant.js +61859 -158
  117. package/data/build/dist/client/external-tool-stream.d.ts.map +1 -1
  118. package/data/build/dist/client/external-tool-stream.js +2 -1
  119. package/data/build/dist/client/external-tool-stream.js.map +1 -1
  120. package/data/build/dist/client/features/assistant-configuration-session.js +3 -3
  121. package/data/build/dist/client/features/assistant-configuration-session.js.map +1 -1
  122. package/data/build/dist/client/features/assistant-configuration-tabs.d.ts.map +1 -1
  123. package/data/build/dist/client/features/assistant-configuration-tabs.js +2 -1
  124. package/data/build/dist/client/features/assistant-configuration-tabs.js.map +1 -1
  125. package/data/build/dist/client/features/assistant-configuration-view.d.ts +8 -0
  126. package/data/build/dist/client/features/assistant-configuration-view.d.ts.map +1 -1
  127. package/data/build/dist/client/features/assistant-configuration-view.js +99 -3
  128. package/data/build/dist/client/features/assistant-configuration-view.js.map +1 -1
  129. package/data/build/dist/client/features/assistant-conversation-message.d.ts +2 -1
  130. package/data/build/dist/client/features/assistant-conversation-message.d.ts.map +1 -1
  131. package/data/build/dist/client/features/assistant-conversation-message.js +64 -28
  132. package/data/build/dist/client/features/assistant-conversation-message.js.map +1 -1
  133. package/data/build/dist/client/features/assistant-debug-workbench.d.ts.map +1 -1
  134. package/data/build/dist/client/features/assistant-debug-workbench.js +3 -2
  135. package/data/build/dist/client/features/assistant-debug-workbench.js.map +1 -1
  136. package/data/build/dist/client/features/assistant-floating-call.d.ts.map +1 -1
  137. package/data/build/dist/client/features/assistant-floating-call.js +4 -3
  138. package/data/build/dist/client/features/assistant-floating-call.js.map +1 -1
  139. package/data/build/dist/client/features/assistant-notification-store.d.ts +72 -0
  140. package/data/build/dist/client/features/assistant-notification-store.d.ts.map +1 -0
  141. package/data/build/dist/client/features/assistant-notification-store.js +439 -0
  142. package/data/build/dist/client/features/assistant-notification-store.js.map +1 -0
  143. package/data/build/dist/client/features/assistant-realtime-call.d.ts.map +1 -1
  144. package/data/build/dist/client/features/assistant-realtime-call.js +13 -12
  145. package/data/build/dist/client/features/assistant-realtime-call.js.map +1 -1
  146. package/data/build/dist/client/features/assistant-record-style.js +11 -4
  147. package/data/build/dist/client/features/assistant-record-style.js.map +1 -1
  148. package/data/build/dist/client/features/assistant-voice-initialization.d.ts.map +1 -1
  149. package/data/build/dist/client/features/assistant-voice-initialization.js +4 -2
  150. package/data/build/dist/client/features/assistant-voice-initialization.js.map +1 -1
  151. package/data/build/dist/client/features/assistant-voice-settings-group.d.ts.map +1 -1
  152. package/data/build/dist/client/features/assistant-voice-settings-group.js +2 -1
  153. package/data/build/dist/client/features/assistant-voice-settings-group.js.map +1 -1
  154. package/data/build/dist/client/features/assistant-voice-settings.d.ts.map +1 -1
  155. package/data/build/dist/client/features/assistant-voice-settings.js +4 -3
  156. package/data/build/dist/client/features/assistant-voice-settings.js.map +1 -1
  157. package/data/build/dist/client/features/assistant-workbench-controls.d.ts.map +1 -1
  158. package/data/build/dist/client/features/assistant-workbench-controls.js +6 -5
  159. package/data/build/dist/client/features/assistant-workbench-controls.js.map +1 -1
  160. package/data/build/dist/client/features/assistant-workbench.d.ts +4 -0
  161. package/data/build/dist/client/features/assistant-workbench.d.ts.map +1 -1
  162. package/data/build/dist/client/features/assistant-workbench.js +37 -9
  163. package/data/build/dist/client/features/assistant-workbench.js.map +1 -1
  164. package/data/build/dist/client/features/cli-adapters.d.ts.map +1 -1
  165. package/data/build/dist/client/features/cli-adapters.js +140 -35
  166. package/data/build/dist/client/features/cli-adapters.js.map +1 -1
  167. package/data/build/dist/client/features/file-management-panel.d.ts.map +1 -1
  168. package/data/build/dist/client/features/file-management-panel.js +3 -10
  169. package/data/build/dist/client/features/file-management-panel.js.map +1 -1
  170. package/data/build/dist/client/features/global-voice-assistant.d.ts +6 -0
  171. package/data/build/dist/client/features/global-voice-assistant.d.ts.map +1 -1
  172. package/data/build/dist/client/features/global-voice-assistant.js +117 -3
  173. package/data/build/dist/client/features/global-voice-assistant.js.map +1 -1
  174. package/data/build/dist/client/features/index.d.ts +1 -0
  175. package/data/build/dist/client/features/index.d.ts.map +1 -1
  176. package/data/build/dist/client/features/index.js +3 -0
  177. package/data/build/dist/client/features/index.js.map +1 -1
  178. package/data/build/dist/client/features/lan-access-panel.d.ts.map +1 -1
  179. package/data/build/dist/client/features/lan-access-panel.js +6 -4
  180. package/data/build/dist/client/features/lan-access-panel.js.map +1 -1
  181. package/data/build/dist/client/features/login-protection-panel.d.ts.map +1 -1
  182. package/data/build/dist/client/features/login-protection-panel.js +7 -2
  183. package/data/build/dist/client/features/login-protection-panel.js.map +1 -1
  184. package/data/build/dist/client/features/mobile-access-panel.d.ts.map +1 -1
  185. package/data/build/dist/client/features/mobile-access-panel.js +19 -13
  186. package/data/build/dist/client/features/mobile-access-panel.js.map +1 -1
  187. package/data/build/dist/client/features/peer-host.d.ts +3 -0
  188. package/data/build/dist/client/features/peer-host.d.ts.map +1 -1
  189. package/data/build/dist/client/features/peer-host.js +445 -28
  190. package/data/build/dist/client/features/peer-host.js.map +1 -1
  191. package/data/build/dist/client/features/reverse-proxy-panel.d.ts.map +1 -1
  192. package/data/build/dist/client/features/reverse-proxy-panel.js +5 -4
  193. package/data/build/dist/client/features/reverse-proxy-panel.js.map +1 -1
  194. package/data/build/dist/client/features/subagent-collapsed-lineage.d.ts +9 -0
  195. package/data/build/dist/client/features/subagent-collapsed-lineage.d.ts.map +1 -0
  196. package/data/build/dist/client/features/subagent-collapsed-lineage.js +28 -0
  197. package/data/build/dist/client/features/subagent-collapsed-lineage.js.map +1 -0
  198. package/data/build/dist/client/features/subscription-usage-panel.d.ts.map +1 -1
  199. package/data/build/dist/client/features/subscription-usage-panel.js +4 -3
  200. package/data/build/dist/client/features/subscription-usage-panel.js.map +1 -1
  201. package/data/build/dist/client/features/terminal-enhancement-panel.d.ts.map +1 -1
  202. package/data/build/dist/client/features/terminal-enhancement-panel.js +6 -4
  203. package/data/build/dist/client/features/terminal-enhancement-panel.js.map +1 -1
  204. package/data/build/dist/client/features/types.d.ts +8 -0
  205. package/data/build/dist/client/features/types.d.ts.map +1 -1
  206. package/data/build/dist/client/features/voice-conversation-dialog.d.ts.map +1 -1
  207. package/data/build/dist/client/features/voice-conversation-dialog.js +7 -6
  208. package/data/build/dist/client/features/voice-conversation-dialog.js.map +1 -1
  209. package/data/build/dist/client/features/voice-initialization-dialog.d.ts.map +1 -1
  210. package/data/build/dist/client/features/voice-initialization-dialog.js +7 -6
  211. package/data/build/dist/client/features/voice-initialization-dialog.js.map +1 -1
  212. package/data/build/dist/client/features/workspace-session-enhancement-panel.d.ts.map +1 -1
  213. package/data/build/dist/client/features/workspace-session-enhancement-panel.js +44 -96
  214. package/data/build/dist/client/features/workspace-session-enhancement-panel.js.map +1 -1
  215. package/data/build/dist/client/file-management-dom.d.ts.map +1 -1
  216. package/data/build/dist/client/file-management-dom.js +42 -28
  217. package/data/build/dist/client/file-management-dom.js.map +1 -1
  218. package/data/build/dist/client/font-scale.d.ts +37 -0
  219. package/data/build/dist/client/font-scale.d.ts.map +1 -0
  220. package/data/build/dist/client/font-scale.js +56 -0
  221. package/data/build/dist/client/font-scale.js.map +1 -0
  222. package/data/build/dist/client/git-management.d.ts.map +1 -1
  223. package/data/build/dist/client/git-management.js +80 -37
  224. package/data/build/dist/client/git-management.js.map +1 -1
  225. package/data/build/dist/client/index.d.ts +1 -1
  226. package/data/build/dist/client/index.d.ts.map +1 -1
  227. package/data/build/dist/client/index.js +43 -1
  228. package/data/build/dist/client/index.js.map +1 -1
  229. package/data/build/dist/client/locale.d.ts.map +1 -1
  230. package/data/build/dist/client/locale.js +27 -2
  231. package/data/build/dist/client/locale.js.map +1 -1
  232. package/data/build/dist/client/locales/assistantWorkbench.d.ts +45 -0
  233. package/data/build/dist/client/locales/assistantWorkbench.d.ts.map +1 -1
  234. package/data/build/dist/client/locales/assistantWorkbench.js +30 -6
  235. package/data/build/dist/client/locales/assistantWorkbench.js.map +1 -1
  236. package/data/build/dist/client/locales/peerHost.d.ts.map +1 -1
  237. package/data/build/dist/client/locales/peerHost.js +10 -0
  238. package/data/build/dist/client/locales/peerHost.js.map +1 -1
  239. package/data/build/dist/client/locales/peerHostWorkspace.d.ts.map +1 -1
  240. package/data/build/dist/client/locales/peerHostWorkspace.js +16 -0
  241. package/data/build/dist/client/locales/peerHostWorkspace.js.map +1 -1
  242. package/data/build/dist/client/locales/subagentCollapsed.d.ts +53 -0
  243. package/data/build/dist/client/locales/subagentCollapsed.d.ts.map +1 -0
  244. package/data/build/dist/client/locales/subagentCollapsed.js +95 -0
  245. package/data/build/dist/client/locales/subagentCollapsed.js.map +1 -0
  246. package/data/build/dist/client/locales/terminalAuth.js +2 -2
  247. package/data/build/dist/client/locales/terminalAuth.js.map +1 -1
  248. package/data/build/dist/client/locales/usage.d.ts.map +1 -1
  249. package/data/build/dist/client/locales/usage.js +48 -0
  250. package/data/build/dist/client/locales/usage.js.map +1 -1
  251. package/data/build/dist/client/native-workspace-store.d.ts +10 -0
  252. package/data/build/dist/client/native-workspace-store.d.ts.map +1 -1
  253. package/data/build/dist/client/native-workspace-store.js +22 -1
  254. package/data/build/dist/client/native-workspace-store.js.map +1 -1
  255. package/data/build/dist/client/peer-host-color.d.ts +3 -0
  256. package/data/build/dist/client/peer-host-color.d.ts.map +1 -1
  257. package/data/build/dist/client/peer-host-color.js +16 -0
  258. package/data/build/dist/client/peer-host-color.js.map +1 -1
  259. package/data/build/dist/client/peer-host-file-links.d.ts +8 -0
  260. package/data/build/dist/client/peer-host-file-links.d.ts.map +1 -0
  261. package/data/build/dist/client/peer-host-file-links.js +43 -0
  262. package/data/build/dist/client/peer-host-file-links.js.map +1 -0
  263. package/data/build/dist/client/peer-host-management-api.d.ts +2 -1
  264. package/data/build/dist/client/peer-host-management-api.d.ts.map +1 -1
  265. package/data/build/dist/client/peer-host-management-api.js +2 -1
  266. package/data/build/dist/client/peer-host-management-api.js.map +1 -1
  267. package/data/build/dist/client/peer-host-native-projection.d.ts +20 -8
  268. package/data/build/dist/client/peer-host-native-projection.d.ts.map +1 -1
  269. package/data/build/dist/client/peer-host-native-projection.js +127 -15
  270. package/data/build/dist/client/peer-host-native-projection.js.map +1 -1
  271. package/data/build/dist/client/peer-host-native-store-projection.d.ts +2 -0
  272. package/data/build/dist/client/peer-host-native-store-projection.d.ts.map +1 -1
  273. package/data/build/dist/client/peer-host-native-store-projection.js +52 -13
  274. package/data/build/dist/client/peer-host-native-store-projection.js.map +1 -1
  275. package/data/build/dist/client/peer-host-reference-source.d.ts +18 -0
  276. package/data/build/dist/client/peer-host-reference-source.d.ts.map +1 -0
  277. package/data/build/dist/client/peer-host-reference-source.js +174 -0
  278. package/data/build/dist/client/peer-host-reference-source.js.map +1 -0
  279. package/data/build/dist/client/peer-host-remote-events.d.ts +48 -0
  280. package/data/build/dist/client/peer-host-remote-events.d.ts.map +1 -0
  281. package/data/build/dist/client/peer-host-remote-events.js +328 -0
  282. package/data/build/dist/client/peer-host-remote-events.js.map +1 -0
  283. package/data/build/dist/client/peer-host-scoped-client.d.ts +3 -0
  284. package/data/build/dist/client/peer-host-scoped-client.d.ts.map +1 -1
  285. package/data/build/dist/client/peer-host-scoped-client.js +5 -2
  286. package/data/build/dist/client/peer-host-scoped-client.js.map +1 -1
  287. package/data/build/dist/client/peer-host-workspace-tab.d.ts +2 -0
  288. package/data/build/dist/client/peer-host-workspace-tab.d.ts.map +1 -1
  289. package/data/build/dist/client/peer-host-workspace-tab.js +62 -29
  290. package/data/build/dist/client/peer-host-workspace-tab.js.map +1 -1
  291. package/data/build/dist/client/peer-host-workspace-tag.d.ts +5 -0
  292. package/data/build/dist/client/peer-host-workspace-tag.d.ts.map +1 -1
  293. package/data/build/dist/client/peer-host-workspace-tag.js +57 -14
  294. package/data/build/dist/client/peer-host-workspace-tag.js.map +1 -1
  295. package/data/build/dist/client/provider-icons.d.ts.map +1 -1
  296. package/data/build/dist/client/provider-icons.js +2 -1
  297. package/data/build/dist/client/provider-icons.js.map +1 -1
  298. package/data/build/dist/client/quick-phrase-slot.d.ts.map +1 -1
  299. package/data/build/dist/client/quick-phrase-slot.js +12 -11
  300. package/data/build/dist/client/quick-phrase-slot.js.map +1 -1
  301. package/data/build/dist/client/serial-polling.d.ts +1 -0
  302. package/data/build/dist/client/serial-polling.d.ts.map +1 -1
  303. package/data/build/dist/client/serial-polling.js +4 -2
  304. package/data/build/dist/client/serial-polling.js.map +1 -1
  305. package/data/build/dist/client/session-adapter-cache.d.ts +2 -0
  306. package/data/build/dist/client/session-adapter-cache.d.ts.map +1 -1
  307. package/data/build/dist/client/session-adapter-cache.js +11 -0
  308. package/data/build/dist/client/session-adapter-cache.js.map +1 -1
  309. package/data/build/dist/client/session-changed-files-view.d.ts +15 -0
  310. package/data/build/dist/client/session-changed-files-view.d.ts.map +1 -1
  311. package/data/build/dist/client/session-changed-files-view.js +73 -29
  312. package/data/build/dist/client/session-changed-files-view.js.map +1 -1
  313. package/data/build/dist/client/settings-controls.d.ts +29 -0
  314. package/data/build/dist/client/settings-controls.d.ts.map +1 -0
  315. package/data/build/dist/client/settings-controls.js +80 -0
  316. package/data/build/dist/client/settings-controls.js.map +1 -0
  317. package/data/build/dist/client/settings-section.d.ts.map +1 -1
  318. package/data/build/dist/client/settings-section.js +7 -11
  319. package/data/build/dist/client/settings-section.js.map +1 -1
  320. package/data/build/dist/client/skill-command.d.ts.map +1 -1
  321. package/data/build/dist/client/skill-command.js +2 -1
  322. package/data/build/dist/client/skill-command.js.map +1 -1
  323. package/data/build/dist/client/style.css +2561 -0
  324. package/data/build/dist/client/subagent-collapsed-lineage.d.ts +103 -0
  325. package/data/build/dist/client/subagent-collapsed-lineage.d.ts.map +1 -0
  326. package/data/build/dist/client/subagent-collapsed-lineage.js +664 -0
  327. package/data/build/dist/client/subagent-collapsed-lineage.js.map +1 -0
  328. package/data/build/dist/client/subscription-slot.d.ts +8 -2
  329. package/data/build/dist/client/subscription-slot.d.ts.map +1 -1
  330. package/data/build/dist/client/subscription-slot.js +55 -34
  331. package/data/build/dist/client/subscription-slot.js.map +1 -1
  332. package/data/build/dist/client/terminal/ui.d.ts.map +1 -1
  333. package/data/build/dist/client/terminal/ui.js +26 -8
  334. package/data/build/dist/client/terminal/ui.js.map +1 -1
  335. package/data/build/dist/client/theme.d.ts +2 -0
  336. package/data/build/dist/client/theme.d.ts.map +1 -1
  337. package/data/build/dist/client/theme.js +20 -12
  338. package/data/build/dist/client/theme.js.map +1 -1
  339. package/data/build/dist/client/workspace-session-visibility-dom.d.ts.map +1 -1
  340. package/data/build/dist/client/workspace-session-visibility-dom.js +22 -10
  341. package/data/build/dist/client/workspace-session-visibility-dom.js.map +1 -1
  342. package/data/build/dist/dsh-capabilities/client/assistant-session-navigation-adapter.d.ts +15 -0
  343. package/data/build/dist/dsh-capabilities/client/assistant-session-navigation-adapter.d.ts.map +1 -0
  344. package/data/build/dist/dsh-capabilities/client/assistant-session-navigation-adapter.js +86 -0
  345. package/data/build/dist/dsh-capabilities/client/assistant-session-navigation-adapter.js.map +1 -0
  346. package/data/build/dist/dsh-capabilities/host/session-title-adapter.d.ts +10 -0
  347. package/data/build/dist/dsh-capabilities/host/session-title-adapter.d.ts.map +1 -0
  348. package/data/build/dist/dsh-capabilities/host/session-title-adapter.js +199 -0
  349. package/data/build/dist/dsh-capabilities/host/session-title-adapter.js.map +1 -0
  350. package/data/build/dist/dsh-capabilities/host/sidebar-session-compat.d.ts +1 -1
  351. package/data/build/dist/dsh-capabilities/host/sidebar-session-compat.d.ts.map +1 -1
  352. package/data/build/dist/dsh-capabilities/host/sidebar-session-compat.js +8 -2
  353. package/data/build/dist/dsh-capabilities/host/sidebar-session-compat.js.map +1 -1
  354. package/data/build/dist/dsh-capabilities/matrix.d.ts.map +1 -1
  355. package/data/build/dist/dsh-capabilities/matrix.js +13 -3
  356. package/data/build/dist/dsh-capabilities/matrix.js.map +1 -1
  357. package/data/build/dist/dsh-capabilities/routes.js +37 -3
  358. package/data/build/dist/dsh-capabilities/routes.js.map +1 -1
  359. package/data/build/dist/dsh-capabilities/types.d.ts +1 -1
  360. package/data/build/dist/dsh-capabilities/types.d.ts.map +1 -1
  361. package/data/build/dist/dsh-capabilities/types.js.map +1 -1
  362. package/data/build/dist/host/avatar/materials.d.ts.map +1 -1
  363. package/data/build/dist/host/avatar/materials.js +3 -1
  364. package/data/build/dist/host/avatar/materials.js.map +1 -1
  365. package/data/build/dist/host/cli-adapters/acp-cli-driver.d.ts +13 -0
  366. package/data/build/dist/host/cli-adapters/acp-cli-driver.d.ts.map +1 -1
  367. package/data/build/dist/host/cli-adapters/acp-cli-driver.js +136 -11
  368. package/data/build/dist/host/cli-adapters/acp-cli-driver.js.map +1 -1
  369. package/data/build/dist/host/cli-adapters/claude-driver.js +1 -1
  370. package/data/build/dist/host/cli-adapters/claude-driver.js.map +1 -1
  371. package/data/build/dist/host/cli-adapters/codebuddy-driver.d.ts.map +1 -1
  372. package/data/build/dist/host/cli-adapters/codebuddy-driver.js +65 -31
  373. package/data/build/dist/host/cli-adapters/codebuddy-driver.js.map +1 -1
  374. package/data/build/dist/host/cli-adapters/codex-driver.d.ts +1 -0
  375. package/data/build/dist/host/cli-adapters/codex-driver.d.ts.map +1 -1
  376. package/data/build/dist/host/cli-adapters/codex-driver.js +36 -9
  377. package/data/build/dist/host/cli-adapters/codex-driver.js.map +1 -1
  378. package/data/build/dist/host/cli-adapters/codex-file-citations.d.ts +13 -0
  379. package/data/build/dist/host/cli-adapters/codex-file-citations.d.ts.map +1 -0
  380. package/data/build/dist/host/cli-adapters/codex-file-citations.js +271 -0
  381. package/data/build/dist/host/cli-adapters/codex-file-citations.js.map +1 -0
  382. package/data/build/dist/host/cli-adapters/command-code-driver.d.ts.map +1 -1
  383. package/data/build/dist/host/cli-adapters/command-code-driver.js +136 -16
  384. package/data/build/dist/host/cli-adapters/command-code-driver.js.map +1 -1
  385. package/data/build/dist/host/cli-adapters/delegate-dispatch.d.ts +4 -3
  386. package/data/build/dist/host/cli-adapters/delegate-dispatch.d.ts.map +1 -1
  387. package/data/build/dist/host/cli-adapters/delegate-dispatch.js +7 -6
  388. package/data/build/dist/host/cli-adapters/delegate-dispatch.js.map +1 -1
  389. package/data/build/dist/host/cli-adapters/doubao-app.d.ts +32 -11
  390. package/data/build/dist/host/cli-adapters/doubao-app.d.ts.map +1 -1
  391. package/data/build/dist/host/cli-adapters/doubao-app.js +195 -24
  392. package/data/build/dist/host/cli-adapters/doubao-app.js.map +1 -1
  393. package/data/build/dist/host/cli-adapters/doubao-driver.d.ts.map +1 -1
  394. package/data/build/dist/host/cli-adapters/doubao-driver.js +3 -1
  395. package/data/build/dist/host/cli-adapters/doubao-driver.js.map +1 -1
  396. package/data/build/dist/host/cli-adapters/dsh-config.d.ts +16 -0
  397. package/data/build/dist/host/cli-adapters/dsh-config.d.ts.map +1 -0
  398. package/data/build/dist/host/cli-adapters/dsh-config.js +153 -0
  399. package/data/build/dist/host/cli-adapters/dsh-config.js.map +1 -0
  400. package/data/build/dist/host/cli-adapters/dsh-message-projector.d.ts +2 -1
  401. package/data/build/dist/host/cli-adapters/dsh-message-projector.d.ts.map +1 -1
  402. package/data/build/dist/host/cli-adapters/dsh-message-projector.js +16 -5
  403. package/data/build/dist/host/cli-adapters/dsh-message-projector.js.map +1 -1
  404. package/data/build/dist/host/cli-adapters/dsh-tool-history.d.ts.map +1 -1
  405. package/data/build/dist/host/cli-adapters/dsh-tool-history.js +23 -3
  406. package/data/build/dist/host/cli-adapters/dsh-tool-history.js.map +1 -1
  407. package/data/build/dist/host/cli-adapters/feature.d.ts.map +1 -1
  408. package/data/build/dist/host/cli-adapters/feature.js +72 -28
  409. package/data/build/dist/host/cli-adapters/feature.js.map +1 -1
  410. package/data/build/dist/host/cli-adapters/model-catalog.d.ts +1 -0
  411. package/data/build/dist/host/cli-adapters/model-catalog.d.ts.map +1 -1
  412. package/data/build/dist/host/cli-adapters/model-catalog.js +22 -0
  413. package/data/build/dist/host/cli-adapters/model-catalog.js.map +1 -1
  414. package/data/build/dist/host/cli-adapters/native-subagent-dispatch.d.ts +24 -2
  415. package/data/build/dist/host/cli-adapters/native-subagent-dispatch.d.ts.map +1 -1
  416. package/data/build/dist/host/cli-adapters/native-subagent-dispatch.js +113 -4
  417. package/data/build/dist/host/cli-adapters/native-subagent-dispatch.js.map +1 -1
  418. package/data/build/dist/host/cli-adapters/native-team-subagent.d.ts +63 -18
  419. package/data/build/dist/host/cli-adapters/native-team-subagent.d.ts.map +1 -1
  420. package/data/build/dist/host/cli-adapters/native-team-subagent.js +35 -1
  421. package/data/build/dist/host/cli-adapters/native-team-subagent.js.map +1 -1
  422. package/data/build/dist/host/cli-adapters/new-api-subscription.d.ts.map +1 -1
  423. package/data/build/dist/host/cli-adapters/new-api-subscription.js +2 -45
  424. package/data/build/dist/host/cli-adapters/new-api-subscription.js.map +1 -1
  425. package/data/build/dist/host/cli-adapters/opencode-driver.d.ts +6 -0
  426. package/data/build/dist/host/cli-adapters/opencode-driver.d.ts.map +1 -1
  427. package/data/build/dist/host/cli-adapters/opencode-driver.js +10 -3
  428. package/data/build/dist/host/cli-adapters/opencode-driver.js.map +1 -1
  429. package/data/build/dist/host/cli-adapters/opencode-v2-protocol.d.ts.map +1 -1
  430. package/data/build/dist/host/cli-adapters/opencode-v2-protocol.js +334 -62
  431. package/data/build/dist/host/cli-adapters/opencode-v2-protocol.js.map +1 -1
  432. package/data/build/dist/host/cli-adapters/pi-driver.d.ts.map +1 -1
  433. package/data/build/dist/host/cli-adapters/pi-driver.js +134 -14
  434. package/data/build/dist/host/cli-adapters/pi-driver.js.map +1 -1
  435. package/data/build/dist/host/cli-adapters/provider-subscription.d.ts +3 -0
  436. package/data/build/dist/host/cli-adapters/provider-subscription.d.ts.map +1 -1
  437. package/data/build/dist/host/cli-adapters/provider-subscription.js +13 -45
  438. package/data/build/dist/host/cli-adapters/provider-subscription.js.map +1 -1
  439. package/data/build/dist/host/cli-adapters/r4-subscription.d.ts +13 -0
  440. package/data/build/dist/host/cli-adapters/r4-subscription.d.ts.map +1 -0
  441. package/data/build/dist/host/cli-adapters/r4-subscription.js +111 -0
  442. package/data/build/dist/host/cli-adapters/r4-subscription.js.map +1 -0
  443. package/data/build/dist/host/cli-adapters/registry.d.ts +2 -0
  444. package/data/build/dist/host/cli-adapters/registry.d.ts.map +1 -1
  445. package/data/build/dist/host/cli-adapters/registry.js +14 -3
  446. package/data/build/dist/host/cli-adapters/registry.js.map +1 -1
  447. package/data/build/dist/host/cli-adapters/stream-normalizer.d.ts.map +1 -1
  448. package/data/build/dist/host/cli-adapters/stream-normalizer.js +7 -0
  449. package/data/build/dist/host/cli-adapters/stream-normalizer.js.map +1 -1
  450. package/data/build/dist/host/cli-adapters/subagent-tool.d.ts.map +1 -1
  451. package/data/build/dist/host/cli-adapters/subagent-tool.js +28 -7
  452. package/data/build/dist/host/cli-adapters/subagent-tool.js.map +1 -1
  453. package/data/build/dist/host/cli-bridge/bridge-server.d.ts +1 -0
  454. package/data/build/dist/host/cli-bridge/bridge-server.d.ts.map +1 -1
  455. package/data/build/dist/host/cli-bridge/bridge-server.js.map +1 -1
  456. package/data/build/dist/host/cli-bridge/command-code-mod.d.ts +24 -1
  457. package/data/build/dist/host/cli-bridge/command-code-mod.d.ts.map +1 -1
  458. package/data/build/dist/host/cli-bridge/command-code-mod.js +121 -23
  459. package/data/build/dist/host/cli-bridge/command-code-mod.js.map +1 -1
  460. package/data/build/dist/host/cli-bridge/dispatch.d.ts.map +1 -1
  461. package/data/build/dist/host/cli-bridge/dispatch.js +26 -6
  462. package/data/build/dist/host/cli-bridge/dispatch.js.map +1 -1
  463. package/data/build/dist/host/cli-bridge/injections.d.ts +45 -4
  464. package/data/build/dist/host/cli-bridge/injections.d.ts.map +1 -1
  465. package/data/build/dist/host/cli-bridge/injections.js +129 -14
  466. package/data/build/dist/host/cli-bridge/injections.js.map +1 -1
  467. package/data/build/dist/host/cli-bridge/mcp-stdio-entry.js +20 -5
  468. package/data/build/dist/host/cli-bridge/mcp-stdio-entry.js.map +1 -1
  469. package/data/build/dist/host/desktop-assistant/controller.d.ts +27 -2
  470. package/data/build/dist/host/desktop-assistant/controller.d.ts.map +1 -1
  471. package/data/build/dist/host/desktop-assistant/controller.js +197 -7
  472. package/data/build/dist/host/desktop-assistant/controller.js.map +1 -1
  473. package/data/build/dist/host/desktop-assistant/feature.d.ts.map +1 -1
  474. package/data/build/dist/host/desktop-assistant/feature.js +41 -4
  475. package/data/build/dist/host/desktop-assistant/feature.js.map +1 -1
  476. package/data/build/dist/host/desktop-assistant/launcher.d.ts.map +1 -1
  477. package/data/build/dist/host/desktop-assistant/launcher.js +3 -1
  478. package/data/build/dist/host/desktop-assistant/launcher.js.map +1 -1
  479. package/data/build/dist/host/desktop-assistant/mac-agent.d.ts.map +1 -1
  480. package/data/build/dist/host/desktop-assistant/mac-agent.js +41 -10
  481. package/data/build/dist/host/desktop-assistant/mac-agent.js.map +1 -1
  482. package/data/build/dist/host/desktop-assistant/notifications.d.ts +16 -0
  483. package/data/build/dist/host/desktop-assistant/notifications.d.ts.map +1 -0
  484. package/data/build/dist/host/desktop-assistant/notifications.js +45 -0
  485. package/data/build/dist/host/desktop-assistant/notifications.js.map +1 -0
  486. package/data/build/dist/host/desktop-assistant/win-agent.d.ts.map +1 -1
  487. package/data/build/dist/host/desktop-assistant/win-agent.js +95 -8
  488. package/data/build/dist/host/desktop-assistant/win-agent.js.map +1 -1
  489. package/data/build/dist/host/features/assistant-lifecycle-settings.js +1 -1
  490. package/data/build/dist/host/features/assistant-lifecycle-settings.js.map +1 -1
  491. package/data/build/dist/host/features/assistant-management-tools.d.ts +2 -1
  492. package/data/build/dist/host/features/assistant-management-tools.d.ts.map +1 -1
  493. package/data/build/dist/host/features/assistant-management-tools.js +10 -3
  494. package/data/build/dist/host/features/assistant-management-tools.js.map +1 -1
  495. package/data/build/dist/host/features/assistant-notification-events.d.ts +77 -0
  496. package/data/build/dist/host/features/assistant-notification-events.d.ts.map +1 -0
  497. package/data/build/dist/host/features/assistant-notification-events.js +574 -0
  498. package/data/build/dist/host/features/assistant-notification-events.js.map +1 -0
  499. package/data/build/dist/host/features/assistant-notification-source.d.ts +32 -0
  500. package/data/build/dist/host/features/assistant-notification-source.d.ts.map +1 -0
  501. package/data/build/dist/host/features/assistant-notification-source.js +101 -0
  502. package/data/build/dist/host/features/assistant-notification-source.js.map +1 -0
  503. package/data/build/dist/host/features/assistant-notification-stream.d.ts +26 -0
  504. package/data/build/dist/host/features/assistant-notification-stream.d.ts.map +1 -0
  505. package/data/build/dist/host/features/assistant-notification-stream.js +179 -0
  506. package/data/build/dist/host/features/assistant-notification-stream.js.map +1 -0
  507. package/data/build/dist/host/features/assistant-notifications.d.ts +78 -0
  508. package/data/build/dist/host/features/assistant-notifications.d.ts.map +1 -0
  509. package/data/build/dist/host/features/assistant-notifications.js +436 -0
  510. package/data/build/dist/host/features/assistant-notifications.js.map +1 -0
  511. package/data/build/dist/host/features/assistant-peer-notifications.d.ts +53 -0
  512. package/data/build/dist/host/features/assistant-peer-notifications.d.ts.map +1 -0
  513. package/data/build/dist/host/features/assistant-peer-notifications.js +197 -0
  514. package/data/build/dist/host/features/assistant-peer-notifications.js.map +1 -0
  515. package/data/build/dist/host/features/assistant-tts-service.d.ts.map +1 -1
  516. package/data/build/dist/host/features/assistant-tts-service.js +2 -2
  517. package/data/build/dist/host/features/assistant-tts-service.js.map +1 -1
  518. package/data/build/dist/host/features/assistant-voice-initialization.js +1 -1
  519. package/data/build/dist/host/features/assistant-voice-initialization.js.map +1 -1
  520. package/data/build/dist/host/features/git-management.js +2 -1
  521. package/data/build/dist/host/features/git-management.js.map +1 -1
  522. package/data/build/dist/host/features/global-voice-rpc.d.ts +2 -2
  523. package/data/build/dist/host/features/global-voice-rpc.d.ts.map +1 -1
  524. package/data/build/dist/host/features/global-voice-rpc.js +179 -4
  525. package/data/build/dist/host/features/global-voice-rpc.js.map +1 -1
  526. package/data/build/dist/host/features/index.d.ts +1 -0
  527. package/data/build/dist/host/features/index.d.ts.map +1 -1
  528. package/data/build/dist/host/features/index.js +3 -0
  529. package/data/build/dist/host/features/index.js.map +1 -1
  530. package/data/build/dist/host/features/peer-host.d.ts.map +1 -1
  531. package/data/build/dist/host/features/peer-host.js +193 -75
  532. package/data/build/dist/host/features/peer-host.js.map +1 -1
  533. package/data/build/dist/host/features/session-title-optimization.d.ts +5 -0
  534. package/data/build/dist/host/features/session-title-optimization.d.ts.map +1 -0
  535. package/data/build/dist/host/features/session-title-optimization.js +26 -0
  536. package/data/build/dist/host/features/session-title-optimization.js.map +1 -0
  537. package/data/build/dist/host/features/types.d.ts +9 -1
  538. package/data/build/dist/host/features/types.d.ts.map +1 -1
  539. package/data/build/dist/host/index.d.ts.map +1 -1
  540. package/data/build/dist/host/index.js +23 -1
  541. package/data/build/dist/host/index.js.map +1 -1
  542. package/data/build/dist/host/lan-access-dsh.d.ts.map +1 -1
  543. package/data/build/dist/host/lan-access-dsh.js +9 -1
  544. package/data/build/dist/host/lan-access-dsh.js.map +1 -1
  545. package/data/build/dist/host/modules/peer-host/aggregated-host-transport.d.ts.map +1 -1
  546. package/data/build/dist/host/modules/peer-host/aggregated-host-transport.js +8 -2
  547. package/data/build/dist/host/modules/peer-host/aggregated-host-transport.js.map +1 -1
  548. package/data/build/dist/host/modules/peer-host/host-api-proxy-service.d.ts +5 -1
  549. package/data/build/dist/host/modules/peer-host/host-api-proxy-service.d.ts.map +1 -1
  550. package/data/build/dist/host/modules/peer-host/host-api-proxy-service.js +72 -23
  551. package/data/build/dist/host/modules/peer-host/host-api-proxy-service.js.map +1 -1
  552. package/data/build/dist/host/modules/peer-host/host-ws-proxy-service.d.ts.map +1 -1
  553. package/data/build/dist/host/modules/peer-host/host-ws-proxy-service.js +7 -5
  554. package/data/build/dist/host/modules/peer-host/host-ws-proxy-service.js.map +1 -1
  555. package/data/build/dist/host/modules/peer-host/peer-host-aggregate-service.d.ts +6 -1
  556. package/data/build/dist/host/modules/peer-host/peer-host-aggregate-service.d.ts.map +1 -1
  557. package/data/build/dist/host/modules/peer-host/peer-host-aggregate-service.js +7 -0
  558. package/data/build/dist/host/modules/peer-host/peer-host-aggregate-service.js.map +1 -1
  559. package/data/build/dist/host/modules/peer-host/peer-host-handshake.d.ts +2 -1
  560. package/data/build/dist/host/modules/peer-host/peer-host-handshake.d.ts.map +1 -1
  561. package/data/build/dist/host/modules/peer-host/peer-host-handshake.js +11 -10
  562. package/data/build/dist/host/modules/peer-host/peer-host-handshake.js.map +1 -1
  563. package/data/build/dist/host/modules/peer-host/peer-host-native-dispatch.d.ts +7 -1
  564. package/data/build/dist/host/modules/peer-host/peer-host-native-dispatch.d.ts.map +1 -1
  565. package/data/build/dist/host/modules/peer-host/peer-host-native-dispatch.js +63 -1
  566. package/data/build/dist/host/modules/peer-host/peer-host-native-dispatch.js.map +1 -1
  567. package/data/build/dist/host/modules/peer-host/peer-host-native-protocol.d.ts +6 -3
  568. package/data/build/dist/host/modules/peer-host/peer-host-native-protocol.d.ts.map +1 -1
  569. package/data/build/dist/host/modules/peer-host/peer-host-native-protocol.js +92 -5
  570. package/data/build/dist/host/modules/peer-host/peer-host-native-protocol.js.map +1 -1
  571. package/data/build/dist/host/modules/peer-host/peer-host-native-streams.d.ts +15 -0
  572. package/data/build/dist/host/modules/peer-host/peer-host-native-streams.d.ts.map +1 -0
  573. package/data/build/dist/host/modules/peer-host/peer-host-native-streams.js +101 -0
  574. package/data/build/dist/host/modules/peer-host/peer-host-native-streams.js.map +1 -0
  575. package/data/build/dist/host/modules/peer-host/peer-host-native-transport.d.ts.map +1 -1
  576. package/data/build/dist/host/modules/peer-host/peer-host-native-transport.js +44 -11
  577. package/data/build/dist/host/modules/peer-host/peer-host-native-transport.js.map +1 -1
  578. package/data/build/dist/host/modules/peer-host/peer-host-remote-summary-source.d.ts.map +1 -1
  579. package/data/build/dist/host/modules/peer-host/peer-host-remote-summary-source.js +75 -20
  580. package/data/build/dist/host/modules/peer-host/peer-host-remote-summary-source.js.map +1 -1
  581. package/data/build/dist/host/modules/peer-host/peer-host-request-errors.d.ts +31 -0
  582. package/data/build/dist/host/modules/peer-host/peer-host-request-errors.d.ts.map +1 -0
  583. package/data/build/dist/host/modules/peer-host/peer-host-request-errors.js +60 -0
  584. package/data/build/dist/host/modules/peer-host/peer-host-request-errors.js.map +1 -0
  585. package/data/build/dist/host/modules/peer-host/peer-host-session.d.ts +12 -4
  586. package/data/build/dist/host/modules/peer-host/peer-host-session.d.ts.map +1 -1
  587. package/data/build/dist/host/modules/peer-host/peer-host-session.js +28 -18
  588. package/data/build/dist/host/modules/peer-host/peer-host-session.js.map +1 -1
  589. package/data/build/dist/host/modules/peer-host/peer-host-virtual-registry.d.ts +1 -1
  590. package/data/build/dist/host/modules/peer-host/peer-host-virtual-registry.d.ts.map +1 -1
  591. package/data/build/dist/host/modules/peer-host/peer-host-virtual-registry.js +15 -4
  592. package/data/build/dist/host/modules/peer-host/peer-host-virtual-registry.js.map +1 -1
  593. package/data/build/dist/host/modules/peer-host/peer-host-workspace-cache.d.ts +22 -0
  594. package/data/build/dist/host/modules/peer-host/peer-host-workspace-cache.d.ts.map +1 -0
  595. package/data/build/dist/host/modules/peer-host/peer-host-workspace-cache.js +133 -0
  596. package/data/build/dist/host/modules/peer-host/peer-host-workspace-cache.js.map +1 -0
  597. package/data/build/dist/host/native-session-bridge.d.ts +2 -0
  598. package/data/build/dist/host/native-session-bridge.d.ts.map +1 -1
  599. package/data/build/dist/host/native-session-bridge.js +89 -9
  600. package/data/build/dist/host/native-session-bridge.js.map +1 -1
  601. package/data/build/dist/host/rpc.d.ts.map +1 -1
  602. package/data/build/dist/host/rpc.js +11 -2
  603. package/data/build/dist/host/rpc.js.map +1 -1
  604. package/data/build/dist/host/settings.d.ts.map +1 -1
  605. package/data/build/dist/host/settings.js +14 -3
  606. package/data/build/dist/host/settings.js.map +1 -1
  607. package/data/build/dist/host/terminal/controller-factory.d.ts +1 -0
  608. package/data/build/dist/host/terminal/controller-factory.d.ts.map +1 -1
  609. package/data/build/dist/host/terminal/controller-factory.js +3 -0
  610. package/data/build/dist/host/terminal/controller-factory.js.map +1 -1
  611. package/data/build/dist/host/terminal/startup.d.ts +3 -0
  612. package/data/build/dist/host/terminal/startup.d.ts.map +1 -1
  613. package/data/build/dist/host/terminal/startup.js +1 -0
  614. package/data/build/dist/host/terminal/startup.js.map +1 -1
  615. package/data/build/dist/host/terminal/terminal-controller.d.ts +8 -0
  616. package/data/build/dist/host/terminal/terminal-controller.d.ts.map +1 -1
  617. package/data/build/dist/host/terminal/terminal-controller.js +2 -1
  618. package/data/build/dist/host/terminal/terminal-controller.js.map +1 -1
  619. package/data/build/dist/shared/assistant-avatar-adapters.d.ts.map +1 -1
  620. package/data/build/dist/shared/assistant-avatar-adapters.js +3 -0
  621. package/data/build/dist/shared/assistant-avatar-adapters.js.map +1 -1
  622. package/data/build/dist/shared/assistant-avatar.d.ts +11 -1
  623. package/data/build/dist/shared/assistant-avatar.d.ts.map +1 -1
  624. package/data/build/dist/shared/assistant-avatar.js +31 -1
  625. package/data/build/dist/shared/assistant-avatar.js.map +1 -1
  626. package/data/build/dist/shared/assistant-message-timeline.d.ts +11 -0
  627. package/data/build/dist/shared/assistant-message-timeline.d.ts.map +1 -1
  628. package/data/build/dist/shared/assistant-message-timeline.js +19 -0
  629. package/data/build/dist/shared/assistant-message-timeline.js.map +1 -1
  630. package/data/build/dist/shared/assistant-notification-feed.d.ts +44 -0
  631. package/data/build/dist/shared/assistant-notification-feed.d.ts.map +1 -0
  632. package/data/build/dist/shared/assistant-notification-feed.js +88 -0
  633. package/data/build/dist/shared/assistant-notification-feed.js.map +1 -0
  634. package/data/build/dist/shared/assistant-notifications.d.ts +141 -0
  635. package/data/build/dist/shared/assistant-notifications.d.ts.map +1 -0
  636. package/data/build/dist/shared/assistant-notifications.js +32 -0
  637. package/data/build/dist/shared/assistant-notifications.js.map +1 -0
  638. package/data/build/dist/shared/assistant-session-messages.d.ts +13 -0
  639. package/data/build/dist/shared/assistant-session-messages.d.ts.map +1 -0
  640. package/data/build/dist/shared/assistant-session-messages.js +155 -0
  641. package/data/build/dist/shared/assistant-session-messages.js.map +1 -0
  642. package/data/build/dist/shared/assistant-tts.js +1 -1
  643. package/data/build/dist/shared/contracts/assistant.d.ts +13 -0
  644. package/data/build/dist/shared/contracts/assistant.d.ts.map +1 -1
  645. package/data/build/dist/shared/contracts/cli-adapter.d.ts +5 -1
  646. package/data/build/dist/shared/contracts/cli-adapter.d.ts.map +1 -1
  647. package/data/build/dist/shared/contracts/config.d.ts +5 -0
  648. package/data/build/dist/shared/contracts/config.d.ts.map +1 -1
  649. package/data/build/dist/shared/contracts/config.js +3 -0
  650. package/data/build/dist/shared/contracts/config.js.map +1 -1
  651. package/data/build/dist/shared/contracts/errors.d.ts +2 -2
  652. package/data/build/dist/shared/contracts/peer-host.d.ts +15 -0
  653. package/data/build/dist/shared/contracts/peer-host.d.ts.map +1 -1
  654. package/data/build/dist/shared/contracts/peer-host.js.map +1 -1
  655. package/data/build/dist/shared/contracts/subscription.d.ts +31 -0
  656. package/data/build/dist/shared/contracts/subscription.d.ts.map +1 -1
  657. package/data/build/dist/shared/contracts/subscription.js.map +1 -1
  658. package/data/build/dist/shared/contracts/version.d.ts +12 -8
  659. package/data/build/dist/shared/contracts/version.d.ts.map +1 -1
  660. package/data/build/dist/shared/contracts/version.js +11 -7
  661. package/data/build/dist/shared/contracts/version.js.map +1 -1
  662. package/data/build/dist/shared/desktop-assistant.d.ts +74 -1
  663. package/data/build/dist/shared/desktop-assistant.d.ts.map +1 -1
  664. package/data/build/dist/shared/desktop-assistant.js +201 -2
  665. package/data/build/dist/shared/desktop-assistant.js.map +1 -1
  666. package/data/build/dist/shared/index.d.ts +2 -2
  667. package/data/build/dist/shared/index.d.ts.map +1 -1
  668. package/data/build/dist/shared/index.js.map +1 -1
  669. package/data/build/dist/shared/peer-host-file-location.d.ts +11 -0
  670. package/data/build/dist/shared/peer-host-file-location.d.ts.map +1 -0
  671. package/data/build/dist/shared/peer-host-file-location.js +20 -0
  672. package/data/build/dist/shared/peer-host-file-location.js.map +1 -0
  673. package/data/build/dist/shared/peer-host-http-routes.d.ts +10 -0
  674. package/data/build/dist/shared/peer-host-http-routes.d.ts.map +1 -1
  675. package/data/build/dist/shared/peer-host-http-routes.js +7 -1
  676. package/data/build/dist/shared/peer-host-http-routes.js.map +1 -1
  677. package/data/build/dist/shared/provider-icon-resources.d.ts.map +1 -1
  678. package/data/build/dist/shared/provider-icon-resources.js +1 -0
  679. package/data/build/dist/shared/provider-icon-resources.js.map +1 -1
  680. package/data/build/dist/shared/session-reference.d.ts +11 -0
  681. package/data/build/dist/shared/session-reference.d.ts.map +1 -0
  682. package/data/build/dist/shared/session-reference.js +29 -0
  683. package/data/build/dist/shared/session-reference.js.map +1 -0
  684. package/data/build/dist/shared/session-title.d.ts +12 -0
  685. package/data/build/dist/shared/session-title.d.ts.map +1 -0
  686. package/data/build/dist/shared/session-title.js +65 -0
  687. package/data/build/dist/shared/session-title.js.map +1 -0
  688. package/data/build/dist/shared/voice-initialization.d.ts +1 -1
  689. package/data/build/dist/shared/voice-initialization.d.ts.map +1 -1
  690. package/data/build/dist/shared/voice-initialization.js +1 -1
  691. package/data/build/dist/shared/voice-initialization.js.map +1 -1
  692. package/data/build/dist/shared/voice-models.d.ts +2 -2
  693. package/data/build/dist/shared/voice-models.d.ts.map +1 -1
  694. package/data/build/dist/shared/voice-models.js +9 -9
  695. package/data/build/dist/shared/voice-models.js.map +1 -1
  696. package/data/build/dist/typert.host.d.ts +18 -1
  697. package/data/build/dist/typert.host.d.ts.map +1 -1
  698. package/data/build/dist/typert.host.js +28 -3
  699. package/data/build/dist/typert.host.js.map +1 -1
  700. package/data/build/dist/typert.notifications-client.d.ts +5 -0
  701. package/data/build/dist/typert.notifications-client.d.ts.map +1 -0
  702. package/data/build/dist/typert.notifications-client.js +7 -0
  703. package/data/build/dist/typert.notifications-client.js.map +1 -0
  704. package/data/build/dist/typert.remote-client.js +1 -1
  705. package/data/build/dist/typert.remote-client.js.map +1 -1
  706. package/package.json +41 -33
  707. package/profile/README.md +2 -2
  708. package/profile/package.json +3 -3
  709. package/profile/version.json +3 -3
  710. package/version.json +3 -3
  711. package/data/build/dist/client/client.assistant-prompts.js.map +0 -1
@@ -6,11 +6,11 @@ window.__ModuleLoader__.load({
6
6
  var exports = module.exports;
7
7
  const require_rolldown_runtime = require("@jingyi0605/codingns4dsh/client.rolldown-runtime.js");
8
8
  const require_transport = require("@jingyi0605/codingns4dsh/client.transport.js");
9
- const require_assistant_prompts = require("@jingyi0605/codingns4dsh/client.assistant-prompts.js");
9
+ const require_assistant_notifications = require("@jingyi0605/codingns4dsh/client.assistant-notifications.js");
10
10
  const require_theme = require("@jingyi0605/codingns4dsh/client.theme.js");
11
+ const require_react_dom$1 = require("@jingyi0605/codingns4dsh/client.react-dom.js");
11
12
  const require_manager = require("@jingyi0605/codingns4dsh/client.manager.js");
12
13
  const require_primitives_adapter = require("@jingyi0605/codingns4dsh/client.primitives-adapter.js");
13
- const require_react_dom$1 = require("@jingyi0605/codingns4dsh/client.react-dom.js");
14
14
  const require_assistant_prompt_editor = require("@jingyi0605/codingns4dsh/client.assistant-prompt-editor.js");
15
15
  const require_assistant_workbench = require("@jingyi0605/codingns4dsh/client.assistant-workbench.js");
16
16
  let react = require("react");
@@ -1516,7 +1516,7 @@ window.__ModuleLoader__.load({
1516
1516
  borderRadius: 4,
1517
1517
  background: "#2563eb",
1518
1518
  color: "#fff",
1519
- fontSize: 11,
1519
+ fontSize: require_theme.uiFontSize(11),
1520
1520
  fontWeight: 500,
1521
1521
  lineHeight: "18px",
1522
1522
  whiteSpace: "nowrap"
@@ -1779,7 +1779,7 @@ window.__ModuleLoader__.load({
1779
1779
  }
1780
1780
  }, (0, react.createElement)("strong", {
1781
1781
  id,
1782
- style: { fontSize: 16 }
1782
+ style: { fontSize: require_theme.uiFontSize(16) }
1783
1783
  }, t("avatar.engineTerms", { version: require_manager.ASSISTANT_AVATAR_ENGINE_CONSENT_VERSION })), (0, react.createElement)("div", { style: {
1784
1784
  display: "grid",
1785
1785
  gap: 16,
@@ -1855,7 +1855,7 @@ window.__ModuleLoader__.load({
1855
1855
  display: "grid",
1856
1856
  gap: 8,
1857
1857
  color: require_theme.dshThemeColor.error,
1858
- fontSize: 13
1858
+ fontSize: require_theme.uiFontSize(13)
1859
1859
  }
1860
1860
  }, (0, react.createElement)("span", { style: { overflowWrap: "anywhere" } }, t("avatar.engineInstallFailed", { reason: controller.error })), (0, react.createElement)("button", {
1861
1861
  type: "button",
@@ -2106,7 +2106,7 @@ window.__ModuleLoader__.load({
2106
2106
  display: "grid",
2107
2107
  gap: 8,
2108
2108
  color: require_theme.dshThemeColor.error,
2109
- fontSize: 13
2109
+ fontSize: require_theme.uiFontSize(13)
2110
2110
  }
2111
2111
  }, catalog.error, (0, react.createElement)("button", {
2112
2112
  type: "button",
@@ -2117,7 +2117,7 @@ window.__ModuleLoader__.load({
2117
2117
  role: "alert",
2118
2118
  style: {
2119
2119
  color: require_theme.dshThemeColor.error,
2120
- fontSize: 13
2120
+ fontSize: require_theme.uiFontSize(13)
2121
2121
  }
2122
2122
  }, error), (0, react.createElement)(AssistantAvatarEngineDialog, {
2123
2123
  controller: engine,
@@ -2180,9 +2180,7 @@ window.__ModuleLoader__.load({
2180
2180
  }
2181
2181
  /** 勾选只请求展示协议,明确同意后立即加载目录;取消不会产生任何设置写入。 */
2182
2182
  function AssistantAvatarThirdPartyToggle({ accepted, disabled, t, onRequest, onDisable }) {
2183
- return (0, react.createElement)("label", { style: require_assistant_workbench.assistantSettingSwitchStyle }, (0, react.createElement)("span", null, t("avatar.thirdPartyEnable")), (0, react.createElement)("input", {
2184
- type: "checkbox",
2185
- role: "switch",
2183
+ return (0, react.createElement)("label", { style: require_assistant_workbench.assistantSettingSwitchStyle }, (0, react.createElement)("span", null, t("avatar.thirdPartyEnable")), (0, react.createElement)(require_react_dom$1.SettingsSwitch, {
2186
2184
  "aria-label": t("avatar.thirdPartyEnable"),
2187
2185
  checked: accepted,
2188
2186
  disabled,
@@ -2238,7 +2236,7 @@ window.__ModuleLoader__.load({
2238
2236
  }
2239
2237
  }, (0, react.createElement)("strong", {
2240
2238
  id,
2241
- style: { fontSize: 16 }
2239
+ style: { fontSize: require_theme.uiFontSize(16) }
2242
2240
  }, props.t("avatar.thirdPartyTerms", { version: require_manager.ASSISTANT_AVATAR_CONSENT_VERSION })), (0, react.createElement)(AssistantAvatarConsentPrompt, props));
2243
2241
  }
2244
2242
  function AssistantAvatarConsentPrompt({ agreed, disabled, t, onChange, onAccept, onCancel }) {
@@ -2400,7 +2398,7 @@ window.__ModuleLoader__.load({
2400
2398
  display: "flex",
2401
2399
  flexWrap: "wrap",
2402
2400
  gap: 14,
2403
- fontSize: 13
2401
+ fontSize: require_theme.uiFontSize(13)
2404
2402
  } }, (0, react.createElement)("a", {
2405
2403
  href: selected.repositoryUrl,
2406
2404
  target: "_blank",
@@ -2415,7 +2413,7 @@ window.__ModuleLoader__.load({
2415
2413
  rel: "noopener noreferrer"
2416
2414
  }, t("avatar.packageHomepage"))), selected.format === "codex-pet" ? null : (0, react.createElement)("p", { style: helpStyle$1 }, t("avatar.live2dDependencyHint")), installed ? (0, react.createElement)("span", { style: {
2417
2415
  color: require_theme.dshThemeColor.success,
2418
- fontSize: 13
2416
+ fontSize: require_theme.uiFontSize(13)
2419
2417
  } }, t("avatar.catalogInstalled")) : null, (0, react.createElement)("label", { style: checkStyle }, (0, react.createElement)("input", {
2420
2418
  type: "checkbox",
2421
2419
  checked: licenseAccepted,
@@ -2432,7 +2430,7 @@ window.__ModuleLoader__.load({
2432
2430
  role: "alert",
2433
2431
  style: {
2434
2432
  color: require_theme.dshThemeColor.error,
2435
- fontSize: 13
2433
+ fontSize: require_theme.uiFontSize(13)
2436
2434
  }
2437
2435
  }, error));
2438
2436
  }
@@ -2463,7 +2461,7 @@ window.__ModuleLoader__.load({
2463
2461
  }), notice?.kind !== "success" ? null : (0, react.createElement)("div", {
2464
2462
  role: "status",
2465
2463
  style: {
2466
- fontSize: 13,
2464
+ fontSize: require_theme.uiFontSize(13),
2467
2465
  color: require_theme.dshThemeColor.success
2468
2466
  }
2469
2467
  }, notice.message));
@@ -2584,9 +2582,10 @@ window.__ModuleLoader__.load({
2584
2582
  }
2585
2583
  };
2586
2584
  const field = (label, input) => (0, react.createElement)("label", { style: require_assistant_workbench.assistantSettingFieldStyle }, (0, react.createElement)("span", null, label), input);
2587
- const toggle = (key, label) => (0, react.createElement)("label", { style: require_assistant_workbench.assistantSettingSwitchStyle }, (0, react.createElement)("span", null, label), (0, react.createElement)("input", {
2588
- type: "checkbox",
2589
- role: "switch",
2585
+ const toggle = (key, label) => (0, react.createElement)("label", { style: require_assistant_workbench.assistantSettingSwitchStyle }, (0, react.createElement)("span", { style: {
2586
+ minWidth: 0,
2587
+ overflowWrap: "anywhere"
2588
+ } }, label), (0, react.createElement)(require_react_dom$1.SettingsSwitch, {
2590
2589
  "aria-label": label,
2591
2590
  checked: appearance[key],
2592
2591
  disabled,
@@ -2620,7 +2619,7 @@ window.__ModuleLoader__.load({
2620
2619
  borderTop: `1px solid ${require_theme.dshThemeColor.border}`,
2621
2620
  paddingTop: 14
2622
2621
  }
2623
- }, (0, react.createElement)("strong", { style: { fontSize: 14 } }, t("avatar.settingsTitle")), (0, react.createElement)("p", { style: {
2622
+ }, (0, react.createElement)("strong", { style: { fontSize: require_theme.uiFontSize(14) } }, t("avatar.settingsTitle")), (0, react.createElement)("p", { style: {
2624
2623
  ...require_theme.dshSettingsHelpStyle,
2625
2624
  margin: 0
2626
2625
  } }, t("avatar.settingsDescription")), (0, react.createElement)(AssistantAvatarCatalogPanel, {
@@ -2685,7 +2684,7 @@ window.__ModuleLoader__.load({
2685
2684
  }
2686
2685
  }, t("avatar.installCurrent")), (0, react.createElement)("details", { "data-codingns-avatar-add": true }, (0, react.createElement)("summary", { style: {
2687
2686
  cursor: "pointer",
2688
- fontSize: 13
2687
+ fontSize: require_theme.uiFontSize(13)
2689
2688
  } }, t("avatar.add")), field(t("avatar.addMode"), (0, react.createElement)("select", {
2690
2689
  value: addMode,
2691
2690
  disabled,
@@ -2827,7 +2826,7 @@ window.__ModuleLoader__.load({
2827
2826
  role: "alert",
2828
2827
  style: {
2829
2828
  color: require_theme.dshThemeColor.error,
2830
- fontSize: 13
2829
+ fontSize: require_theme.uiFontSize(13)
2831
2830
  }
2832
2831
  }, error), (0, react.createElement)(AssistantAvatarEngineDialog, {
2833
2832
  controller: engine,
@@ -2876,7 +2875,7 @@ window.__ModuleLoader__.load({
2876
2875
  function AssistantVoiceSettings({ services, enabled = true, active = true, embedded = false }) {
2877
2876
  const t = require_transport.useCodingNsTranslator(services.locale);
2878
2877
  const [snapshot, setSnapshot] = (0, react.useState)();
2879
- const [selectedId, setSelectedId] = (0, react.useState)("moss:Junhao");
2878
+ const [selectedId, setSelectedId] = (0, react.useState)(require_manager.DEFAULT_ASSISTANT_TTS_SETTINGS.selectedId);
2880
2879
  const [parameters, setParameters] = (0, react.useState)({ ...require_manager.DEFAULT_ASSISTANT_TTS_PARAMETERS });
2881
2880
  const [siteId, setSiteId] = (0, react.useState)("kyutai");
2882
2881
  const [source, setSource] = (0, react.useState)("");
@@ -3273,7 +3272,7 @@ window.__ModuleLoader__.load({
3273
3272
  role: "alert",
3274
3273
  style: {
3275
3274
  color: require_theme.dshThemeColor.error,
3276
- fontSize: 13,
3275
+ fontSize: require_theme.uiFontSize(13),
3277
3276
  overflowWrap: "anywhere"
3278
3277
  }
3279
3278
  }, error || snapshot?.status.error) : null);
@@ -3343,13 +3342,13 @@ window.__ModuleLoader__.load({
3343
3342
  flex: "1 1 auto",
3344
3343
  minWidth: 0
3345
3344
  } }, (0, react.createElement)("strong", { style: {
3346
- fontSize: 14,
3345
+ fontSize: require_theme.uiFontSize(14),
3347
3346
  fontWeight: 600,
3348
3347
  lineHeight: 1.4
3349
3348
  } }, t(`voice.settings.${kind}`)), (0, react.createElement)("span", {
3350
3349
  title: hint,
3351
3350
  style: {
3352
- fontSize: 12,
3351
+ fontSize: require_theme.uiFontSize(12),
3353
3352
  lineHeight: 1.5,
3354
3353
  color: require_theme.dshThemeColor.labelSecondary,
3355
3354
  whiteSpace: "nowrap",
@@ -3592,9 +3591,9 @@ window.__ModuleLoader__.load({
3592
3591
  }, label), ready ? null : (0, react.createElement)("div", { style: {
3593
3592
  display: "grid",
3594
3593
  gap: 5,
3595
- fontSize: 13,
3594
+ fontSize: require_theme.uiFontSize(13),
3596
3595
  overflowWrap: "anywhere"
3597
- } }, (0, react.createElement)("span", null, t("tts.wizardModel", { model: snapshot?.modelId === "custom" ? t("voice.models.custom") : snapshot?.modelLabel ?? t("tts.wizardDefault") })), (0, react.createElement)("span", null, t("tts.wizardVoice", { voice: voice?.name ?? "Junhao" }))), busy ? (0, react.createElement)("div", { style: {
3596
+ } }, (0, react.createElement)("span", null, t("tts.wizardModel", { model: snapshot?.modelId === "custom" ? t("voice.models.custom") : snapshot?.modelLabel ?? t("tts.wizardDefault") })), (0, react.createElement)("span", null, t("tts.wizardVoice", { voice: voice?.name ?? require_manager.MOSS_BUILTIN_VOICES.find((item) => item.id === require_manager.DEFAULT_ASSISTANT_TTS_SETTINGS.selectedId)?.name ?? "Yuewen" }))), busy ? (0, react.createElement)("div", { style: {
3598
3597
  display: "grid",
3599
3598
  gap: 6
3600
3599
  } }, (0, react.createElement)("progress", {
@@ -3623,7 +3622,7 @@ window.__ModuleLoader__.load({
3623
3622
  role: "alert",
3624
3623
  style: {
3625
3624
  color: require_theme.dshThemeColor.error,
3626
- fontSize: 13,
3625
+ fontSize: require_theme.uiFontSize(13),
3627
3626
  overflowWrap: "anywhere"
3628
3627
  }
3629
3628
  }, failure) : null);
@@ -3667,7 +3666,7 @@ window.__ModuleLoader__.load({
3667
3666
  /** 选中的卡片与 Host 当前配置分开保存,操作完成后重新读取文件事实。 */
3668
3667
  function VoiceModelManager({ services, value, enabled = true, active = true, onClose }) {
3669
3668
  const t = require_transport.useCodingNsTranslator(services.locale);
3670
- const [modelId, setModelId] = (0, react.useState)(() => require_assistant_workbench.findAssistantVoiceModel(value.modelId ?? "")?.id ?? "sherpa-onnx-streaming-zh-en");
3669
+ const [modelId, setModelId] = (0, react.useState)(() => require_assistant_workbench.findAssistantVoiceModel(value.modelId ?? "")?.id ?? "sherpa-onnx-streaming-zh-large-2025-06-30");
3671
3670
  const [snapshot, setSnapshot] = (0, react.useState)();
3672
3671
  const [refreshing, setRefreshing] = (0, react.useState)(true);
3673
3672
  const [busy, setBusy] = (0, react.useState)();
@@ -3885,7 +3884,7 @@ window.__ModuleLoader__.load({
3885
3884
  display: "grid",
3886
3885
  gap: 5
3887
3886
  } }, (0, react.createElement)("span", { style: helpStyle }, t("voice.models.current")), (0, react.createElement)("strong", { style: {
3888
- fontSize: 14,
3887
+ fontSize: require_theme.uiFontSize(14),
3889
3888
  overflowWrap: "anywhere"
3890
3889
  } }, snapshot === void 0 ? t("voice.models.unknown") : current?.label ?? (snapshot.currentModelId ? t("voice.models.custom") : t("voice.models.none"))), snapshot === void 0 ? null : (0, react.createElement)("span", { style: helpStyle }, t(snapshot.runtimeRunning ? "voice.models.running" : snapshot.runtimeReady ? "voice.models.ready" : "voice.models.stopped"))), snapshot === void 0 && error === void 0 ? (0, react.createElement)("div", {
3891
3890
  role: "status",
@@ -4007,13 +4006,13 @@ window.__ModuleLoader__.load({
4007
4006
  }
4008
4007
  }, (0, react.createElement)("span", { style: {
4009
4008
  ...rowStyle,
4010
- fontSize: 12
4009
+ fontSize: require_theme.uiFontSize(12)
4011
4010
  } }, (0, react.createElement)("span", { style: { overflowWrap: "anywhere" } }, file.name), (0, react.createElement)("span", { style: {
4012
4011
  flexShrink: 0,
4013
4012
  color: file.present ? require_theme.dshThemeColor.labelSecondary : require_theme.dshThemeColor.error
4014
4013
  } }, file.present ? formatDownloadSize(file.bytes) : file.partialBytes > 0 ? t("voice.models.partialSize", { size: formatDownloadSize(file.partialBytes) }) : t("voice.models.fileMissing"))), (0, react.createElement)("span", { style: {
4015
4014
  ...helpStyle,
4016
- fontSize: 11,
4015
+ fontSize: require_theme.uiFontSize(11),
4017
4016
  overflowWrap: "anywhere",
4018
4017
  fontFamily: require_theme.dshThemeColor.codeFont
4019
4018
  } }, file.path)))))));
@@ -4034,7 +4033,7 @@ window.__ModuleLoader__.load({
4034
4033
  display: "grid",
4035
4034
  gap: 7,
4036
4035
  color: require_theme.dshThemeColor.labelSecondary,
4037
- fontSize: 13,
4036
+ fontSize: require_theme.uiFontSize(13),
4038
4037
  lineHeight: 1.5
4039
4038
  }
4040
4039
  }, (0, react.createElement)("div", { style: rowStyle }, (0, react.createElement)("span", null, label), percent === void 0 ? null : (0, react.createElement)("span", { style: {
@@ -4081,7 +4080,7 @@ window.__ModuleLoader__.load({
4081
4080
  padding: "2px 7px",
4082
4081
  border: `1px solid ${require_theme.dshThemeColor.border}`,
4083
4082
  borderRadius: 5,
4084
- fontSize: 11,
4083
+ fontSize: require_theme.uiFontSize(11),
4085
4084
  lineHeight: 1.4,
4086
4085
  color
4087
4086
  } }, label);
@@ -4094,14 +4093,14 @@ window.__ModuleLoader__.load({
4094
4093
  };
4095
4094
  const helpStyle = {
4096
4095
  color: require_theme.dshThemeColor.labelSecondary,
4097
- fontSize: 12,
4096
+ fontSize: require_theme.uiFontSize(12),
4098
4097
  lineHeight: 1.55
4099
4098
  };
4100
4099
  const noticeStyle = {
4101
4100
  padding: "11px 13px",
4102
4101
  borderRadius: 8,
4103
4102
  background: require_theme.dshThemeColor.surfaceSubtle,
4104
- fontSize: 13,
4103
+ fontSize: require_theme.uiFontSize(13),
4105
4104
  lineHeight: 1.55
4106
4105
  };
4107
4106
  //#endregion
@@ -4318,6 +4317,12 @@ window.__ModuleLoader__.load({
4318
4317
  t,
4319
4318
  disabled,
4320
4319
  onChange
4320
+ }), (0, react.createElement)(AssistantNotificationSettings, {
4321
+ services,
4322
+ value,
4323
+ disabled,
4324
+ t,
4325
+ onError
4321
4326
  }), (0, react.createElement)(AssistantAdvancedSettings, {
4322
4327
  services,
4323
4328
  value,
@@ -4340,6 +4345,93 @@ window.__ModuleLoader__.load({
4340
4345
  }, t("awb.reset"))));
4341
4346
  }
4342
4347
  }
4348
+ /** 通知开关和自动关闭选项写入配置窗口的统一草稿,底部保存前不改变运行中的助理。 */
4349
+ function AssistantNotificationSettings({ services, value, disabled, t, onError }) {
4350
+ const settings = require_assistant_notifications.normalizeAssistantNotificationSettings(value.notifications);
4351
+ const compactRowStyle = {
4352
+ minHeight: 40,
4353
+ padding: "5px 0"
4354
+ };
4355
+ const set = (key, checked) => {
4356
+ services.settings.set(`assistant.notifications.${key}`, checked).catch((cause) => onError(message(cause)));
4357
+ };
4358
+ const row = (key, style, description) => (0, react.createElement)(require_react_dom$1.SettingsToggleRow, {
4359
+ key,
4360
+ label: t(`awb.notifications.${key}`),
4361
+ checked: settings[key],
4362
+ ...description === void 0 ? {} : { description },
4363
+ disabled: disabled || key !== "enabled" && !settings.enabled,
4364
+ style,
4365
+ onChange: (checked) => set(key, checked)
4366
+ });
4367
+ const setSeconds = (value) => {
4368
+ if (!require_assistant_notifications.ASSISTANT_NOTIFICATION_AUTO_CLOSE_SECONDS.includes(value)) return;
4369
+ services.settings.set("assistant.notifications.autoCloseSeconds", value).catch((cause) => onError(message(cause)));
4370
+ };
4371
+ const durationRow = (0, react.createElement)("div", { style: {
4372
+ display: "flex",
4373
+ alignItems: "center",
4374
+ justifyContent: "space-between",
4375
+ gap: 12,
4376
+ width: "100%",
4377
+ minWidth: 0,
4378
+ minHeight: 40,
4379
+ padding: "5px 0",
4380
+ borderBottom: `0.5px solid ${require_theme.dshThemeColor.menuBorder}`,
4381
+ boxSizing: "border-box"
4382
+ } }, (0, react.createElement)("label", {
4383
+ htmlFor: "codingns-assistant-notification-auto-close-seconds",
4384
+ style: {
4385
+ flex: "1 1 auto",
4386
+ minWidth: 0,
4387
+ cursor: disabled || !settings.enabled || !settings.autoClose ? "default" : "pointer",
4388
+ overflowWrap: "anywhere"
4389
+ }
4390
+ }, (0, react.createElement)("span", { style: {
4391
+ display: "block",
4392
+ fontSize: require_theme.uiFontSize(13),
4393
+ fontWeight: 500,
4394
+ lineHeight: 1.4
4395
+ } }, t("awb.notifications.autoCloseDuration")), (0, react.createElement)("span", { style: require_theme.dshSettingsHelpStyle }, t("awb.notifications.autoCloseDurationHint"))), (0, react.createElement)("select", {
4396
+ id: "codingns-assistant-notification-auto-close-seconds",
4397
+ value: String(settings.autoCloseSeconds),
4398
+ disabled: disabled || !settings.enabled || !settings.autoClose,
4399
+ "aria-label": t("awb.notifications.autoCloseDuration"),
4400
+ style: {
4401
+ ...require_theme.dshSettingsFieldStyle,
4402
+ flex: "0 0 auto",
4403
+ width: 112,
4404
+ minHeight: 32,
4405
+ padding: "5px 8px"
4406
+ },
4407
+ onChange: (event) => setSeconds(Number(event.currentTarget.value))
4408
+ }, ...require_assistant_notifications.ASSISTANT_NOTIFICATION_AUTO_CLOSE_SECONDS.map((seconds) => (0, react.createElement)("option", {
4409
+ key: seconds,
4410
+ value: String(seconds)
4411
+ }, `${seconds}${t("awb.notifications.seconds")}`))));
4412
+ return (0, react.createElement)("fieldset", {
4413
+ disabled,
4414
+ "data-codingns-assistant-notification-settings": true,
4415
+ style: {
4416
+ border: 0,
4417
+ padding: 0,
4418
+ margin: 0,
4419
+ minWidth: 0
4420
+ }
4421
+ }, (0, react.createElement)("legend", { style: {
4422
+ fontWeight: 600,
4423
+ marginBottom: 6
4424
+ } }, t("awb.notifications.title")), (0, react.createElement)("p", { style: help }, t("awb.notifications.hint")), row("enabled", {
4425
+ minHeight: 44,
4426
+ padding: "5px 0"
4427
+ }), row("autoClose", compactRowStyle, t("awb.notifications.autoCloseHint")), durationRow, (0, react.createElement)("div", { style: {
4428
+ display: "grid",
4429
+ gridTemplateColumns: "repeat(auto-fit, minmax(220px, 1fr))",
4430
+ columnGap: 20,
4431
+ rowGap: 0,
4432
+ marginTop: 2
4433
+ } }, row("completed", compactRowStyle), row("error", compactRowStyle), row("question", compactRowStyle), row("approval", compactRowStyle)));
4434
+ }
4343
4435
  /** 兼容原能力表单入口;实际配置页分别装配项目字段与声音字段。 */
4344
4436
  function AssistantCapabilityFields({ draft, tts, workspaces, t, disabled, onChange }) {
4345
4437
  return (0, react.createElement)("div", { style: {
@@ -4362,6 +4454,53 @@ window.__ModuleLoader__.load({
4362
4454
  /** 项目范围放到更多设置,保留暂不可用项目以避免编辑时丢失原有选择。 */
4363
4455
  function AssistantWorkspaceFields({ draft, workspaces, t, disabled, onChange }) {
4364
4456
  const knownWorkspaces = new Set(workspaces.map((workspace) => workspace.workspaceId));
4457
+ const options = [...workspaces, ...draft.managedWorkspaceIds.filter((id) => !knownWorkspaces.has(id)).map((workspaceId) => ({
4458
+ workspaceId,
4459
+ title: t("awb.offlineWorkspace", { id: workspaceId })
4460
+ }))];
4461
+ const row = (workspace, index) => {
4462
+ const remote = "hostLabel" in workspace || "hostId" in workspace;
4463
+ const host = remote ? workspace.hostLabel ?? workspace.hostId : void 0;
4464
+ const hostColor = remote ? workspace.hostColor : void 0;
4465
+ const sessionCount = "sessionIds" in workspace ? workspace.sessionIds.length : 0;
4466
+ const path = "workspacePath" in workspace ? workspace.workspacePath ?? workspace.path ?? workspace.workspaceId : "path" in workspace ? workspace.path ?? workspace.workspaceId : workspace.workspaceId;
4467
+ const tag = host === void 0 ? (0, react.createElement)("span", { style: workspaceTableEmptyStyle }, "—") : (0, react.createElement)("span", {
4468
+ title: host,
4469
+ style: {
4470
+ ...require_react_dom$1.peerHostTagStyle(require_react_dom$1.resolvePeerHostColor(hostColor, host)),
4471
+ maxWidth: "100%"
4472
+ }
4473
+ }, host);
4474
+ return (0, react.createElement)("label", {
4475
+ key: workspace.workspaceId,
4476
+ role: "row",
4477
+ style: {
4478
+ ...workspaceTableRowStyle,
4479
+ ...index === options.length - 1 ? {} : { borderBottom: `1px solid ${require_theme.dshThemeColor.border}` }
4480
+ }
4481
+ }, (0, react.createElement)("span", {
4482
+ role: "cell",
4483
+ style: workspaceTableCheckboxCellStyle
4484
+ }, (0, react.createElement)("input", {
4485
+ type: "checkbox",
4486
+ "aria-label": workspace.title,
4487
+ checked: draft.managedWorkspaceIds.includes(workspace.workspaceId),
4488
+ onChange: (event) => onChange({ managedWorkspaceIds: event.currentTarget.checked ? [...draft.managedWorkspaceIds, workspace.workspaceId] : draft.managedWorkspaceIds.filter((id) => id !== workspace.workspaceId) })
4489
+ })), (0, react.createElement)("span", {
4490
+ role: "cell",
4491
+ style: workspaceTableNameCellStyle
4492
+ }, workspace.title), (0, react.createElement)("span", {
4493
+ role: "cell",
4494
+ style: workspaceTableCountCellStyle
4495
+ }, String(sessionCount)), (0, react.createElement)("span", {
4496
+ role: "cell",
4497
+ title: path,
4498
+ style: workspaceTablePathCellStyle
4499
+ }, path), (0, react.createElement)("span", {
4500
+ role: "cell",
4501
+ style: workspaceTableHostCellStyle
4502
+ }, tag));
4503
+ };
4365
4504
  return (0, react.createElement)("fieldset", {
4366
4505
  "data-codingns-assistant-projects": true,
4367
4506
  style: {
@@ -4372,27 +4511,24 @@ window.__ModuleLoader__.load({
4372
4511
  },
4373
4512
  disabled
4374
4513
  }, (0, react.createElement)("legend", { style: {
4375
- fontSize: 14,
4514
+ fontSize: require_theme.uiFontSize(14),
4376
4515
  fontWeight: 600,
4377
4516
  padding: 0,
4378
4517
  marginBottom: 8
4379
- } }, t("awb.workspaces")), (0, react.createElement)("p", { style: help }, t("awb.scopeHint")), (0, react.createElement)("div", { style: {
4380
- display: "grid",
4381
- gap: 8,
4382
- maxHeight: 180,
4383
- overflowY: "auto",
4384
- marginTop: 8
4385
- } }, ...[...workspaces, ...draft.managedWorkspaceIds.filter((id) => !knownWorkspaces.has(id)).map((workspaceId) => ({
4386
- workspaceId,
4387
- title: t("awb.offlineWorkspace", { id: workspaceId })
4388
- }))].map((workspace) => (0, react.createElement)("label", {
4389
- key: workspace.workspaceId,
4390
- style: require_assistant_workbench.assistantSettingCheckboxStyle
4391
- }, (0, react.createElement)("input", {
4392
- type: "checkbox",
4393
- checked: draft.managedWorkspaceIds.includes(workspace.workspaceId),
4394
- onChange: (event) => onChange({ managedWorkspaceIds: event.currentTarget.checked ? [...draft.managedWorkspaceIds, workspace.workspaceId] : draft.managedWorkspaceIds.filter((id) => id !== workspace.workspaceId) })
4395
- }), workspace.title))));
4518
+ } }, t("awb.workspaces")), (0, react.createElement)("p", { style: help }, t("awb.scopeHint")), (0, react.createElement)("div", {
4519
+ role: "table",
4520
+ "aria-label": t("awb.workspaces"),
4521
+ style: workspaceTableStyle
4522
+ }, (0, react.createElement)("div", {
4523
+ role: "row",
4524
+ style: workspaceTableHeaderStyle
4525
+ }, (0, react.createElement)("span", {
4526
+ role: "columnheader",
4527
+ style: workspaceTableCheckboxCellStyle
4528
+ }), (0, react.createElement)("span", { role: "columnheader" }, t("awb.workspaceColumn")), (0, react.createElement)("span", { role: "columnheader" }, t("awb.workspaceCountColumn")), (0, react.createElement)("span", { role: "columnheader" }, t("awb.workspacePathColumn")), (0, react.createElement)("span", { role: "columnheader" }, t("awb.workspaceHostColumn"))), ...options.map(row), options.length === 0 ? (0, react.createElement)("div", {
4529
+ role: "row",
4530
+ style: workspaceTableEmptyRowStyle
4531
+ }, t("assistant.noWorkspaces")) : null));
4396
4532
  }
4397
4533
  /** 没有安装 MOSS 时只有浏览器声音可选,不因标签拆分而放宽可用性校验。 */
4398
4534
  function AssistantVoiceFields({ draft, tts, t, disabled, onChange }) {
@@ -4422,7 +4558,7 @@ window.__ModuleLoader__.load({
4422
4558
  }, voice.name)))), mossReady ? null : (0, react.createElement)("p", { style: help }, t("awb.mossSetupHint")));
4423
4559
  }
4424
4560
  function AssistantAdvancedSettings({ services, value, disabled, t, onDebug, onError }) {
4425
- const defaults = require_assistant_prompts.readAssistantPrompts(value.prompts);
4561
+ const defaults = require_assistant_notifications.readAssistantPrompts(value.prompts);
4426
4562
  const prompts = services.configurationDraft ? {
4427
4563
  ...defaults,
4428
4564
  ...value.prompts
@@ -4513,10 +4649,83 @@ window.__ModuleLoader__.load({
4513
4649
  ...require_theme.dshSettingsFieldStyle,
4514
4650
  borderRadius: 8
4515
4651
  };
4652
+ const workspaceTableStyle = {
4653
+ display: "grid",
4654
+ overflow: "hidden",
4655
+ maxHeight: 240,
4656
+ overflowY: "auto",
4657
+ marginTop: 8,
4658
+ border: `1px solid ${require_theme.dshThemeColor.border}`,
4659
+ borderRadius: 10,
4660
+ background: require_theme.dshThemeColor.cardBackground,
4661
+ boxShadow: require_theme.dshThemeColor.subtleShadow
4662
+ };
4663
+ const workspaceTableGridStyle = {
4664
+ display: "grid",
4665
+ gridTemplateColumns: "38px minmax(140px, 1fr) 72px minmax(180px, 1fr) minmax(120px, 0.42fr)",
4666
+ alignItems: "center",
4667
+ columnGap: 10,
4668
+ padding: "0 12px",
4669
+ minWidth: 0
4670
+ };
4671
+ const workspaceTableHeaderStyle = {
4672
+ ...workspaceTableGridStyle,
4673
+ minHeight: 34,
4674
+ color: require_theme.dshThemeColor.labelSecondary,
4675
+ background: require_theme.dshThemeColor.surfaceSubtle,
4676
+ borderBottom: `1px solid ${require_theme.dshThemeColor.border}`,
4677
+ fontSize: require_theme.uiFontSize(11),
4678
+ fontWeight: 600
4679
+ };
4680
+ const workspaceTableRowStyle = {
4681
+ ...workspaceTableGridStyle,
4682
+ minHeight: 48,
4683
+ color: require_theme.dshThemeColor.labelPrimary,
4684
+ fontSize: require_theme.uiFontSize(13),
4685
+ cursor: "pointer"
4686
+ };
4687
+ const workspaceTableCheckboxCellStyle = {
4688
+ display: "flex",
4689
+ alignItems: "center",
4690
+ minWidth: 0
4691
+ };
4692
+ const workspaceTableNameCellStyle = {
4693
+ minWidth: 0,
4694
+ overflow: "hidden",
4695
+ overflowWrap: "anywhere"
4696
+ };
4697
+ const workspaceTableCountCellStyle = {
4698
+ color: require_theme.dshThemeColor.labelSecondary,
4699
+ fontVariantNumeric: "tabular-nums"
4700
+ };
4701
+ const workspaceTablePathCellStyle = {
4702
+ minWidth: 0,
4703
+ overflow: "hidden",
4704
+ overflowWrap: "anywhere",
4705
+ color: require_theme.dshThemeColor.labelSecondary,
4706
+ fontSize: require_theme.uiFontSize(12)
4707
+ };
4708
+ const workspaceTableHostCellStyle = {
4709
+ display: "flex",
4710
+ alignItems: "center",
4711
+ minWidth: 0,
4712
+ overflow: "hidden"
4713
+ };
4714
+ const workspaceTableEmptyStyle = {
4715
+ color: require_theme.dshThemeColor.labelTertiary,
4716
+ fontSize: require_theme.uiFontSize(12)
4717
+ };
4718
+ const workspaceTableEmptyRowStyle = {
4719
+ padding: "16px 12px",
4720
+ color: require_theme.dshThemeColor.labelSecondary,
4721
+ textAlign: "center",
4722
+ fontSize: require_theme.uiFontSize(12)
4723
+ };
4516
4724
  //#endregion
4517
4725
  exports.AssistantCapabilityFields = AssistantCapabilityFields;
4518
4726
  exports.AssistantConfigurationFields = AssistantConfigurationFields;
4519
4727
  exports.AssistantConfigurationPage = AssistantConfigurationPage;
4728
+ exports.AssistantNotificationSettings = AssistantNotificationSettings;
4520
4729
  exports.AssistantVoiceFields = AssistantVoiceFields;
4521
4730
  exports.AssistantWorkspaceFields = AssistantWorkspaceFields;
4522
4731
  return module.exports;