@jingyi0605/codingns4dsh 0.2.1-beta.13 → 0.2.1-beta.15

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 (392) hide show
  1. package/README.en.md +5 -5
  2. package/README.md +6 -9
  3. package/data/build/dist/bootstrap/dsh-connection-adapter.d.ts +1 -1
  4. package/data/build/dist/bootstrap/dsh-connection-adapter.d.ts.map +1 -1
  5. package/data/build/dist/bootstrap/index.d.ts +1 -1
  6. package/data/build/dist/bootstrap/index.d.ts.map +1 -1
  7. package/data/build/dist/client/bundle.js +1947 -585
  8. package/data/build/dist/client/bundle.js.map +1 -1
  9. package/data/build/dist/client/cli-slots.d.ts.map +1 -1
  10. package/data/build/dist/client/cli-slots.js +11 -3
  11. package/data/build/dist/client/cli-slots.js.map +1 -1
  12. package/data/build/dist/client/client.model-catalog-cache.js +9 -1
  13. package/data/build/dist/client/client.model-catalog-cache.js.map +1 -1
  14. package/data/build/dist/client/client.native-workspace-store.js +65 -15
  15. package/data/build/dist/client/client.native-workspace-store.js.map +1 -1
  16. package/data/build/dist/client/client.transport.js +70 -4
  17. package/data/build/dist/client/client.transport.js.map +1 -1
  18. package/data/build/dist/client/desktop-assistant.js +180 -114
  19. package/data/build/dist/client/features/cli-adapters.js +4 -2
  20. package/data/build/dist/client/features/cli-adapters.js.map +1 -1
  21. package/data/build/dist/client/features/file-management.d.ts.map +1 -1
  22. package/data/build/dist/client/features/file-management.js +16 -0
  23. package/data/build/dist/client/features/file-management.js.map +1 -1
  24. package/data/build/dist/client/features/lan-access-panel.d.ts.map +1 -1
  25. package/data/build/dist/client/features/lan-access-panel.js +1 -0
  26. package/data/build/dist/client/features/lan-access-panel.js.map +1 -1
  27. package/data/build/dist/client/features/mobile-access.d.ts.map +1 -1
  28. package/data/build/dist/client/features/mobile-access.js +7 -0
  29. package/data/build/dist/client/features/mobile-access.js.map +1 -1
  30. package/data/build/dist/client/features/peer-host.d.ts.map +1 -1
  31. package/data/build/dist/client/features/peer-host.js +3 -0
  32. package/data/build/dist/client/features/peer-host.js.map +1 -1
  33. package/data/build/dist/client/features/session-translation.js +2 -2
  34. package/data/build/dist/client/features/session-translation.js.map +1 -1
  35. package/data/build/dist/client/features/workspace-session-enhancement.d.ts.map +1 -1
  36. package/data/build/dist/client/features/workspace-session-enhancement.js +6 -0
  37. package/data/build/dist/client/features/workspace-session-enhancement.js.map +1 -1
  38. package/data/build/dist/client/file-management-dom.d.ts +20 -1
  39. package/data/build/dist/client/file-management-dom.d.ts.map +1 -1
  40. package/data/build/dist/client/file-management-dom.js +94 -18
  41. package/data/build/dist/client/file-management-dom.js.map +1 -1
  42. package/data/build/dist/client/file-viewer-copy-path-menu.d.ts +27 -0
  43. package/data/build/dist/client/file-viewer-copy-path-menu.d.ts.map +1 -0
  44. package/data/build/dist/client/file-viewer-copy-path-menu.js +101 -0
  45. package/data/build/dist/client/file-viewer-copy-path-menu.js.map +1 -0
  46. package/data/build/dist/client/git-management-settings.d.ts +4 -0
  47. package/data/build/dist/client/git-management-settings.d.ts.map +1 -0
  48. package/data/build/dist/client/git-management-settings.js +73 -0
  49. package/data/build/dist/client/git-management-settings.js.map +1 -0
  50. package/data/build/dist/client/git-management.d.ts +2 -1
  51. package/data/build/dist/client/git-management.d.ts.map +1 -1
  52. package/data/build/dist/client/git-management.js +55 -34
  53. package/data/build/dist/client/git-management.js.map +1 -1
  54. package/data/build/dist/client/git-panel-styles.d.ts +4 -0
  55. package/data/build/dist/client/git-panel-styles.d.ts.map +1 -1
  56. package/data/build/dist/client/git-panel-styles.js +14 -0
  57. package/data/build/dist/client/git-panel-styles.js.map +1 -1
  58. package/data/build/dist/client/locale.d.ts.map +1 -1
  59. package/data/build/dist/client/locale.js +10 -2
  60. package/data/build/dist/client/locale.js.map +1 -1
  61. package/data/build/dist/client/locales/cliManagement.d.ts.map +1 -1
  62. package/data/build/dist/client/locales/cliManagement.js +16 -0
  63. package/data/build/dist/client/locales/cliManagement.js.map +1 -1
  64. package/data/build/dist/client/locales/git.d.ts.map +1 -1
  65. package/data/build/dist/client/locales/git.js +30 -2
  66. package/data/build/dist/client/locales/git.js.map +1 -1
  67. package/data/build/dist/client/locales/peerHost.d.ts.map +1 -1
  68. package/data/build/dist/client/locales/peerHost.js +2 -0
  69. package/data/build/dist/client/locales/peerHost.js.map +1 -1
  70. package/data/build/dist/client/locales/quickApps.d.ts +6 -0
  71. package/data/build/dist/client/locales/quickApps.d.ts.map +1 -1
  72. package/data/build/dist/client/locales/quickApps.js +12 -0
  73. package/data/build/dist/client/locales/quickApps.js.map +1 -1
  74. package/data/build/dist/client/mobile-team-panel-dom.d.ts +14 -0
  75. package/data/build/dist/client/mobile-team-panel-dom.d.ts.map +1 -0
  76. package/data/build/dist/client/mobile-team-panel-dom.js +164 -0
  77. package/data/build/dist/client/mobile-team-panel-dom.js.map +1 -0
  78. package/data/build/dist/client/model-priority-pool.d.ts +23 -0
  79. package/data/build/dist/client/model-priority-pool.d.ts.map +1 -0
  80. package/data/build/dist/client/{session-translation-model-pool.js → model-priority-pool.js} +8 -9
  81. package/data/build/dist/client/model-priority-pool.js.map +1 -0
  82. package/data/build/dist/client/provider-icons.d.ts.map +1 -1
  83. package/data/build/dist/client/provider-icons.js +3 -1
  84. package/data/build/dist/client/provider-icons.js.map +1 -1
  85. package/data/build/dist/client/quick-apps/browser-storage.d.ts +24 -0
  86. package/data/build/dist/client/quick-apps/browser-storage.d.ts.map +1 -0
  87. package/data/build/dist/client/quick-apps/browser-storage.js +114 -0
  88. package/data/build/dist/client/quick-apps/browser-storage.js.map +1 -0
  89. package/data/build/dist/client/quick-apps/client.d.ts +3 -1
  90. package/data/build/dist/client/quick-apps/client.d.ts.map +1 -1
  91. package/data/build/dist/client/quick-apps/client.js +4 -4
  92. package/data/build/dist/client/quick-apps/client.js.map +1 -1
  93. package/data/build/dist/client/quick-apps/launcher.d.ts.map +1 -1
  94. package/data/build/dist/client/quick-apps/launcher.js +23 -8
  95. package/data/build/dist/client/quick-apps/launcher.js.map +1 -1
  96. package/data/build/dist/client/quick-apps/presentation.d.ts.map +1 -1
  97. package/data/build/dist/client/quick-apps/presentation.js +18 -2
  98. package/data/build/dist/client/quick-apps/presentation.js.map +1 -1
  99. package/data/build/dist/client/quick-apps/rail-preference.d.ts +5 -0
  100. package/data/build/dist/client/quick-apps/rail-preference.d.ts.map +1 -0
  101. package/data/build/dist/client/quick-apps/rail-preference.js +19 -0
  102. package/data/build/dist/client/quick-apps/rail-preference.js.map +1 -0
  103. package/data/build/dist/client/quick-apps/styles.d.ts.map +1 -1
  104. package/data/build/dist/client/quick-apps/styles.js +12 -2
  105. package/data/build/dist/client/quick-apps/styles.js.map +1 -1
  106. package/data/build/dist/client/quick-apps/viewer.d.ts.map +1 -1
  107. package/data/build/dist/client/quick-apps/viewer.js +13 -3
  108. package/data/build/dist/client/quick-apps/viewer.js.map +1 -1
  109. package/data/build/dist/client/style.css +219 -219
  110. package/data/build/dist/client/workspace-session-rightbar-dom.d.ts.map +1 -1
  111. package/data/build/dist/client/workspace-session-rightbar-dom.js +12 -21
  112. package/data/build/dist/client/workspace-session-rightbar-dom.js.map +1 -1
  113. package/data/build/dist/client/workspace-session-visibility-dom.d.ts +3 -0
  114. package/data/build/dist/client/workspace-session-visibility-dom.d.ts.map +1 -1
  115. package/data/build/dist/client/workspace-session-visibility-dom.js +43 -10
  116. package/data/build/dist/client/workspace-session-visibility-dom.js.map +1 -1
  117. package/data/build/dist/dsh-capabilities/client/composer-presentation-adapter.d.ts +8 -0
  118. package/data/build/dist/dsh-capabilities/client/composer-presentation-adapter.d.ts.map +1 -0
  119. package/data/build/dist/dsh-capabilities/client/composer-presentation-adapter.js +71 -0
  120. package/data/build/dist/dsh-capabilities/client/composer-presentation-adapter.js.map +1 -0
  121. package/data/build/dist/dsh-capabilities/client/peer-host-attachment-adapter.d.ts +3 -0
  122. package/data/build/dist/dsh-capabilities/client/peer-host-attachment-adapter.d.ts.map +1 -0
  123. package/data/build/dist/dsh-capabilities/client/peer-host-attachment-adapter.js +27 -0
  124. package/data/build/dist/dsh-capabilities/client/peer-host-attachment-adapter.js.map +1 -0
  125. package/data/build/dist/dsh-capabilities/client/session-performance-adapter.d.ts +2 -1
  126. package/data/build/dist/dsh-capabilities/client/session-performance-adapter.d.ts.map +1 -1
  127. package/data/build/dist/dsh-capabilities/client/session-performance-adapter.js +22 -47
  128. package/data/build/dist/dsh-capabilities/client/session-performance-adapter.js.map +1 -1
  129. package/data/build/dist/dsh-capabilities/host/agent-team-adapter.d.ts +52 -0
  130. package/data/build/dist/dsh-capabilities/host/agent-team-adapter.d.ts.map +1 -0
  131. package/data/build/dist/dsh-capabilities/host/agent-team-adapter.js +109 -0
  132. package/data/build/dist/dsh-capabilities/host/agent-team-adapter.js.map +1 -0
  133. package/data/build/dist/dsh-capabilities/host/quick-app-proxy-provider.js +1 -1
  134. package/data/build/dist/dsh-capabilities/host/quick-app-proxy-provider.js.map +1 -1
  135. package/data/build/dist/dsh-capabilities/matrix.d.ts.map +1 -1
  136. package/data/build/dist/dsh-capabilities/matrix.js +12 -10
  137. package/data/build/dist/dsh-capabilities/matrix.js.map +1 -1
  138. package/data/build/dist/dsh-capabilities/routes.d.ts.map +1 -1
  139. package/data/build/dist/dsh-capabilities/routes.js +13 -8
  140. package/data/build/dist/dsh-capabilities/routes.js.map +1 -1
  141. package/data/build/dist/dsh-capabilities/types.d.ts +1 -1
  142. package/data/build/dist/dsh-capabilities/types.d.ts.map +1 -1
  143. package/data/build/dist/dsh-capabilities/types.js.map +1 -1
  144. package/data/build/dist/host/cli-adapters/acp-cli-driver.d.ts.map +1 -1
  145. package/data/build/dist/host/cli-adapters/acp-cli-driver.js +6 -3
  146. package/data/build/dist/host/cli-adapters/acp-cli-driver.js.map +1 -1
  147. package/data/build/dist/host/cli-adapters/claude-driver.d.ts.map +1 -1
  148. package/data/build/dist/host/cli-adapters/claude-driver.js +4 -0
  149. package/data/build/dist/host/cli-adapters/claude-driver.js.map +1 -1
  150. package/data/build/dist/host/cli-adapters/codex-driver.d.ts.map +1 -1
  151. package/data/build/dist/host/cli-adapters/codex-driver.js +13 -6
  152. package/data/build/dist/host/cli-adapters/codex-driver.js.map +1 -1
  153. package/data/build/dist/host/cli-adapters/command-code-acp-loader.d.ts.map +1 -1
  154. package/data/build/dist/host/cli-adapters/command-code-acp-loader.js +11 -1
  155. package/data/build/dist/host/cli-adapters/command-code-acp-loader.js.map +1 -1
  156. package/data/build/dist/host/cli-adapters/command-code-driver.js +5 -3
  157. package/data/build/dist/host/cli-adapters/command-code-driver.js.map +1 -1
  158. package/data/build/dist/host/cli-adapters/desktop-app-runtime.d.ts +3 -1
  159. package/data/build/dist/host/cli-adapters/desktop-app-runtime.d.ts.map +1 -1
  160. package/data/build/dist/host/cli-adapters/desktop-app-runtime.js +41 -4
  161. package/data/build/dist/host/cli-adapters/desktop-app-runtime.js.map +1 -1
  162. package/data/build/dist/host/cli-adapters/dsh-message-projector.d.ts.map +1 -1
  163. package/data/build/dist/host/cli-adapters/dsh-message-projector.js +2 -1
  164. package/data/build/dist/host/cli-adapters/dsh-message-projector.js.map +1 -1
  165. package/data/build/dist/host/cli-adapters/dsh-tool-history.js +3 -2
  166. package/data/build/dist/host/cli-adapters/dsh-tool-history.js.map +1 -1
  167. package/data/build/dist/host/cli-adapters/dsh-virtual-providers.d.ts.map +1 -1
  168. package/data/build/dist/host/cli-adapters/dsh-virtual-providers.js +3 -2
  169. package/data/build/dist/host/cli-adapters/dsh-virtual-providers.js.map +1 -1
  170. package/data/build/dist/host/cli-adapters/feature.d.ts.map +1 -1
  171. package/data/build/dist/host/cli-adapters/feature.js +134 -29
  172. package/data/build/dist/host/cli-adapters/feature.js.map +1 -1
  173. package/data/build/dist/host/cli-adapters/gemini-driver.d.ts.map +1 -1
  174. package/data/build/dist/host/cli-adapters/gemini-driver.js +4 -2
  175. package/data/build/dist/host/cli-adapters/gemini-driver.js.map +1 -1
  176. package/data/build/dist/host/cli-adapters/grok-driver.d.ts +4 -0
  177. package/data/build/dist/host/cli-adapters/grok-driver.d.ts.map +1 -1
  178. package/data/build/dist/host/cli-adapters/grok-driver.js +183 -9
  179. package/data/build/dist/host/cli-adapters/grok-driver.js.map +1 -1
  180. package/data/build/dist/host/cli-adapters/grok-performance-projection.d.ts.map +1 -1
  181. package/data/build/dist/host/cli-adapters/grok-performance-projection.js +2 -1
  182. package/data/build/dist/host/cli-adapters/grok-performance-projection.js.map +1 -1
  183. package/data/build/dist/host/cli-adapters/legacy-session-adapter.d.ts.map +1 -1
  184. package/data/build/dist/host/cli-adapters/legacy-session-adapter.js +20 -3
  185. package/data/build/dist/host/cli-adapters/legacy-session-adapter.js.map +1 -1
  186. package/data/build/dist/host/cli-adapters/management-methods.d.ts +5 -0
  187. package/data/build/dist/host/cli-adapters/management-methods.d.ts.map +1 -1
  188. package/data/build/dist/host/cli-adapters/management-methods.js +9 -0
  189. package/data/build/dist/host/cli-adapters/management-methods.js.map +1 -1
  190. package/data/build/dist/host/cli-adapters/management-process.d.ts.map +1 -1
  191. package/data/build/dist/host/cli-adapters/management-process.js +13 -2
  192. package/data/build/dist/host/cli-adapters/management-process.js.map +1 -1
  193. package/data/build/dist/host/cli-adapters/management.d.ts.map +1 -1
  194. package/data/build/dist/host/cli-adapters/management.js +6 -1
  195. package/data/build/dist/host/cli-adapters/management.js.map +1 -1
  196. package/data/build/dist/host/cli-adapters/mcode-driver.d.ts.map +1 -1
  197. package/data/build/dist/host/cli-adapters/mcode-driver.js +11 -4
  198. package/data/build/dist/host/cli-adapters/mcode-driver.js.map +1 -1
  199. package/data/build/dist/host/cli-adapters/native-subagent-dispatch.d.ts +1 -1
  200. package/data/build/dist/host/cli-adapters/native-subagent-dispatch.d.ts.map +1 -1
  201. package/data/build/dist/host/cli-adapters/native-subagent-dispatch.js +11 -3
  202. package/data/build/dist/host/cli-adapters/native-subagent-dispatch.js.map +1 -1
  203. package/data/build/dist/host/cli-adapters/native-team-subagent.d.ts +7 -1
  204. package/data/build/dist/host/cli-adapters/native-team-subagent.d.ts.map +1 -1
  205. package/data/build/dist/host/cli-adapters/native-team-subagent.js +4 -2
  206. package/data/build/dist/host/cli-adapters/native-team-subagent.js.map +1 -1
  207. package/data/build/dist/host/cli-adapters/opencode-v2-protocol.js +3 -1
  208. package/data/build/dist/host/cli-adapters/opencode-v2-protocol.js.map +1 -1
  209. package/data/build/dist/host/cli-adapters/pi-driver.d.ts.map +1 -1
  210. package/data/build/dist/host/cli-adapters/pi-driver.js +44 -10
  211. package/data/build/dist/host/cli-adapters/pi-driver.js.map +1 -1
  212. package/data/build/dist/host/cli-adapters/registry.d.ts +4 -1
  213. package/data/build/dist/host/cli-adapters/registry.d.ts.map +1 -1
  214. package/data/build/dist/host/cli-adapters/registry.js +65 -25
  215. package/data/build/dist/host/cli-adapters/registry.js.map +1 -1
  216. package/data/build/dist/host/cli-adapters/standard-stream-driver.d.ts.map +1 -1
  217. package/data/build/dist/host/cli-adapters/standard-stream-driver.js +4 -0
  218. package/data/build/dist/host/cli-adapters/standard-stream-driver.js.map +1 -1
  219. package/data/build/dist/host/cli-adapters/subagent-tool.js +1 -1
  220. package/data/build/dist/host/cli-adapters/subagent-tool.js.map +1 -1
  221. package/data/build/dist/host/cli-adapters/team-input.d.ts +17 -0
  222. package/data/build/dist/host/cli-adapters/team-input.d.ts.map +1 -0
  223. package/data/build/dist/host/cli-adapters/team-input.js +67 -0
  224. package/data/build/dist/host/cli-adapters/team-input.js.map +1 -0
  225. package/data/build/dist/host/cli-adapters/update-check.d.ts.map +1 -1
  226. package/data/build/dist/host/cli-adapters/update-check.js +5 -5
  227. package/data/build/dist/host/cli-adapters/update-check.js.map +1 -1
  228. package/data/build/dist/host/cli-adapters/zcode-driver.d.ts.map +1 -1
  229. package/data/build/dist/host/cli-adapters/zcode-driver.js +6 -1
  230. package/data/build/dist/host/cli-adapters/zcode-driver.js.map +1 -1
  231. package/data/build/dist/host/cli-adapters/zcode-update.d.ts +8 -0
  232. package/data/build/dist/host/cli-adapters/zcode-update.d.ts.map +1 -0
  233. package/data/build/dist/host/cli-adapters/zcode-update.js +149 -0
  234. package/data/build/dist/host/cli-adapters/zcode-update.js.map +1 -0
  235. package/data/build/dist/host/cli-bridge/bridge-holder.d.ts +14 -0
  236. package/data/build/dist/host/cli-bridge/bridge-holder.d.ts.map +1 -1
  237. package/data/build/dist/host/cli-bridge/bridge-holder.js +53 -6
  238. package/data/build/dist/host/cli-bridge/bridge-holder.js.map +1 -1
  239. package/data/build/dist/host/cli-bridge/bridge-server.d.ts +6 -0
  240. package/data/build/dist/host/cli-bridge/bridge-server.d.ts.map +1 -1
  241. package/data/build/dist/host/cli-bridge/bridge-server.js +61 -6
  242. package/data/build/dist/host/cli-bridge/bridge-server.js.map +1 -1
  243. package/data/build/dist/host/cli-bridge/command-code-mod.d.ts.map +1 -1
  244. package/data/build/dist/host/cli-bridge/command-code-mod.js +86 -0
  245. package/data/build/dist/host/cli-bridge/command-code-mod.js.map +1 -1
  246. package/data/build/dist/host/cli-bridge/dispatch.js +1 -1
  247. package/data/build/dist/host/cli-bridge/dispatch.js.map +1 -1
  248. package/data/build/dist/host/cli-bridge/injections.d.ts +11 -0
  249. package/data/build/dist/host/cli-bridge/injections.d.ts.map +1 -1
  250. package/data/build/dist/host/cli-bridge/injections.js +62 -7
  251. package/data/build/dist/host/cli-bridge/injections.js.map +1 -1
  252. package/data/build/dist/host/cli-bridge/mcp-stdio-entry.d.ts +1 -1
  253. package/data/build/dist/host/cli-bridge/mcp-stdio-entry.js +64 -7
  254. package/data/build/dist/host/cli-bridge/mcp-stdio-entry.js.map +1 -1
  255. package/data/build/dist/host/cli-bridge/pi-extension-entry.d.ts +3 -0
  256. package/data/build/dist/host/cli-bridge/pi-extension-entry.d.ts.map +1 -0
  257. package/data/build/dist/host/cli-bridge/pi-extension-entry.js +9 -0
  258. package/data/build/dist/host/cli-bridge/pi-extension-entry.js.map +1 -0
  259. package/data/build/dist/host/cli-bridge/pi-extension.d.ts +52 -0
  260. package/data/build/dist/host/cli-bridge/pi-extension.d.ts.map +1 -0
  261. package/data/build/dist/host/cli-bridge/pi-extension.js +273 -0
  262. package/data/build/dist/host/cli-bridge/pi-extension.js.map +1 -0
  263. package/data/build/dist/host/cli-bridge/search-dispatch.d.ts +20 -0
  264. package/data/build/dist/host/cli-bridge/search-dispatch.d.ts.map +1 -0
  265. package/data/build/dist/host/cli-bridge/search-dispatch.js +61 -0
  266. package/data/build/dist/host/cli-bridge/search-dispatch.js.map +1 -0
  267. package/data/build/dist/host/cli-bridge/team-adapters.d.ts +11 -0
  268. package/data/build/dist/host/cli-bridge/team-adapters.d.ts.map +1 -0
  269. package/data/build/dist/host/cli-bridge/team-adapters.js +23 -0
  270. package/data/build/dist/host/cli-bridge/team-adapters.js.map +1 -0
  271. package/data/build/dist/host/cli-bridge/team-dispatch.d.ts +28 -0
  272. package/data/build/dist/host/cli-bridge/team-dispatch.d.ts.map +1 -0
  273. package/data/build/dist/host/cli-bridge/team-dispatch.js +208 -0
  274. package/data/build/dist/host/cli-bridge/team-dispatch.js.map +1 -0
  275. package/data/build/dist/host/cli-bridge/team-tool.d.ts +3 -0
  276. package/data/build/dist/host/cli-bridge/team-tool.d.ts.map +1 -0
  277. package/data/build/dist/host/cli-bridge/team-tool.js +18 -0
  278. package/data/build/dist/host/cli-bridge/team-tool.js.map +1 -0
  279. package/data/build/dist/host/features/file-management.d.ts.map +1 -1
  280. package/data/build/dist/host/features/file-management.js +2 -1
  281. package/data/build/dist/host/features/file-management.js.map +1 -1
  282. package/data/build/dist/host/features/git-commit-message.d.ts +5 -0
  283. package/data/build/dist/host/features/git-commit-message.d.ts.map +1 -0
  284. package/data/build/dist/host/features/git-commit-message.js +66 -0
  285. package/data/build/dist/host/features/git-commit-message.js.map +1 -0
  286. package/data/build/dist/host/features/git-management.d.ts +11 -2
  287. package/data/build/dist/host/features/git-management.d.ts.map +1 -1
  288. package/data/build/dist/host/features/git-management.js +61 -7
  289. package/data/build/dist/host/features/git-management.js.map +1 -1
  290. package/data/build/dist/host/features/lan-access-dsh.d.ts.map +1 -1
  291. package/data/build/dist/host/features/lan-access-dsh.js +2 -2
  292. package/data/build/dist/host/features/lan-access-dsh.js.map +1 -1
  293. package/data/build/dist/host/features/quick-apps.js +2 -2
  294. package/data/build/dist/host/features/quick-apps.js.map +1 -1
  295. package/data/build/dist/host/features/session-prompt-translation.d.ts.map +1 -1
  296. package/data/build/dist/host/features/session-prompt-translation.js +11 -3
  297. package/data/build/dist/host/features/session-prompt-translation.js.map +1 -1
  298. package/data/build/dist/host/index.d.ts.map +1 -1
  299. package/data/build/dist/host/index.js +6 -38
  300. package/data/build/dist/host/index.js.map +1 -1
  301. package/data/build/dist/host/lan-access-dsh.d.ts +9 -1
  302. package/data/build/dist/host/lan-access-dsh.d.ts.map +1 -1
  303. package/data/build/dist/host/lan-access-dsh.js +38 -11
  304. package/data/build/dist/host/lan-access-dsh.js.map +1 -1
  305. package/data/build/dist/host/modules/quick-apps/egress.d.ts +35 -0
  306. package/data/build/dist/host/modules/quick-apps/egress.d.ts.map +1 -0
  307. package/data/build/dist/host/modules/quick-apps/egress.js +244 -0
  308. package/data/build/dist/host/modules/quick-apps/egress.js.map +1 -0
  309. package/data/build/dist/host/modules/quick-apps/registry.d.ts.map +1 -1
  310. package/data/build/dist/host/modules/quick-apps/registry.js +10 -1
  311. package/data/build/dist/host/modules/quick-apps/registry.js.map +1 -1
  312. package/data/build/dist/host/modules/quick-apps/remote.d.ts +1 -1
  313. package/data/build/dist/host/modules/quick-apps/remote.d.ts.map +1 -1
  314. package/data/build/dist/host/modules/quick-apps/remote.js +6 -5
  315. package/data/build/dist/host/modules/quick-apps/remote.js.map +1 -1
  316. package/data/build/dist/host/modules/quick-apps/service.d.ts +1 -1
  317. package/data/build/dist/host/modules/quick-apps/service.d.ts.map +1 -1
  318. package/data/build/dist/host/modules/quick-apps/service.js +8 -4
  319. package/data/build/dist/host/modules/quick-apps/service.js.map +1 -1
  320. package/data/build/dist/host/modules/quick-apps/static-handler.d.ts +1 -1
  321. package/data/build/dist/host/modules/quick-apps/static-handler.d.ts.map +1 -1
  322. package/data/build/dist/host/modules/quick-apps/static-handler.js +35 -3
  323. package/data/build/dist/host/modules/quick-apps/static-handler.js.map +1 -1
  324. package/data/build/dist/host/rpc.js +2 -2
  325. package/data/build/dist/host/rpc.js.map +1 -1
  326. package/data/build/dist/host/session-changes.d.ts.map +1 -1
  327. package/data/build/dist/host/session-changes.js +6 -2
  328. package/data/build/dist/host/session-changes.js.map +1 -1
  329. package/data/build/dist/host/session-migration-repair.js +48 -35
  330. package/data/build/dist/host/session-migration-repair.js.map +1 -1
  331. package/data/build/dist/host/settings.d.ts.map +1 -1
  332. package/data/build/dist/host/settings.js +8 -0
  333. package/data/build/dist/host/settings.js.map +1 -1
  334. package/data/build/dist/host/workspace-root.d.ts +14 -0
  335. package/data/build/dist/host/workspace-root.d.ts.map +1 -0
  336. package/data/build/dist/host/workspace-root.js +99 -0
  337. package/data/build/dist/host/workspace-root.js.map +1 -0
  338. package/data/build/dist/shared/cli-provider-route.d.ts +7 -0
  339. package/data/build/dist/shared/cli-provider-route.d.ts.map +1 -0
  340. package/data/build/dist/shared/cli-provider-route.js +13 -0
  341. package/data/build/dist/shared/cli-provider-route.js.map +1 -0
  342. package/data/build/dist/shared/contracts/agent-team.d.ts +14 -0
  343. package/data/build/dist/shared/contracts/agent-team.d.ts.map +1 -0
  344. package/data/build/dist/shared/contracts/agent-team.js +48 -0
  345. package/data/build/dist/shared/contracts/agent-team.js.map +1 -0
  346. package/data/build/dist/shared/contracts/cli-adapter.d.ts +10 -0
  347. package/data/build/dist/shared/contracts/cli-adapter.d.ts.map +1 -1
  348. package/data/build/dist/shared/contracts/config.d.ts +5 -1
  349. package/data/build/dist/shared/contracts/config.d.ts.map +1 -1
  350. package/data/build/dist/shared/contracts/config.js +3 -0
  351. package/data/build/dist/shared/contracts/config.js.map +1 -1
  352. package/data/build/dist/shared/contracts/errors.d.ts +2 -2
  353. package/data/build/dist/shared/contracts/errors.d.ts.map +1 -1
  354. package/data/build/dist/shared/contracts/git.d.ts +17 -0
  355. package/data/build/dist/shared/contracts/git.d.ts.map +1 -1
  356. package/data/build/dist/shared/contracts/git.js +27 -1
  357. package/data/build/dist/shared/contracts/git.js.map +1 -1
  358. package/data/build/dist/shared/contracts/quick-apps.d.ts +2 -0
  359. package/data/build/dist/shared/contracts/quick-apps.d.ts.map +1 -1
  360. package/data/build/dist/shared/contracts/quick-apps.js.map +1 -1
  361. package/data/build/dist/shared/contracts/version.d.ts +9 -15
  362. package/data/build/dist/shared/contracts/version.d.ts.map +1 -1
  363. package/data/build/dist/shared/contracts/version.js +8 -14
  364. package/data/build/dist/shared/contracts/version.js.map +1 -1
  365. package/data/build/dist/shared/index.d.ts +2 -1
  366. package/data/build/dist/shared/index.d.ts.map +1 -1
  367. package/data/build/dist/shared/index.js +2 -1
  368. package/data/build/dist/shared/index.js.map +1 -1
  369. package/data/build/dist/shared/quick-app-browser-storage.d.ts +33 -0
  370. package/data/build/dist/shared/quick-app-browser-storage.d.ts.map +1 -0
  371. package/data/build/dist/shared/quick-app-browser-storage.js +33 -0
  372. package/data/build/dist/shared/quick-app-browser-storage.js.map +1 -0
  373. package/data/build/dist/shared/quick-app-network-allow.d.ts +8 -0
  374. package/data/build/dist/shared/quick-app-network-allow.d.ts.map +1 -0
  375. package/data/build/dist/shared/quick-app-network-allow.js +192 -0
  376. package/data/build/dist/shared/quick-app-network-allow.js.map +1 -0
  377. package/data/build/dist/shared/quick-app-network-bootstrap.d.ts +9 -0
  378. package/data/build/dist/shared/quick-app-network-bootstrap.d.ts.map +1 -0
  379. package/data/build/dist/shared/quick-app-network-bootstrap.js +134 -0
  380. package/data/build/dist/shared/quick-app-network-bootstrap.js.map +1 -0
  381. package/data/build/dist/shared/quick-app-storage-bootstrap.d.ts +9 -0
  382. package/data/build/dist/shared/quick-app-storage-bootstrap.d.ts.map +1 -0
  383. package/data/build/dist/shared/quick-app-storage-bootstrap.js +189 -0
  384. package/data/build/dist/shared/quick-app-storage-bootstrap.js.map +1 -0
  385. package/package.json +32 -32
  386. package/profile/README.md +2 -2
  387. package/profile/package.json +3 -3
  388. package/profile/version.json +3 -3
  389. package/version.json +3 -3
  390. package/data/build/dist/client/session-translation-model-pool.d.ts +0 -16
  391. package/data/build/dist/client/session-translation-model-pool.d.ts.map +0 -1
  392. package/data/build/dist/client/session-translation-model-pool.js.map +0 -1
@@ -8796,7 +8796,21 @@
8796
8796
  "git.stagingEmpty": "Staging area is empty",
8797
8797
  "git.stagedCount": "{count} staged",
8798
8798
  "git.commitPlaceholder": "Type a commit message here",
8799
- "git.draftUnavailable": "Commit message generation is not available yet",
8799
+ "git.generatingMessage": "Generating commit message…",
8800
+ "git.generationEnabled": "Generate commit messages",
8801
+ "git.generationEnabledHelp": "Show the Generate button in the Git panel to draft a message from staged changes.",
8802
+ "git.messageDetail": "Commit message level",
8803
+ "git.messageConcise": "Concise — subject only",
8804
+ "git.messageDetailed": "Detailed — subject and change summary",
8805
+ "git.messageModels": "Commit message models",
8806
+ "git.messageModelsPicker": "Add commit message models",
8807
+ "git.messageModelsHelp": "Drag to set priority; models are tried in order. An empty pool follows the default DSH model. If generation fails, your existing draft is kept.",
8808
+ "git.settingsSaved": "Git settings saved",
8809
+ "git.messagePrompt": "Git commit rule prompt",
8810
+ "git.messagePromptHelp": "Custom rules for commit-message language, style, and conventions. Leave blank to use defaults; the selected detail level still applies.",
8811
+ "git.messagePromptPlaceholder": "For example: Use Conventional Commits, include a scope, and write in English.",
8812
+ "git.messagePromptSave": "Save commit rules",
8813
+ "git.messagePromptSaving": "Saving commit rules…",
8800
8814
  "git.draftMessage": "Generate commit message",
8801
8815
  "git.commit": "Commit",
8802
8816
  "git.stagedFiles": "Staged files",
@@ -8904,7 +8918,21 @@
8904
8918
  "git.stagingEmpty": "暂存区为空",
8905
8919
  "git.stagedCount": "{count} 个已暂存",
8906
8920
  "git.commitPlaceholder": "在这里输入提交信息",
8907
- "git.draftUnavailable": "生成提交信息功能暂未开放",
8921
+ "git.generatingMessage": "正在生成提交信息…",
8922
+ "git.generationEnabled": "生成 Git 提交信息",
8923
+ "git.generationEnabledHelp": "在 Git 面板显示生成按钮,根据已暂存的改动起草提交信息。",
8924
+ "git.messageDetail": "提交信息级别",
8925
+ "git.messageConcise": "简洁 — 仅标题",
8926
+ "git.messageDetailed": "详细 — 标题与变更摘要",
8927
+ "git.messageModels": "提交信息模型",
8928
+ "git.messageModelsPicker": "添加提交信息模型",
8929
+ "git.messageModelsHelp": "拖拽调整优先级,按顺序尝试模型;模型池为空时跟随 DSH 默认模型。生成失败时保留已有草稿。",
8930
+ "git.settingsSaved": "Git 设置已保存",
8931
+ "git.messagePrompt": "Git 提交规则提示词",
8932
+ "git.messagePromptHelp": "自定义提交信息的语言、风格和格式规范。留空时使用默认规则;简洁或详细级别仍然生效。",
8933
+ "git.messagePromptPlaceholder": "例如:使用 Conventional Commits 格式,包含 scope,并使用英文编写。",
8934
+ "git.messagePromptSave": "保存提交规则",
8935
+ "git.messagePromptSaving": "正在保存提交规则…",
8908
8936
  "git.draftMessage": "生成提交信息",
8909
8937
  "git.commit": "提交",
8910
8938
  "git.stagedFiles": "暂存文件",
@@ -9267,6 +9295,7 @@
9267
9295
  "peerHost.fileWorkspaceUnavailable": "The remote file scope is unavailable or inconsistent. Please wait for PeerHost workspaces to refresh.",
9268
9296
  "peerHost.questionSessionUnavailable": "The session for this remote question is unavailable. Please reconnect.",
9269
9297
  "peerHost.sessionUnavailable": "The remote session scope is unavailable. Please wait for PeerHost workspaces to refresh.",
9298
+ "peerHost.attachmentFolderUnsupported": "Add individual files to the remote session; local folders cannot be attached.",
9270
9299
  "peerHost.reference.section": "Conversations",
9271
9300
  "peerHost.reference.newSession": "New session",
9272
9301
  "peerHost.stateExternal": "The Transport structure of this page is not supported, so the plugin cannot wrap it and PeerHost aggregation is disabled; refreshing the page will not change the result.",
@@ -9347,6 +9376,7 @@
9347
9376
  "peerHost.fileWorkspaceUnavailable": "远程文件作用域不可用或不一致,请等待 PeerHost 工作区刷新",
9348
9377
  "peerHost.questionSessionUnavailable": "远端问题所属会话不可用,请重新连接",
9349
9378
  "peerHost.sessionUnavailable": "远端会话作用域暂不可用,请等待 PeerHost 工作区刷新",
9379
+ "peerHost.attachmentFolderUnsupported": "请向远程会话添加单个文件,不能附加本机文件夹。",
9350
9380
  "peerHost.reference.section": "对话",
9351
9381
  "peerHost.reference.newSession": "新会话",
9352
9382
  "peerHost.stateExternal": "当前页面的 Transport 结构不受支持,插件无法包装它,PeerHost 聚合已停用;刷新页面不会改变结果。",
@@ -10576,6 +10606,8 @@
10576
10606
  //#endregion
10577
10607
  //#region src/client/locales/quickApps.ts
10578
10608
  const en$2 = {
10609
+ "quickApps.storagePreview": "App data is saved in this browser. IndexedDB and URLs starting with / are not supported in this view.",
10610
+ "quickApps.storageFailed": "App data could not be saved in this browser: {message}",
10579
10611
  "quickApps.sandboxPreview": "Workspace preview. Browser storage and URLs starting with / may not work in this view.",
10580
10612
  "quickApps.runtime.not-configured": "This Host does not provide workspace HTML previews. Update its CodingNS plugin and reopen the shortcut.",
10581
10613
  "quickApps.runtime.config-invalid": "The Host’s HTML hosting configuration or TLS certificate is invalid.",
@@ -10686,6 +10718,10 @@
10686
10718
  "quickApps.kind": "Open as",
10687
10719
  "quickApps.html": "HTML application",
10688
10720
  "quickApps.text": "Text document",
10721
+ "quickApps.networkAllow": "Local addresses",
10722
+ "quickApps.networkAllowHelp": "Leave this empty to block loopback, private networks, link-local addresses, and cloud metadata. Add one local IP, CIDR range, or hostname per line, up to 16. Examples: 127.0.0.1, localhost, 192.168.1.0/24.",
10723
+ "quickApps.networkAllowPlaceholder": "127.0.0.1\nlocalhost\n192.168.1.0/24",
10724
+ "quickApps.networkAllowInvalid": "Use a local IP address, CIDR range, or hostname, with one entry per line.",
10689
10725
  "quickApps.spa": "Use the entry page for application navigation",
10690
10726
  "quickApps.pathHelp": "Enter workspace-relative paths. Use a dedicated application folder; an empty folder path selects the workspace root.",
10691
10727
  "quickApps.empty": "No shortcuts yet. In edit mode, add an HTML application or text document from a managed workspace.",
@@ -10703,6 +10739,8 @@
10703
10739
  "quickApps.status.missing-file": "The entry file or application folder is missing or cannot be accessed."
10704
10740
  };
10705
10741
  const zh$2 = {
10742
+ "quickApps.storagePreview": "应用数据保存在当前浏览器中。此视图不支持 IndexedDB 和以 / 开头的网址。",
10743
+ "quickApps.storageFailed": "无法在当前浏览器中保存应用数据:{message}",
10706
10744
  "quickApps.sandboxPreview": "工作区预览:浏览器存储和以 / 开头的网址可能无法在此视图中使用。",
10707
10745
  "quickApps.runtime.not-configured": "此主机尚不支持工作区 HTML 预览,请更新其 CodingNS 插件后重新打开快捷方式。",
10708
10746
  "quickApps.runtime.config-invalid": "主机的 HTML 托管配置或 TLS 证书无效。",
@@ -10813,6 +10851,10 @@
10813
10851
  "quickApps.kind": "打开方式",
10814
10852
  "quickApps.html": "HTML 应用",
10815
10853
  "quickApps.text": "文本文档",
10854
+ "quickApps.networkAllow": "允许的本地地址",
10855
+ "quickApps.networkAllowHelp": "留空则拒绝回环、私网、链路本地和云元数据地址。每行填写一个本地 IP、CIDR 网段或主机名,最多 16 个。例如 127.0.0.1、localhost、192.168.1.0/24。",
10856
+ "quickApps.networkAllowPlaceholder": "127.0.0.1\nlocalhost\n192.168.1.0/24",
10857
+ "quickApps.networkAllowInvalid": "请逐行填写本地 IP、CIDR 网段或主机名。",
10816
10858
  "quickApps.spa": "应用内导航使用入口页面",
10817
10859
  "quickApps.pathHelp": "填写相对于工作区的路径。建议使用专用应用目录;目录留空表示工作区根目录。",
10818
10860
  "quickApps.empty": "还没有快捷方式。可在编辑模式下从受管工作区添加 HTML 应用或文本文档。",
@@ -10832,6 +10874,14 @@
10832
10874
  //#endregion
10833
10875
  //#region src/client/locales/cliManagement.ts
10834
10876
  const en$1 = {
10877
+ "cli.team.label": "Team eligibility",
10878
+ "cli.team.leadAndMember": "Collaborator and Lead",
10879
+ "cli.team.member": "Collaborator",
10880
+ "cli.team.reason.version": "Full Team support requires a verified DSH alpha.2 or alpha.3 host.",
10881
+ "cli.team.reason.profile": "Enable the native DSH Team profile to use Teams.",
10882
+ "cli.team.reason.disabled": "Enable the CodingNS bridge and this Agent to use Teams.",
10883
+ "cli.team.reason.adapter": "This Agent does not provide the required Team tool transport.",
10884
+ "cli.team.reason.installation": "Install and enable this Agent before using Teams.",
10835
10885
  "cli.manage.reasonLabel.application-managed": "Check in app",
10836
10886
  "cli.manage.reasonLabel.unknown-version": "Version unknown",
10837
10887
  "cli.manage.reasonLabel.legacy-distribution": "Legacy distribution",
@@ -10901,6 +10951,14 @@
10901
10951
  "cli.manage.reviewAgain": "Review another operation"
10902
10952
  };
10903
10953
  const zh$1 = {
10954
+ "cli.team.label": "团队适配能力",
10955
+ "cli.team.leadAndMember": "协作者和管理者",
10956
+ "cli.team.member": "协作者",
10957
+ "cli.team.reason.version": "完整团队功能需要经过验证的 DSH alpha.2 或 alpha.3 主机。",
10958
+ "cli.team.reason.profile": "请启用 DSH 原生团队配置后使用团队功能。",
10959
+ "cli.team.reason.disabled": "请启用 CodingNS 桥接和此 Agent 后使用团队功能。",
10960
+ "cli.team.reason.adapter": "此 Agent 尚未提供所需的团队工具通道。",
10961
+ "cli.team.reason.installation": "请先安装并启用此 Agent,再使用团队功能。",
10904
10962
  "cli.manage.reasonLabel.application-managed": "在应用中检查",
10905
10963
  "cli.manage.reasonLabel.unknown-version": "版本未知",
10906
10964
  "cli.manage.reasonLabel.legacy-distribution": "旧版发行包",
@@ -11091,7 +11149,7 @@
11091
11149
  "feature.fileManagement.label": "File management enhancements",
11092
11150
  "feature.fileManagement.description": "Add file and folder operation menus to the DSH file sidebar and edit common text files in place.",
11093
11151
  "fileManagement.menuEnhancement": "File and folder operation menu",
11094
- "fileManagement.menuEnhancementDescription": "Show the right-click operation menu for files and folders in the DSH sidebar.",
11152
+ "fileManagement.menuEnhancementDescription": "Show the right-click operation menu for files and folders in the DSH sidebar, and copy relative or absolute paths from the file viewer.",
11095
11153
  "fileManagement.fileEditor": "File viewer editor",
11096
11154
  "fileManagement.fileEditorDescription": "Show the icon button for editing supported text files with syntax highlighting and line numbers.",
11097
11155
  "fileManagement.sessionChangedFiles": "Show current session changed files",
@@ -11369,6 +11427,8 @@
11369
11427
  "cli.currentAgent": "Current Agent: {name}{locked}",
11370
11428
  "cli.locked": " (locked)",
11371
11429
  "cli.selectAgent": "Select Agent",
11430
+ "cli.catalogLoadFailed": "Could not load external Agents.",
11431
+ "cli.retryCatalog": "Retry loading Agents",
11372
11432
  "workspace.showLogo": "Show Agent logo",
11373
11433
  "workspace.logoDescription": "Display the selected external Agent logo in native workspace session rows.",
11374
11434
  "workspace.optimizeSessionTitles": "Optimize DSH session title generation",
@@ -11395,6 +11455,8 @@
11395
11455
  "workspace.rememberConversationRightbarRatio": "Remember conversation and right sidebar width ratio",
11396
11456
  "workspace.rememberConversationRightbarRatioDescription": "Restore the right sidebar proportion after refreshing this browser; the ratio is stored locally.",
11397
11457
  "mobile.sidebarGestures": "Swipe to open or close sidebars",
11458
+ "mobile.team.title": "Agent Team",
11459
+ "mobile.team.close": "Close Agent Team",
11398
11460
  "mobile.sidebarGesturesDescription": "On touch devices, swipe horizontally in the conversation area to toggle a sidebar. Cross the configured share of the viewport width, or give a quick flick to trigger it.",
11399
11461
  "mobile.sidebarGestureMapping": "Swipe direction",
11400
11462
  "mobile.sidebarGestureMappingInward": "Swipe right: session list; swipe left: right sidebar",
@@ -11540,7 +11602,7 @@
11540
11602
  "feature.fileManagement.label": "文件管理增强",
11541
11603
  "feature.fileManagement.description": "增强文件侧栏操作",
11542
11604
  "fileManagement.menuEnhancement": "文件管理菜单增强",
11543
- "fileManagement.menuEnhancementDescription": "在 DSH 文件侧栏为文件和目录显示右键操作菜单。",
11605
+ "fileManagement.menuEnhancementDescription": "在 DSH 文件侧栏为文件和目录显示右键操作菜单,并在文件查看器中复制相对路径或绝对路径。",
11544
11606
  "fileManagement.fileEditor": "文件查看器编辑功能",
11545
11607
  "fileManagement.fileEditorDescription": "为支持的文本文件显示编辑图标按钮,并保留语法高亮和行号。",
11546
11608
  "fileManagement.sessionChangedFiles": "显示当前会话修改的文件",
@@ -11818,6 +11880,8 @@
11818
11880
  "cli.currentAgent": "当前 Agent:{name}{locked}",
11819
11881
  "cli.locked": "(已锁定)",
11820
11882
  "cli.selectAgent": "选择 Agent",
11883
+ "cli.catalogLoadFailed": "无法加载外部 Agent。",
11884
+ "cli.retryCatalog": "重新加载 Agent",
11821
11885
  "workspace.showLogo": "显示 Agent Logo",
11822
11886
  "workspace.logoDescription": "在原生工作区会话行显示所选外部 Agent 的 Logo。",
11823
11887
  "workspace.optimizeSessionTitles": "优化DSH会话标题生成逻辑",
@@ -11844,6 +11908,8 @@
11844
11908
  "workspace.rememberConversationRightbarRatio": "记忆对话窗口与右侧栏的宽度比例",
11845
11909
  "workspace.rememberConversationRightbarRatioDescription": "刷新后恢复右侧栏比例;比例仅保存在当前浏览器中。",
11846
11910
  "mobile.sidebarGestures": "横滑开合侧栏",
11911
+ "mobile.team.title": "智能体团队",
11912
+ "mobile.team.close": "关闭智能体团队",
11847
11913
  "mobile.sidebarGesturesDescription": "触摸设备上在对话区横滑即可开合侧栏;跨过设定的视口宽度比例即触发,快速轻甩同样有效。",
11848
11914
  "mobile.sidebarGestureMapping": "方向映射",
11849
11915
  "mobile.sidebarGestureMappingInward": "右滑开合会话列表,左滑开合右边栏",
@@ -12063,77 +12129,77 @@
12063
12129
  return n;
12064
12130
  }
12065
12131
  //#endregion
12066
- //#region node_modules/.pnpm/@deepseek-ai+dsh-client-ui-primitives@0.2.1-alpha.3_@deepseek-ai+cordis@4.0.5-alpha.2/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/TextShimmer.module.css
12132
+ //#region node_modules/.pnpm/@deepseek-ai+dsh-client-ui-primitives@0.2.1-rc.2_@deepseek-ai+cordis@4.0.5/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/TextShimmer.module.css
12067
12133
  var TextShimmer_module_default = {
12068
- "content": "JPqLFa_content",
12069
- "decoration": "JPqLFa_decoration",
12070
- "dsh-row-shimmer-highlight": "JPqLFa_dsh-row-shimmer-highlight",
12071
- "dsh-row-shimmer-sweep": "JPqLFa_dsh-row-shimmer-sweep",
12072
- "highlight": "JPqLFa_highlight",
12073
- "root": "JPqLFa_root",
12074
- "sweep": "JPqLFa_sweep",
12075
- "text": "JPqLFa_text"
12134
+ "content": "xT720a_content",
12135
+ "decoration": "xT720a_decoration",
12136
+ "dsh-row-shimmer-highlight": "xT720a_dsh-row-shimmer-highlight",
12137
+ "dsh-row-shimmer-sweep": "xT720a_dsh-row-shimmer-sweep",
12138
+ "highlight": "xT720a_highlight",
12139
+ "root": "xT720a_root",
12140
+ "sweep": "xT720a_sweep",
12141
+ "text": "xT720a_text"
12076
12142
  };
12077
12143
  //#endregion
12078
- //#region node_modules/.pnpm/@deepseek-ai+dsh-client-ui-primitives@0.2.1-alpha.3_@deepseek-ai+cordis@4.0.5-alpha.2/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/DisclosureRow.module.css
12144
+ //#region node_modules/.pnpm/@deepseek-ai+dsh-client-ui-primitives@0.2.1-rc.2_@deepseek-ai+cordis@4.0.5/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/DisclosureRow.module.css
12079
12145
  var DisclosureRow_module_default = {
12080
- "chevronHover": "HRTIjW_chevronHover",
12081
- "header": "HRTIjW_header",
12082
- "iconIdle": "HRTIjW_iconIdle",
12083
- "leading": "HRTIjW_leading",
12084
- "root": "HRTIjW_root",
12085
- "row": "HRTIjW_row",
12086
- "title": "HRTIjW_title"
12146
+ "chevronHover": "xmgODW_chevronHover",
12147
+ "header": "xmgODW_header",
12148
+ "iconIdle": "xmgODW_iconIdle",
12149
+ "leading": "xmgODW_leading",
12150
+ "root": "xmgODW_root",
12151
+ "row": "xmgODW_row",
12152
+ "title": "xmgODW_title"
12087
12153
  };
12088
12154
  //#endregion
12089
- //#region node_modules/.pnpm/@deepseek-ai+dsh-client-ui-primitives@0.2.1-alpha.3_@deepseek-ai+cordis@4.0.5-alpha.2/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/Button.module.css
12155
+ //#region node_modules/.pnpm/@deepseek-ai+dsh-client-ui-primitives@0.2.1-rc.2_@deepseek-ai+cordis@4.0.5/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/Button.module.css
12090
12156
  var Button_module_default = {
12091
- "button": "qwxocG_button",
12092
- "ghost": "qwxocG_ghost",
12093
- "icon": "qwxocG_icon",
12094
- "md": "qwxocG_md",
12095
- "outline": "qwxocG_outline",
12096
- "primary": "qwxocG_primary",
12097
- "sm": "qwxocG_sm",
12098
- "toolbar": "qwxocG_toolbar"
12157
+ "button": "_8zgEAq_button",
12158
+ "ghost": "_8zgEAq_ghost",
12159
+ "icon": "_8zgEAq_icon",
12160
+ "md": "_8zgEAq_md",
12161
+ "outline": "_8zgEAq_outline",
12162
+ "primary": "_8zgEAq_primary",
12163
+ "sm": "_8zgEAq_sm",
12164
+ "toolbar": "_8zgEAq_toolbar"
12099
12165
  };
12100
12166
  //#endregion
12101
- //#region node_modules/.pnpm/@deepseek-ai+dsh-client-ui-primitives@0.2.1-alpha.3_@deepseek-ai+cordis@4.0.5-alpha.2/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/Input.module.css
12167
+ //#region node_modules/.pnpm/@deepseek-ai+dsh-client-ui-primitives@0.2.1-rc.2_@deepseek-ai+cordis@4.0.5/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/Input.module.css
12102
12168
  var Input_module_default = {
12103
- "icon": "Z9tYSa_icon",
12104
- "input": "Z9tYSa_input",
12105
- "wrap": "Z9tYSa_wrap"
12169
+ "icon": "_6cRCnW_icon",
12170
+ "input": "_6cRCnW_input",
12171
+ "wrap": "_6cRCnW_wrap"
12106
12172
  };
12107
12173
  //#endregion
12108
- //#region node_modules/.pnpm/@deepseek-ai+dsh-client-ui-primitives@0.2.1-alpha.3_@deepseek-ai+cordis@4.0.5-alpha.2/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/ShortcutKeys.module.css
12174
+ //#region node_modules/.pnpm/@deepseek-ai+dsh-client-ui-primitives@0.2.1-rc.2_@deepseek-ai+cordis@4.0.5/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/ShortcutKeys.module.css
12109
12175
  var import_react_dom = require_react_dom();
12110
12176
  var ShortcutKeys_module_default = {
12111
- "joined": "QXraKa_joined",
12112
- "key": "QXraKa_key",
12113
- "keys": "QXraKa_keys",
12114
- "separator": "QXraKa_separator",
12115
- "tooltip": "QXraKa_tooltip"
12177
+ "joined": "qBkf6a_joined",
12178
+ "key": "qBkf6a_key",
12179
+ "keys": "qBkf6a_keys",
12180
+ "separator": "qBkf6a_separator",
12181
+ "tooltip": "qBkf6a_tooltip"
12116
12182
  };
12117
12183
  //#endregion
12118
- //#region node_modules/.pnpm/@deepseek-ai+dsh-client-ui-primitives@0.2.1-alpha.3_@deepseek-ai+cordis@4.0.5-alpha.2/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/MenuSurface.module.css
12184
+ //#region node_modules/.pnpm/@deepseek-ai+dsh-client-ui-primitives@0.2.1-rc.2_@deepseek-ai+cordis@4.0.5/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/MenuSurface.module.css
12119
12185
  var MenuSurface_module_default = {
12120
- "backing": "UijD9G_backing",
12121
- "compact": "UijD9G_compact",
12122
- "material": "UijD9G_material",
12123
- "surface": "UijD9G_surface"
12186
+ "backing": "aFxMnq_backing",
12187
+ "compact": "aFxMnq_compact",
12188
+ "material": "aFxMnq_material",
12189
+ "surface": "aFxMnq_surface"
12124
12190
  };
12125
12191
  //#endregion
12126
- //#region node_modules/.pnpm/@deepseek-ai+dsh-client-ui-primitives@0.2.1-alpha.3_@deepseek-ai+cordis@4.0.5-alpha.2/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/HoverCard.module.css
12192
+ //#region node_modules/.pnpm/@deepseek-ai+dsh-client-ui-primitives@0.2.1-rc.2_@deepseek-ai+cordis@4.0.5/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/HoverCard.module.css
12127
12193
  var HoverCard_module_default = {
12128
- "card": "wtRhtW_card",
12129
- "copied": "wtRhtW_copied",
12130
- "copyable": "wtRhtW_copyable",
12131
- "feedback": "wtRhtW_feedback",
12132
- "inline": "wtRhtW_inline",
12133
- "media": "wtRhtW_media",
12134
- "preview": "wtRhtW_preview",
12135
- "root": "wtRhtW_root",
12136
- "status": "wtRhtW_status"
12194
+ "card": "qC0LEq_card",
12195
+ "copied": "qC0LEq_copied",
12196
+ "copyable": "qC0LEq_copyable",
12197
+ "feedback": "qC0LEq_feedback",
12198
+ "inline": "qC0LEq_inline",
12199
+ "media": "qC0LEq_media",
12200
+ "preview": "qC0LEq_preview",
12201
+ "root": "qC0LEq_root",
12202
+ "status": "qC0LEq_status"
12137
12203
  };
12138
12204
  //#endregion
12139
12205
  //#region node_modules/.pnpm/simple-icons@16.31.0/node_modules/simple-icons/index.mjs
@@ -12497,26 +12563,26 @@
12497
12563
  hex: "0084FF"
12498
12564
  };
12499
12565
  //#endregion
12500
- //#region node_modules/.pnpm/@deepseek-ai+dsh-client-ui-primitives@0.2.1-alpha.3_@deepseek-ai+cordis@4.0.5-alpha.2/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/markdown/MarkdownText.module.css
12566
+ //#region node_modules/.pnpm/@deepseek-ai+dsh-client-ui-primitives@0.2.1-rc.2_@deepseek-ai+cordis@4.0.5/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/markdown/MarkdownText.module.css
12501
12567
  var MarkdownText_module_default = {
12502
- "compact": "JW1tIq_compact",
12503
- "fileLink": "JW1tIq_fileLink",
12504
- "fileMention": "JW1tIq_fileMention",
12505
- "image": "JW1tIq_image",
12506
- "imageAlt": "JW1tIq_imageAlt",
12507
- "imageButton": "JW1tIq_imageButton",
12508
- "linkIcon": "JW1tIq_linkIcon",
12509
- "markdown": "JW1tIq_markdown",
12510
- "previewName": "JW1tIq_previewName",
12511
- "tableFill": "JW1tIq_tableFill",
12512
- "tableScroll": "JW1tIq_tableScroll"
12568
+ "compact": "RLS9OW_compact",
12569
+ "fileLink": "RLS9OW_fileLink",
12570
+ "fileMention": "RLS9OW_fileMention",
12571
+ "image": "RLS9OW_image",
12572
+ "imageAlt": "RLS9OW_imageAlt",
12573
+ "imageButton": "RLS9OW_imageButton",
12574
+ "linkIcon": "RLS9OW_linkIcon",
12575
+ "markdown": "RLS9OW_markdown",
12576
+ "previewName": "RLS9OW_previewName",
12577
+ "tableFill": "RLS9OW_tableFill",
12578
+ "tableScroll": "RLS9OW_tableScroll"
12513
12579
  };
12514
12580
  //#endregion
12515
- //#region node_modules/.pnpm/@deepseek-ai+dsh-client-ui-primitives@0.2.1-alpha.3_@deepseek-ai+cordis@4.0.5-alpha.2/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/Tooltip.module.css
12581
+ //#region node_modules/.pnpm/@deepseek-ai+dsh-client-ui-primitives@0.2.1-rc.2_@deepseek-ai+cordis@4.0.5/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/Tooltip.module.css
12516
12582
  var Tooltip_module_default = {
12517
- "bubble": "PhTCOW_bubble",
12518
- "label": "PhTCOW_label",
12519
- "tooltip-in": "PhTCOW_tooltip-in"
12583
+ "bubble": "qoNxEW_bubble",
12584
+ "label": "qoNxEW_label",
12585
+ "tooltip-in": "qoNxEW_tooltip-in"
12520
12586
  };
12521
12587
  //#endregion
12522
12588
  //#region node_modules/.pnpm/@shikijs+types@4.5.0/node_modules/@shikijs/types/dist/index.mjs
@@ -23075,7 +23141,7 @@ XID_Start XIDS`.split(/\s/).map((p) => [w(p), p]));
23075
23141
  json_default = [lang$72];
23076
23142
  }));
23077
23143
  //#endregion
23078
- //#region node_modules/.pnpm/@deepseek-ai+dsh-util-code-language@0.2.1-alpha.3_@deepseek-ai+cordis@4.0.5-alpha.2/node_modules/@deepseek-ai/dsh-util-code-language/lib/index.js
23144
+ //#region node_modules/.pnpm/@deepseek-ai+dsh-util-code-language@0.2.1-rc.2_@deepseek-ai+cordis@4.0.5/node_modules/@deepseek-ai/dsh-util-code-language/lib/index.js
23079
23145
  init_typescript();
23080
23146
  init_shellscript();
23081
23147
  init_json();
@@ -23716,15 +23782,15 @@ XID_Start XIDS`.split(/\s/).map((p) => [w(p), p]));
23716
23782
  };
23717
23783
  })))();
23718
23784
  var CodeCard_module_default = {
23719
- "action": "YsOdSa_action",
23720
- "actions": "YsOdSa_actions",
23721
- "body": "YsOdSa_body",
23722
- "card": "YsOdSa_card",
23723
- "header": "YsOdSa_header",
23724
- "heading": "YsOdSa_heading",
23725
- "language": "YsOdSa_language",
23726
- "status": "YsOdSa_status",
23727
- "title": "YsOdSa_title"
23785
+ "action": "fsQ4jG_action",
23786
+ "actions": "fsQ4jG_actions",
23787
+ "body": "fsQ4jG_body",
23788
+ "card": "fsQ4jG_card",
23789
+ "header": "fsQ4jG_header",
23790
+ "heading": "fsQ4jG_heading",
23791
+ "language": "fsQ4jG_language",
23792
+ "status": "fsQ4jG_status",
23793
+ "title": "fsQ4jG_title"
23728
23794
  };
23729
23795
  //#endregion
23730
23796
  //#region node_modules/.pnpm/diff@9.0.0/node_modules/diff/libesm/diff/base.js
@@ -24241,17 +24307,17 @@ XID_Start XIDS`.split(/\s/).map((p) => [w(p), p]));
24241
24307
  };
24242
24308
  new ArrayDiff();
24243
24309
  //#endregion
24244
- //#region node_modules/.pnpm/@deepseek-ai+dsh-client-ui-primitives@0.2.1-alpha.3_@deepseek-ai+cordis@4.0.5-alpha.2/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/DiffBlock.module.css
24310
+ //#region node_modules/.pnpm/@deepseek-ai+dsh-client-ui-primitives@0.2.1-rc.2_@deepseek-ai+cordis@4.0.5/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/DiffBlock.module.css
24245
24311
  var DiffBlock_module_default = {
24246
- "add": "L2QO-G_add",
24247
- "block": "L2QO-G_block",
24248
- "body": "L2QO-G_body",
24249
- "context": "L2QO-G_context",
24250
- "del": "L2QO-G_del",
24251
- "expand": "L2QO-G_expand",
24252
- "gap": "L2QO-G_gap",
24253
- "line": "L2QO-G_line",
24254
- "path": "L2QO-G_path"
24312
+ "add": "CrA-0W_add",
24313
+ "block": "CrA-0W_block",
24314
+ "body": "CrA-0W_body",
24315
+ "context": "CrA-0W_context",
24316
+ "del": "CrA-0W_del",
24317
+ "expand": "CrA-0W_expand",
24318
+ "gap": "CrA-0W_gap",
24319
+ "line": "CrA-0W_line",
24320
+ "path": "CrA-0W_path"
24255
24321
  };
24256
24322
  //#endregion
24257
24323
  //#region node_modules/.pnpm/mdast-util-to-string@4.0.0/node_modules/mdast-util-to-string/lib/index.js
@@ -63977,35 +64043,35 @@ XID_Start XIDS`.split(/\s/).map((p) => [w(p), p]));
63977
64043
  chunkString: "chunkString"
63978
64044
  };
63979
64045
  //#endregion
63980
- //#region node_modules/.pnpm/@deepseek-ai+dsh-client-ui-primitives@0.2.1-alpha.3_@deepseek-ai+cordis@4.0.5-alpha.2/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/markdown/CodeBlock.module.css
64046
+ //#region node_modules/.pnpm/@deepseek-ai+dsh-client-ui-primitives@0.2.1-rc.2_@deepseek-ai+cordis@4.0.5/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/markdown/CodeBlock.module.css
63981
64047
  var CodeBlock_module_default = {
63982
- "action": "DPs2Ha_action",
63983
- "banner": "DPs2Ha_banner",
63984
- "bannerWrap": "DPs2Ha_bannerWrap",
63985
- "block": "DPs2Ha_block",
63986
- "card": "DPs2Ha_card",
63987
- "content": "DPs2Ha_content",
63988
- "copyButton": "DPs2Ha_copyButton",
63989
- "infostring": "DPs2Ha_infostring",
63990
- "numbered": "DPs2Ha_numbered",
63991
- "plain": "DPs2Ha_plain",
63992
- "shiki": "DPs2Ha_shiki"
64048
+ "action": "_7w5hmG_action",
64049
+ "banner": "_7w5hmG_banner",
64050
+ "bannerWrap": "_7w5hmG_bannerWrap",
64051
+ "block": "_7w5hmG_block",
64052
+ "card": "_7w5hmG_card",
64053
+ "content": "_7w5hmG_content",
64054
+ "copyButton": "_7w5hmG_copyButton",
64055
+ "infostring": "_7w5hmG_infostring",
64056
+ "numbered": "_7w5hmG_numbered",
64057
+ "plain": "_7w5hmG_plain",
64058
+ "shiki": "_7w5hmG_shiki"
63993
64059
  };
63994
64060
  //#endregion
63995
- //#region node_modules/.pnpm/@deepseek-ai+dsh-client-ui-primitives@0.2.1-alpha.3_@deepseek-ai+cordis@4.0.5-alpha.2/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/ImageLightbox.module.css
64061
+ //#region node_modules/.pnpm/@deepseek-ai+dsh-client-ui-primitives@0.2.1-rc.2_@deepseek-ai+cordis@4.0.5/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/ImageLightbox.module.css
63996
64062
  var ImageLightbox_module_default = {
63997
- "backdrop": "D0cLTG_backdrop",
63998
- "close": "D0cLTG_close",
63999
- "image": "D0cLTG_image",
64000
- "mask": "D0cLTG_mask",
64001
- "stage": "D0cLTG_stage"
64063
+ "backdrop": "oyD5na_backdrop",
64064
+ "close": "oyD5na_close",
64065
+ "image": "oyD5na_image",
64066
+ "mask": "oyD5na_mask",
64067
+ "stage": "oyD5na_stage"
64002
64068
  };
64003
64069
  //#endregion
64004
- //#region node_modules/.pnpm/@deepseek-ai+dsh-client-ui-primitives@0.2.1-alpha.3_@deepseek-ai+cordis@4.0.5-alpha.2/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/ImagePreview.module.css
64070
+ //#region node_modules/.pnpm/@deepseek-ai+dsh-client-ui-primitives@0.2.1-rc.2_@deepseek-ai+cordis@4.0.5/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/ImagePreview.module.css
64005
64071
  var ImagePreview_module_default = {
64006
- "frame": "FtSukG_frame",
64007
- "image": "FtSukG_image",
64008
- "status": "FtSukG_status"
64072
+ "frame": "RGf95q_frame",
64073
+ "image": "RGf95q_image",
64074
+ "status": "RGf95q_status"
64009
64075
  };
64010
64076
  //#endregion
64011
64077
  //#region node_modules/.pnpm/@shikijs+langs@4.5.0/node_modules/@shikijs/langs/dist/python.mjs
@@ -64738,7 +64804,7 @@ XID_Start XIDS`.split(/\s/).map((p) => [w(p), p]));
64738
64804
  groovy_default = [lang];
64739
64805
  }));
64740
64806
  //#endregion
64741
- //#region node_modules/.pnpm/@deepseek-ai+dsh-client-ui-primitives@0.2.1-alpha.3_@deepseek-ai+cordis@4.0.5-alpha.2/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/index.js
64807
+ //#region node_modules/.pnpm/@deepseek-ai+dsh-client-ui-primitives@0.2.1-rc.2_@deepseek-ai+cordis@4.0.5/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/index.js
64742
64808
  init_typescript();
64743
64809
  init_shellscript();
64744
64810
  init_json();
@@ -119,7 +119,7 @@ export const cliAdaptersFeature = {
119
119
  const performance = createDshCapabilityRegistry(context.services.dshVersion, 'client', uiContext)
120
120
  .getProfile(uiContext).capabilities.get('session.external-performance')?.value;
121
121
  if (performance !== undefined)
122
- context.resources.add(performance.install(sessionId => useSyncExternalStore(subscribeSessionAdapters, () => sessionAdapterId(sessionId), () => sessionAdapterId(sessionId)), createElement));
122
+ context.resources.add(performance.install(sessionId => useSyncExternalStore(subscribeSessionAdapters, () => sessionAdapterId(sessionId), () => sessionAdapterId(sessionId)), createElement, { useMemo, useSyncExternalStore }));
123
123
  const { registerDelegateCommand } = await import('../delegate-command.js');
124
124
  context.resources.add(registerDelegateCommand(uiContext, {
125
125
  rpc: context.services.rpc,
@@ -493,7 +493,9 @@ function AdapterIcon({ adapter }) {
493
493
  function AdapterDetailsDialog({ adapter, hostLabel, models, modelsError, loading, onClose, buttonStyle, t }) {
494
494
  return createElement(CliSettingsDialog, { titleId: 'codingns-cli-adapter-title', onClose }, createElement('div', {
495
495
  style: { padding: 20 },
496
- }, createElement('div', { style: { display: 'flex', alignItems: 'center', justifyContent: 'space-between', gap: 12 } }, createElement('h3', { id: 'codingns-cli-adapter-title', style: { margin: 0, fontSize: uiFontSize(18) } }, adapter.name), createElement('button', { type: 'button', onClick: onClose, style: buttonStyle, 'aria-label': t('cli.closeDetails') }, t('cli.closeDetails'))), createElement('dl', { style: { display: 'grid', gridTemplateColumns: 'max-content 1fr', gap: '8px 16px', margin: '20px 0' } }, createElement('dt', undefined, t('cli.agentHost')), createElement('dd', { style: { margin: 0, overflowWrap: 'anywhere' } }, hostLabel), createElement('dt', undefined, t('cli.installStatus')), createElement('dd', { style: { margin: 0 } }, adapterStatus(adapter, t)), createElement('dt', undefined, t('cli.enabledStatus')), createElement('dd', { style: { margin: 0 } }, adapter.enabled ? t('cli.enabled') : t('cli.disabled')), createElement('dt', undefined, t('cli.version')), createElement('dd', { style: { margin: 0 } }, adapter.version ?? t('cli.notDetectedVersion')), adapter.installed && createElement('dt', undefined, t('cli.manage.update')), adapter.installed && createElement('dd', { style: { margin: 0, overflowWrap: 'anywhere' } }, updateCheckLabel(adapter, t), adapter.update?.sourceUrl && createElement('a', { href: adapter.update.sourceUrl, target: '_blank', rel: 'noopener noreferrer', style: { display: 'block', marginTop: 4 } }, t('cli.manage.source'))), createElement('dt', undefined, t('cli.commandPath')), createElement('dd', { style: { margin: 0, overflowWrap: 'anywhere' } }, adapter.command ?? t('cli.notDetectedCommand')), adapter.diagnostic && createElement('dt', undefined, t('cli.diagnostic')), adapter.diagnostic && createElement('dd', { style: { margin: 0, overflowWrap: 'anywhere', color: dshThemeColor.labelSecondary } }, adapter.diagnostic), createElement('dt', undefined, t('cli.protocol')), createElement('dd', { style: { margin: 0 } }, adapter.protocol ?? t('cli.undeclared')), createElement('dt', undefined, t('cli.capabilities')), createElement('dd', { style: { margin: 0, overflowWrap: 'anywhere' } }, adapter.capabilities?.join(t('common.listSeparator')) ?? t('cli.undeclared'))), createElement('h4', { style: { margin: '16px 0 8px' } }, t('cli.modelCatalog')), modelsError && createElement('div', { role: 'alert', style: { color: dshThemeColor.error } }, modelsError), !adapter.installed && createElement('div', { style: { opacity: 0.7 } }, adapter.diagnostic ?? adapterStatus(adapter, t)), adapter.installed && !adapter.enabled && createElement('div', { style: { opacity: 0.7 } }, t('cli.agentDisabled')), adapter.installed && loading && createElement('div', { role: 'status' }, t('cli.readingModels')), adapter.installed && !loading && models !== null && createElement(ModelCatalog, { catalog: models, t }), createElement('div', { style: { display: 'flex', justifyContent: 'flex-end', marginTop: 20 } }, createElement('button', { type: 'button', onClick: onClose, style: buttonStyle }, t('cli.done')))));
496
+ }, createElement('div', { style: { display: 'flex', alignItems: 'center', justifyContent: 'space-between', gap: 12 } }, createElement('h3', { id: 'codingns-cli-adapter-title', style: { margin: 0, fontSize: uiFontSize(18) } }, adapter.name), createElement('button', { type: 'button', onClick: onClose, style: buttonStyle, 'aria-label': t('cli.closeDetails') }, t('cli.closeDetails'))), createElement('dl', { style: { display: 'grid', gridTemplateColumns: 'max-content 1fr', gap: '8px 16px', margin: '20px 0' } }, createElement('dt', undefined, t('cli.agentHost')), createElement('dd', { style: { margin: 0, overflowWrap: 'anywhere' } }, hostLabel), createElement('dt', undefined, t('cli.installStatus')), createElement('dd', { style: { margin: 0 } }, adapterStatus(adapter, t)), createElement('dt', undefined, t('cli.enabledStatus')), createElement('dd', { style: { margin: 0 } }, adapter.enabled ? t('cli.enabled') : t('cli.disabled')), createElement('dt', undefined, t('cli.version')), createElement('dd', { style: { margin: 0 } }, adapter.version ?? t('cli.notDetectedVersion')), adapter.installed && createElement('dt', undefined, t('cli.manage.update')), adapter.installed && createElement('dd', { style: { margin: 0, overflowWrap: 'anywhere' } }, updateCheckLabel(adapter, t), adapter.update?.sourceUrl && createElement('a', { href: adapter.update.sourceUrl, target: '_blank', rel: 'noopener noreferrer', style: { display: 'block', marginTop: 4 } }, t('cli.manage.source'))), createElement('dt', undefined, t('cli.commandPath')), createElement('dd', { style: { margin: 0, overflowWrap: 'anywhere' } }, adapter.command ?? t('cli.notDetectedCommand')), adapter.diagnostic && createElement('dt', undefined, t('cli.diagnostic')), adapter.diagnostic && createElement('dd', { style: { margin: 0, overflowWrap: 'anywhere', color: dshThemeColor.labelSecondary } }, adapter.diagnostic), adapter.team && createElement('dt', undefined, t('cli.team.label')), adapter.team && createElement('dd', { style: { margin: 0, overflowWrap: 'anywhere' } }, adapter.team.member
497
+ ? t(adapter.team.lead ? 'cli.team.leadAndMember' : 'cli.team.member')
498
+ : t(`cli.team.reason.${adapter.team.reason ?? 'adapter'}`)), createElement('dt', undefined, t('cli.protocol')), createElement('dd', { style: { margin: 0 } }, adapter.protocol ?? t('cli.undeclared')), createElement('dt', undefined, t('cli.capabilities')), createElement('dd', { style: { margin: 0, overflowWrap: 'anywhere' } }, adapter.capabilities?.join(t('common.listSeparator')) ?? t('cli.undeclared'))), createElement('h4', { style: { margin: '16px 0 8px' } }, t('cli.modelCatalog')), modelsError && createElement('div', { role: 'alert', style: { color: dshThemeColor.error } }, modelsError), !adapter.installed && createElement('div', { style: { opacity: 0.7 } }, adapter.diagnostic ?? adapterStatus(adapter, t)), adapter.installed && !adapter.enabled && createElement('div', { style: { opacity: 0.7 } }, t('cli.agentDisabled')), adapter.installed && loading && createElement('div', { role: 'status' }, t('cli.readingModels')), adapter.installed && !loading && models !== null && createElement(ModelCatalog, { catalog: models, t }), createElement('div', { style: { display: 'flex', justifyContent: 'flex-end', marginTop: 20 } }, createElement('button', { type: 'button', onClick: onClose, style: buttonStyle }, t('cli.done')))));
497
499
  }
498
500
  function ModelCatalog({ catalog, t }) {
499
501
  if (catalog.groups.length === 0)